terms: add referrer to cookie