v1
latestOpenAPI 3.1.02026-07-2419603.1 MBTracker
Tracking endpoint
Endpoint for tracking events such as page views, goal conversions, and custom events.
This endpoint requires the same parameters as the GET request.
Tracking parameters can be provided in three ways:
- As a JSON object in the request body (as shown in the example),
- As a query string in the request body (e.g., ?idsite=892d04bd-6e2b-4914-bfb4-bac721b37235&url=http%3A%2F%2Fex.com%2F&rec=1),
- As a query string in the URL with an empty request body (similar to a GET request but sent using the POST method).
post/ppms.php
Request body
Example request
{
"requests": [
"?idsite=892d04bd-6e2b-4914-bfb4-bac721b37235&url=http%3A%2F%2Fexample.com%2F&action_name=pageview&rec=1",
"?idsite=892d04bd-6e2b-4914-bfb4-bac721b37235&url=http%3A%2F%2Fexample.com%2Fsub%2Fpage.html&action_name=pageview&rec=1"
]
}Response
Request accepted and waiting for processing