diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-07-17 07:46:19 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-07-17 07:46:19 -0700 |
commit | 83255afe45c6b59ba0f6f0f0e1b9f309d18b9f6c (patch) | |
tree | 75d27e4d4d6908a5a2b73d97fac4d9db516de78e | |
parent | 9f9d714afbdd510326ef7d0089b12aa701f53f03 (diff) |
Adding analytics code
-rw-r--r-- | htdocs/src/footer.inc.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/htdocs/src/footer.inc.php b/htdocs/src/footer.inc.php index 51a52e3..2ecd89b 100644 --- a/htdocs/src/footer.inc.php +++ b/htdocs/src/footer.inc.php @@ -3,6 +3,19 @@ <div id="footer"> Copyright © 2011 listandshare.com. </div> +<script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-24587180-1']); + _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); + })(); + +</script> </body> </html> |