Re: Simple Google Analytics - Support
On my store ww w.r ibb o ns ba sk e ts. co m I have had the mod installed for years but not all the transactions are being tracked in the google ecommerce. For instance in a one month period google ecommerce only tracked 9 but there are more then too many to count. I've always just left it because i dont have time but now im thinking that it would be wise to have a more accurate conversion rate to track. All the basic things like making sure the admin and google settings are set are done.
I have a feeling that it may have to do with the code showing up in multiple places when viewing the source but im not sure. The store has not yet been upgraded - its 1.3.8 Any help would be greatly greatly appreciated. :unsure:
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
If you didn't backup the db this time no big deal.
Just run the install script (first time install not upgrade) it will automatically remove the previous DB entries and then reinstall fresh.
I did the install and set up SGA in the Admin. When I ran the install patch I got these errors.
41 statements processed.
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_TRACKING_TYPE" because it already exists
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_CUSTOM_AFTER" because it already exists
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_CUSTOM_AFTER" because it already exists
When I check the status at Google it say it isn't installed.
The site is rusticranchfurniture.com
Thanks
Jim
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
jar3300
I did the install and set up SGA in the Admin. When I ran the install patch I got these errors.
41 statements processed.
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_TRACKING_TYPE" because it already exists
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_CUSTOM_AFTER" because it already exists
ERROR: Cannot insert configuration_key "GOOGLE_ANALYTICS_CUSTOM_AFTER" because it already exists
When I check the status at Google it say it isn't installed.
The site is rusticranchfurniture.com
Thanks
Jim
Run the uninstall and then the install sql
Re: Simple Google Analytics - Support
Ran the uninstall, 5 statements processed. Reran the install and got the same error message.
Google still says it is not installed.
Thanks
Jim
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
ksookma
On my store ww w.r ibb o ns ba sk e ts. co m I have had the mod installed for years but not all the transactions are being tracked in the google ecommerce. For instance in a one month period google ecommerce only tracked 9 but there are more then too many to count. I've always just left it because i dont have time but now im thinking that it would be wise to have a more accurate conversion rate to track. All the basic things like making sure the admin and google settings are set are done.
I have a feeling that it may have to do with the code showing up in multiple places when viewing the source but im not sure. The store has not yet been upgraded - its 1.3.8 Any help would be greatly greatly appreciated. :unsure:
I went to your site and you are using a different Google Analytics Module than the one this thread supports.
You are using "Google Analytics by Andrew". This is the thread for Simple Google Analytics.
The version of code you are using has a number of problems with tracking ecommerce transactions. My suggestion would be to uninstall it, remove all associated files and changes then install my Simple Google Analytics mod.
Easy install, no problems tracking.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
jar3300
Ran the uninstall, 5 statements processed. Reran the install and got the same error message.
Google still says it is not installed.
Thanks
Jim
No, you don't need to uninstall and re-run the SQL. That is all fine (ignore the error messages as it just means the mod is already installed.)
The reason you are not getting any tracking and Google says not installed is because you have not entered your Google Analytics tracking id into the site yet. :)
I went to your site and did a view source. Your tracking id is "UA-xxxxx-xx". This is just filler I included in the mod (placeholder). You need to get the Google Analytics id from within your analytics account and then place it into the section found in the "Google Analytics Configuration" within the Zen Cart Admin (found under the 'Configuration' menu option.)
Once you add that tracking id and save, you'll need to go back to your GA account and 'verify install' for the profile you are tracking.
Google will then be able to verify the code exists and the tracking ID is correct. Shortly after (give it about 24 hours or so) you should start seeing tracking in your Google account.
Re: Simple Google Analytics - Support
I forgot after the reinstall to configure it again. I set the id, checked the same way you did and Google still says it isn't installed. Is this Bizarro world?
Profile Name: rusticranchfurniture.com
Website URL: http://rusticranchfurniture.com
Web Property ID [?] : UA-7009853-9
Tracking Status: warning Tracking Not Installed (Last checked: Feb 7, 2011 5:54:21 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.
Thanks
Jim
Re: Simple Google Analytics - Support
Hi,
My version of Zen Cart (quite old due for upgrade) is V 1.3.8a.
I installed Simple Google Analytics in an attempt to get google Ecommerce working.
The install seemed to go OK, however when I did a test order, using "test bean bag" found in "pet bean bag" directory.
The checkout_succes page didn't load completely, it loaded the background and nothing else.
After reading online I downloaded and installed the ZenCart debug utility and it began outputting messages like the one below....
Quote:
a[08-Feb-2011 04:26:03] PHP Warning: require(includes/templates/orange/google_analyticsgoogle_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
[08-Feb-2011 04:26:03] PHP Warning: require(includes/templates/orange/google_analyticsgoogle_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
[08-Feb-2011 04:26:03] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/orange/google_analyticsgoogle_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/stylish/public_html/includes/templates/orange/common/html_header.php on line 131
Basically whats happening is that the html_header file cannot find the google_analytics.php file. After changing things around a bit and copying the google_analytics file into 3 different places namely
my_template/checkout_success/google_analytics/
my_template/checkout_success/
my_template/google_analytics/
There is no more output from the debug utility.
However being the sceptic that I am, I'd like to ask... Even though all seems well, will the actual google analytics have survived the copying and pasting of files into different places in order to overcome the error, I'm thinking not?
Re: Simple Google Analytics - Support
Hi,
I appear to be having the same issues as Jim
I have configuered everything in admin but still getting this error at analytics:
Profile Name: www.themakeupartistboutique.com
Website URL: http://www.themakeupartistboutique.com
Web Property ID [?] : UA-21172541-1
Tracking Status: Warning Tracking Not Installed (Last checked: 08-Feb-2011 06:19:49 )
The Google Analytics tracking code has not been detected on your website's homepage. For Analytics to function, you or your web administrator must add the code to each page of your website.
Any idea?
Many thanks
Emma
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
jar3300
I forgot after the reinstall to configure it again. I set the id, checked the same way you did and Google still says it isn't installed. Is this Bizarro world?
Profile Name: rusticranchfurniture.com
Website URL:
http://rusticranchfurniture.com
Web Property ID [?] : UA-7009853-9
Tracking Status: warning Tracking Not Installed (Last checked: Feb 7, 2011 5:54:21 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.
Thanks
Jim
Try adding a trailing slash '/' after your domain name within your Google Analytics profile and then 'recheck' again. Let me know if that finds it on the page.