Where are you using this later? I don't see why you need to store the `referer` here.