You could do this as well with
<img src="mycode.cfm?uid=305">
In mycode.cfm, just do a CFQUERY to store a "hit" to that person's account
indicating they read it and when. You can even reference all the CGI
variables for Operating System and other stuff at the same time IF you need
it.
--Doug
-----Original Message-----
From: tom muck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 10:53 AM
To: CF-Talk
Subject: Re: HTML Email Tracking
What I've done is to create a separate transparent image for every person in
the
database. I did this with a simple three line loop with CFFILE in Cold
Fusion.
After that, I had 1.gif, 2.gif, 3.gif and so on.
Then, I put a field in the email based on the ID number coming from the
database, like
<img src="http:myserver/#emailID#.gif">
With this method, you can tell WHO opened the mail and at what time.
tom
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 12:43 PM
Subject: RE: HTML Email Tracking
> Your call should work. In thefile.cfm you probably want to include a
> CFLOCATION to an actual image though, so the browser won't show a broken
> graphic.
>
> <!-- thefile.cfm -->
> <cfquery .... >
> <cflocation url="someimage.gif">
>
> --Doug
>
> -----Original Message-----
> From: Sean Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 05, 2000 9:29 AM
> To: CF-Talk
> Subject: HTML Email Tracking
>
>
> I feel like I've seen this done before, but I can't for the life of me
> figure out how to get it to work.
>
> What I have is a marketing email that is going out HTML formatted. I want
to
> include in it a reference to an image file. I've heard that some people
have
> successfully referenced a CFM file in the src of the image that would
allow
> you to have some code executed each time the image was grabbed. Then you
use
> cfcontent maybe to push out an actual image.
>
> Anyone got some code that shows how this is actually done? I've tried
just:
>
> <img src="thefile.cfm" height=1 width=1 border=0>
>
> The code in thefile.cfm doesn't get run though. All it does by the way is
> increment a counter in a db table.
>
> TIA
>
> - Sean
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> Sean Daniels
> Manager, Engineering
> (T): 207.439.6030
> (C): 978.764.0799
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> http://www.dealforce.com
> http://www.mergernetwork.com
>
>
>
>
----------------------------------------------------------------------------
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
----------------------------------------------------------------------------
--
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send
a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.