hello, i was going to install this module , got my files transfered , my theme is andover_modern...
/includes/templates/andover_modern/common/tpl_main_page.php
does not exist , so where am i to put the code that's supposed to go there ?
hello, i was going to install this module , got my files transfered , my theme is andover_modern...
/includes/templates/andover_modern/common/tpl_main_page.php
does not exist , so where am i to put the code that's supposed to go there ?
Dear Eric-Thanks so much for your reply to my other question on another thread. You said for us to respond here. I did have my PHP nerd take off the old Analytics module and put on the new module. It now offers an "asychronous" Google Tracking Code type so I think we got it on there.
I did put in my account number (the UA-XXXXXXX-X number) and my conversion tracking number in the spaces provided and then chose Asynchronous and sat back waiting for data. There wasn't any. Maybe no one is responding to the Google ads but I doubt that is the case. So, I went to my ..../tpl_main_page.php page to see what was on there. I found this:
!--eof- banner #6 display -->
<?php
/* Begin Simple Google Analytics */
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
/* End Simple Google Analytics */
?>
// <script type="text/javascript">
//
// var _gaq = _gaq || [];
// _gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
// _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>
</body>
As you can see, the conversion tracking number is not on it. Should I put that in manually? Simple Google Analytics does not look like it put that in, should it have? I suspect it should look like this:
// _gaq.push(['_trackPageview','XXXXXXXXXX']);
With all of the X's being the conversion tracking number. Am I right, should I do that? Or has something else gone amiss? Thanks.
The Zen of cat.
Hi,
I am currently upgrading from 1.3.9h to 1.5.
I know I need to uninstall SGA but do I do this by running the uninstall sql patch in the admin? Then upgrade to the new version and update my database?
Also - I can't see whether SGA will work with 1.5 infact I can't see it in the addon list
Thanks,
Cat
Well this seems pretty clear to me..
http://www.zen-cart.com/index.php?ma...=Simple+Google
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Catattack,
The Simple Google Analytics add-on module is most definitely still in the add-on list.
The latest update appears to be by Countrycharm from Post #1766 in this thread, as it is dated 2/28/12, which is approximately when her proposed upgrade for Zen-Cart version 1.5 was approved.
I have had an issue going on for a while now, that my Google Analytics stopped working for one of my websites, while a site which was essentially the same basic programming remained active in the Google Analytics website.
I thought it could have been due to the fact that I had a test site in the www\ directory which I put down for maintenance, so I took it out of the down for maintenance condition.
However, it has been several months now and still Google Analytics does not work.
If I "view source" I cannot see the Simple Google Analytics code on one site, but I can on the other.
However, the includes/templates/mytemplate/common/tpl_main_page.php and ...common/html.header.php templates look exactly the same with respect to the code, for both of my sites.
I tried re-uploading the above pages, as a form of "redoing" the page, but that made no difference.
Does anyone have a suggestion on what I should do? I thought of deleting my test site completely (at www.g o k a r a o k e m a c h i n e.com/w a m p c o p y t e s t and asking Google to index my site, but would rather know what happened, and I feel that would be a "shot in the dark" to destroy the test site without knowing if it is a relevant step to take.
After all, I can't see the code in "view source" on the non-working site.
If anyone has a suggestion, thank you. The site that works is, with spaces so that searches on the web won't find this post, www.m u s i c s t u d i o s t o r e.com and the site that does not show the Simple Google Analytics code is www.g o k a r a o k e m a c h i n e.com.
I plan to upgrade to 1.5, but I would like to get this issue resolved first, if possible.
Thanks.
Notageek
Last edited by notageek; 13 Apr 2012 at 02:16 AM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I have now....lol If was probably me also. I just didn't change Eric name.
Nothing has change since 1.2.5b. All I did was create a upgrade file structure and upgrade instructions. I did update the googleanalytics-INSTALL.sql since TYPE=MyISAM is deprecated so it want cause any problems in the future.
Since I updated this I change the version number to 1.2.5c. The zen team asked to do this so they will know something has change.
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
One simple question: The explanation on the Simple Google Analytics Module indicates that the Google Adwords Conversion Tracking number is 11 digits long, mine is only 10. Is there some extra number that you can put on the end of it? Have I chosen the wrong tracking number? I got it from this line of code that Google generated:
var google_conversion_id = XXXXXXXXXX;
I don't need the ; at the end do I? Thanks.
The Zen of cat.