Hey Shopify Experts,
I’m trying to add GTM in post purchase pages but I’m getting DOMException: Blocked a frame … from accessing a cross-origin frame. From what I understand, post purchase scripts (under Settings) run on sandbox and maybe that’s what is causing the issue.
- If I install GTM in the checkout.liquid, will it be available in post purchase pages?
- Is there a way to add GTM in post purchase page without getting blocked because of an iframe issue?
Thanks. I hope someone could help me on this.