How to check if the webpage has actually been loaded?
<p>I have an affiliate tracking script that is currently being exploited by an affiliate. In the main, site I track the affiliate clicks using this url www.example.com?member=affiliatecode,
then I capture the query string $_GET['member'];</p>

<p>Problem is, an affiliate is exploiting this simple system and page loads on his site is being recorded as clicks going to mine. </p>

<p>What measures can I add to prevent this without changing the affiliate link to my site? An idea that I had is to check if my page has actually been loaded, but how would I do that in PHP? </p>

<p>Thanks</p>
