Page 140 of 217 FirstFirst ... 4090130138139140141142150190 ... LastLast
Results 1,391 to 1,400 of 2161
  1. #1391
    Join Date
    Aug 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    Ok, I see what is going on (thanks for the error log there.)

    The popup page is trying to load the google analytics file from the popup directory instead of the proper one. Since the file is not present where it is looking, it errors off leaving you with a blank page.

    I'll get that corrected here. Thanks again for that info.
    Is there a fix for this? I am having the same problem.

  2. #1392
    Join Date
    Dec 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by donhohler View Post
    Is there a fix for this? I am having the same problem.
    The only fixes I'm aware of is the one posted above with the symbolic link, or just switch to using the ga.js file code. I would really like to use the Asychronous tracking also.

    --
    Red Baron

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

    Default Re: Simple Google Analytics - Support

    Just submitted a new 1.2.4 version of this mod that includes a fix for the popup window issue some have experienced.

    If you have 1.2.3 version you do not need to upload any files. All you have to do is take the following action to remedy the situation.

    Open the file "html_header.php" file from your template directory 'common' folder (making sure you have the proper location for the template you are using if custom.)

    1) Once opened, find the section of code that looks like this (usually just before the closing </HEAD> tag):

    Find this:
    -------------------------------------------------

    <?php
    if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    }
    ?>

    And change to this:
    --------------------------------------------------
    <?php
    /* Begin Simple Google Analytics */
    if (in_array($current_page_base,explode(",",'popup_image,popup_image_additional,pop up_cvv_help,popup_coupon_help,popup_attributes_qty_prices,popup_search_help,popu p_shipping_estimator')) ) {
    //Skip outputting the tracking code as this is a pop-up window
    } else { // Print tracking code to page
    if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    }
    } // end if for page determination
    /* End Simple Google Analytics */
    ?>
    That should correct the issue. If you find that any other pages are causing the same issue (I think I got them all) just add that to the array shown here and it will eliminate the problem on those pages.)

    If you can' wait for the new version to be activated in the Zen Cart downloads section you can get the newest version from the following link right now:

    http://www.zencartoptimization.com/downloads/

    Post any issues in this forum.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #1394
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I love this add-on! Has really helped with my biz! Having one small prob, though - it's not tracking every conversion. Almost all of them but not every one. Maybe one in ten doesn't come through. I can't see any rhyme or reason to it, either. No particular customer, product, or payment method. What could cause this? Right now I have a difference of about $1100 between google and sales reports from within zen. I can see the missing order numbers in analytics.

    Help?

  5. #1395
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    nm, i see my answer at post #1318.

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

    Default Re: Simple Google Analytics - Support

    Thanks for letting us know you found the answer and what post other can find it at as well. There will always be a slight margin of error with any analytics package you use which utilizes JavaScript (as Google Analytics does).

    This is a native issue with the tracking programs, not the module itself.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  7. #1397
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: Simple Google Analytics - Support

    Hello,

    I’ve installed this module a few days ago on our new zc site. (we already had a google analytics account using the Asynchronous code on our old static site.)

    - When I set the Asynchronous tracking preference under the admin, the product pages display blank.

    - When I set the ga.js tracking under the admin, the product pages display all right but they are not being tracked by google analytics. All other pages seem to get tracked all right.

    Do you know what’s wrong?

    our site is ezistock(dot)com
    Thanks much!

  8. #1398
    Join Date
    Dec 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Thannaree View Post
    ...
    - When I set the Asynchronous tracking preference under the admin, the product pages display blank.
    - When I set the ga.js tracking under the admin, the product pages display all right but they are not being tracked by google analytics. All other pages seem to get tracked all right.

    Do you know what’s wrong?
    Thanks much!
    Your code is in the wrong area of your page. I also think the onload line is not firing for your pages.
    Quote Originally Posted by econcepts
    ...
    Open the file "html_header.php" file from your template directory 'common' folder (making sure you have the proper location for the template you are using if custom.)

    1) Once opened, find the section of code that looks like this (usually just before the closing </HEAD> tag):
    Your code is in the bottom of your pages before the </body> tag.

  9. #1399
    Join Date
    Dec 2010
    Location
    Thailand
    Posts
    300
    Plugin Contributions
    2

    Default Re: Simple Google Analytics - Support

    Redbaron2: Your code is in the bottom of your pages before the </body> tag.
    Yes its is. I've pasted both codes as indicated on the install instructions. This one is supposed to be pasted there on tpl_main_page.php. Perhaps you're refering to the one to be pasted on html_header.php before </head>...

    The body tag on tpl_main_page.php also includes the onload code.

    I don't understand why the code doesn't show on the product pages source only.

    Do you know what's wrong?

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by Thannaree View Post
    Yes its is. I've pasted both codes as indicated on the install instructions. This one is supposed to be pasted there on tpl_main_page.php. Perhaps you're refering to the one to be pasted on html_header.php before </head>...

    The body tag on tpl_main_page.php also includes the onload code.

    I don't understand why the code doesn't show on the product pages source only.

    Do you know what's wrong?
    A blank page means you have an error in your PHP somewhere.
    Most likely from something inadvertently altered during install (specifically during the install portion where you had to add the few lines of code to the html header and tpl main page files.)

    To correct this you need to find where your error is. To find the erro you should turn on error logging in your cart (if you have zen 1.3.9 + it is already turned on by default.) If you have an older version of zen cart (lower than 1.3.9) you'll need to add the error logging to your site (just a single file) using the following file and instructions.

    http://www.zen-cart.com/forum/showthread.php?t=84613

    Once you have that in place, just activate the contribution (asyc code if that is what causes the error / white page) and then navigation to the product page. (This will throw the 'white page').

    Now go to your server (FTP in) and look at the error log that was just generated in the /cache/ directory (starts with "myDEBUG..."). Download that, open it and read the error message. It should tell you the exact line and location of the error.

    Find that section of code and rework it adding the missing element and you should be ready to go.

    Let me know if you have any other problems. I'd be happy to walk you through them.
    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

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