generating and using a tracking id