JSON tracking requests
Shows the structure common to JSON tracking requests in Optimizely Recommendations and the additional elements needed for each request type, with examples.
Elements are mandatory unless they are labeled as optional, and the data type for each value is assumed to be string unless otherwise noted.
Note
All numbers are 64-bit integers, like Java longs.
Indentation and extra whitespace in the JSON response examples are added for readability of the JSON data; spaces are not required in the actual JSON responses.
For information about adding customAttributes
and customer
elements to a page tracking request, see Add customAttributes
or customer
elements (optional).
Updated 8 months ago
Next