Update sample to enable referrer tracking