Re: Simple Google Analytics - Support
Quote:
Originally Posted by
sunflowertami
hello,
The mod was working on 1.3.8a and since cache error debugging wasn't available then, don't know if it was a problem back then.
Anyway, it was working then I upgraded to 1.3.9b. On the cache, I noticed the following error every time a purchase is made:
PHP Warning: require(includes/templates/cherry_zen/checkout_success//google_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/content/includes/templates/cherry_zen/common/tpl_main_page.php on line 227
[23-May-2010 06:19:53] PHP Warning: require(includes/templates/cherry_zen/checkout_success//google_analytics.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/content/l/includes/templates/cherry_zen/common/tpl_main_page.php on line 227
[23-May-2010 06:19:53] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/cherry_zen/checkout_success//google_analytics.php' (include_path='.:/usr/local/php5/lib/php') in /home/includes/templates/cherry_zen/common/tpl_main_page.php on line 227
I have the google analytics folder correctly located on:
templates/cherry_zen/google_analytics/google_analytics.php
Then just to be sure, I took out the php file and just added it to the root of templates/cherry_zen/google_analytics.php
I still get the same error though, but it appears the site is functioning. I tested it, no blank pages and google is recording the order, it is just that the error comes out everytime.
Any ideas?
This should work regardless of version (older versions as well as new.)
The error you are getting looks it can't find the file in the following location:
includes/templates/cherry_zen/checkout_success//google_analytics.php
Notice the "checkout_success" portion. That is not a part of the original code. It looks to me like the tpl_main_page.php file is somehow now referencing the google_analytics.php file in the checkout success folder (which is incorrect).
Did you change anything else (add any mods) during upgrade? Did you add any third party mods or alter the "checkout_success" portion? During that process is when your error likely developed.
The message basically means that the system is looking for the google_analytics.php file in the "checkout_success" folder and since it can't find it, it throws the error. The tracking still works because you likely have the proper code also referencing the "google_analytics" folder (as it should.)
Remove the reference to the checkout_success portion and all should be ok.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
panuma
Hello there,
I just installed for the first time google analytics on
my website, and followed the process step by step.. but it doesn't seem to work, when I go to my google analytics account, the status shows a yellow warning instead of "receiving data".
I hope someone can help me, thanks.
Just checked your site, and the tracking code is installed correctly.
You may need to reverify the status of the code in place with Google to make it see it.
Try to do that and you should be ok. Make sure when telling Google where to find the code you use the proper url (watch the trailing slash at times).
Also make sure you are using the right Google Analytics tracking ID. Currently on your page you are using "UA-16986522-1". If you are not looking at the tracking for that exact number (within your GA account) you'll find it says "no tracking installed" (or the warning message.)
Let me know if that helps.
Re: Simple Google Analytics - Support
Thanks for your response,
I wrote to quickly on the forum, later on I noticed it takes until 24 hours to get activated..
have a good day
Re: Simple Google Analytics - Support
Ok, so I've downloaded the analytics module and read the install file but it's not very good. Can someone please point me in the right direction concerning how to actually install this thing?
Ian
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
r1formetoo
Ok, so I've downloaded the analytics module and read the install file but it's not very good. Can someone please point me in the right direction concerning how to actually install this thing?
Ian
If you are using Simple Google Analytics (not the other module) then the install is very straight forward. Follow the steps numbered in the readme and run the Install patch.
Just make sure you don't miss step #3 in the install (which is the only time you need to add anything to code), and copy the files to the same folder your template is running from.
Should be up and running in 2 minutes or less.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
If you are using Simple Google Analytics (not the other module) then the install is very straight forward. Follow the steps numbered in the readme and run the Install patch.
Just make sure you don't miss step #3 in the install (which is the only time you need to add anything to code), and copy the files to the same folder your template is running from.
Should be up and running in 2 minutes or less.
Ahh. Turns out that I had the other module downloaded. I've deleted that one because it seems like much more trouble. I've downloaded Simple Google Analytics but before I go any further and actually install this I want to make sure that having conversion tracking already set up on my site won't screw anything up? You know, I've added the conversion tracking code to my checkout_success page. Do I need to remove that before installing? I don't want the two pieces of code to conflict.
Ian
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
r1formetoo
Ahh. Turns out that I had the other module downloaded. I've deleted that one because it seems like much more trouble. I've downloaded Simple Google Analytics but before I go any further and actually install this I want to make sure that having conversion tracking already set up on my site won't screw anything up? You know, I've added the conversion tracking code to my checkout_success page. Do I need to remove that before installing? I don't want the two pieces of code to conflict.
Ian
My version has conversion tracking already built in so it would conflict with the coded you entered on the checkout_success page.
I would remove that code and then once you get mine installed, go to the configuration section of the admin and plug your tracking ID (just the conversion tracking number) into the proper text field and save. Select the radio button that says "turn on conversion tracking" and save. All set.
The other thing I have noticed with those that moved from the other version to this one is that there are a number of files the other version makes you add. Make sure you remove all of those files it makes you add including those "js" type files that auto load. Those can cause conflicts as well with my version at times and render no tracking at all.
Let me know if that helps.
Thanks!
Re: Simple Google Analytics - Support
I have followed the installation guide in the download package, how do I now if the installation is correct?
Re: Simple Google Analytics - Support
I have installed this module for a number of months now. I was using predominately the urchin.js version. I have noticed however when testing myself, that a number of the google organic searches not appear. Also if a organic search does appear then the correct keyword does not appear & i get something like "site:ethoil.com" (my website)
I have changed to ga.js but that too seems to be as inconsistent as the other. ALso any referrals on yahoo search never appear??
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
fei2010
I have followed the installation guide in the download package, how do I now if the installation is correct?
If you entered your Analytics ID in the "Configuration" section for Google Analytics and the code shows on the bottom of your pages you are ready to go. You will have to make sure you tell google where to verify the tracking code at for it to start recording data.