Open josephernest opened 3 years ago
I think some part of ga-beacon is unusable now, such as UV. This is the ga-beacon server logs whan i refresh my repo homepage, you can see cid is different, because the img is requested by the https://camo.githubusercontent.com/ server but client browser. cookie.cid is not working. At least PV works fine.
I think some part of ga-beacon is unusable now, such as UV. This is the ga-beacon server logs whan i refresh my repo homepage, you can see cid is different, because the img is requested by the https://camo.githubusercontent.com/ server but client browser. cookie.cid is not working. At least PV works fine.
which means only Cache-Control, Expires, Last-Modified and Etag will work on github img
Has anyone managed to get this working recently? Or am I just completely wasting my time?!
I see you removed Github from the possible applications: https://github.com/igrigorik/ga-beacon/commit/6acd8627bb7be36f24f5516e9873c92719a50e55
Probably because README.md images are agressively "cached".
But they surely is a solution: many repos have "badge" images, that are frequently updated. So with the appropriate caching setting, couldn't it be possible to track with a pixel the page views? See @bkeepers 's comment https://github.com/github/markup/issues/224#issuecomment-48532178: