Hi all;
I need to install a javascript to run Google Analytics, how do I do that in Zen Cart?
Thank you for you input
Hi all;
I need to install a javascript to run Google Analytics, how do I do that in Zen Cart?
Thank you for you input
Search the free software addons link above left as this has already been done and packaged by one of the community
Zen-Venom Get Bitten
Thanks Kobra;
I found the Add-On, now how do I install it?
Regards
and thanks again for your help
Read the instructionsI found the Add-On, now how do I install it?
Zen-Venom Get Bitten
Good one Kobra;
I did read the readme file and the install file but I didn't understand it. I need to print it and number the steps.
Thanks again Kobra
Might be a good idea to check this first:)
https://www.zen-cart.com/tutorials/i...hp?article=230
I've installed Simple Google Analytics precisely according to install instructions. I've created my account at GA and set the account number in Admin Config GA, including the final number after the dash, similar to UA-1234567-8. Everything seems to be precisely correct on the home page source code (see below) that pulls through from the google_analytics.php file.
So, on my GA account, the status says Tracking Not Installed (see screen shot). What have I not done correctly -- and if I have not done something that I should have done -- then why isn't such a step included in the install instructions? Thanks..
(the code, on html_header and tpl_main_page, is installed correctly, resulting in this source code when Admin Config GA is not set to Asynchronous)
<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">
var pageTracker = _gat._getTracker("UA-1234567-8"); //actual account # is used in actual code //
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body></html>
well, isn't that convenient of Google.
The tracking status was permanently stuck at Tracking Not Installed, until I went to Edit the site Profile and clicked on Check Status, and then, and ONLY then apparently, did Google Analytics actually go to my site to see if the code was installed. At that point, Waiting For Data displayed and it appeared the 'trip wire' had been triggered for the GA interface to actually test the site instead of just permanently displaying Tracking Not Installed as the status on the main page of the profile.
So, this means my post above can be disregarded. Thank you.