Polygone,
It's probably obvious to you, but since a comment above says you don't paste the code in your html, it may be worth pointing out that you must go to the Admin for Simple Google Analytics and enter your Google Analytics code there.
Printable View
Polygone,
It's probably obvious to you, but since a comment above says you don't paste the code in your html, it may be worth pointing out that you must go to the Admin for Simple Google Analytics and enter your Google Analytics code there.
Still puzzling over what could be the problem when my functioning Google Analytics just stopped working on one site but not another, so that on my non-working site when I "view source," I cannot see the GA code.
Is there some way to identify what has changed or what could have changed to make the code disappear in "view source" when it plainly is still in the html header and body files as it was when it was working?
Do I just go through the header and body files line by line in comparison with prior versions using WinMerge? Should I assume something in these files is suddenly broken, or would there be some add-on that interferes? For example, I added the Link Exchange module to my two sites, one of which still shows GA in "view source." Is WinMerge the only possible avenue of investigation? Am I on the right process track?
Notageek
I am trying to install Simple Google Analytics Version: 1.2.5c on Zencart v1.5.0. However when I get to trying to find tpl_main_page.php in includes/templates/my_template/common I find that it does not exist. I found a post saying that this may happen and I should put the code in includes/templates/my_template/common/tpl_header.php but this php file does not contain any body tages and the readme file says the code needs to go before the </body> tag. So now I don't know what to do - can anyone help with this?
Thanks for the help - but if I do that will it not affect the template my site is using as it obviously doesn't need this file, and what will it do when it finds it?
http://www.picaflor-azul.com/index.p...ducts_id=14319
Ashley Pink at the link above.
The Ashley Pink template is using the zen cart templates/template_default/tpl_main_page.php. Just get the tpl_main_page.php out of zen cart templates/template_default and upload it to your includes/templates/my_template/common after you insert the Simple Google Analytics code.
Thanks I have finished the installation and done everything else in the install notes, however my Google Analytics account is still saying "Tracking not installed" after I have done the check status. I have a redirection on the domain name to the folder where Zencart is installed could this be causing this problem?