partytown
partytown copied to clipboard
Partytown inconsistent behavior depending on how website is hosted
Having Inconsistent behavior with partytown when testing on staging site. Processes 'text/partytown' type tags consistently on localhost, around half the time when using the preview option on gtm for staging site, and never when running staging site normally.
Running partytown using the html integration and when it works it does work correctly (for most gtm scripts, only attached text/partytown to certain scripts)
Partytown version is 0.6.2
Screenshot of behavior on localhost and when running staging using preview option on gtm (when works)
Vs screenshot of behavior when just running on staging site
Please let me know if you require any other information and I would be more than happy to assist.
This may be because GTM is running scripts in different environment, not that partytown is. Would you be able to provide a repo case?
Closing this issue since it has become stale, or has been addressed in recent releases and docs updates. If you feel this is still an issue please reopen a new issue. Thanks.