IntegrationsHTTP Report APISample requestsEvents

How to request event statistics

Requests concerning events allow obtaining statistics on user actions that you track on the website.

Data on tracked events

Sample tabular data request #

Requesting the number of visits and events in terms of event types:

GET https:///content.mql5.com/v1/reports/website/dxnnhxrwpcwsgwowveipxmslrznjfhzarp/table
 ?metrics=webvisits,events
 &date_from=1549027860
 &date_to=1549632660
 &groups=tracking_event
 &order=webvisits

Response:

{
    "data": {
        "date_from": 1549027860,
        "date_to": 1549632660,
        "order""webvisits",
        "items": [ {
            "tracking_event""Registration Form",
            "webvisits": 1640,
            "events": 6138
        }, {
            "tracking_event""Registration Link",
            "webvisits": 1015,
            "events": 17243
        }, {
            "tracking_event""Download Android",
            "webvisits": 846,
            "events": 32516
        } ]
    }
}

Sign up and get:

By registering you agree to the Service Agreement terms
Congratulations! Your account has been created
  • Visit
    finteza.com
  • Create
    account
  • Confirm
    email
  • Install
    code

We have sent an email to {email}. Please find it and activate your account.

After that you simply need to log in and install the tracking code to your site. It is easy: