Skip to content
This repository was archived by the owner on Mar 20, 2018. It is now read-only.

Commit 43517bf

Browse files
committed
Move analytics code to avoid users copying it
1 parent a3ae1fa commit 43517bf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
Find out more at GitHub <http://github.com/i-like-robots/jQuery-Modal>
1818
-->
1919

20+
<!-- Google Analytics tracking code -->
21+
<script>
22+
var _gaq=[['_setAccount','UA-2508361-11'],['_trackPageview']];
23+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
24+
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
25+
s.parentNode.insertBefore(g,s)}(document,'script'));
26+
</script>
27+
2028
</head>
2129
<body>
2230

@@ -254,4 +262,4 @@ <h2>Public methods</h2>
254262
</script>
255263

256264
</body>
257-
</html>
265+
</html>

0 commit comments

Comments
 (0)