Adding in referrer and location info