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

[🐞] How to setup correctly partytown for astro.js #605

Open
Lodo4ka opened this issue Jun 21, 2024 · 2 comments
Open

[🐞] How to setup correctly partytown for astro.js #605

Lodo4ka opened this issue Jun 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Lodo4ka
Copy link

Lodo4ka commented Jun 21, 2024

Describe the bug

Hello, I have partytown not working in my astro.js project.
I try to run it from the official integration and it doesn't work https://docs.astro.build/en/guides/integrations-guide/partytown/

All the time I get an error in the service worker file ~partytown/partytown-sandbox-sw.html

Even if I add html partytown-sandbox-sw.html then I get debug/proxytown 404 error.

Can you tell me how to configure partytown correctly?

Translated with DeepL.com (free version)

Reproduction

https://renan-refrigeracao-hazel.vercel.app/#inicio

Steps to reproduce

my configuration for astro

partytown({
config: {
forward: ['dataLayer.push', 'fbq', 'ym'],
lib: '/blog/',
debug: false
},
}),

Browser Info

chrome

Additional Information

No response

@Lodo4ka Lodo4ka added the bug Something isn't working label Jun 21, 2024
@lassespilling
Copy link

I have the same issue in my Astro config using Cloudflare Adapter

@datapolitical
Copy link

Did you ever figure this out?

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

3 participants