Open yeslad opened 2 years ago
Sorry but this is not enough information to be able to debug what could be going on. Would you be able to create a PR which recreates the issue you're seeing with a minimal amount of code? A good example to emulate is the Google Tag Manager test: https://github.com/BuilderIO/partytown/tree/main/tests/integrations/gtm
Some more information can be found here: https://github.com/BuilderIO/partytown/blob/main/DEVELOPER.md#submitting-issues-and-writing-tests
Thank you for your help!
I've added the partytown snippet, defined forwards, and I see the GTM script is being fetched by the service worker. I also see debug messages being written to the console. However, I do not see the google analytics script being fetched. I setup a proxy server and wrote a resolver function. Here is what my config looks like:
Additionally, there is a GTM tag that adds the following script:
Instead of fetching this script, partytown adds the script tag to the DOM, with a type of 'text/partytown'.
Is this expected behavior?