Re:Ask HN: How do some email clients track 'who read' the em...
by pwncake on Monday March 02, 2020 @01:54PM
(#22467502)
Correct, even if you look at the URL on each link it will have IDs and tracking code embedded to be able to see who clicked what link and very rarely go straight to the actual URL it is referring to without a hop or two.
Re:Ask HN: How do some email clients track 'who read' the em...
by epimetheus2 on Monday March 02, 2020 @09:05AM
(#22464506)
how would that work? so every recipient would receive different email content with different pixel?
Re:Ask HN: How do some email clients track 'who read' the em...
by kedean on Monday March 02, 2020 @10:11AM
(#22465011)
Sort of. It doesn't have to be a traditional file or anything, so it helps to think of it as a unique URL being accessed instead of a different pixel. What makes it work is the client automatically loading all images, which means the user accesses the URL automatically as well. It stops working if the client uses features that disable automatic image loading.
You could implement this by sending each email with an img tag that has a unique url, such as https://foo.bar/baz/id_1.jpg, which the server will route under the hood to a script. The script stores the fact that someone visited id_1, assumes it must have been the recipient since only they have the URL to get to it, and responds with image data to make the whole thing seamless.
Re:Ask HN: How do some email clients track 'who read' the em...
by RegnisGnaw on Monday March 02, 2020 @09:42AM
(#22464786)
Yep. Each user gets an email unique to them.
Re:Ask HN: How do some email clients track 'who read' the em...
by epimetheus2 on Monday March 02, 2020 @12:56PM
(#22466857)
wouldn't then CC, BCC and TO headers not fit? and emails form different thread, i.e. in gmail?
Apparently they use a hidden pixel, i.e. a separate tracking code, for each recipient. There was a discussion about this feature in Super Human: https://blog.superhuman.com/read-statuses-bdf0cc34b6a5