Use a URL parameter as well as the referrer