Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Google Analytics Not Tracking Properly

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › Google Analytics Not Tracking Properly

Tagged: e-commerce, ecommerce, ecommerce tracking, Google Analytics, tracking, WP eStore

  • This topic has 33 replies, 11 voices, and was last updated 10 years ago by devastator.
Viewing 15 posts - 16 through 30 (of 34 total)
← 1 2 3 →
  • Author
    Posts
  • August 30, 2011 at 3:32 pm #22517
    ddeo
    Member

    My theme already has an entry for google analytics code. Do I still need to enable this on eStore? Will the code appear twice?

    Thanks, Ddeo

    August 30, 2011 at 4:27 pm #22518
    ddeo
    Member

    I removed the tracking code from my theme and installed the Google Analytics for WordPress plugin after reading this page:

    http://www.tipsandtricks-hq.com/ecommerce/google-analytics-e-commerce-tracking-for-wp-estore-850

    My question is, will the e-commerce tracking work with the Manual Gateway. I have not been able to get the tracking code with the shopping cart data to appear in my thank you page.

    August 31, 2011 at 3:35 am #22519
    admin
    Keymaster

    The manual checkout doesn’t do Analytics tracking because the payment is not confirmed in a manual checkout. Someone can submit the form and then not follow up with the payment.

    I can add an option in the settings so it adds tracking for manual checkout even though the payment is not cleared.

    August 31, 2011 at 6:43 pm #22520
    ddeo
    Member

    That would be great! Anyway I could add this feature fast?

    Thanks for your help!

    September 1, 2011 at 5:10 am #22521
    admin
    Keymaster

    I will add this to the plugin (hopefully tomorrow).

    September 1, 2011 at 1:28 pm #22522
    ddeo
    Member

    Thank you!

    September 2, 2011 at 5:59 am #22523
    admin
    Keymaster

    Added this in… make sure to enable the Google analytic feature and check the following option for the manual checkout if you want to use it.

    – Send Product Download Links in the Email

    September 2, 2011 at 1:53 pm #22524
    ddeo
    Member

    Hi Key Master, thank you very much.

    Is there any way to do a change file update instead of a full update? I have manually changed some of the code (eeak) to work with mailchimp and some customization to the manual check out.

    Please let me know if this is possible.

    Thanks, Ddeo

    September 2, 2011 at 3:49 pm #22525
    ddeo
    Member

    Hi Key Master, forget my last question, I did a full overwrite of the plugin as suggested in your upgrade instructions.

    After doing the upgrade it doesn’t seem to work with google analytics… Here are the settings that I am using:

    1) I have Google Analytics for WordPress installed and working

    2) Google Analytics is activated under eCart Settings/3rd Party

    3) Use Automatic Post Payment Processing is checked

    4) Manual Gateway is selected as the only payment processing

    5) Send Product Download Links in Email is checked

    6) Enable Transaction Display is checked and my thank you page has the short-code:

    [wp_eStore_transaction_result:end]

    Here is the output in my thank you page:

    <script type="text/javascript">//<![CDATA[
    // Google Analytics for WordPress by Yoast v4.1.3 | http://yoast.com/wordpress/google-analytics/
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount','UA-XXXXXXXX-X']);
    _gaq.push(['_trackPageview'],['_trackPageLoadTime']);
    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    //]]></script>

    Please let me know if you have any suggestion on how to get this to work.

    Thanks again! Ddeo

    September 3, 2011 at 12:44 am #22526
    admin
    Keymaster

    Please post a link to a test page with a test product on it so I can do a manual checkout and observe the behavior.

    September 3, 2011 at 3:44 pm #22527
    ddeo
    Member

    Hi Keymaster, here is the link to my products page where you can log in. I sent you a username and password using your contact form on your website. Thanks for your help.

    Ddeo

    http://www.winningsolution.com/login/

    September 4, 2011 at 12:47 am #22528
    admin
    Keymaster

    It doesn’t look like you have the new code that I added. Please download a fresh build of eStore from here and update it so you have this new tracking code that I added for manual checkout:

    https://support.tipsandtricks-hq.com/update-request

    September 4, 2011 at 2:18 am #22529
    ddeo
    Member

    Hi Key Master, I did download the latest after you said it had been updated with his feature. I have build v5.9.2- is this the right build?

    September 5, 2011 at 12:33 am #22530
    admin
    Keymaster

    Do you have the following line of code in the “eStore_manual_gateway.php” file?

    eStore_track_ga_ecommerce($payment_data,$cart_items);

    If you don’t then download another copy of eStore now (I forget the build number but if you download one now you should see this new code).

    October 27, 2014 at 10:18 am #22531
    pinetribe
    Member

    Hi,

    We had the Google Analytics plugin working for our estore, but all of a sudden it stopped tracking ecommerce. The plugin Google Analytics by Yoast version 5.0.7 is activated and the google analytics account ecommerce tracking is enabled. Everything is upgraded, yet there seems to be something.

    As well our Google Analytics account has notified that: Missing eCommerce data. View pinetribe.com Master View is configured for Ecommerce, but no recent transaction data is being received. Your site may not be tagged for Ecommerce.

    What could that mean?

    [redacted]

    Thanks in advance!

  • Author
    Posts
Viewing 15 posts - 16 through 30 (of 34 total)
← 1 2 3 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