Use tracking for Datonics

@hakubo @rogatty This is a mirror of the same code in the app repo. Looks ugly but for now I didn't manage to find a prettier way than the approach from the app.