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

Cookie initiators are not displayed #6

Open
Tedixx opened this issue Nov 22, 2023 · 1 comment
Open

Cookie initiators are not displayed #6

Tedixx opened this issue Nov 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Tedixx
Copy link

Tedixx commented Nov 22, 2023

The initiator of cookies is not displayed. This causes that users are unable to identify if a cookie is initiated locally or externally.

As sample: https://cookie-scanner.com/summary/www.aliexpress.com/?ucrid=CRICC05587bd0113af63f0cb9c32a568807ab

Here, the domain of cookie xlly_s is .aliexpress.com, as displayed by consentcrawl as well . However, the initiator is external domain https://fourier.taobao.com.

Would it be possible to add the cookie initiators, so external loaded cookies can be identified?

@dumkydewilde
Copy link
Owner

This is a really good question @Tedixx. It is definitely possible to implement, however it is not easy. I don't think there is any direct access to the request initiator chain that you are able to see e.g. in the Chrome dev tools. That means you'd have to intercept all requests (which we already do), but also follow redirects, keep track of child/parent relations, extract the cookie headers for each of these requests and write the logic to match and keep track of the initiator (excluding of course the domain you are currently on). Of course as a site owner you are ultimately responsible for all cookies and 3rd party requests regardless of where they come from, but I can understand how someone would want to catch any rogue cookies on their site coming from third party implementations.

@dumkydewilde dumkydewilde added the enhancement New feature or request label Dec 16, 2023
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