Orders tracking incremental due to page refresh | Community
Skip to main content
November 11, 2020
Solved

Orders tracking incremental due to page refresh

  • November 11, 2020
  • 1 reply
  • 1261 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Andrey_Osadchuk

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

1 reply

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
November 11, 2020

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

Level 2
November 18, 2020

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.