Hi,
I just noticed that my Google Analytics account stopped tracking the sales from my siet. It was working July when I was testing but for some reason the sales from the past few weeks have not registered.
E-commerce is enabled in GA. I have the following code on my "Thank You" page: [wp_eStore_transaction_result:end] and the PayPal return URL and download links on the "Thank You" page work great. Here's the link to the "Thank You" page: http://www.pumpkinlady.com/thank-you/
I have also verified that the PDT Identity Token has been set correctly and the "Enable Google Analytics Tracking" has ben enabled in the 3rd Party Integration section.
I just ran a test transaction...here is the view source for Google Analytics for this transaction:
<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-412406-1']);
_gaq.push(['_trackPageview'],['_trackPageLoadTime'],['_addTrans','1M303855EU897523A','The Pumpkin Lady','0.01','0.00','0.00','Powhatan','VA','United States'],['_addItem','1M303855EU897523A','547','Humdrum Dragon','','0.01','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);
})();
//]]></script>
I'm using the Google Analytics for WordPress plugin Version 4.1.3.
Am I doing something wrong or is there a better way to make this work?
Thanks so much,
Jack