Skip to content

Instantly share code, notes, and snippets.

@rakeshpai
Created January 16, 2012 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rakeshpai/1623022 to your computer and use it in GitHub Desktop.
Save rakeshpai/1623022 to your computer and use it in GitHub Desktop.
Google Analytics Using an Array as an API
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
// <snip> Load the JS required to process the _gaq "queue".
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment