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 9 years, 6 months ago by devastator.
-
AuthorPosts
-
August 30, 2011 at 3:32 pm #22517ddeoMember
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 #22518ddeoMemberI 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 #22519adminKeymasterThe 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 #22520ddeoMemberThat would be great! Anyway I could add this feature fast?
Thanks for your help!
September 1, 2011 at 5:10 am #22521adminKeymasterI will add this to the plugin (hopefully tomorrow).
September 1, 2011 at 1:28 pm #22522ddeoMemberThank you!
September 2, 2011 at 5:59 am #22523adminKeymasterAdded 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 #22524ddeoMemberHi 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 #22525ddeoMemberHi 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 #22526adminKeymasterPlease 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 #22527ddeoMemberHi 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
September 4, 2011 at 12:47 am #22528adminKeymasterIt 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:
September 4, 2011 at 2:18 am #22529ddeoMemberHi 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 #22530adminKeymasterDo 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 #22531pinetribeMemberHi,
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!
-
AuthorPosts
- You must be logged in to reply to this topic.