troubleshooting Question

Finding a way to track click throughs without losing http_referer

Avatar of quokkasys
quokkasys asked on
JavaScriptWeb DevelopmentWeb Development SoftwareColdFusion LanguageAJAX
19 Comments1 Solution327 ViewsLast Modified:
At my travel site (see www.travelinbc.com/vancouver.cfm) the <a href> for many of the listings go to logit.cfm.  (e.g. includes/logit.cfm?id=113&type=1&site=http://www.collegehostel.com/)

However, logit.cfm uses cflocation (in a cfc) which strips the http_referer value.  This in turn does not allow the analytics program at the destination website to register the value.  

What I'm looking for is a new way to register the click through as is done currently but also redirect the click through in a way that lets the receiving website see it.

The version of ColdFusion is 7.0 MX

From an SEO perspective, the cflocation code is not letting the other website see the click through.  We want that, but we want the stats in our database.

One theory that I've heard is that we should be able to do this with javascript so that when an on click event occurs, the INSERT could be run without interfering with the http_referer.
logit.txt
cfc-func-cflocation.txt
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros