Page 7 of 12 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 115
  1. #61
    Join Date
    May 2016
    Location
    Oregon
    Posts
    13
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    NEVERMIND... I found where the tax was being added to the product price and removed it. Works correctly for us now.

  2. #62
    Join Date
    May 2016
    Location
    Oregon
    Posts
    13
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Well, I thought changes we applied fixed the transaction dropping however, it randomly failed to log another transaction after applying the fixes in this thread.
    Last edited by rockwater; 6 Jun 2016 at 10:25 PM.

  3. #63
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,030
    Plugin Contributions
    32

    Default Re: Google Ecommerce Tracking

    Quote Originally Posted by rockwater View Post
    NEVERMIND... I found where the tax was being added to the product price and removed it. Works correctly for us now.
    So is this an issue with this module?? If so care to share your solution?

    Quote Originally Posted by rockwater View Post
    Well, I thought changes we applied fixed the transaction dropping however, it randomly failed to log another transaction after applying the fixes in this thread.
    Well you are going to need to provide more detail than this if you are trying to get community support/help. (see the details I provided when I too had an issue with dropped transactions so you can see what kinds of data you should provide)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #64
    Join Date
    May 2016
    Location
    Oregon
    Posts
    13
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Quote Originally Posted by DivaVocals View Post
    So is this an issue with this module?? If so care to share your solution?

    This is what I changed to make the module calc the tax correctly for us. Remember in my previous posting I stated that in WA state tax is charged on shipping. This module was sending tax calculated on the product price and then adding it the product price, AND sending the tax value calculated from the cart which in our case is Product + Shipping X tax. So the solution is to remove the tax calc inside the module.


    Line 102: . " 'price': '".number_format((float)($item['price'] + ($item['price'] * $item['tax_class_id'] / 100 )) ,6,'.','')."',"

    Change to : . " 'price': '".number_format((float)($item['price']) ,6,'.','')."',"

    Line 240: . " 'price': '".number_format($items_in_cart->fields['final_price'] + ($items_in_cart->fields['final_price'] * $items_in_cart->fields['products_tax'] / 100 ),6,'.','')."',"

    Change to: . " 'price': '".number_format($items_in_cart->fields['final_price'],6,'.','')."',"

  5. #65
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    I have added this plugin to 1.5.5 and got nearly instant data in my google account. The problem that we didn't notice at first is that the website appears to work until trying to login at which point I get a white screen. The log results are:

    Code:
    #1  setcookie() called at [includes/functions/functions_general.php:769]
    #2  zen_setcookie() called at [includes/init_includes/init_sessions.php:65]
    #3  require(includes/init_includes/init_sessions.php) called at [includes/autoload_func.php:48]
    #4  require(includes/autoload_func.php) called at [includes/application_top.php:170]
    #5  require(includes/application_top.php) called at [/index.php:26]
    
    [29-Aug-2016 14:37:19 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at includes/extra_datafiles/ec_analytics.php:6) in includes/functions/functions_general.php on line 769
    [29-Aug-2016 14:37:19 UTC] Request URI: /index.php?main_page=product_info&cPath=135107_135090_119238_119947&products_id=811590&language=es, IP address: #.#.#.#
    #1  header() called at [includes/init_includes/init_templates.php:78]
    #2  require(includes/init_includes/init_templates.php) called at [includes/autoload_func.php:48]
    #3  require(includes/autoload_func.php) called at [includes/application_top.php:170]
    #4  require(includes/application_top.php) called at [index.php:26]
    
    [29-Aug-2016 14:37:19 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at includes/extra_datafiles/ec_analytics.php:6) in includes/init_includes/init_templates.php on line 78

    Since updating to 1.5.5, the new error logs seem to be a bit more confusing to me and less to the point. Hopefully the above may shed some light on the problem to one of you.

    I will also mention that I do have Easy Google Analytics installed (have not uninstalled it yet), but am replacing it with this mod because EGA does not work on 1.5.5 so it seems.

    Thanks in advance
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

  6. #66
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,186
    Plugin Contributions
    7

    Default Re: Google Ecommerce Tracking

    Quote Originally Posted by idc1 View Post
    [29-Aug-2016 14:37:19 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at includes/extra_datafiles/ec_analytics.php:6) in includes/init_includes/init_templates.php on line 78[/CODE]
    The file "includes/extra_datafiles/ec_analytics.php" doesn't/shouldn't be creating any output, nor should it have six lines.

    Perhaps when it was edited to add the tracking ID it somehow got corrupted and/or had extraneous data to it?

    This file should consist of two lines only

    ---------------------------------------------------------------------
    <?php
    define('GOOGLE_UA', 'UA-XXXXXXXXXX-X');
    ---------------------------------------------------------------------

    Cheers
    RodG
    Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

  7. #67
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Thanks RodG.

    I had made an uncommented note as <!--....--> prior to the php. Hence the 6 lines. Once I removed it or made the comment after php as /**....*/ everything appeared to work like a charm.
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

  8. #68
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    404
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Hi

    Just curious, installed this mod yesterday. In the analytics.google.com report under under "All Web site data"/Channels/default channel grouping/Referrals there are a couple of sessions today for paypal.com.

    Nobody bought anything via paypal (or failed to purchase) so why/how would paypal be referring potential customers to my site?

  9. #69
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    404
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Quote Originally Posted by marton_1 View Post
    Hi

    Just curious, installed this mod yesterday. In the analytics.google.com report under under "All Web site data"/Channels/default channel grouping/Referrals there are a couple of sessions today for paypal.com.

    Nobody bought anything via paypal (or failed to purchase) so why/how would paypal be referring potential customers to my site?
    Found a fix for this
    Code:
    Make sure you are using Universal Analytics
    Admin -> Property Settings -> Tracking Info -> Referral Exclusion List
    Add Referral Exclusion
    Insert referral domain - my case was paypal.com

  10. #70
    Join Date
    May 2016
    Location
    Bucharest
    Posts
    48
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    Hi,

    First of all, Thanks for this great plugin, I have it installed on our website and it works fine.

    Recently we set up an AdWords campagin and we would like to use Adwords conversion tracking.

    Can anyone tell how/where to put the Adwords code?
    I want to make sure it compatible safe with this plugin.

    I read this threat about how to install the code. https://www.zen-cart.com/showthread....rsion-tracking
    Is It ok to follow the steps schoolboy suggested in the above threat?

    Thank You!
    Adrian

 

 
Page 7 of 12 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. v151 ecommerce tracking for GA
    By Mikey D in forum General Questions
    Replies: 1
    Last Post: 15 Jun 2014, 05:04 PM
  2. Replies: 6
    Last Post: 3 Oct 2013, 10:36 PM
  3. Replies: 0
    Last Post: 10 Dec 2012, 02:02 AM
  4. Ecommerce Tracking code for Google Analytics
    By Endre in forum General Questions
    Replies: 7
    Last Post: 14 Nov 2012, 03:20 PM
  5. MailChimp Ecommerce MC360 tracking?
    By irishshopper in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Oct 2010, 11:21 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