集成HTTP报告API请求示例事件

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
        } ]
    }
}

 
 

注册并获得:

注册即表示您同意服务协议条款
恭喜您!您的账户已创建成功
  • 访问
    finteza.com
  • 创建
    账户
  • 确认
    电子邮件
  • 安装
    代码

我们已将电子邮件发送至{email}。请查收邮件并激活您的账户。

然后,您只需登录账户并在网站上安装跟踪代码。非常简单: