DelphiFAQ Home Search:

Tracking when a newsletter email is opened


comments5 comments. Current rating: 4 stars (2 votes). Leave comments and/ or rate it.


I send out a weekly newsletter and would like to track when each user opens his email. I feel that some users submitted a wrong email adress, and if I find that they never open their newsletter then I want to remove them from the mailing list.


The traditional way to track emails would be to insert a little image and give it an argument. This technique is also called 'inserting a web bug'. The image's name could be:


Then daily check your log files for accesses to file 'some_image.jpg' and see the arguments passed to it.
You could even link to a perl script that redirects to an image or the script could actually generate an image on the fly. The script could directly enter time and originating IP, browser user agent and most importantly the email address into a database. The URL to such a script would look like this:


The problem with these solutions is that it is very obvious to the user that you are tracking their activity and they might not like it.

You could hide your intentions by keeping a database with user numbers e.g. would be user number 1234 so your email would contain an image


Do not even think about using client-side techniques such as javascript to generate a hit in your server logs. This will not work in web mail for example.

Advanced, technologically savvy users also tend to view emails in text mode only thus your tracking would fail. This is not just being old-fashioned but a very basic and mostly efficient way of avoiding any sort of scripting attacks or email worms.

In text mode, however, it is annoying to wade through a cluttered mess of tags and not seeing the content easily, which imposes a high risk for a mail getting moved to the trash bin before being read to its end.

The value of tracking is really questionable. Keep in mind that you only can track if the email was 'opened'.

1) If the email was opened, you do not know that it was opened by the intended reader. It could have been (by accident) a child.

2) If the right person happened to open it, it could still be that they cannot read it because they accidently deleted it before they view it.

3) If he viewed it, there is still a chance that he does not actually read it.

4) After reading carefully, there a chance that your email was not comprehended.

So all in all, "tracking" an email seems not always to be welcome, the involved techniques may be quite contraproductive, as they adds to the annoyance level on the receiver side and thus may hurt the reputation and trustworthiness of the sender.

If you do not get results from the newsletter, you might want to look into other means of communication. A paper letter or a phone call maybe.

Content-type: text/html


2006-05-11, 13:08:09
anonymous from United States  
I cant find my email adress I used to live in south west philadelphia but i moved on the line of philadelphia i need you to find my email adress.
2006-05-11, 13:09:46
anonymous from United States  
I cant find my email adress I used to live in south west philadelphia but i moved on the line of philadelphia i need you to find my email adress.
2006-05-11, 13:11:49
anonymous from United States  
if you cloud find my email adress i'll email you a free R.P.G. game there very fun to creat but you must ofer 20 Giga bites.
2006-10-11, 21:33:34
from United States  
this person has sent me an her picture but no email address. who is this person ? what is her email address?

Keywords: black girl black hair
2008-06-05, 08:21:22
Scammers use other tale as there is a metallic trunk box containing $23,000,000 USD, 17,000,000-8,000,000 etc. or compensation for it deposited in a security, finance,vals, company in Ivory Coast, Senegal, Nigeria, as Vanguard Trust, Vanguard Universal Trust, Vanguard Finance and Security and style...well the miserables scammers given ficticiou names and dirty lies end fake and fraud. The scrounger swindlers falsing papers such as deposited certificate, passport and visas, banking deposit, accounts, powered of lawyer, legalization of high court, celular phone numbers,fax, adresses, photos of beautiful, older, honest women of appearence but all is false...please nothing is truth only dirty lies...friend just dedicate to work honestly and denounces to the swindlers or scammers they are angry in internet.
Be careful friends...




NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: