Log the referer - need to ensure this gets sent