https://api.poweredlocal.com/v1/visits/{id}

View a list of visits for specific login page

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formidstringPage IDno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Visit
404Visit not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/visits/{id}/stats/age

Visit statistics by age and gender

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formidstringPage IDno
formminimum_tsstringTimestamp of the period startno
formmaximum_tsstringTimestamp of the period endno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulN/A
404Visit not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/visits/{id}/stats/gender

Visit statistics by gender

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formidstringPage IDno
formminimum_tsstringTimestamp of the period startno
formmaximum_tsstringTimestamp of the period endno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulN/A
404Visit not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/visits/{id}/stats/returning

Visit statistics by returning/first-time visitors

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formidstringPage IDno
formminimum_tsstringTimestamp of the period startno
formmaximum_tsstringTimestamp of the period endno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulN/A
404Visit not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/visits/{id}/stats/type

Visit statistics by login type

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formidstringPage IDno
formminimum_tsstringTimestamp of the period startno
formmaximum_tsstringTimestamp of the period endno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulN/A
404Visit not foundN/A
500Authorization error or any other problemN/A

AppBundle.Entity.Visitor

Visitor who made this visit

Properties:
TypeDescriptionFormat
integerVisitors unique Idint32
stringFull name of the visitor
stringInternal ID (class) of the login implementation
stringUser's ID in the social network (underlying system)
stringBirth date of the visitor, if knowndate-time
stringVisitor's email address, if known
stringVisitor's phone number, if known
stringVisitor's home city, if known
booleanVisitor's gender, if known
stringLink to the social profile, if applicable
integerEstimated visitor social reach (friend count, followers, etc)int32
stringTimestamp when the visitor was createddate-time
stringTimestamp when the visitor was last modifieddate-time

AppBundle.Entity.Visit

Properties:
TypeDescriptionFormat
stringMAC address from which the visit was made
stringID of the wi-fi access point
integerClient device type (eg. desktop)int32
stringLogin button type used (eg. Email, FacebookCheckIn, etc)
stringAccess point session ID
string
integerintegerint32
stringId of the page where this visit occurred
integerUnique visit Idint32
booleanFirst visit of this visitor at this page
stringAccess point session ID
stringTimestamp when the visit was createddate-time