Added a data parameter to the track method.