HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Home page

Describes how to configure a tracking request on the Home page.

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"          : "10.42.37.139",
      "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"        : { 
                        "id":"abcd1234efgh"
                      }
    }