We have currently an order confirmation page on our website after the customer paid where information is sent to our analytics tools. If the customer refreshes the page, the information about his order is sent again to our analytics tool and then we get wrong/duplicate information in our orders statistics.
Is there an easy way to prevent this? The goal would be here to not trigger the custom html tag when the customer reloads the page. It should be only fired once.
Thanks!
Best, Victor
We finally found another solution that seems to work: We used an additional trigger in GTM that prevent the info to be sent twice.
When calling the page for the first time, the condition is set to "false", and on each following request to that page it is set to "true".
We made some test orders and it seems to works correctly. Thanks!