Developer forum

Forum » Ecommerce - Standard features » Analytics Ecommerce tracking

Analytics Ecommerce tracking

Michael Nielsen
Reply

Hi

We have issues with the Google Analytics Ecommerce tracking. 

We've set the script up on the reciept page, but if customers visits the receipt page again, the transaction date will be changed in Google Analytics, and Analytics will also double up on item sales and revenue.

Unfortunately Google Analytics has this in place to enable users to remove transactions again by sending negative values. 

Using some kind of cookie solution is not an option as the customer can visit from another computer.

We've tried to match OrderComplete date with current time, but this resulted in some orders not being tracked at all.

 

I'm looking for some inputs to how everyone else solves it?

And also a comment from DW, if they have any plans to integrate analytics and ecommerce tracking in DW so it is server side and only shown on the receipt page once?


Replies

 
Anders Ebdrup
Reply
This post has been marked as an answer

Hi Michael,

 

You can take a look on the release notes for 8.4:


When showing the receipt page of an order we now keep track of how many times it has been shown. The count is available as a template tag in the receipt template: Ecom:Order.ReceiptShowCount. The count is updated if the reciept page is refreshed.

I think you can use this tag to control whether to include the tracking script.

 

Best regards, Anders

Votes for this answer: 1
 
Michael Nielsen
Reply

Hi Anders

Yes... We have already updated and implemented it, and it seems to be working just fine.

 

You must be logged in to post in the forum