Visitors
Retrieve online visitors
GETnow/visitors
Retrieves a list of online visitors with information relevant to them and the pages that they are visiting.
Query String Parameters
limit | StringDefault Value: The maximum number of results e.g. |
visitorsMode | StringDefault Value: Accepted values: The type of visitors to retrieve |
from | String The start date-time for the query |
to | String The end date-time for the query |
dateFormat | String The format that any date parameters will be returned in. This takes any value permitted by Moment. |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.now.v3.visitors(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder
Retrieve a visitor
GETnow/visitors/{visitorID}
Retrieves information for a specific visitor
Path Parameters
visitorID | StringRequired The ID of the visitor |
Query String Parameters
limit | StringDefault Value: The maximum number of results e.g. |
visitorsMode | StringDefault Value: Accepted values: The type of visitors to retrieve |
presenter | StringDefault Value: Accepted values: Modifies the response data structure |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.now.v3.visitors.{visitorID}(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder