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
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.now.visitors
gs.now.fetch
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
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.now.visitors
gs.now.fetch
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder