mixpanel / mixpanel-js

Official Mixpanel JavaScript Client Library
https://mixpanel.com/help/reference/javascript
Other
888 stars 312 forks source link

Chrome Handling Third-Party Cookie Changes #449

Open NikolovDaniel opened 1 month ago

NikolovDaniel commented 1 month ago

Hi,

We are currently addressing an issue related to third-party cookies, as shown in the attached screenshot. After reviewing the available documentation on GitHub and the MixPanel website, we were unable to find a solution or any relevant information on how MixPanel plans to address the upcoming changes in browser policies.

Image

I have tried most if not all available settings and could not make it work. I will gladly appreciate any guidance.

tdumitrescu commented 1 month ago

This library doesn't use 3rd-party cookies. I'd suspect that what you're seeing is the result of your own mixpanel.com cookie being sent along with the lib's tracking requests to api.mixpanel.com, i.e. you're seeing this because you're a mixpanel.com user and have browsed the Mixpanel marketing/docs pages, but your users won't see it and it won't affect your app's own tracking. If you're seeing your app's tracking props ending up in a cookie on the mixpanel.com domain, please let us know here so we can investigate.

NikolovDaniel commented 1 month ago

Thanks for the fast response, I can verify that this was the cause of the problem, after deleting the cookies in the corresponding pages, the warning disappeared. I will monitor it closely and let you know if there is something concerning.