-
AuthorPosts
-
swissa Friend
swissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
November 9, 2012 at 4:16 pm #182092Another 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']);1 user says Thank You to swissa for this useful post
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
November 9, 2012 at 4:31 pm #472416Also 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?
2 users say Thank You to swissa for this useful post
freissmann Developerfreissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
November 11, 2012 at 5:55 pm #472561Thanks swissa.
Like to mention that I am as well not happy that JA templates come with preloaded JA?! Google Analytics code
1 user says Thank You to freissmann for this useful post
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
November 12, 2012 at 4:35 am #472604Hi 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
2 users say Thank You to Arvind Chauhan for this useful post
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Arvind Chauhan 12 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum