Rafael, I do s.th. like
this behind the real image (<img ...>
<img
src="http://www.foo.com/tracking.cfm?issue=20030721&pictureID=2&linkID=0&campaignID=1"; 
border="0" height="1" width="1" alt="dummy">

and in tracking.cfm I have:

<CFQUERY name="foo" datasource="tracking" dbtype="odbc">
Insert Into trackingData (email, issue, UA, clickdate, clicktime, pictureID, linkID, 
campaignID) 
Values ('#email#', '#issue#', '#cgi.http_user_agent#', #CreateODBCDate(Now())#, 
#CreateODBCTime(Now())#,
#pictureID#, #linkID#, #campaignID#) 
</CFQUERY> 

in case you want a redirection after a visited link (similar to the
one above) you have:

<cfif linkID EQ 1>
<cflocation url="http://www.foo.com";>
</cfif>

Works great.

Uwe


CW> I believe he'll be talking about html formatted email. Any image presented
CW> in that email must be served by a web server somewhere, if that webserver
CW> has logging turned on, then you may be able to parse the server logs for
CW> that image and extract anything that your web server is set to log on
CW> request events.

CW> - Calvin

CW> ----- Original Message ----- 
CW> From: "Rafael Alan Bleiweiss" <[EMAIL PROTECTED]>
CW> To: "CF-Talk" <[EMAIL PROTECTED]>
CW> Sent: Saturday, August 02, 2003 7:58 AM
CW> Subject: OT? Tracking email via embedded images


>> I have a client who wants to send out emails with images embedded because
>> he heard you can track info about the image being opened in the email
>> through some sort of server process.
>>
>> I know a site's log reports on which images were viewed in a web browser
>> during a visitor session, however how do you do  this for email, what do
>> you need to look for, and is there a need to embed a unique code in the
>> email other than an image?
>>
>> Any help in this direction would be greatly appreciated!
>>
>> 
CW> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to