v1
latestOpenAPI 3.0.02026-07-26173440.3 KBSend Event
Page View
Records that a user has viewed a page; this should also include data of the viewed category, search, and/or items.
post/events/page-view
Request body
Example request
{
"identification": {
"userIdentification": {
"email": "example@wunderkind.co",
"emailSha256": "b207c7ffcd083b51d3554a4190a083a0bc3df51d04c46906b517585f772c68f7",
"phone": "+18885551212",
"phoneSha256": "4b678bd4c8a72e7f740ce58900a1a07f7b13fab8627b0aabb31e39abbe429988",
"partnerId": "partner123"
},
"deviceIdentification": {
"ipAddress": "192.168.0.1",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
},
"profile": {
"firstName": "John",
"lastName": "Doe",
"address": "123 Main St",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US"
},
"location": {
"timezoneOffset": -5,
"latitude": 40.7128,
"longitude": -74.006
}
},
"url": "https://example.com/page",
"item": {
"itemId": "123456",
"sku": "SKU123",
"name": "Wunderkind Monopoly Board Game",
"category": "Board Games",
"brand": "Wunderkind",
"image": "https://example.com/image.jpg",
"available": true,
"price": {
"amount": 10,
"currency": "USD"
},
"attributes": {
"color": "red",
"size": "large"
}
},
"category": {
"name": "Board Games",
"itemIds": [
"123456",
"789012"
]
},
"search": {
"query": "cute cat pictures",
"itemIds": [
"123456",
"789012"
]
},
"extra": {
"color": "red",
"size": "large"
},
"agent": "partner:mparticle"
}Response
A successful response.