Skip to content

Commit 3b79dbe

Browse files
committed
GA and footer added
1 parent 43a62fe commit 3b79dbe

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

views/videolist.pug

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
head
2-
2+
title Delete a video
3+
script(async src='https://www.googletagmanager.com/gtag/js?id=G-N9E9YP1HGF')
4+
script.
5+
var __nspid="isrtzw";
6+
var __nsptags=[];
7+
(function(w, d) { var x = function() {
8+
var j=d.createElement("script");j.type="text/javascript";j.async=true;
9+
j.src="http"+("https:"===d.location.protocol?"s://cs":"://c")+".ns1p.net/p.js?a="+__nspid;
10+
d.body.appendChild(j); }
11+
if(w.addEventListener) { w.addEventListener("load", x, false); }
12+
else if(w.attachEvent) { w.attachEvent("onload", x); }
13+
else { w.onload = x; }
14+
}(window, document));
15+
window.dataLayer = window.dataLayer || [];
16+
function gtag(){dataLayer.push(arguments);}
17+
gtag('js', new Date());
18+
gtag('config', 'G-N9E9YP1HGF');
19+
320
body
421
header.header
522

@@ -19,6 +36,12 @@ body
1936
input(type='hidden', name='videos', value=video)
2037
input(type='submit', value='DELETE')
2138

22-
a(href='/') delete more!
39+
40+
p
41+
p This app was created with <a href="https://api.video">api.video</a>.<br/>
42+
p Get the <a href="https://github.com/dougsillars/deleteVideoDemo">sample code</a>, and read about <a href="https://a.video/works/delete-a-video">how we built the demo.</a><br/>
43+
p More sample apps can be found at <a href="https://a.video">a.video</a>.
44+
45+
2346
p
2447

0 commit comments

Comments
 (0)