tracking code

  • Unknown's avatar

    I would like to insert the following code onto the homepage of my blog but am unsure of how and where to place it. This is for tracking purposes for Google Analytics.

    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-40479230-1’, ‘eyecanthearu.com’);
    ga(‘send’, ‘pageview’);

    </script>

  • I’m sorry, JavaScript cannot be used here for security reasons, but we do have our own built-in stats system: https://wordpress.com/#!/my-stats/

  • The topic ‘tracking code’ is closed to new replies.