Skip to content

DigitalReactor-io/report-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigitalReactor.io/report

Latest production deployment Build Status

JSON-requests

Trend Report

The trend report provides information about changes visits during one month. The report contains:

  • visits during 30 days;
  • value of changed conversion during last week;
  • trend change reason.

URL for request : /trend/visits/date/{actualDate}

Request
For request you required to have two credentials - yandex access token and counter id. Theese credentials you must put in headers with content-type.

Access-token: (string)
Counter-id: (int)
Content-Type: application/json;charset=UTF-8

Response

{
  "visit" : -46,
  "percent" : 10.0,
  "action" : "DECREASING | INCREASING | UNALTERED | INSUFFICIENT_DATA",
  "metrics" : [ {
    "number" : 60,
    "date" : "2015-10-30",
    "dayType" : "WEEKDAY"
  }, {
    "number" : 26,
    "date" : "2015-10-31",
    "dayType" : "HOLIDAY"
  }, ... ],
  "reason" : "На посещаемость может влиять сезонность, отключение рекламного канала или снижение видимости  сайта в поисковой выдачи."
}

How to run

docker run -d -p 8090:8090 --name dr_reports direact/wcl:digitalreactor-report.services

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages