annotate js/google_analytics.js @ 22:be17de86e80d
judyates
add promo for old-masters stuff (very rough).
author |
Robert McIntyre <rlm@mit.edu> |
date |
Sun, 09 Feb 2014 20:46:57 -0500 |
parents |
903b91a97990 |
children |
|
rev |
line source |
rlm@18
|
1 var _gaq = _gaq || [];
|
rlm@18
|
2 _gaq.push(['_setAccount', 'UA-24471363-1']);
|
rlm@18
|
3 _gaq.push(['_trackPageview']);
|
rlm@18
|
4
|
rlm@18
|
5 (function() {
|
rlm@18
|
6 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
rlm@18
|
7 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
rlm@18
|
8 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
rlm@18
|
9 })();
|