Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Analytics ecommerce tracking does'nt work
Tagged: analytics
- This topic has 8 replies, 3 voices, and was last updated 14 years ago by
jessie.m.davis.
-
AuthorPosts
-
January 18, 2011 at 2:25 pm #2528
nuxly
MemberHello,
I have a problem with the e-commerce tracking, the transaction are not record in google analytics.
I have follow the guide and the folowing point from another topics on the forum :
– I do have an Analytics account working properly.
– I do have installed Yoast’s Google Analytics For WordPress plugin.
– I do have E-Commerce Tracking enabled in my Analytics account.
– I have checked the “Enable Google Analytics Tracking” checkbox in the setting menu of the WP eStore plugin.
– I do have “Auto Return” turned ON in my Paypal profile.
– I give Google Analytics plenty of time, because of the delay, to display the sales. Sales that happened yesterday still don’t show in my Google Analytics account (0 sales yesterday, 0 sales today according to Google Analytics).
Here is the code I get in the source code of the confirmation page :
<script type=”text/javascript”>//<![CDATA[
// Google Analytics for WordPress by Yoast v4.06 | http://yoast.com/wordpress/google-analytics/
var _gaq = _gaq || [];
_gaq.push();
_gaq.push(,‘_addTrans’,’7P476046160843905′,’Style For Modern Men’,’1.00′,’0.00′,”,”,”,”,‘_addItem’,’7P476046160843905′,’1′,’Ebook look’,”,’1.00′,’1′,‘_trackTrans’);
(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);
})();
// End of Google Analytics for WordPress by Yoast v4.0
//]]></script>
Thank you for your help !
January 19, 2011 at 3:55 am #28142amin007
ParticipantI can see that the eStore plugin has added all the transaction details to the analytics tracking code so it should get tracked. I know that there were a few bugs in analytics plugin when Yoast upgraded to the v4 (he made some major changes in v4). Yoast released a few patches to address those issues. Can you upgrade the Google analytics plugin to v4.0.9 (this is the current version now) and give it a go?
January 19, 2011 at 9:47 am #28143nuxly
MemberHi,
Thank you for your answer.
I had already the 4.0.9 to make the test.
The visitor are recorded but still not the transaction.
Is there the possibility to use another analytics plugin ?
January 20, 2011 at 3:16 am #28144amin007
ParticipantYeah it should be possible to use a different analytics plugin. eStore just adds the bit of code related to the transaction:
‘_addTrans’,’7P476046160843905′,’Style For Modern Men’,’1.00′,’0.00′,”,”,”,”,‘_addItem’,’7P476046160843905′,’1′,’Ebook look’,”,’1.00′,’1′,‘_trackTrans’
Let me know which plugin you want to use and I will see what options they have to add the transaction tracking.
February 12, 2011 at 1:40 pm #28145jessie.m.davis
MemberI’m having the same issue that nuxly is having and I’ve followed all of the instructions, but my ecommerce is still not coming through on my Google Analytics. In addition, I don’t see the eStore transaction code in the source code of the thank you page when a sale has been made, so that may be my issue. Could you tell me what I might be doing wrong?
February 13, 2011 at 3:26 am #28146amin007
ParticipantAre the download links getting shown on the thank you page after a payment?
Also, check this post:
https://support.tipsandtricks-hq.com/forums/topic/estore-and-google-analytics
February 13, 2011 at 11:04 pm #28147jessie.m.davis
MemberI’m actually not selling downloads, I’m using it in conjunction with eMember. Does that make a difference?
February 14, 2011 at 4:53 am #28148amin007
ParticipantDoesn’t look like you have done step 3 from this instruction:
http://www.tipsandtricks-hq.com/ecommerce/google-analytics-e-commerce-tracking-for-wp-estore-850
Even if you don’t sell downloadable you need to do step 3 so the thank you page can contain the transaction information. This transaction details is then sent to the Google Analytics plugin.
February 18, 2011 at 9:30 pm #28149jessie.m.davis
MemberThanks for your response. So I made the changes you suggested. I turned on the PDT, put in the identity token and pasted the shortcode into the thank you page.
-
AuthorPosts
- You must be logged in to reply to this topic.