added the code snippet for async Tracking