- This topic has 2 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 › Trouble getting Google Analytics to track sales
I’m having troubles getting the e-commerce to work.
Check that e-Commerce is enabled on Analytics; is enabled in eStore; have Google Analytics for WordPress up.
I am on 5.0.0 eStore.
Below is my Google Analytics from one of my pages:
<script type=”text/javascript”>
var _gaq = _gaq || [];
_gaq.push();
_gaq.push();
(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>
I don’t see
“<script type=”text/javascript”>//<![CDATA[
// Google Analytics for WordPress by Yoast v4.0.13 | http://yoast.com/wordpress/google-analytics/”
at the beginning of the analytics scripts like bowerstech in the post on https://support.tipsandtricks-hq.com/forums/topic/google-analytics-not-tracking-properly/page/2
I thought my problem might have been that I have the actual analytics code pasted in the tracking scripts section of the site (I also have scripts for Get Clicky and Piwik), but I deleted all of these scripts and updated Yoast’s plugin – but when I view the source code, I don’t see any Google Analytics code.
Thanks,
Nick
Hi, Please update eStore with a fresh build from here:
https://support.tipsandtricks-hq.com/update-request
Then do a test transaction and tell me the Analytic code that you see on the “Thank You” page.
The updated Plugin resolved the problem.
I had a sale come through (yeah!) before I could run a test, and is was tracked in Google Analytics; all’s well.
Thanks,
Nick