I have below scenario, There are 3 domains, DomainA ---> where user clicks the link DomainB ---> want it to be a middle-man which is used for redirecting and tracking DomainC ---> Actual affiliate landing page On DomainA, I don't want to show the user direct aff link. So user clicks DomainB link. I want my DomainB to be a middleman which redirects to actual aff landing page DomainC and also does some sort of tracking. Please suggest me a plugin/script which I can install on DomainB which redirects and passes the actual referer and also it tracks the user clicks with geographic data. Bit.ly does this kind of stuff but its data is public.