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

Hybrid View

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by jds580s View Post
    This happened to me after installing Simple Google Analytics Mod

    What is the proper SQL syntax to re-insert these 3 keys with their default values?

    I have my backedup databased and can see the line they appear on, but the line is huge (when viewing with text wrap it's over 1000 lines of code)

    I would prefer not to roll back to my previous database backup in it's entirety since multiple orders have been placed since then while I was figuring out what was causing the issues I was experiencing on the site (tracking back the problems to those 3 keys, searched and found this thread)

    Any help is much appreciated

    The portions of that line of code that seem pertinent to those keys are:
    Code:
    (364,'Product option type Select','PRODUCTS_OPTIONS_TYPE_SELECT','0','The number representing the Select type of product option.',0,NULL,'2007-10-08 10:56:19','2007-10-08 10:56:19',NULL,NULL)
    
    (370,'Upload prefix','UPLOAD_PREFIX','upload_','Prefix used to differentiate between upload options and other options',0,NULL,'2007-10-08 10:56:19','2007-10-08 10:56:19',NULL,NULL)
    
    (371,'Text prefix','TEXT_PREFIX','txt_','Prefix used to differentiate between text option values and other option values',0,NULL,'2007-10-08 10:56:19','2007-10-08 10:56:19',NULL,NULL)
    A few questions.

    1) What version of Zen are you running?
    2) What other mods do you have installed (and were any others installed around the time you installed Simple GA?)

    3) Are you certain the installation of the GA mod caused it?

    Out of all the other users in this forum with the mod, there are only two that reported this (1 being you, and the other being surfnet7).

    I have been unable to duplicate this on any install of Zen to date.

    Let me know the above and we'll see if we can't get to the bottom of what may have caused it.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #2
    Join Date
    Jul 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    A few questions.

    1) What version of Zen are you running?
    2) What other mods do you have installed (and were any others installed around the time you installed Simple GA?)

    3) Are you certain the installation of the GA mod caused it?

    Out of all the other users in this forum with the mod, there are only two that reported this (1 being you, and the other being surfnet7).

    I have been unable to duplicate this on any install of Zen to date.

    Let me know the above and we'll see if we can't get to the bottom of what may have caused it.
    Hi... ok, here's what I have...

    1) Zen Cart 1.3.7

    2) yes, I have lots of other mods installed, and I've been working on the site a LOT in the last couple of weeks, so honestly I would have no idea if any of them are affecting Google Analytics. However, I only recently installed the Google Analytics mod, and I don't think I've done much since then.

    3) I used to have the Google Analytics code in my header (or footer, can't remember now as I did it over a year ago), and I have always been able to get regular analytics data in my analytics account, but e-commerce tracking has never worked. I have always had e-commerce set to "yes" in my analytics settings, but it does not make a difference

    4) I installed Simple Google Analytics, hoping that would automatically make the e-commerce tracking work correctly, but everything still seems to be the same as before I installed it, and it still shows as 0% even though I have made sales.

    5) My current checkout method is PayPal IPN... I wonder if that has anything to do with it, since it goes to a 3rd party payment page?

    thanks so much!

  3. #3
    Join Date
    Jul 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I was reading so fast, only just now saw that these questions were for someone else, but maybe this info will help with my e-commerce problem, too :)


    Quote Originally Posted by wyreworks View Post
    Hi... ok, here's what I have...

    1) Zen Cart 1.3.7

    2) yes, I have lots of other mods installed, and I've been working on the site a LOT in the last couple of weeks, so honestly I would have no idea if any of them are affecting Google Analytics. However, I only recently installed the Google Analytics mod, and I don't think I've done much since then.

    3) I used to have the Google Analytics code in my header (or footer, can't remember now as I did it over a year ago), and I have always been able to get regular analytics data in my analytics account, but e-commerce tracking has never worked. I have always had e-commerce set to "yes" in my analytics settings, but it does not make a difference

    4) I installed Simple Google Analytics, hoping that would automatically make the e-commerce tracking work correctly, but everything still seems to be the same as before I installed it, and it still shows as 0% even though I have made sales.

    5) My current checkout method is PayPal IPN... I wonder if that has anything to do with it, since it goes to a 3rd party payment page?

    thanks so much!

  4. #4
    Join Date
    Oct 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    A few questions.

    1) What version of Zen are you running?
    2) What other mods do you have installed (and were any others installed around the time you installed Simple GA?)

    3) Are you certain the installation of the GA mod caused it?

    Out of all the other users in this forum with the mod, there are only two that reported this (1 being you, and the other being surfnet7).

    I have been unable to duplicate this on any install of Zen to date.

    Let me know the above and we'll see if we can't get to the bottom of what may have caused it.
    Sorry should have included that info in the original post
    1. ZenCart version 1.3.7.1
    Database Patch Level: 1.3.7.1

    2. The only other mod installed is FedEx which was installed at site launch (simple google analytics was installed post launch by about 2 months)
    No other changes happened to the site at the time of the google analytics add-on.

    3. I won't say 100% certain, as there is always room for error, but everything I have reviewed and scrutinized over points to SGA as the culprit. I even asked the host to check error logs and see if there were any updates that might have been responsible for the server behaving differently or modifying the database, they took the time to help but were unable to find anything on their end.

    Thanks!

  5. #5
    Join Date
    Aug 2007
    Posts
    94
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hello - trying to get done with Step one here. I haven't read this entire thread (that doesn't seem like it should be necessary), but I'm in need of some help.

    From the first page of this thread, referencing the ReadMe Step 1:

    >>
    By default this is in includes/templates/[your_template]/common/tpl_main_page.php

    but could be located in includes/templates/[your_template]/common/tpl_header.php
    as well, depends on how your site has been templated.
    >>

    I don't have an includes/templates/[your_template]/common/tpl_main_page.php, but I do have the header and footer.php.

    The problem is when I open the header and do a ctrl+f for "body", I don't even have that text.

    What is my first step here? v 1.3.7

    Thanks!

  6. #6
    Join Date
    Aug 2007
    Posts
    94
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    All right well I found..

    includes/templates/template_default/common/tpl_main_page.php

    ... should I modify this file and put it in my template directory with the header and footer.php?

  7. #7
    Join Date
    Aug 2007
    Posts
    94
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    All right, now I've got a real problem..

    Code:
    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    
    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    
    Fatal error: main(): Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/local/lib/php') in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    Obviously it says it can't find a file but I need to know how to correct this. I ran the sql file from the admin, set up the configuration in the admin area with the proper google identification numbers for what, analytics and conversion tracking.

    I go to test the conversion, click an Add from google, go to login to my site to make a "purchase" and I get this problem. Help? Thanks!

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Bahnstoermer View Post
    All right, now I've got a real problem..

    Code:
    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    
    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    
    Fatal error: main(): Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/local/lib/php') in xxx/catalog/includes/templates/custom/common/tpl_main_page.php on line 182
    Obviously it says it can't find a file but I need to know how to correct this. I ran the sql file from the admin, set up the configuration in the admin area with the proper google identification numbers for what, analytics and conversion tracking.

    I go to test the conversion, click an Add from google, go to login to my site to make a "purchase" and I get this problem. Help? Thanks!


    This error is a direct result of not installing the "google_analytics" directory to the proper location (it contains the file that in included on the page with teh bit of code you put into your "tpl_main_page.php" file.

    The location of the directory should be in the following area:
    /includes/templates/[YOUR CUSTOM TEMPLATE HERE]/

    So, once you upload, your directory structure will look like this:
    /includes/templates/[YOUR CUSTOM TEMPLATE HERE]/google_analytics

    If you are using the default template, then obviously the path would look like this:
    /includes/templates/template_default/google_analytics

    Once you get that in the correct location, you'll be fine.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Bahnstoermer View Post
    All right well I found..

    includes/templates/template_default/common/tpl_main_page.php

    ... should I modify this file and put it in my template directory with the header and footer.php?
    You should only modify this file IF you are using a custom template (in which case, you should take the file and copy it to your "custom templates" directory name. This will automatically enable Zen overrides and is the preferred method to keep the integrity of your site if any upgrades to zen are released.

    If you are using the default template, you can alter the file and leave where it is.

    Here is a link to a help file that explains how to create a custom template using the Zen overrides.
    https://www.zen-cart.com/tutorials/i...hp?article=142
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  10. #10
    Join Date
    Aug 2007
    Posts
    94
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    You should only modify this file IF you are using a custom template (in which case, you should take the file and copy it to your "custom templates" directory name. This will automatically enable Zen overrides and is the preferred method to keep the integrity of your site if any upgrades to zen are released.

    If you are using the default template, you can alter the file and leave where it is.

    Here is a link to a help file that explains how to create a custom template using the Zen overrides.
    https://www.zen-cart.com/tutorials/i...hp?article=142
    econcepts - thanks for the help. Most of what you posted I figured out one way or another, and I guess I had just forgotten the "your_template" text was symbolic. Also note that the info I put in >> >> was a copy paste from another post I found, not actually me typing specific questions.

    I suppose all I meant by the Readme was that it perhaps could be more clearly written - but then, I'm not coder and it takes me a while to get back into all the ZC lingo.

    Anyway since you're helping out, can I use the other pages that Google Analytics supports within ZC? (Info page, etc)

    I also actually have a simple html home page, can I paste the code Google provides into that html and have it "sync" properly with this ZC module?
    Last edited by Bahnstoermer; 4 Jan 2008 at 11:16 PM.

 

 
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