Re: Simple Google Analytics - Support
Quote:
Originally Posted by
JackA
Just jumped in here. Can I assume the new G code and the Simple Google Analytics mod like each other? BTW, Eric, your site won't resolve at this writing. I'll check back. Thanks.
The new G code and Simple Google Analytics WILL like each other (once I get this new version out).
The upgrade from this version to the next should be pretty simple.
Until then, you can use this version of Simple Google Analytics (which uses the previous "Urchin" tracking method and will be supported by Google for at least another year -- don't worry, my module will be out long before that with the updated code :).
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
pinwest
I am having problems setting this up on my site. I am running the newest version of Zen Cart. I have done the following.
Created a Google Analytics account.
I download the google analytic mod. I checked the code in the file, /public_html/includes/templates/silverfish/common/tpl_main_page.php
Made sure that the body ID showed
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
Then added :
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
Just before the </body>
Updated the .sql file for non-upgrate.
Changed the account # in the admin config
Uploaded the files included with the mod into my file structure.
Now, when I access Google Analytics, I get tracking code not detected.
I have my Analytics set for
http://www.pinwest.net and the default page, index.php.
Any ideas ???
Thanks,
David...
Did you forget the trailing slash when telling Google where to verify code at?
You have to be careful at times with letting Google know the exact location.
Try reading through this post. It has some things to consider if the code shows as not detected. (One being the trailing slash).
http://www.zencartoptimization.com/2...gle-analytics/
Re: Simple Google Analytics - Support
Thank you very much. Figured out. My problem was that I copied the reg. code from the goggle site. Forget where I got it but the one I copied did not have the "-1" at the end therefore the activation code was incorrect. I found that when I check the code that goggle wanted me to enter into my site, the code had the -1 while the code I was using did not.
Thanks for the link, it did help me greatly.
David...
Re: Simple Google Analytics - Support
Hi,
Who knows what I did wrong, when I do get the normal analytics data, but the ecomerce keeps saying 0.00% conversion. Somehow the ecommerce things are not tracked, as I have had sales since I installed this.
(I had analytics running before I installed the module. And I have selected 'ecommerce site' in my analytics account. Also I can see the urchin code when I view source.)
Re: Simple Google Analytics - Support
I'm trying to install GA. I am at step 4 (updating database with sql file) This is what I received below. I have zen 1.3.7.1 and MySQL 4.1.22-standard-log. Anyone know what I did wrong. Keep in mind that I am clueless about all this stuff:blush:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Yes', 'No'), ')' at line 1
in:
[INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Activate Conversion Tracking', 'GOOGLE_CONVERSION_ACTIVE', 'No', 'This element enables you turn on or off Google Conversion Tracking.
Please Note: Conversion tracking is used to track the effectiveness of Google AdWords paid search campaigns. If you are not running any paid search campaigns, then you should leave this set to "No".
If you are running Google AdWords (paid search) campaigns, then turning this on will place the proper conversion tracking code on your checkout success page and enable you to start tracking conversions.
Turning this on requires you to enter your unique Google Conversion Tracking ID in place of the "XXXXXXXXXXX" number shown in the next section.
For more hints and tips on how to use Google Analytics to increase sales from your store, visit ZenCartOptimization.com
Do you want to turn on Google AdWords Conversion Tracking?
', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('Yes', 'No'), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
shamis
I'm trying to install GA. I am at step 4 (updating database with sql file) This is what I received below. I have zen 1.3.7.1 and MySQL 4.1.22-standard-log. Anyone know what I did wrong. Keep in mind that I am clueless about all this stuff:blush:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Yes', 'No'), ')' at line 1
in:
[INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Activate Conversion Tracking', 'GOOGLE_CONVERSION_ACTIVE', 'No', 'This element enables you turn on or off Google Conversion Tracking.
Please Note: Conversion tracking is used to track the effectiveness of Google AdWords paid search campaigns. If you are not running any paid search campaigns, then you should leave this set to "No".
If you are running Google AdWords (paid search) campaigns, then turning this on will place the proper conversion tracking code on your checkout success page and enable you to start tracking conversions.
Turning this on requires you to enter your unique Google Conversion Tracking ID in place of the "XXXXXXXXXXX" number shown in the next section.
For more hints and tips on how to use Google Analytics to increase sales from your store, visit ZenCartOptimization.com
Do you want to turn on Google AdWords Conversion Tracking?
', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('Yes', 'No'), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
This error usually results from not uploading the "google_analytics" directory to the proper location.
It should be uploaded to your template main directory as such:
/includes/templates/{your template directory here}/google_analytics
Re: Simple Google Analytics - Support
Re: Simple Google Analytics - Support
I'm still having problems. First I get this warning below on the bottom of my site and when I check my GA account it states that GA tracking hasn't been installed on my website. But I have done everything up to step step 5
This is fustrating:frusty:
Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/shamista/public_html/contagioushair/includes/templates/SexyPink/common/tpl_main_page.php on line 176
Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory in /home/shamista/public_html/contagioushair/includes/templates/SexyPink/common/tpl_main_page.php on line 176
Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shamista/public_html/contagioushair/includes/templates/SexyPink/common/tpl_main_page.php on line 176
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
shamis
Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory
It's telling you that it's looking for a specific file ... but can't find it.
Note the path and filename it's mentioning.
Use your FTP program and check to see if the file exists exactly as mentioned in the error message, as I've highlighted above for convenience.
... perhaps you missed uploading it somehow.
Re: Simple Google Analytics - Support
Thank you so much Dr. Byte!:clap: It is now finally working and Google says it's receiving data. I hope in the future that the installation instructions in mod contributions are a more "newb friendly" because when we follow instructions to a T and still run into problems, it get's a little discouraging.