Added cookie consent when handling requests with an external referrer ID.