Area: Optimizely Product Recommendations
Applies to versions: 1.4 and higher (Server-to-Server API)
Other versions:

Home page tracking request

Recommended reading 

The home page is typically the first page seen by a user when they access your website or app. To track the user visiting the home page, send a home tracking request.

Note: Use the optional user parameter to supply the customer’s pseudonymised ID. Do this only once per session; you typically supply it on the next page load following a customer login.

Home page tracking request example.

  "type"        : "home",
  "ip"          : "",
  "session"     : "new",
  "cuid"        : "new"
  "site"        : "retailer",
  "clientToken" : "1234abcd5678",
  "channel"     : "web",
  "lang"        : "en-gb",
  "currentURI"  : "www.retailer.com/home",
  "previousURI" : "https://www.google.co.uk/?gws_rd=ssl#q=retailer",
  "userAgent"   : "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36",
  "user"        : { 
Do you find this information helpful? Please log in to provide feedback.

Last updated: Nov 06, 2017

Recommended reading