Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐞]Cookiefirst not functional when handled by partytown #661

Open
BluntlyCat opened this issue Jan 28, 2025 · 0 comments
Open

[🐞]Cookiefirst not functional when handled by partytown #661

BluntlyCat opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@BluntlyCat
Copy link

BluntlyCat commented Jan 28, 2025

Describe the bug

When I load GTM via partytown where Cookiefirst is integrated or directly include Cookiefirst as script with the text/partytown type Cookiefirst gets not loaded properly.

The main script (consent.js) is added to the DOM and some autoblocker script but the css for example is missing. When loading the page and Cookiefirst is handled by partytown the one or the other way, partytown starts to perform 20k+ requests and is loading more than 20MB of data.

Is this a known issue or do you have any suggestions?

Reproduction

https://ecom-staging.contabo.com/en/

Steps to reproduce

  • Add Cookiefirst into GTM
  • Load GTM handled by partytown
  • Load the page and watch the network tab

Browser Info

Chrome, Edge, Firefox

Additional Information

No response

@BluntlyCat BluntlyCat added the bug Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant