Question : 1x1 pixel tracking

Hello everyone,

I'm looking desperatly for any kind of tutorial on how to implement the pixel tracking for e-mails. I'm not using this for spamming purposes, and it's used for reporting needs only. So it will not violate anyone's privacy etc. Every person on the list is aware of the fact that we will be collecting such information.

So if anyone can please help me with some code or something on how this happens. I'm using a regular host right now, with MySQL database and Java.

I thank you very much for you time,

Lior

Answer : 1x1 pixel tracking

Ok... here goes...

Method 1

Actually embed a 1x1 pixel and customise the html email when it is sent out to include the email address of the recipient in the querystring. ie <IMG SRC="http://www.yourwebsite.com/tracking.gif?m[email protected]"> then all you do is use a logging analysis app like Webtrends to filter out this image data and do some processing on the querystring and you have some loggin info on the mail you sent out.  

You will need access to the web logs and you can probably get your host to add most of the fields you require.


Method 2

Emails are sent as HTML email but the 1x1 pixel image actually isn't an image, but the SRC tag would actually refer to a page which logs all the enviroment variables on the pc which calls it.
eg <IMG SRC="http://www.yourwebsite.com/tracking.asp?m[email protected]">

Enviroment Variables are sent in the http header of every request and these can be accessed by the server that your tracking 'image' sits on. These Enviroment Variables can then be stored in your database and processed.

It's that simple!!


   
Random Solutions  
 
programming4us programming4us