Skip to content

Commit 3eaeabe

Browse files
author
Zete Lui
committed
add GA and update ref
1 parent bf40bc8 commit 3eaeabe

File tree

2 files changed

+182
-171
lines changed

2 files changed

+182
-171
lines changed

website/views/index.slim

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,14 @@ ul
4343
h3 Code
4444
p
4545
a href="http://github.com/luikore/rsec" Hosted on github.
46+
47+
script type="text/javascript"
48+
| var _gaq = _gaq || [];
49+
_gaq.push(['_setAccount', 'UA-22444794-1']);
50+
_gaq.push(['_trackPageview']);
51+
(function() {
52+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
53+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
54+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
55+
})();
56+

0 commit comments

Comments
 (0)