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

Include third-party cookies when fetching images #182

Merged
merged 3 commits into from May 24, 2022

Conversation

slawekkolodziej
Copy link
Contributor

I noticed that Partytown does not attach third-party cookies when fetching images. This breaks facebook pixel - take a look at the screen recording below.

On the left I have Facebook's 'Test events' tool. On the right NextJS app with Facebook Pixel added through GTM running within Partytown 😅

partytown-img.mp4

In addition to missing credentials: 'include', I noticed that Image constructor never sets src attribute, I fixed it.

@vercel
Copy link

vercel bot commented May 20, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
partytown ✅ Ready (Inspect) Visit Preview May 20, 2022 at 9:10AM (UTC)

@slawekkolodziej slawekkolodziej changed the title Image updates Include third-party cookies when fetching images May 20, 2022
@adamdbradley adamdbradley merged commit 90c43a2 into BuilderIO:main May 24, 2022
@slawekkolodziej slawekkolodziej deleted the image-updates branch May 27, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants