Print Page | Close Window

Tracking Emails by Images in Email

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9845
Printed Date: 31 March 2026 at 6:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Tracking Emails by Images in Email
Posted By: Misty
Subject: Tracking Emails by Images in Email
Date Posted: 15 February 2004 at 9:44pm

I know that you are not supposed to dig up old threads. But I would like to refer you to http://forums.webwiz.net/forum_posts.asp?TID=3299&TPN=1 - http://forums.webwiz.net/forum_posts.asp?TID=3299&a mp;TPN=1 .

In that thread, I mentioned that I didn't want to use links or images. Well... I've decided to use images in emails to track when someone reads the emails. I've tried putting a link behind the image like http://www.anywhere.com/viewemails.asp?ID=4 - http://www.anywhere.com/viewemails.asp?ID=4 . This web page is supposed to update the database to show that the email has been read. I would like to how I can cause the database to be updated without the user clicking on the image. I would like for the database to be updated as soon the email is opened. What is the code that I should add?

 




Replies:
Posted By: dpyers
Date Posted: 15 February 2004 at 11:26pm

don't just include the link, it has to be wrapped inside an image tag like

<img src=" http://www.anywhere.com/viewemails.asp?ID=4 - http://www.anywhere.com/viewemails.asp?ID=4 ">

viewmails.asp has to write the image and update the db. Note that many email and AV programs can prevent scripts from being run from within emails.

An alternative is to to just use the direct link to the image within the email with a query string appended to it like...
<img src= http://www.anywhere.com/myimage.gif?in=xxx - http://www.anywhere.com/myimage.gif?in=xxx >

In this situation, you'd write a script to scan your log files and update the db appropriately.

Neither of these two will return you anything for Outlook 2003 email clients where images are turned off and not downloaded to the client by default unless the user specifically requests it.



-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net