Page 1 of 2 12 LastLast
Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by RJugalbot View Post
    I installed it but there is NO Google Analytics in the Configuration menu. What did i miss?

    Anybody?

    Thanks.

    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'.

  2. #2
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support




    Configuration image stolen from this site:

    http://www.zencartmarketing.com/goog...-for-zen-cart/

  3. #3
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Limitless View Post



    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.

  4. #4
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by RJugalbot View Post
    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 didn''t have any luck with it under 'Tools' either.

    Registering it under 'Configuration' and it shows properly.

  5. #5
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Limitless View Post
    I didn''t have any luck with it under 'Tools' either.

    Registering it under 'Configuration' and it shows properly.
    I re-register this the page under Admin/Configuration using the updated analytics in the Free Add-Ons download but still no luck.

    When I click Simple Google Analytics it displayed the My Store information.

    Any help.

  6. #6
    Join Date
    Oct 2005
    Location
    San Francisco
    Posts
    107
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    see my post directly above - I was able to find the Simple Google Analytics Config page by loading another config page (for example: Images) - note the URL, find where it gives it's id (gID=4) and then paste in your gID=xx that identifies where you placed SGA. It should go right there.

  7. #7
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by johnga View Post
    see my post directly above - I was able to find the Simple Google Analytics Config page by loading another config page (for example: Images) - note the URL, find where it gives it's id (gID=4) and then paste in your gID=xx that identifies where you placed SGA. It should go right there.
    Thanks, I tried it, and it WORKS.

    How can I change it permanently to that URL??

  8. #8
    Join Date
    Nov 2011
    Posts
    15
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Limitless View Post
    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'.
    Thanks for this, Im trying to follow the above but im having problems finding the gID number.
    I have no experiance of PHP but I have downloaded PHPmyadmin and have it up an running. However this is where im having trouble, am i right in saying i have to import the googleanalytics-INSTALL.sql and run the query:

    SELECT `configuration_group_id` FROM `configuration` WHERE `configuration_title` like '%google%' LIMIT 1;

    When i try and import googleanalytics-INSTALL.sql i get the following error:

    Error

    SQL query:

    SELECT (

    @t4:= configuration_group_id
    ) AS t4
    FROM configuration_group
    WHERE configuration_group_title ='Google Analytics Configuration';

    MySQL said:
    #1046 - No database selected

    What am i doing wrong?? Please help!!

  9. #9
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    this module still puts the ga code just before the </body> tag

    these days, google specifically advises:

    Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag
    i wander whether this will cause problems now or in future?

  10. #10
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by mattys View Post
    this module still puts the ga code just before the </body> tag

    these days, google specifically advises:



    i wander whether this will cause problems now or in future?
    This won't cause any problems and shouldn't in the future. Google recommends that (as they state) but so long as it is in the header part of the site you're ok (they are looking to load it prior to the rest of the page loading.)

    The newest version here removes the code at that point and instead dynamically inserts it above the </head>. There is no need to alter the html_header.php file anymore.

    If you still show the code at the point above the </body> tag then you likely upgraded from a previous version and at that time did not remove the lines in the 'html_header.php' file (as per the instructions.)

    Let me know if that clears it up for you.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Simple Google Analytics .sql error !
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:33 PM
  2. Simple Google Analytics-not working
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Nov 2010, 06:07 PM
  3. Simple (From Google) Analytics Install
    By DagLindt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2009, 10:46 PM
  4. Simple google analytics- help
    By Pet Herbal Remedies in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Oct 2008, 10:37 PM
  5. Simple Google Analytics not working
    By jvanree in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 May 2008, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg