Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Cross-domain linking

with the first domain redirecting

11:40 am on Sep 16, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:May 13, 2003
posts: 151
votes: 0


I'm having trouble tracking visitors going from a redirect on site A to site B.

siteA.com/page1.html (and many others) links to:
siteA.com/page2.html which in fact uses an Apache redirect to:

If I put pagetracker_link on the links from page1.html to page2,html, nothing is appended to the URL - presumably because the link is not actually cross-site? But obviously I can't call _link in the Apache redirect. How can I get _link to pass variable to the page2.html so that they get forwarded by the redirect? Or am I attempting the impossible?!?

The basic question is: how to track cross-domain visits, when the linking page (NOT the linked page) is a redirect?
Many thanks in advance for any replies!

10:41 am on Sept 18, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 30, 2005
votes: 0

if you attache some sort of sessionid+time to your links you can track them in the logfiles.