well, you could set up your log analyzer to parse the logs with respect 
to the track parameter... As for "using CF", just test for the existence 
of the track url variable. If it exists, insert a record to a table in 
your db all of the pertinent information. You could store the website, 
tracking code and link values along with the time and anything else that 
may interest you. Is there something more in your question which I'm 
failing to comprehend?

--Ferg

Andy Matthews wrote:
> I'm trying to code a quick and dirty way to track email blasts for a client.
> In the email is a link which looks like this:
> http://www.<theDomainName>.com/email.cfm?track=WTHG5&link=index.html
>
> Each email blast has a different code, in this case it's WTHG5. The link key
> is the page to which the user should be redirected on clicking. The code on
> email.cfm is at the bottom of this email.
>
> I was under the impression that the above link would be unique and be
> properly tracked in our logs. So I would see a hit to
> "email.cfm?track=WTHG5&link=index.html" which would be different from
> "email.cfm?track=WTHG5&link=aboutus.html".
>
> I'm finding that's not the case. I see several incoming hits to "movie.html"
> and other pages that are unlikely to be search engine hits. The problem is
> that there's no distinction between a hit generated by campaign "abc123" vs
> "xyz789".
>
> Does anyone have suggestions or code changes that would let me track these
> clicks properly?
>
>
> ============ code ===============
>
> <cfset website = "http://www.<theDomainName>.com/">
>
> <cfif StructKeyExists(URL,"link") AND URL.link IS NOT "">
>       <cfset forwardlink = website & URL.link>
> <cfelse>
>       <cfset forwardlink = website>
> </cfif>
>
> <html>
> <head>
> <title> <theDomainName> </title>
> <meta http-equiv=refresh content="0;
> url=<cfoutput>#forwardlink#</cfoutput>">
> <link href="includes/styles.css" rel="stylesheet" type="text/css">
> </head>
> <body>
>
> </body>
> </html>
>
> <!----------------//------
> andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --------------//--------->
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235017
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to