Modify tracking code