Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite links to match the domain

         

Zandaline

10:52 pm on Oct 11, 2006 (gmt 0)

10+ Year Member



I run all my links through a click tracking script. The click tracking script lives on the domain: www.ClickTrackingScript.com. It is called/activated by placing a customized link like this: http://www.ClickTrackingScript.com/click/fclick.php?ExampleLink . The only part that changes for each new link is the part after the “?”.

Since I place these links on various domains like Domain1.com and Domain2.com people tend to think twice about clicking the link since surfers know it is sending them off site to “ClickTrackingScript.com”. Is it possible through mod rewrite to have this link: http://www.ClickTrackingScript.com/click/fclick.php?ExampleLink rewritten to match the domain it is on i.e. http://www.Domain1.com/click/fclick.php?ExampleLink

Thank You,

Glenn

[edited by: Zandaline at 10:52 pm (utc) on Oct. 11, 2006]

[edited by: jdMorgan at 12:26 am (utc) on Oct. 12, 2006]
[edit reason] De-linked. [/edit]

spinnercee

12:15 am on Oct 12, 2006 (gmt 0)

10+ Year Member



You could use Redirects:

Create links like ...href="/goto/ExampleLink"...

and

Redirect /goto/ http://www.ClickTrackingScript.com/click/fclick.php?

or

Redirect /goto/ExampleLink http://www.ClickTrackingScript.com/click/fclick.php?ExampleLink

Redirect /goto/Example2 http://www.ClickTrackingScript.com/click/fclick.php?Example2

[edited by: jdMorgan at 12:26 am (utc) on Oct. 12, 2006]
[edit reason] De-linked. [/edit]

jdMorgan

12:25 am on Oct 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The long-term solution is to write or buy your own tracking script, and dump the external one that is causing loss of customer confidence.

Keep an eye on Google; Occasionally, they do click-tracking on their search results, using a clever image-based tracking method that does not, in fact, disrupt the direct click path to the target page. Instead, it causes the browser to fetch a tiny non-cacheable image with the clicked link info appended to the image URL as a query string.

Using a method like that, there is no loss of customer trust, and no negative effect on search engine rankings like there are with redirects or cgi-script tracking methods.

You may also be able to find the code posted here on WebmasterWorld -- It was discussed in the past, possibly up to three years ago.

Jim