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

🐛 _dd_s cookie being written multiple times per second #3385

Open
ricardoekm opened this issue Feb 28, 2025 · 1 comment
Open

🐛 _dd_s cookie being written multiple times per second #3385

ricardoekm opened this issue Feb 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@ricardoekm
Copy link

ricardoekm commented Feb 28, 2025

This relates to #2907 . We noticed that _dd_s cookie is being written multiple times per second. Considering the main purpose of this cookie is tag the session id, it should change when the session id changes.

We have found that out because for some reason chrome is having trouble with _dd_s cookie when the front end application is running inside an iframe added to another website. The following message shows up around 8 times per second:

Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.

Image

Notice that only show cookie with an issue is checked:

Image
@ricardoekm ricardoekm added the bug Something isn't working label Feb 28, 2025
@cy-moi
Copy link
Contributor

cy-moi commented Mar 5, 2025

Hi @ricardoekm ,

Thank you for reaching out to us!

Session cookie is indeed being written frequently. We are looking at issues regard this behavior lately, but we do not have an ETA for it yet.

That's said, we require first-party cookies(use of cookies docs) to be enabled and you need to collect consent before initializing the SDK(user tracking consent).

@cy-moi cy-moi added enhancement New feature or request and removed bug Something isn't working labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants