Skip to content

Commit 047bfb2

Browse files
author
Saurabh Kumar
committed
Add google analytics
1 parent c1b6425 commit 047bfb2

8 files changed

Lines changed: 149 additions & 85 deletions

File tree

coc.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090
<!--************************************
9191
Inner Baner Start
@@ -192,7 +192,7 @@ <h4>License</h4>
192192
Footer End
193193
*************************************-->
194194

195-
195+
196196
</div>
197197
<!--************************************
198198
Wrapper End
@@ -213,5 +213,13 @@ <h4>License</h4>
213213
<script src="js/appear.js"></script>
214214
<script src="js/gmap3.js"></script>
215215
<script src="js/main.js"></script>
216+
<script>
217+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
218+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
219+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
220+
e.src='//www.google-analytics.com/analytics.js';
221+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
222+
ga('create','UA-60420410-1','auto');ga('send','pageview');
223+
</script>
216224
</body>
217225
</html>

faqs.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090
<!--************************************
9191
Inner Baner Start
@@ -278,7 +278,7 @@ <h4><span>Q.</span>My question is not listed here / I am still unclear about a f
278278
Footer End
279279
*************************************-->
280280

281-
281+
282282
</div>
283283
<!--************************************
284284
Wrapper End
@@ -299,5 +299,13 @@ <h4><span>Q.</span>My question is not listed here / I am still unclear about a f
299299
<script src="js/appear.js"></script>
300300
<script src="js/gmap3.js"></script>
301301
<script src="js/main.js"></script>
302+
<script>
303+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
304+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
305+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
306+
e.src='//www.google-analytics.com/analytics.js';
307+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
308+
ga('create','UA-60420410-1','auto');ga('send','pageview');
309+
</script>
302310
</body>
303311
</html>

gallery.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090

9191
<!--************************************
@@ -613,7 +613,7 @@ <h3>Our Events Gallery</h3>
613613
Footer End
614614
*************************************-->
615615

616-
616+
617617
</div>
618618
<!--************************************
619619
Wrapper End
@@ -634,5 +634,13 @@ <h3>Our Events Gallery</h3>
634634
<script src="js/appear.js"></script>
635635
<script src="js/gmap3.js"></script>
636636
<script src="js/main.js"></script>
637+
<script>
638+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
639+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
640+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
641+
e.src='//www.google-analytics.com/analytics.js';
642+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
643+
ga('create','UA-60420410-1','auto');ga('send','pageview');
644+
</script>
637645
</body>
638646
</html>

index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090

9191

@@ -2687,7 +2687,7 @@ <h3><a href="">Gonna Make You An Offer You Can’t Refuse</a></h3>
26872687
Footer End
26882688
*************************************-->
26892689

2690-
2690+
26912691
</div>
26922692
<!--************************************
26932693
Wrapper End
@@ -2708,5 +2708,13 @@ <h3><a href="">Gonna Make You An Offer You Can’t Refuse</a></h3>
27082708
<script src="js/appear.js"></script>
27092709
<script src="js/gmap3.js"></script>
27102710
<script src="js/main.js"></script>
2711+
<script>
2712+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
2713+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
2714+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
2715+
e.src='//www.google-analytics.com/analytics.js';
2716+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
2717+
ga('create','UA-60420410-1','auto');ga('send','pageview');
2718+
</script>
27112719
</body>
27122720
</html>

sponsors.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090
<!--************************************
9191
Inner Baner Start
@@ -252,7 +252,7 @@ <h3>Our Great Sponsers</h3>
252252
Footer End
253253
*************************************-->
254254

255-
255+
256256
</div>
257257
<!--************************************
258258
Wrapper End
@@ -273,5 +273,13 @@ <h3>Our Great Sponsers</h3>
273273
<script src="js/appear.js"></script>
274274
<script src="js/gmap3.js"></script>
275275
<script src="js/main.js"></script>
276+
<script>
277+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
278+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
279+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
280+
e.src='//www.google-analytics.com/analytics.js';
281+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
282+
ga('create','UA-60420410-1','auto');ga('send','pageview');
283+
</script>
276284
</body>
277285
</html>

