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

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    it's still not working for me, either. When I check with the truwex page, I get this response;

    Google Analytics elements are detected Visitor tracking is not OK
    Google Analytics JavaScript file is not downloaded
    Google Analytics Account variable is not found
    Google Analytics WebBeacon is detected
    Google Analytics Cookie is detected
    any ideas on why it's not working? I'm running 1.3.7.

  2. #2
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Debugging Conversion Tracking

    The analytics portion of this has been working great for me. The conversion has not been working however. I spent some time generating debug info, and am posting here in the hopes of getting some ideas for problems and fixes going.

    I generated a test conversion through google search. The "Google Site Stats" tag did not show up on the checkout_success page, however the analytics and conversion tracking code did show up in the view source for the page. The conversion code looked like:

    Code:
    <!-- Google Code for purchase Conversion Page -->
    <script language="JavaScript" type="text/javascript">
    <!--
    var google_conversion_id = 106937XXXX;
    var google_conversion_language = "en_US";
    var google_conversion_format = "1";
    var google_conversion_color = "FFFFFF";
    	if (0.01) {
    	  var google_conversion_value = 0.01;
    	}
    	var google_conversion_label = "purchase";
    //-->
    </script>
    <script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/106937XXXX/?value=0.01&label=purchase&script=0">
    </noscript>
    This appears to me to be pretty close to the exact code snippet given for the conversion on the adwords site, with the exception that the label now says "purchase" instead of "JDY3CMufSxC12_X9Aw" and the " if (0.01) {" clause on the conversion value.

    The tracking image https://www.googleadservices.com/pag...ion/106937XXXX does not show up in the page when I use FireBug, however when I manually enter the image URL in the browser it shows up fine.

    There are two possible issues I can see at this point:

    1) there is a page error "__utmSetTrans not defined", which refers to line one of the body of the page. does anyone have an idea what this code does or where it came from? A little google on the function name shows it to be related to google conversion tracking. I don't see where it should be defined however.

    Code:
    <body id="checkoutsuccessBody" onload="javascript:__utmSetTrans();">
    2) I have the "Corner of Trust" contrib installed just after the point at which the conversion code is inserted. Perhaps this is causing a conflict. I will try removing that and see if it makes any difference and will report back later. I don't think this is the problem as conversion tracking also does not work on another site without Corner of Trust, but want to eliminate the possibility completely.

    Thanks to anyone who read this far and has any suggestions for debugging steps.

  3. #3
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Conversion Tracking Problem SOLVED



    Got it working, the problem was an old version of includes/modules/pages/checkout_success/on_load_main.js that was sitting around from an older installation. this line not only caused the javascript error, it also prevented the conversions from being tracked. the image still does not show up, but a conversion was recorded by google.

    many thanks for a great contribution, and for those of your having problems with conversion tracking "may my fix be your fix"


  4. #4
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Of course, all of this was spelled out by econcepts in the documentation:
    NOTE to those upgrading from version 1.0
    ========================================
    The new "ga.js" version of tracking does not need one bit of JavaScript that was included in the previous "urchin.js"
    versions. You will need to DELETE this line from your code.

    includes/modules/pages/checkout_success/on_load_main.js

    REMOVE the following line from that file "javascript:__utmSetTrans();"

    If that is the ONLY line you see in the file, than it is safe to completely DELETE the file. If this is not the only
    line found in that file, then delete only that line, and save the file. Re-upload the new version to your site.
    Keeping this line in when using the new ga.js tracking code can causee JavaScript errors to pop up on your site (since
    the new code does not refer to this function anymore).

  5. #5
    Join Date
    May 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi
    I've a problem with e-commerce conversion:
    since the end of june it doesn't work anymore.

    I'm guessing what's changed, but .... nothing seems wrong....

    may someone suggest me what to check ?

    (new ga.js code)

    thanks in advance

  6. #6
    Join Date
    Feb 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    asappia

    I am suffering this problem too and cannot find a solution.

    Did this problem coincide with the installation of JROX by any chance?

    Edwin
    my greener home. Save money and save the environment.

  7. #7
    Join Date
    May 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I don't apply the JROX extension at all.

  8. #8
    Join Date
    Oct 2007
    Posts
    19
    Plugin Contributions
    0

    help question Re: Simple Google Analytics - Support

    My first post in this thread.

    What on earth am I doing wrong? I had analytics/conversion running perfectly before. Then I had a custom CSS based design uploaded as I upgraded the Zen Cart to the latest. Now I have tracking on everything at www.youneedhidef.com/blog because I used a Wordpress add-on to put the code there; but on the rest of my site I cannot get it to work.
    main site: www.youneedhidef.com

    Can someone view the source codes and see what I should do? I followed directions but I think because of my custom CSS template I am doing it wrong.

    Thanks in advance.

  9. #9
    Join Date
    May 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    same here.

    I copied classic template to a new directory, and adapted it, but.... after this change (a new template) it doesn't work anymore.

  10. #10
    Join Date
    Feb 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    econcepts,

    I suspect you are taking a well-earned summer holiday, hence your recent absence from this forum.

    I am still struggling to get the e-commerce reporting of Google Analytics working following the installation of the JROX JAM affiliate software.

    In the installation of this software a new tpl_footer file is created and put in: /includes/templates/custom/checkout_success/tpl_footer.php

    I have compared the source code of the order_confirmation page (stage 3 of 4 in checkout) with that of checkout_success (stage 4 of 4).

    In Stage 3 at the end of the viewed source, the order is Copyright message, Parse time display (if activated), Banner 6, and finally Google analytics.

    In Stage 4, the viewed source shows the following order: Copyright message, javascript for affiliates/sale.php code, Parse time, and finally banner 6.

    So the JROX code is introduced into the checkout_success footer correctly, but the google analytics code is never executed. Could this be to do with the location or existence of the new checkout_success page? How would I fix this please?

    Thanks,

    Edwin
    my greener home. Save money and save the environment.

 

 
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