We are using the custom pixel and customer events to add the Microsoft / Bing Ads Conversion Tracking. The code is totally fine. But when I check through the UET Tag Helper, it shows a red alert and says that the event was fired from within an IFrame. The ads account is not tracking any purchase event.
I know the custom pixel is working in a sandbox environment. Maybe the Microsoft / Bing is still not compatible with the custom pixel. But I need a way as there is no option for me to add the code. I have used GTM as well. But the result is the same.
Yes, sandbox is technically an iframe so the Pixel Helper will throw an error. This does not mean your Bing signal is not patching through. You can compare hits from the sandbox and from parent page, difference will maybe the URL (because of sandbox stuff Shopify adds to it) - hit should be identical. I say you don’t have a problem
Thank you, Dan, for your reply. I have one more question that I want to ask you.
Does the Shopify Stape app also track the upsells automatically? Or do we need to add codes in the Post-Purchase script section under the Checkout to track upsells?
Stape app is worked on the basis of the Shopify Pixel API - so far there’s no trigger to track upsell purchases. So only the original purchase will be tracked, if there was an additional purchase on post purchase page - it will be tracked only if the user starts checkout again for first step, not just updating their order.