Visits

Returns visits from the past 24 hours.

Example urls

visits?site_id=12345&sitekey=abcde&uid=987654321&selection=Most%20interesting

Parameters

selection

Filter visits according to a specified selection in Triggerbee.

take
Set the maximum numbers of visits to be returned. Default is 10, max is 50.

skip
Sets the number of visits to be skipped. Default is 0. Is often used in combination with take to create pagination.

Return format

A json object is returned containing a list of visits.

 

[  
   {  
      "name":"Art Vandelay",
      "email":"art@vandelay.com",
      "organization":"Vanderlay Industries",
      "time":1459598509,
      "visitedpages":null,
      "goals":"Widget Optin Newsletter",
      "campaign":null,
      "actions":2,
      "commitment":7,
      "profilings":{  
         "Conference":60,
         "Team Building":20,
	 "Other": 20
      },
      "country_code":"SE",
      "geolocation":"Sollentuna, Sweden"
   },
   {  
      "name":null,
      "email":null,
      "organization":"Soylent Corp.",
      "time":1459685285,
      "visitedpages":null,
      "goals":null,
      "campaign":null,
      "actions":25,
      "commitment":7,
      "profilings":{  
         "Other":30
      },
      "country_code":"SE",
      "geolocation":"Sollentuna, Sweden"
   }
]