How to prevent Facebook Pixel from tracking the same transaction twice?

On my purchase confirmation page, I submit the purchase information to Facebook. But if my user clicks Refresh, the data is sent again, and Facebook compiles the purchase values ​​twice.

In Google Analytics, we can send the transaction ID, and even if the user refreshes the page, the data will be compiled only once.

Is there a way to do the same with Facebook? I would rather have Facebook do this work instead of having a flag on my side to send the Pixel only once.

thank

+4
source share

Source: https://habr.com/ru/post/1678181/


All Articles