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 am trying to integrate Partytown to load GTM but I can't find a way to properly edit the data attributes of the main GTM script. I need to add the type attribute (type="text/partytown").
It would be easy if the main script was loaded by wp_enqueue_script() but it does not seem to be the case. What would be the best way to do it?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to integrate Partytown to load GTM but I can't find a way to properly edit the data attributes of the main GTM script. I need to add the
type
attribute (type="text/partytown"
).It would be easy if the main script was loaded by
wp_enqueue_script()
but it does not seem to be the case. What would be the best way to do it?Thanks for your help!
The text was updated successfully, but these errors were encountered: