Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore and Google Analytics
- This topic has 6 replies, 2 voices, and was last updated 12 years, 10 months ago by
admin.
-
AuthorPosts
-
December 27, 2012 at 6:47 pm #8221
dorham
MemberHi,
I can’t get Google Analytics tracking work. I’ve follow those steps : http://www.tipsandtricks-hq.com/ecommerce/google-analytics-e-commerce-tracking-for-wp-estore-850 and read all forum but I still can’t get it work.
I’m using eStore 6.9.5 with GG plugin 4.2.8
I’m a bad in code but I’ve try to inspect to get the google part:
<script type=”text/javascript” async=”” src=”http://www.google-analytics.com/ga.js”></script>
<script type=”text/javascript”>
window.google_analytics_uacct = “UA-XXXXXXX-1”;
</script>
<script type=”text/javascript”>//<![CDATA[
// Google Analytics for WordPress by Yoast v4.2.8 | http://yoast.com/wordpress/google-analytics/
var _gaq = _gaq || [];
_gaq.push();
</script>
Thanks,
G
December 28, 2012 at 3:19 am #52643admin
KeymasterThe e-commerce tracking data is not in there. Did you take that code from your “Thank You” page after a payment? Which payment gateway are you using? Have you done the following on your “Thank You” page?
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-instant-digital-product-delivery-499
December 28, 2012 at 9:22 am #52644dorham
MemberOk that’s the reason why I select the code ^^
.Yes, from your “Thank You” page after a payment
.Paypal
.Yes
Do you want eStore debug logs?
December 30, 2012 at 12:06 am #52645admin
KeymasterOkay I sent you and email to get access to your site so I can check a few other things.
December 30, 2012 at 10:30 am #52646dorham
MemberI just found the issue: Cloudflare!
I’ve just disable the js minify and it works like a charm, now I can see the estore js code

Thanks for support,
G
January 1, 2013 at 11:48 am #52647dorham
MemberAfter more work on it I found a tips that can be useful for guys using Cloudflare and eStore.
Disable JS and CSS minify works but it’s not great as I want it to work on my website.
So I’ve add the thank-you page to the page rules list of Cloudflare and set Cloudflare to bypass cache on thaht page. Now I’ve got minify on all my website exepct the thank-you page so tracking works and my website is fast as usual.
January 2, 2013 at 12:17 am #52648admin
KeymasterThank you for sharing the tip.
-
AuthorPosts
- You must be logged in to reply to this topic.