analytics-next
analytics-next copied to clipboard
In a sandboxed environment, addEventListener may not behave as expected
Hi All,
I added the Segment snippet into my Shopify Custom Pixel (https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/code#third-party-sdk) and use object analytics to track events, it worked well until 05 Oct 2023, seems the function analytics.track("Checkout Started", trackingData) doesn't push tracking data to Segment. I'm seeing a warning message in web browser console "In a sandboxed environment, addEventListener may not behave as expected."
Update: I have tried to deactive Google Tag Manager in Destination, then tracking data can be sent to Segment.
Please help to check.
Thanks & Regards, Phu