Hello Team,
I am using custom pixel in shopify to load script of sentry. i am using loader script for sentry. This basically tool which is helpful for debugging.
when I connect this custom pixel It is working and sentry script is loaded on my shopify site but on console we are facing one warning -
In a sandboxed environment, addEventListener may not behave as expected.
so kindly answer that this warning will impact on core sentry functionality.
Thank you
Hi @Khushboo4 ,
The warning “In a sandboxed environment, addEventListener may not behave as expected” is common when scripts are loaded in a restricted context like Shopify Custom Pixels. This usually does not affect the core functionality of Sentry such as capturing JavaScript errors, exceptions, or basic performance data. However, certain advanced features (e.g., session replay or full DOM tracking) may have limitations due to the sandboxed environment. If your primary goal is error monitoring and logging, Sentry will continue to function as expected despite this warning.
Thanks!