Skip to content

Commit

Permalink
为about页面添加GA统计
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampuf committed Jul 12, 2012
1 parent 8739132 commit 2dcb0df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/about.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,7 @@ Personal Repository: <a href="https://github.com/dreampuf/">https://github.com/d
my_mail = "soddyque" + "@" + "gmail.com"
mailme.innerText = my_mail
mailme.href = "mailto:" + my_mail
`var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-5293693-3']);_gaq.push(['_setDomainName', 'huangx.in']);_gaq.push(['_trackPageview']);(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();`

0 comments on commit 2dcb0df

Please sign in to comment.