I have a page that only allows visitors coming from inside the same site to see it. If they are referred from somewhere else, they are redirect to my main site's page.
I've placed this PHP command to perform it:
if (strpos($_SERVER[HTTP_REFERER],"site.com")==0)
{
header("Location: http://www.site.com");
exit();
}
Do you think this will affect Google Analytics reports?