集成HTTP报告API请求示例网站页面

How to request statistics on website pages

Web page requests allow obtaining statistics on website visits and exits in terms of individual web pages and sections.

Data on website pages

Sample tabular data request #

Requesting data on website visits in terms of the current web page address (including the website subsection) and a header:

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

Response:

{
    "data": {
        "date_from": 1549027860,
        "date_to": 1549632660,
        "order""webvisits",
        "items": [ {
            "referer_domain""www.site.com",
            "referrer_path""/en",
            "page_title""Welcome to www.site.com",
            "webvisits": 4205748
        }, {
            "referer_domain""www.site.com",
            "referrer_path""/en/login",
            "page_title""Login - www.site.com",
            "webvisits": 3215948
        }, {
            "referer_domain""www.site.com",
            "referrer_path""/en/contacts",
            "page_title""Contact us",
            "webvisits": 15697
        } ]
    }
}

注册并获得:

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

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

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