partytown icon indicating copy to clipboard operation
partytown copied to clipboard

Partytown inconsistent behavior depending on how website is hosted

Open piotrmilewski opened this issue 2 years ago • 1 comments

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) image

Vs screenshot of behavior when just running on staging site image

Please let me know if you require any other information and I would be more than happy to assist.

piotrmilewski avatar Jul 19 '22 17:07 piotrmilewski

This may be because GTM is running scripts in different environment, not that partytown is. Would you be able to provide a repo case?

adamdbradley avatar Aug 08 '22 16:08 adamdbradley

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.

adamdbradley avatar Mar 21 '23 15:03 adamdbradley