Has anyone experienced this, where transactions as recorded in Magento are sometimes higher than what Google Analytics reports for transactions? The margin of error is typically ~10%, and I've read a number of articles which explain this to be common by the very nature of how GA e-commerce tracking works.
In other words, the tracking code in Magento -- as I've seen -- is implemented asynchronously, and sometimes initialization is bound to the window's load
event. This would imply that the tracking code might not be sent out until many seconds after the success page has been displayed. And that some people navigate away from or else close this page before that tracking beacon can be dispatched.
Has anyone had any experience with this? I've also see different versions of Magento add the tracking code block to both before_body_end
and after_body_start
. Have you had better results with either one?
What steps have you taken to reconcile these differences?