test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • kiwilee Friend
    #188635

    Hi Guys,

    I changed from JA Wall to JA Hawkstore, now I need to get analytics working again.
    Google says:
    This is your tracking code. Copy and paste it into the code of every page you want to track.
    Where do I past this?

    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-#your code#-4']);
    _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>

    Or should I try a free plugin like:
    http://extensions.joomla.org/extensions/site-management/analytics/site-analytics-google-based/12241

    What do you think is the easiest solution with lowest risk to breaking template / future proof etc?

    Ninja Lead Moderator
    #497622

    You can add Google analytic script within this: templates/ja_hawkstore/tpls/blocks/head.php file

    find and add google analytics underneath this line
    <blockquote><!– You can add Google Analytics here–></blockquote>

    kiwilee Friend
    #497741

    🙂 Great!
    That could be a great ‘FORM’ addition to the admin area of the template.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  kiwilee 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum