Forums

Adding google analytics tracker code into Atahualpa? (3 posts)

  1. kiwichick
    Member
    Posted 2 years ago #

    I need to post the following code into my web pages so I can use google analytics:

    `<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-12316965-2");
    pageTracker._trackPageview();
    } catch(err) {}</script>`

    One of the posts on the support forum said to paste it into the footer.php; have tried this but Google Analytics is not seeing it.

    Are the instructions different for Atahualpa?

    TIA!

  2. waddle1463s
    Member
    Posted 2 years ago #

    you can just insert that in a text widget or in footer.php

  3. Raj4OM
    Member
    Posted 2 years ago #

    You may use a better plugin which provides this facility. But I doubt whether the author of the plugin will get any datas from our stats. Is that possible? how to check that a plugin is 100% believable?

Topic Closed

This topic has been closed to new replies.

About this Topic