ecommStats Web Analytics

Home     Services     Forums

ecommStats Web Services API Documentation

visitors.getSessions

Returns a list of visitor sessions. This is the data that is very specific to each visitor on your site and will return visitors who are currently active on your site as well as the history of visitors. Once you have a visitor id, you can get the click paths by using the visitors.getClickPath method.

Request Parameters

fromDate (Optional) - Starting date in YYYY-MM-DD format. Will return items between startDate and endDate. Default uses the most recent click paths.

toDate (Optional) - Ending date in YYYY-MM-DD format. Default is current date.

numPerSet (Optional) - Number of items to return per set. Default is 50.

set (Optional) - The set to return, which is equivalent to starting the returned items at set * numPerSet. Starts at 0. Default is 0.

includeClickPaths (Optional) - true or false. If true the click path for each session will be returned. Default is false.

Method URL Sample

http://api.ecommstats.com/rest/?method=visitors.getSessions&username=myusername&password=mypassword&siteId=123