Page 1 of 20 12311 ... LastLast
Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Simple Google Analytics - Support

    I have simplified the Google Analytics integration process and am realeasing it for all to enjoy. Follow the readme directions for instalation.

    There are only 2 files to be uploaded. One of which is one line and utilizes the $zv_onload variable and is not neccasary if you make an extra addition to your template and is explained in the readme. Also an sql patch needs to be installed.

    Available:

    http://www.zen-cart.com/index.php?ma...roducts_id=412

    Enjoy
    ---------------------------------
    Barracuda Productions pure instincts

  2. #2
    Join Date
    Dec 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Will this track transaction information too? Or just the success of a sale?

    I thought with analytics you can track transaction details and report on it.

  3. #3
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by zwenthe View Post
    Will this track transaction information too? Or just the success of a sale?

    I thought with analytics you can track transaction details and report on it.
    Yes this will allow Google Analytics to track your transactions and entrance points, search queries, etc. So much info you won't know what to do with it.
    ---------------------------------
    Barracuda Productions pure instincts

  4. #4
    Join Date
    Sep 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I assume this is for ver 1.3.6, will it also work for ver 1.2.7?

  5. #5
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    This should work without any problems in 1.2.7 but I have not tested it. Follow the readme and if you have any issues I am happy to help. It really is a pretty simple mod.
    ---------------------------------
    Barracuda Productions pure instincts

  6. #6
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    i'm on step 2

    2. Make sure your body tag in includes/templates/[your_template] includes this code (if not see trouble shooting below it is not neccassary but an addition to your template needs to be made):

    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

    which file is this?

    step 3 wasn't a problem, and 4 and 5 look like they will be easy enough once i get step 2 done
    Last edited by MB1; 15 Dec 2006 at 08:01 PM.

  7. #7
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cuda View Post
    yeah I had just uploaded it. thanks kim!


    How do you upload simple google anaystics onto my site? I have downloaded it onto winzip but how do I get it on my site?

  8. #8
    Join Date
    May 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    The SQL file won't run in SQLYog or in the SQL import tool from the admin pages.

    Am I screwing something up?

    Tools --> Install SQL Patches

    I copy the SQL statement in the googleanalytics.sql file and try to run it and I get an error.

    I try to upload it from the browse feature and I get an error.

    1264 Out of range value adjusted for column 'configuration_group_id' at row 1
    in:
    [INSERT INTO zen_configuration_group VALUES ('', 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1');]
    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.

  9. #9
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by arretx View Post
    The SQL file won't run in SQLYog or in the SQL import tool from the admin pages.

    Am I screwing something up?

    Tools --> Install SQL Patches

    I copy the SQL statement in the googleanalytics.sql file and try to run it and I get an error.

    I try to upload it from the browse feature and I get an error.

    1264 Out of range value adjusted for column 'configuration_group_id' at row 1
    in:
    [INSERT INTO zen_configuration_group VALUES ('', 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1');]
    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.
    are you using mysql 5.0? If you are try replacing any value set as '' aka no value, with NULL with no quotes. so the above would be:

    INSERT INTO zen_configuration_group VALUES (NULL, 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1')

    Try this:

    Code:
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4 
    FROM configuration_group
    WHERE configuration_group_title= 'Google Analytics Configuration';
    DELETE FROM configuration WHERE configuration_group_id = @t4;
    DELETE FROM configuration_group WHERE configuration_group_id = @t4;
    
    INSERT INTO configuration_group VALUES (NULL, 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1');
    UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
    
    SET @t4=0;
    SELECT (@t4:=configuration_group_id) as t4 
    FROM configuration_group
    WHERE configuration_group_title= 'Google Analytics Configuration';
    
    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 (NULL, 'Analytics Account', 'GOOGLE_ANALYTICS_UACCT', 'UA-XXXXXX-X', 'Enter your Google Analytics account number', @t4, 1, NOW(), NOW(), NULL, NULL),
    (NULL, 'Target Address', 'GOOGLE_ANALYTICS_TARGET', 'customers', 'What adress (City/State/Country to correlate the transaction with) use in Analytics transaction?', @t4, 2, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''customers'', ''delivery'', ''billing''),'),
    (NULL, 'Affiliation', 'GOOGLE_ANALYTICS_AFFILIATION', '', 'Optional partner or store affilation', @t4, 3, NOW(), NOW(), NULL, NULL),
    (NULL, 'Use sku/code', 'GOOGLE_ANALYTICS_SKUCODE', 'products_id', 'Using as Product SKU code', @t4, 4, now(), now(), NULL, 'zen_cfg_select_option(array(''products_id'', ''products_model''),');
    Let us know if that works....
    ---------------------------------
    Barracuda Productions pure instincts

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Simple Google Analytics - Support

    To add to what cuda suggested, NULL or 0 should work (both without quotes).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 20 12311 ... 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR