Hi, I have manually installed Google tracking code on my website. Is there any point to install this module now? Does this module work if I don't install SQL patches?
Thanks for reply.
Hi, I have manually installed Google tracking code on my website. Is there any point to install this module now? Does this module work if I don't install SQL patches?
Thanks for reply.
Ok, so I want to install Google Analytics but I'm noticing that the start of this thread is years old. Can someone please point me where to begin with a modern installation?
Ian
http://www.zen-cart.com/forum/showthread.php?t=155490
http://www.zen-cart.com/forum/showthread.php?t=53701
http://www.zen-cart.com/forum/showthread.php?t=153921
http://www.zen-cart.com/forum/showthread.php?t=57746
http://www.zen-cart.com/forum/showthread.php?t=154681
http://www.zen-cart.com/forum/showthread.php?t=157178
Last edited by g1smd; 10 Jun 2010 at 10:14 PM.
On Google Analytics- Website Profile, when you click "Do Track Site Search," it says:
A) Query Parameter (required)
Use commas to separate multiple parameters (5 max)
B) Yes, strip query parameters out of URL [?]
No, do not strip query parameters out of URL
Can anyone clarify what to enter for A and what to select for B?
Cheers,
R
Hi,
I have install as per instructed. Inserted the Analystics Account ID in the back admin. But google keep saying not installed. Does the source code of every page suppost to show the account id UA-XXXXXX-XX. Cause all I see in the source is the following lines.
What have I done wrong. Thanks for the help.PHP Code:<script type="text/javascript">
<!--
function googleanalytics_outgoing_init() {
return;
}
//-->
</script>
Same problem here. I get the '!' icon in the status column in my google analytics account. Is it supposed to be instantly change to a 'green tick' after you install this mod, or do you have to wait a day or so?
This thread is poorly supported,many questions not many answers. Is there another way to install google analytics without using this mod?
Once you have it installed this plugin and activated it ( not forgetting to do the install.sql part ) you must put the code below into the tpl_footer.php file ( the bottom of the code just above <?php works great )
<?php include($template->get_template_dir('tpl_footer_googleanalytics.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_googleanalytics.php'); ?>
It tells you this in the readme file, after this it works fine and you will see it when you click view source of your site.
You can locate the tpl_footer_.php file in your templates/template_default/common or in your themes templates/common folder, you can use an override by copying the template default footer file to your themes common folder.
Then just sign in to your Google Analytics free account to view the stats.
Incidentally, the above should work but didn't for me and although everything looks correct when i click view source its apparent Google is not tracking things, i think the plugin needs updated especially since Google now uses a new type of ad code.
Maybe i just made a simple error but i don't see it.
I'm doing this the old fashioned way and just copying and pasting the code directly into the footer or header. ( doing that right after i type this )
I gotta say that i also have a Wordpress installation, that is the easiest thing in the world to use after coming off zencart, i hope sometime in the future zencart is made much more accessible without all this editing of code and merging of files, wordpress does it so much easier and better.
I stuck the Google ad code directly in the templates/yourtemplate/common/tpl_footer.php file just after the IP address code, its all working great now and is already picking up data thus this module is not needed ( for me ) in fact its been far easier just sticking the code directly in the one file than going through the motions of installing ( and uninstalling ) this module.