I’m including Google Tag Manage in the Additional Scripts box for the order status page in settings. However, for the tracking tags I have configured such as Reddit Pixel to track the completed purchase event I’m seeing “the document is sandboxed and lacks the ‘allow-same-origin’ flag” error in the javascript console. Any ideas on how I can fore these events from the order status page? I thought GTM was the best way to do it?
Topic summary
Google Tag Manager is being added via the “Additional Scripts” setting on the order status/checkout thank you page to fire tracking tags (e.g., Reddit Pixel) for a completed purchase event. When testing, the browser console shows the error “the document is sandboxed and lacks the ‘allow-same-origin’ flag,” suggesting the page context is sandboxed and restricting script behavior. The open question is how to reliably trigger purchase/confirmation tracking events from the order status page despite this restriction, and whether GTM is the right approach. A screenshot of the console error is provided.
