4 ms·
Does this affect Google Analytics (or any analytics software for that matter)? if so: How would a webmaster deal with that?
by hiddenfeatures 14y ago
Does this affect Google Analytics (or any analytics software for that matter)?
if so: How would a webmaster deal with that?
- cbr 14y agoGoogle Analytics javascript runs on your domain and the cookies it uses are on your domain. So it should count as "first party" here.
- hiddenfeatures 14y agoInteresting. Isn't the website just telling to load the script from a Google server (which could count as 3rd party) and execute it?
- mjn 14y agoIt's loading from a 3rd party (with a 3rd-party HTTP request), but the script itself is run by the first party: scripts are owned by whichever page executes them, regardless of how that page conjured them up. That's why you can load jquery from a CDN without breaking lots of things, because jquery still "runs from" your domain, same as if it were hosted locally. Also a reason that you really need to trust the third-party host, because if you load malicious third-party JS, it runs from your domain.
- Nursie 14y agoThanks, that's a neat little explanation and cleared a couple of things up for me :)
- hiddenfeatures 14y agothanks for the cool explanation. That really filled in a few blanks in my understanding of the web.
- baby 14y agoThere is no creation of cookies in the snippet you have to copy/paste on your website. So if some cookies are created they are not first party.
- cbr 14y agoThe snippet you paste is for our purposes equivalent to: <script src="http://www.google-analytics.com/ga.js"> Inside the script there are calls to cookie-dropping javascript functions. The browser makes no distinction between javascript loaded via a script tag from your domain, another domain, or simply inline, so any cookies it leaves or reads are "first party". If they set cookies via HTTP on the request for www.google-analytics.com/ga.js, those would be "third party", and because google-analytics.com isn't a site anyone visits, the new firefox policy would reject them.
- jgalt212 14y agoTrue, but two other big players in this space (Mixpanel and Kissmetrics) both use 3rd party cookies. Does anyone know how they plan to deal with this?