Improves API Tracking Efficiency
improvement
performance
API analytics now only run when tracking is explicitly enabled via configuration
This optimization reduces unnecessary processing overhead when API tracking is disabled. The system now checks the TRACKING_ENABLED environment variable before collecting analytics data, preventing tracking code from running when not needed.