Closed federicogfernandez closed 2 years ago
Did you do something like this?
<Partytown
debug={ true }
forward={['dataLayer.push']}
/>
<script type="text/javascript" dangerouslySetInnerHTML={ {
__html: `
// 3rd party code here
`
} } />
and im not familiar with remix, but did you place this into the head?
Hey, thanks for the response. It was my fault, i was trying to load the script on http and SW doesn't work with http. Now i have PartyTown running and i can test my analytics integration.
Hey, i need some help to setup Party Town
I'm building a Remix application and i added the library with the React component you provide
<Partytown debug={true} forward={['dataLayer.push']} />
The following script is being added to the headI have also added GTM script following the docs.
But it looks like nothing happens, it doesn't log anything to the console, it doesn't load the service worker.
Am i missing something?