
Originally Posted by
parasols
Hi,
I installed the google analytics module on v1.3.8, and have followed all the instructions but am getting the below message (I installed the module yesterday morning and have been getting the message since in my google analytics account):
Tracking Not Installed (Last checked: Apr 19, 2009 5:28:41 PM )
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.
Did I miss something or does it take a while for it to find the code?
I can't seem to figure out what i've done wrong
I have checked the source info on my home page and don't see the code that I installed on the bottom of tpl_main_page.php
This is the code (only the bold part) I pasted into the file:
<!--eof- banner #6 display -->
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE,
$current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
Are there spaces between the code and </body> that are missing? Would that make a difference
however when I check the main page source I don't see this, all I see is at the end:
</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
The other thing, when I am in the Admin Page for Zen Cart and check the source code I see the below, however the Google Analytics Web Property ID (shown below) is not the one I have for my page.... ?
</div>
<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-5907240-1");
pageTracker._trackPageview();
</script>
thanks in advance for your help
Bookmarks