Messed up the tracking code implementation