sponsorship.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989

9090
<!--************************************
9191
Inner Baner Start
@@ -168,7 +168,7 @@ <h3>Sponsoring</h3>
168168
Footer End
169169
*************************************-->
170170

171-
171+
172172
</div>
173173
<!--************************************
174174
Wrapper End
@@ -189,5 +189,13 @@ <h3>Sponsoring</h3>
189189
<script src="js/appear.js"></script>
190190
<script src="js/gmap3.js"></script>
191191
<script src="js/main.js"></script>
192+
<script>
193+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
194+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
195+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
196+
e.src='//www.google-analytics.com/analytics.js';
197+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
198+
ga('create','UA-60420410-1','auto');ga('send','pageview');
199+
</script>
192200
</body>
193201
</html>

templates/components/_base.jinja

Lines changed: 79 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,79 @@
1-
<!doctype html>
2-
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
3-
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
4-
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
5-
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
6-
<head>
7-
<meta charset="utf-8">
8-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9-
<title>PyCon India 2017</title>
10-
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width, initial-scale=1">
12-
<link rel="apple-touch-icon" href="apple-touch-icon.png">
13-
<link rel="stylesheet" href="css/bootstrap.min.css">
14-
<link rel="stylesheet" href="css/normalize.css">
15-
<link rel="stylesheet" href="css/font-awesome.min.css">
16-
<link rel="stylesheet" href="css/icomoon.css">
17-
<link rel="stylesheet" href="css/customScrollbar.css">
18-
<link rel="stylesheet" href="css/animate.css">
19-
<link rel="stylesheet" href="css/owl.carousel.css">
20-
<link rel="stylesheet" href="css/prettyPhoto.css">
21-
<link rel="stylesheet" href="css/jquery.fullpage.css">
22-
<link rel="stylesheet" href="css/transitions.css">
23-
<link rel="stylesheet" href="css/main.css">
24-
<link rel="stylesheet" href="css/colors/color-3.css">
25-
<link rel="stylesheet" href="css/responsive.css">
26-
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
27-
<style>
28-
html,
29-
body{height: auto;}
30-
</style>
31-
</head>
32-
<body class="tg-home tg-homeone">
33-
<!--[if lt IE 8]>
34-
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
35-
<![endif]-->
36-
<!--************************************
37-
Wrapper Start
38-
*************************************-->
39-
<div id="tg-wrapper" class="tg-wrapper tg-haslayout">
40-
<!--************************************
41-
Header Start
42-
*************************************-->
43-
{% include 'components/_header.html' %}
44-
45-
{% block content %}{% endblock %}
46-
47-
{% include 'components/_footer.html' %}
48-
49-
50-
</div>
51-
<!--************************************
52-
Wrapper End
53-
*************************************-->
54-
<script src="js/vendor/jquery-library.js"></script>
55-
<script src="js/vendor/bootstrap.min.js"></script>
56-
<script src="https://maps.google.com/maps/api/js?key=AIzaSyCR-KEWAVCn52mSdeVeTqZjtqbmVJyfSus&language=en"></script>
57-
<script src="js/customScrollbar.min.js"></script>
58-
<script src="js/packery.pkgd.min.js"></script>
59-
<script src="js/owl.carousel.min.js"></script>
60-
<script src="js/jquery.hoverdir.js"></script>
61-
<script src="js/jquery.vide.min.js"></script>
62-
<script src="js/jquery.fullpage.js"></script>
63-
<script src="js/isotope.pkgd.js"></script>
64-
<script src="js/prettyPhoto.js"></script>
65-
<script src="js/countdown.js"></script>
66-
<script src="js/countTo.js"></script>
67-
<script src="js/appear.js"></script>
68-
<script src="js/gmap3.js"></script>
69-
<script src="js/main.js"></script>
70-
</body>
71-
</html>
1+
<!doctype html>
2+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9+
<title>PyCon India 2017</title>
10+
<meta name="description" content="">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
13+
<link rel="stylesheet" href="css/bootstrap.min.css">
14+
<link rel="stylesheet" href="css/normalize.css">
15+
<link rel="stylesheet" href="css/font-awesome.min.css">
16+
<link rel="stylesheet" href="css/icomoon.css">
17+
<link rel="stylesheet" href="css/customScrollbar.css">
18+
<link rel="stylesheet" href="css/animate.css">
19+
<link rel="stylesheet" href="css/owl.carousel.css">
20+
<link rel="stylesheet" href="css/prettyPhoto.css">
21+
<link rel="stylesheet" href="css/jquery.fullpage.css">
22+
<link rel="stylesheet" href="css/transitions.css">
23+
<link rel="stylesheet" href="css/main.css">
24+
<link rel="stylesheet" href="css/colors/color-3.css">
25+
<link rel="stylesheet" href="css/responsive.css">
26+
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
27+
<style>
28+
html,
29+
body{height: auto;}
30+
</style>
31+
</head>
32+
<body class="tg-home tg-homeone">
33+
<!--[if lt IE 8]>
34+
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
35+
<![endif]-->
36+
<!--************************************
37+
Wrapper Start
38+
*************************************-->
39+
<div id="tg-wrapper" class="tg-wrapper tg-haslayout">
40+
<!--************************************
41+
Header Start
42+
*************************************-->
43+
{% include 'components/_header.html' %}
44+
45+
{% block content %}{% endblock %}
46+
47+
{% include 'components/_footer.html' %}
48+
49+
50+
</div>
51+
<!--************************************
52+
Wrapper End
53+
*************************************-->
54+
<script src="js/vendor/jquery-library.js"></script>
55+
<script src="js/vendor/bootstrap.min.js"></script>
56+
<script src="https://maps.google.com/maps/api/js?key=AIzaSyCR-KEWAVCn52mSdeVeTqZjtqbmVJyfSus&language=en"></script>
57+
<script src="js/customScrollbar.min.js"></script>
58+
<script src="js/packery.pkgd.min.js"></script>
59+
<script src="js/owl.carousel.min.js"></script>
60+
<script src="js/jquery.hoverdir.js"></script>
61+
<script src="js/jquery.vide.min.js"></script>
62+
<script src="js/jquery.fullpage.js"></script>
63+
<script src="js/isotope.pkgd.js"></script>
64+
<script src="js/prettyPhoto.js"></script>
65+
<script src="js/countdown.js"></script>
66+
<script src="js/countTo.js"></script>
67+
<script src="js/appear.js"></script>
68+
<script src="js/gmap3.js"></script>
69+
<script src="js/main.js"></script>
70+
<script>
71+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
72+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
73+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
74+
e.src='//www.google-analytics.com/analytics.js';
75+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
76+
ga('create','UA-60420410-1','auto');ga('send','pageview');
77+
</script>
78+
</body>
79+
</html>

volunteer.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<!--************************************
8686
Header Stop
8787
*************************************-->
88-
88+
8989
<!--************************************
9090
Inner Baner Start
9191
*************************************-->
@@ -193,7 +193,7 @@ <h1>
193193
Footer End
194194
*************************************-->
195195

196-
196+
197197
</div>
198198
<!--************************************
199199
Wrapper End
@@ -214,5 +214,13 @@ <h1>
214214
<script src="js/appear.js"></script>
215215
<script src="js/gmap3.js"></script>
216216
<script src="js/main.js"></script>
217+
<script>
218+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
219+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
220+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
221+
e.src='//www.google-analytics.com/analytics.js';
222+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
223+
ga('create','UA-60420410-1','auto');ga('send','pageview');
224+
</script>
217225
</body>
218226
</html>

0 commit comments

Comments
 (0)