-
AuthorPosts
-
March 6, 2011 at 10:20 pm #161098
I have installed bigshot and when I try to add google code track manually I can´t find the html code in my template, thanks!
-
Phill Moderator
Phill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 7, 2011 at 12:00 am #379943What is “Bigshot”? Not heard of that before.
Here is the simplest way to add Google or any other analytics/tracking code to this template although there are plugins available on the JED that will aslo do the job if you do not like playing with the code.
Copy the file plugins>system>jat3>jat3>base-themes>default>page>default.php into templates>ja_your-template-name>page>default.php and insert your analytics code just before the </head> tag as per below.
<head>
<?php //gen head base on theme info
$this->showBlock ('head');
?>
<?php
$blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
foreach ($blocks as $block) :
$this->showBlock ($block);
endforeach;
?><?php echo $this->showBlock ('css') ?>
************YOUR ANALYTICS CODE HERE*************
</head>2 users say Thank You to Phill for this useful post
March 8, 2011 at 9:31 am #380245Hi Phill,
This is bigshot (http://extensions.joomla.org/extensions/site-management/site-analytics/6170) one of your partners wrote it in the public forum.
About the track code, I have done what you tell me, but it does not work. May I give you the admin and pass so you can have a look? Thanks!Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 9:43 am #380248Sure, send me you admin logon, link to your site and preferably an ftp account and I’ll take a look. Please include a link to this thread too so I can find it when we have fixed it.
March 10, 2011 at 9:00 am #380692Did you receive the login and pass? I sent them to JA Support . If you do not get them, pls let me know and I will resend them, Thank you!
March 10, 2011 at 9:01 am #380693Or do you prefer me to write them here? I don´t know if this is a public forum, thanks again!
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 10, 2011 at 12:22 pm #380723I do not have access to that mailbox as I am just a moderator on the forums. Please send me them via Private Messaging. Click on my username and you will see the link.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 10, 2011 at 6:47 pm #380779Thanks for your PM.
Your analythics code is visible in your live site –
<script type="text/javascript">
var _gaq = _gaq || [];_gaq.push(['_setAccount', '**************']);
_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>
If you are still not getting analytics on your google page you will need to ask them why the script is not working. It is in the correct place in your site and is active.</blockquote>
kairey Friendkairey
- Join date:
- February 2011
- Posts:
- 161
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 40
- Thanked:
- 10 times in 1 posts
March 18, 2011 at 4:31 pm #382105Worked for me tx….
March 18, 2011 at 7:38 pm #382142At the end worked for me too, tx 🙂
-
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 4 voices, and was last updated by zyuong 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-