You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get partytown setup on a Shopify Hydrogen / remix app and I'm wondering if someone can validate what I'm seeing.
Most (all) or our 3rd party scripts are loaded via a GTM tag. I can add that tag pretty easily to party town, but some of the libraries loaded need to manipulate the dom pretty heavily (LogRocket, Gladly, etc.). It seems like those should get pushed to the main thread for sake of ease, but when I configure those to be on the main thread, they still appear to be run through partytown.
Does that make sense that the scripts added via GTM would not be able to get sent to the main thread?
If that's true, would I need to move those out of our GTM script and load them directly on the app side?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I'm trying to get partytown setup on a Shopify Hydrogen / remix app and I'm wondering if someone can validate what I'm seeing.
Most (all) or our 3rd party scripts are loaded via a GTM tag. I can add that tag pretty easily to party town, but some of the libraries loaded need to manipulate the dom pretty heavily (LogRocket, Gladly, etc.). It seems like those should get pushed to the main thread for sake of ease, but when I configure those to be on the main thread, they still appear to be run through partytown.
Does that make sense that the scripts added via GTM would not be able to get sent to the main thread?
If that's true, would I need to move those out of our GTM script and load them directly on the app side?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions