Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Orders tracking incremental due to page refresh

Avatar

Avatar
Level 1
ishank_tewari
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
ishank_tewari
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
ishank_tewari
Level 1

11-11-2020

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Level 2
amgup
Level 2

Likes

10 likes

Total Posts

38 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 2
amgup
Level 2

Likes

10 likes

Total Posts

38 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
amgup
Level 2

23-11-2020

Hello @ishank_tewari 
I will suggest to use event serialization as it prevents de-duplication of event. For more information you can check this link :- https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/events/event-seriali...

Avatar

Avatar
Contributor
Level 3
jkm-disco
Level 3

Likes

19 likes

Total Posts

109 posts

Correct Reply

13 solutions
Top badges earned
Contributor
Shape 1
Give Back
Affirm 10
Applaud 25
View profile

Avatar
Contributor
Level 3
jkm-disco
Level 3

Likes

19 likes

Total Posts

109 posts

Correct Reply

13 solutions
Top badges earned
Contributor
Shape 1
Give Back
Affirm 10
Applaud 25
View profile
jkm-disco
Level 3

12-11-2020

Hi @ishank_tewari ,

 

It sounds like you may want to add/interact with some development logic on the page to make it clear when a page load corresponds to the actual transaction.

As an example, there may be logic on the previous page which determines whether a transaction is successful and routes users to the new page. Using the logic of a successful payment on the previous page, one solution would be to temporarily set a flag in the client's local storage which is read and removed on the successful payment page. Then on a refresh, it would no longer find the flag in local storage and wouldn't set the custom event.

 

Actually, the solution on your duplicate post, here, seems sufficient as long as there aren't any other custom events being set at the same time.

 

This question may be more appropriate to ask in the Launch sub forum.

 

All the best,

J