This applies to a common scenario where the site loads a third-party booking flow or shopping cart in an iframe, and tries to do cross-domain tracking with e.g. the @GoogleAnalytics _ga cookie.
Without SameSite=None;Secure that cookie can’t be accessed and tracking won’t work.
-
-
Prikaži ovu nit
-
Solution is to petition your analytics vendors to make the SameSite and Secure flags configurable when the tracking cookie is created. I’ve given feedback to Google about this. For Safari, you’ll need the Storage Access API. https://web.dev/samesite-cookies-explained/ … https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API/Using …
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
Would this affect iframe decoration that you talk about in this article?https://www.simoahava.com/analytics/tracking-cross-domain-iframes-upgraded-solution/ …
-
It would! Without being able to set the cookie in the iframe to SameSite=None the cookie would not get set. It might work on the first page but if the user navigates in the iframe a new client ID would be generated.
- Još 13 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.