Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

Orders tracking incremental due to page refresh

Avatar

Level 1

Hi All,

 

We are facing issues in some transactions where a user might have refreshed the page after successful payment multiple times because of which we are observing more number of orders whereas the actual orders are lesser.

 

Request someone to please suggest a resolution to this issue?

Thanks in advance, will be great help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to set s.purchaseID with the order ID or a similar unique value identifying the transaction. This will prevent the same transaction from being tracked multiple times.

 

Best wishes,
Andrey Osadchuk | Launch Inspector, Analytics Connector, Bookmarks

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You need to set s.purchaseID with the order ID or a similar unique value identifying the transaction. This will prevent the same transaction from being tracked multiple times.

 

Best wishes,
Andrey Osadchuk | Launch Inspector, Analytics Connector, Bookmarks

Avatar

Level 2

Also, make sure s.purchaseID is unique and is the actual order ID (optional but important in troubleshooting).

Sometimes developers pass a random number to please analytics implementation.