Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Rochester, NY
    Posts
    55
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I have version 1.2.2 of the Simple GA module installed on my Zen Cart 1.3.8a site. On the "thank you" confirmation page after a customer has placed an order, the page conversion tracking script is being loaded twice, once in the header and once in the footer. The one in the header is being loaded from Google's http server even though the page is SSL encrypted. The one in the footer is being loaded from the https server. Also in the header is the <noscript><img ...> tag that is being pulled from Google's http server. This is causing a security warning (in IE, but not Firefox or Chrome).

    I've confirmed that I do not have any entries in my tpl_main_page or html_header files that would be manually loading the page conversion script. I've tried looking through the other template files. Is there one I could have missed?

    I know we had an earlier version of this module installed, prior to there being support for the conversion tracking. Perhaps there's a bit of leftover code?

    Sorry if this has been addressed previously in this thread. I tried searching through the 117 pages of replies but I could have missed it.

    Thanks,
    Tim
    FestOS :: Open-source arts-n-crafts festival management system from skypanther

  2. #2
    Join Date
    Mar 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    For the good of the community:

    I was having trouble with this application not displaying the GA code and the </body> tag missing altogether. This only happened after installing the required script in tpl_main_page.php. I double checked my installation, made sure everything was spelled right, in the right place, etc. I added bof and eof tags before and after the php code and found that nothing after the bof comment was appearing - so the script was not running at all. After a few more hours of checking everything, I finally turned on php errors by inserting this code at the top of the file:

    ini_set('display_errors',1);
    error_reporting(E_ALL);

    This revealed the following error:

    Call to undefined function phprequire()

    I was using notepad++ to make the changes and had copied / pasted the code into the tpl_main_page.php file. To resolve, all I had to do was add a space after "<?php" even though there were carriage returns in between that code and the start of the "require" function. I guess notepad++ didn't translate it properly when I pasted it in.
    So many hours wasted... Hope I can save someone else the headache.

    Thanks for the great tool, Eric!

    Jeremy (aka, zen newbie)

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by skypanther View Post
    I have version 1.2.2 of the Simple GA module installed on my Zen Cart 1.3.8a site. On the "thank you" confirmation page after a customer has placed an order, the page conversion tracking script is being loaded twice, once in the header and once in the footer. The one in the header is being loaded from Google's http server even though the page is SSL encrypted. The one in the footer is being loaded from the https server. Also in the header is the <noscript><img ...> tag that is being pulled from Google's http server. This is causing a security warning (in IE, but not Firefox or Chrome).

    I've confirmed that I do not have any entries in my tpl_main_page or html_header files that would be manually loading the page conversion script. I've tried looking through the other template files. Is there one I could have missed?

    I know we had an earlier version of this module installed, prior to there being support for the conversion tracking. Perhaps there's a bit of leftover code?

    Sorry if this has been addressed previously in this thread. I tried searching through the 117 pages of replies but I could have missed it.

    Thanks,
    Tim
    It sounds like you have both of the Google Analytics modules installed. Mine only adds tracking to the footer file and has always offered conversion tracking.

    This is the support thread for Simple Google Analytics. The other module you have installed (that adds tracking to the header) is called "Google Analytics by Andrew". The "Andrew version" one has more install steps and can be difficult I have been told.

    I would recommend going back to the original install steps with that version and making sure you removed any references to the code that were asked to bee added.

    If you need more help on it let me know. The best way to ensure you get it though is to remove any code from the header etc.. that the "Andrew" mod told you to add.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #4
    Join Date
    Aug 2004
    Location
    Rochester, NY
    Posts
    55
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Thanks @econcepts. Apparently I had some leftovers from the "andrew" module. I thought I had looked for all those before posting. But, I just found and deleted the following:

    includes/modules/MYTHEME/pages/checkout_success/jscript_google_adwords.php

    which looked to be inserting the offending code into the header.

    Thanks,
    Tim
    FestOS :: Open-source arts-n-crafts festival management system from skypanther

  5. #5
    Join Date
    Sep 2009
    Location
    /dev/null
    Posts
    15
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Really useful, waiting 24 hours for data to appear in my dashboard
    No one will remain alive forever.

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

    Default Re: Simple Google Analytics - Support

    Hi where can I find this tool or similar for zen 1.3.0.2

    Many Thanks

    RR

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Renz View Post
    Hi where can I find this tool or similar for zen 1.3.0.2

    Many Thanks

    RR
    This module works on all zen cart versions. You can download it from the following link:

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

    Post any question you may have here.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  8. #8
    Join Date
    Jun 2006
    Posts
    440
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi There,

    Thanks for that got it all installed, appears to be tracking ok in google analytic, however the conversion tracking is still showing unverified... I dont need to copy their code anywhere do I? with the exception of the number in my admin>google analytic>
    Activate Conversion Tracking Yes Info
    Google AdWords Conversion Tracking Number (Mynumber)


    Any help is much appreciated,

    Thanks

    Renz

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by skypanther View Post
    Thanks @econcepts. Apparently I had some leftovers from the "andrew" module. I thought I had looked for all those before posting. But, I just found and deleted the following:

    includes/modules/MYTHEME/pages/checkout_success/jscript_google_adwords.php

    which looked to be inserting the offending code into the header.

    Thanks,
    Tim
    Super. Glad you got it all worked out!
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

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