Page 89 of 217 FirstFirst ... 3979878889909199139189 ... LastLast
Results 881 to 890 of 2161
  1. #881
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by dinki View Post
    Me again. On top of the 'Site Search' question, has anyone noticed GA missing sales? I've tried switching from 'ga.js' to 'urchin.js' and I still can't get it to track every sale. I do have GA set for ecommerce.
    YES! It's always off. When I look at the ecommerce overview this morning it says that we have had 35 sales from 3-9 to 4-8, when in fact we have had 115! And the sales totals are off, the visitors are off, and who knows what else is off!! I don't know if Paypal payments get registered or not since the user is taken off of the site briefly??

    It doesn't match with the Advanced Stats mod, supertracker, or sales report mod. So, I stopped even looking at the GA metrics anymore and I think I will remove this mod from my site since the javascript adds 20+KB to my pages and it's inaccurate.

    Can anyone counter my experience? Check your sales against what Google reports. Does it match up?

    Zen Cart and it's community are the best!!

  2. #882
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    leave the /includes/templates/[your_template]/common/tpl_main_page.php whit no changes and insert the next code in the /includes/templates/[your_template]/common/tpl_footer.php, note just the bold type is the code you have to insert, the rest of lines are a part of tpl_footer.php

    <!--eof- site copyright display -->

    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>


    <?php

    } // flag_disable_footer

    ?>

  3. #883
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by ArthurC View Post
    This is a long long thread. My problem may have been resolved before but I can't find the fix.

    Step 3 in the installation of the Simple Google Analytics requires a line of code to be inserted just before the </body> tag at the end of tpl_main_page.php. I did that. The code now looks like this:

    Code:
    <!--eof- banner #6 display -->
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    </body>
    And when I run the code, the page source ends like this:

    Code:
    <!--eof- banner #6 display -->
    That's it. No analytics code. Even lost the </body> tag.

    What am I missing, please.

    leave the /includes/templates/[your_template]/common/tpl_main_page.php whit no changes and insert the next code in the /includes/templates/[your_template]/common/tpl_footer.php, note just the bold type is the code you have to insert, the rest of lines are a part of tpl_footer.php

    <!--eof- site copyright display -->

    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>


    <?php

    } // flag_disable_footer

    ?>

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by dinki View Post
    Me again. On top of the 'Site Search' question, has anyone noticed GA missing sales? I've tried switching from 'ga.js' to 'urchin.js' and I still can't get it to track every sale. I do have GA set for ecommerce.
    Make sure you have the tracking code inserted properly and more importantly the tracking id should be accurate.

    Because Google Analytics runs via JavaScript (as to most tracking programs) you'll always see slight discrepancies in reporting. Those that have disabled JS on their browser or are blocking it will not show in results. This is mentioned in the Google Analytics help section in a few areas but many miss it.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by josaltva View Post
    leave the /includes/templates/[your_template]/common/tpl_main_page.php whit no changes and insert the next code in the /includes/templates/[your_template]/common/tpl_footer.php, note just the bold type is the code you have to insert, the rest of lines are a part of tpl_footer.php

    <!--eof- site copyright display -->

    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>


    <?php

    } // flag_disable_footer

    ?>
    With my contribution you definitely do not want to insert the code into the footer file. Leave that as is.

    Actually the lines of code that show at the end of the page are part of the tpl_main_page.php file (not footer). Part of it above the code insert is footer but everything below is part of the main template page.

    You want to leave the code inserted as per instruction #3. If it is not showing on the site then something happened during pasting of the code OR you inserted it into a page that is not being used within your current template.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by ArthurC View Post
    This is a long long thread. My problem may have been resolved before but I can't find the fix.

    Step 3 in the installation of the Simple Google Analytics requires a line of code to be inserted just before the </body> tag at the end of tpl_main_page.php. I did that. The code now looks like this:

    Code:
    <!--eof- banner #6 display -->
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    </body>
    And when I run the code, the page source ends like this:

    Code:
    <!--eof- banner #6 display -->
    That's it. No analytics code. Even lost the </body> tag.

    What am I missing, please.
    Aurthur,

    Insert the code as stated in step 3 (into the tpl_main_page.php NOT the footer file).

    If you got that installed and the rest of the contribution is in place (you did upload the proper files right?) then all should show on the bottom of the page just fine.

    A few things to look for.

    1) Make sure you insert the code into the proper "tpl_main_page.php" file. If you are using a custom template then insert and make sure you upload to your custom directories "common" folder (don't upload to the default template folder or it won't work for you).

    2) After you have the code in place make sure you insert your tracking number into the admin config of the module (found in the admin under configuration).

    3) Choose the type of code you which to show (new GA.js version or legacy urchin.js version) and save (again from admin).

    If all is done correctly then you should have the code in place. If the code cuts off the rest of the page (missing </body> tag etc...) then you likely have a typo in the code you pasted so check that.

    That should do it.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by lankeeyankee View Post
    YES! It's always off. When I look at the ecommerce overview this morning it says that we have had 35 sales from 3-9 to 4-8, when in fact we have had 115! And the sales totals are off, the visitors are off, and who knows what else is off!! I don't know if Paypal payments get registered or not since the user is taken off of the site briefly??

    It doesn't match with the Advanced Stats mod, supertracker, or sales report mod. So, I stopped even looking at the GA metrics anymore and I think I will remove this mod from my site since the javascript adds 20+KB to my pages and it's inaccurate.

    Can anyone counter my experience? Check your sales against what Google reports. Does it match up?
    There are always MINOR differences in GA reporting due to JavaScript issues. However, providing you have the code setup correctly and completely (typically requires both google admin setup and zen cart setup for the module) you should be within a few sales (give or take).

    What you are describing means either the code is not installed correctly or you have them leaving the site and not returning. This is NOT the case all the time with PayPal, and the tracking should pick that all up ok as well (the user is typically sent back automatically to the zen cart site after a purchase to trigger the zen cart processes).

    I use PayPal etc... on a number of sites with GA tracking and have had no problems. 95% of the time I see issues as those of what you are experiencing it ends up being incomplete or incorrect tracking setup.

    Hope that helps.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by beowulf8 View Post
    Hello,

    I have installed the Google Analytics Mod and it works fine. Nevertheless, I have a small issue: My site runs in multiple domains (server-related issue).

    Google says I must add two lines to the tracking code:



    I already did this. Now the second thing they ask for is this:



    How can I do this? Please help me!

    Thanks a lot!
    Beowulf,

    PM me and I'll work with you to get this in place.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  9. #889
    Join Date
    Apr 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Just for the record...
    there's no need for any mod...

    i have no problems whatsoever in just copying and pasting the adwords code (as generated by google) into
    the bottom of tpl_main_page.php

    just need to wait for a while to take effect

    then the next day, i checked...
    the tracking of the website is fine...

    btw, zencart is installed in root...

    tks!
    wee

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by firefish View Post
    Just for the record...
    there's no need for any mod...

    i have no problems whatsoever in just copying and pasting the adwords code (as generated by google) into
    the bottom of tpl_main_page.php

    just need to wait for a while to take effect

    then the next day, i checked...
    the tracking of the website is fine...

    btw, zencart is installed in root...

    tks!
    wee

    True you can do this but that method will not allow you to fully and properly track ecommerce transactions or adwords conversion tracking. What it will give you is just statistics but they won't be very useful if you don't completely add the rest of the components so you can make more informed decisions.

    If you pasted the "adwords tracking code" at the bottom of that page (you can ONLY get this code if you are running paid search and have conversion tracking turned on) you'll really have a mess on your hands when it comes to checking the effectiveness of your site. Adwords conversion tracking should only appear on the thank you page after a sale has been completed to accurately record data.

    If you added the "Google analytics tracking code" (very different from the adwords conversion tracking code) to the bottom of that page then as stated above you will only receive general stats on all pages of the site. Ecom tracking code (part of google analytics) needs to also only appear on the thank you page or it will not work.

    So it is possible to take the route you did, but your analytics data will be incomplete and provide incorrect data if you do so.
    Last edited by econcepts; 14 Apr 2009 at 07:30 PM. Reason: added clarity
    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