PilotFoxDocs

Get the tracker script

GET
/api/s.js

The browser tracker, loaded by the site's snippet (<script defer src=".../api/s.js" data-site="SITE_ID">). Cached for an hour (ETag, 304 on a match); 503 when the instance's tracker was never built.

Response Body

The tracker bundle

response?stringapplication/javascript
Example Request
curl -X GET 'https://pilotfox.app/api/s.js'
Example Response
"string"