Tracking SOAP based web services usage

Hi, I have a bunch of PHP scripts using NuSOAP to provide SOAP based web services. I cannot get any tracking going on by embedding the javascript snippet. Does anyone know what is the solution? TIA.

Use the Tracking API: Tracking API - Analytics Platform - Matomo