Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • swissa Friend
    #182092

    Another template delivered with Joomlart google analytics in head.php. Why?

    Doing an Apple here?

    var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-243376-12']);
    _gaq.push(['_trackPageview']);

    swissa Friend
    #472416

    Also there in t3v3_Blank.

    For anyone else who thinks this is a bl**dy cheek,

    you can go to yourdomain/templates/your-template/tpls/blocks/ and open head.php and delete it out or replace with YOUR google code.

    Look for this

    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-XXXXXX-X']); <put your own code here or delete out Joomlart's code.
    _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);
    })();

    Is every new template that you guys do going to come with your codes preloaded?

    freissmann Developer
    #472561

    Thanks swissa.

    Like to mention that I am as well not happy that JA templates come with preloaded JA?! Google Analytics code

    Arvind Chauhan Moderator
    #472604

    Hi Guys,

    It is being updated and the packages would be re-exported in few hrs. It screws our own GA data once we gets hits registered from user site. Will make sure this does not happen again.

    The demo site’s have the GA code and it seems that the same package is getting exported for downloads.

    Regards

    Arvind

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

This topic contains 4 replies, has 3 voices, and was last updated by  Arvind Chauhan 11 years, 10 months ago.

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