sdk

Adds traffic data to the system

post/sdk/track/visit

Request body

idstring

A visit ID to send with subsequent requests to maintain the session. For first session pass id as null

locationstring

The landing page URL

refstring

Referral code of this visit

referrerstring

Referring URL

Response

{"stackTrail":"paths:/sdk/track/visit:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","example":{"id":"1231212","location":"https://mystore.com/landing.html?ref=abcxyz","referrer":null,"ref":"abcxyz"}}

Example response

{
  "id": "1231212",
  "location": "https://mystore.com/landing.html?ref=abcxyz",
  "referrer": null,
  "ref": "abcxyz"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.