integrates new native json api to the tracking.