The depth range of the ZED2 is up to 20m and the tracking can go up to 40m. The depth accuracy for spatial tracking decreases exponentially, so the results might not be up to an optimal level beyond 20m.
Also, our skeleton tracking module can measure the person up to a range of 7m to 10m, so if you need to measure the people continuously for a longer range, you would need a network of multiple ZED sensors for tracking accurately.
Additional Resources: