Skip to content

Commit 27d58d2

Browse files
committed
Merge pull request jupyter#16 from jupyter/google-analytics
Adding back GA script
2 parents 40d9c1a + 9e93d87 commit 27d58d2

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

about.html

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@
2525
<![endif]-->
2626
<script src="//use.typekit.net/kpd5yrh.js"></script>
2727
<script>try{Typekit.load();}catch(e){}</script>
28+
<script>
29+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
30+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
31+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
32+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
33+
34+
ga('create', 'UA-52617120-1', 'auto');
35+
ga('send', 'pageview');
36+
37+
</script>
2838
</head>
2939

3040
<body id="about-body">

donate.html

+10
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
<![endif]-->
2929
<script src="//use.typekit.net/kpd5yrh.js"></script>
3030
<script>try{Typekit.load();}catch(e){}</script>
31+
<script>
32+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
33+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
34+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
35+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
36+
37+
ga('create', 'UA-52617120-1', 'auto');
38+
ga('send', 'pageview');
39+
40+
</script>
3141
</head>
3242

3343
<body id="about-body">

index.html

+10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
<![endif]-->
3333
<script src="//use.typekit.net/kpd5yrh.js"></script>
3434
<script>try{Typekit.load();}catch(e){}</script>
35+
<script>
36+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
37+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
38+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
39+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
40+
41+
ga('create', 'UA-52617120-1', 'auto');
42+
ga('send', 'pageview');
43+
44+
</script>
3545
</head>
3646

3747
<body>

0 commit comments

Comments
 (0)