Re: Simple Google Analytics - Support
I am not sure I did this right but it appears to be working.
I added
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
to the very end of the tpl_header.php file and it seems to be working ok. I don't know if this is the RIGHT way to do it, but it looks like it is A way to do it.
Tim
Re: Simple Google Analytics - Support
[quote]Thank you for your help again. I had it that way for about 2 weeks and google was not collecting any data what so ever. I added the other code from google and it started showing data again. I don't know whats with that. I can not get any data to collect for the E-Commerce part of it. I have it checked Yes, an E-Commerce Site in the edit on google.
Thank you[/quote
Has anybody had this problem
Re: Simple Google Analytics - Support
G'day,
I'm trying to upgrade from version 1.0 to version 2.1.2. the instruction say...
Quote:
If you are upgrading (from the oldest 1.0 version), you will need to use the SQL file that is called googleanalytics-UPGRADE.sql
But the file googleanalytics-UPGRADE.sql is missing.
Where can I source it from?
Best Regards, Lloyd Borrett.
Re: Simple Google Analytics - Support
[QUOTE=countrycharm;582515]
Quote:
Thank you for your help again. I had it that way for about 2 weeks and google was not collecting any data what so ever. I added the other code from google and it started showing data again. I don't know whats with that. I can not get any data to collect for the E-Commerce part of it. I have it checked Yes, an E-Commerce Site in the edit on google.
Thank you[/quote
Has anybody had this problem
This has to be a setup problem. The only way I would be able to diagnose it is to take a look. But it has to be a setup issue somewhere.
1 Attachment(s)
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
lloyd_borrett
G'day,
I'm trying to upgrade from version 1.0 to version 2.1.2. the instruction say...
But the file googleanalytics-UPGRADE.sql is missing.
Where can I source it from?
Best Regards, Lloyd Borrett.
Lloyd,
Wow. Great catch. It looks like that file is not in the package you received. I'll have to add that for older upgrades. It appears to have been "dropped" during one of the releases.
Attached you will find the file you need. (I named it ".txt" for the upload, but it should be ".sql" technically). Copy and paste this into your SQL patch section from the admin.
You should run this file 1st, and then after running this, run the subsequent upgrade file (that is included with the package). This will bring you up to speed without removing any previously entered values.
Let me know if you have any questions.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
timstoel
I am not sure I did this right but it appears to be working.
I added
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
to the very end of the tpl_header.php file and it seems to be working ok. I don't know if this is the RIGHT way to do it, but it looks like it is A way to do it.
Tim
That is the correct way to do it. At the end of the tpl_main_page.php file just above the closing "</BODY>" tag.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
Lloyd,
Wow. Great catch. It looks like that file is not in the package you received. I'll have to add that for older upgrades. It appears to have been "dropped" during one of the releases.
Attached you will find the file you need. (I named it ".txt" for the upload, but it should be ".sql" technically). Copy and paste this into your SQL patch section from the admin.
You should run this file 1st, and then after running this, run the subsequent upgrade file (that is included with the package). This will bring you up to speed without removing any previously entered values.
Let me know if you have any questions.
Okay, so I ran the SQL file googleanalytics-UPGRADE.sql and received the following error message:
Code:
1062 Duplicate entry 'GOOGLE_CONVERSION_ACTIVE' for key 2
in:
[INSERT INTO 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.
Should I now proceed to run the file UPGRADE-FromVersion1-2-1_ONLY.sql, or will something have to be fixed first?
Best Regards, Lloyd Borrett.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
lloyd_borrett
Should I now proceed to run the file UPGRADE-FromVersion1-2-1_ONLY.sql, or will something have to be fixed first?
Best Regards, Lloyd Borrett.
Let's do this. Make it easier.
1) Go into your admin and Configuration > Google Analytics Configuration.
2) Write down your analytics tracking number
3) Run the "INSTALL" file for the 1.2.2 version. This will first DELETE the previous DB entries and then re-install from scratch with the new updates. Don't bother with the update patch any more.
4) Go back into your admin and go to Google Analytics Configuration again. Re-enter your tracking ID and save.
You're all set. I would also recommend removing the file specified in the install (on old "on_load.js" file that was used in older versions but is not needed in the newer one.
See if that helps.
Re: Simple Google Analytics - Support
Eric will you take a look at my site please? I didn't have any problems in the install, but Google still says Tracking not installed. I am running 1.27 in case you need to know that. Thank you!
Re: Simple Google Analytics - Support
I recently switched my website to zencart, and installed this mod. Googleanalytics says that it's receiving data, but since I switched from the old cart to zen it's showing zero visits to my site - no data at all. What have I done wrong? The website is http://www.littleturtleknits.com/
I'm running 1.3.7.