Thanks Joepixel, I have been looking for a solution for over a week and your solution works.
Thanks Joepixel, I have been looking for a solution for over a week and your solution works.
I'm currently in the process of looking at this a a few other mods to make sure they are 1.5 compatible. I've got them all working on 1.5 but have noticed that it is not as smooth for others so I'll go back here and rework the areas needed and upload a new version for those looking if needed.
Just wanted to let everyone know.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Disregard,
Just wasn't patient enough I guess =) Gathering data now =)
Thanks OP and all who made this mod!
Last edited by justmerob; 19 Jan 2012 at 03:42 AM. Reason: stupidity =)
In ZC 1.5 you need to register the page within the Admin.
First, create the adminXXXXXXXXXXXX/includes/languages/english/extra_definitions/googleanalytics.php page with the following:
Code:<?php define('UN_BOX_GOOGLE_ANALYTICS', 'Simple Google Analytics');
Fire up your mysql client (HeidiSQL, phpMyAdmin, etc)
and run the query:
SELECT `configuration_group_id` FROM `configuration` WHERE `configuration_title` like '%google%' LIMIT 1;
If it returns nothing, you didn't run the SQL included with the installer.
Take the resultant # and use that for your gID in the next step.
Now within your carts admin console, go to:
Admin Access Management => Admin Page Registration
Register the page as per the previous posts:
Page Key: Simple Google Analytics
Page Name: UN_BOX_GOOGLE_ANALYTICS
Page Filename: FILENAME_CONFIGURATION
Page Parameters: gID=XXXX
Menu: configuration
Display on Menu? Y
Sort Order: whatever you want
Save it, and refresh your admin console. You should now see it under 'Configuration'.
Configuration image stolen from this site:
http://www.zencartmarketing.com/goog...-for-zen-cart/
I was able get the configuration ID in the configuration database using phpMyAdmin.
I added the Simple Google Analytics to the Admin Page Registration using this info:
Page Key: Simple Google Analytics
Page Name: UN_BOX_GOOGLE_ANALYTICS
Page Filename: FILENAME_CONFIGURATION
Page Parameters: gID=49
Menu: Tools
Display on Menu? Y
Sort Order: 0
The menu was added in under Tools. However, when clicked it just shows the My Store configuration.
Thank in advance for any help.
I do apologize in advance if this question has been posted before in this thread, but I display 100 posts per page and this thread in 18 pages long so the thought of wading through 1,800 posts if not that palatable.
In any event - when I sign up for Googleanalytics it asked me if I want HTTP for my site or HTTPS for the url before I enter the URL.
How do you get one account that handles both since the UA number is dfferent for my http and https web profile.
thanks in advance.
Jeff
Bookmarks