Page 5 of 11 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 108
  1. #41
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Google Ecommerce Tracking

    FYI PHP Fiddle is a very helpful tool for testing changes.. http://phpfiddle.org/
    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.

  2. #42
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    I have setup the checkout labelling funnel steps as follows:

    1) Start Login
    2) Login Success
    3) Checkout Begin (FEC/COWOA)
    4) Start Payment
    5) Checkout Confirmation

    We are using FEC. We are also using the feature of FEC that skips the confirmation page. So the customers enter payment, shipping, etc. in the one page checkout, click Confirm Order, and then are sent to the Checkout Success page. There is no order confirmation page. Do I need to make any adjustments to the steps above?

    Thank you!
    Danielle

  3. #43
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Google Ecommerce Tracking

    Quote Originally Posted by Danielle View Post
    Do I need to make any adjustments to the steps above?
    No. Those steps are just fine. However, I will suggest that you are actually doing this a little backwards.

    The reason being is that depending on the store setup (FEC, Standard checkout, PayPal/PayPal Express checkout, etc, etc) the *actual* steps being sent to Google analytics may/will vary from store to store.

    So, since the *exact* steps are unknown, the *best* option (at least in my opinion) is to leave the Google settings at their defaults (step 1, step 2, step 3, etc) and let it accumulate the data from whatever is being sent to it from your particular store.

    After a period of time (eg: A few hundred sales), the Analytics will show you enough data to clearly identify (for example) Step#1 equated to the 'Start Login' trigger, and that step#2 equates to the login success trigger, and that step#3 hasn't recorded any data (indicating that the confirmation page doesn't exist), and so forth.

    Now, having said that, the module 'out of the box' is 'aware' of the different behaviour between a standard zencart checkout and the FEC checkout, so the Google servers will never 'see' the steps that are being skipped.

    Anyway, the point I'm trying to make is that the data being sent to the GA servers needs to be determined first, and the 'Labels' that you give these events come afterwards - They are 'cosmetic' only. IOW, in a few months time you may get tired of seeing the the report heading of "Checkout Confirmation", in which case you can just go back to the steps editor and change Step#5 to read 'Order Confirmed'.
    The graphed data won't change - Only the text itself.

    If you wish to log more (or less) steps this will need some code editing of the module itself - BUT, this is also something that needs to be considered *early* in the game - If you start adding/removing steps after data has been accumulated things can be a real mess, existing data will be mapped to the 'new' step numbers so what was once correctly reported as step1 (login success) could now appear as being 'login start' if 'login start' was a new step#2 entry, making the original step#2 the new step#3 - etc...
    There is no way to delete (or resync) existing/old data - other than deleting the account and restarting it afresh.

    Cheers
    RodG





  4. #44
    Join Date
    May 2016
    Location
    Oregon
    Posts
    11
    Plugin Contributions
    0

    Default Re: Google Ecommerce Tracking

    We are experiencing an issue where two different tax amounts are getting logged. It seems to be adding WA state sales tax of 9.8 % to the “Product Revenue” based on the product price rather than Product Price + Shipping * sales tax….Which is Incorrect for us.

    GA Sales Performance transaction report shows:

    Revenue: $1,134.51 - Correct
    Tax: $ 101.26 - Correct
    Shipping: $ 35.26 - Correct

    However, when you drilldown to the product it shows:

    “Product Revenue: $1,095.80” - WRONG

    The ACTUAL product revenue/price is $ 998.00

    a) 998*9.8% = 97.804 + 998.00 = $ 1,095.80 – This is product revenue/price * sales tax and added together
    b) 998 + 35.26 * 9.8% =101.26 +1033.26 = $ 1,134.51 – This is product revenue/price + shipping * sales tax and then added together

    I didn’t see anyone in this thread having this issue, can you point me in the right direction if you are aware of this issue. OR point me to the correct line in class.ec_analytics.php to change how this is calculating tax and adding it to product revenue. Hopefully I explained this well enough.

    Thank you in advance

  5. #45
    Join Date
    May 2016
    Location
    Oregon
    Posts
    11
    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.

  6. #46
    Join Date
    May 2016
    Location
    Oregon
    Posts
    11
    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.

  7. #47
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    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.

  8. #48
    Join Date
    May 2016
    Location
    Oregon
    Posts
    11
    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,'.','')."',"

  9. #49
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    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?

  10. #50
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    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

 

 
Page 5 of 11 FirstFirst ... 34567 ... LastLast

Similar Threads

  1. Replies: 6
    Last Post: 3 Oct 2013, 10:36 PM
  2. Ecommerce Tracking code for Google Analytics
    By Endre in forum General Questions
    Replies: 7
    Last Post: 14 Nov 2012, 03:20 PM
  3. 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