Jump to content

track email open with php


vinpkl

Recommended Posts

Hi

 

I have read on internet that the companies track email as "open" by inserting an transparent image.

 

But i am not able to found what actually they insert into the source code of that image that marks or updates in the database as "open".

 

Do they insert an update query into the source code of image ??

 

Can please tell me a example with img src ??

 

Thanks
Vineet

 

Link to comment
https://forums.phpfreaks.com/topic/296447-track-email-open-with-php/
Share on other sites

You can't track text emails, and you will only be able to track the people using HTML email IF they have "display images" enabled in their email client, which is turned OFF in a lot of email clients by default.

 

The way that tracking works is when the email client (basically a simple HTML browser) requests the image from YOUR server in order to display it, it creates an entry in the server log just like it does for ALL requests (html/js/css/etc) to the server. So at that point you KNOW the person opened the email or it wouldn't have made the image request. You obviously can't send an image in text email. So it's not perfect and won't be able to track everybody, only people who view the email as HTML AND have view images enabled.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.