json and html tracking