My client wants to advertise about their magento store on different sites, and they wanted to know from which site a customer is redirected that they can give some benefits to that site owner.
As my way, I suggest them that add a unique reference code in each advertisement URL which redirect to magento store. they are accepted it.
Now my question is how I need to find out which from site a customer is redirected to magento store.?