- This topic has 6 replies, 2 voices, and was last updated 11 years, 10 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore and Google Analytics
Hi,
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
The 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
Ok 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?
Okay I sent you and email to get access to your site so I can check a few other things.
I 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
After 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.
Thank you for sharing the tip.