Sorry if this is posted in the wrong topic or if this is not a Magento problem - Maybe someone can point me in the right direction.
I cannot get my pixel to load the right way in the checkout. At first, it loads the right way with the initiateCheckout event, but then it's like the page reloads and now it's just the pageview event.
Is there something I can do to solve this?
Thanks in advance!
Please refer https://magento.stackexchange.com/a/215880/24801
I hope it helps.
I've been digging some more.
The Facebook Pixel reloads if the URL doesn’t have hash #shipping, so if the URL is https://domain-name.com/checkout/#shipping then it works as expected, but if you click "to cart" though the mini cart then it goes first to https://domain-name.com/checkout/ and then quickly reloads as https://domain-name.com/checkout/#shipping afterward without the InitiateCheckout event. If you then manual reloads the page it loads again.
I have almost vanilla Magento 2 checkout, no third party checkout.
For the Facebook Pixel, I'm using this extension here: Apptrian Facebook Pixel Extension, but I have also tried with GTM - Same results.
I have no idea why this is happing. Anyone else having this issue?