vince v.11.3 has been released.

Current visitors

Table of Contents

GET /api/v1/stats/realtime/visitors

This endpoint returns the number of current visitors on your site. A current visitor is defined as a visitor who triggered a pageview on your site in the last 5 minutes.

❯  curl "http://localhost:8080/api/v1/stats/realtime/visitors?site_id=$SITE_ID" \
  -H "Authorization: Bearer ${TOKEN}"

119

Parameters


site_id Required

Domain of your site on Vince.


Tags :