Events Accepted by the Back End
Learn about the events accepted by the Edge Service that is the entry point for all events.
For more information, see Edge Service.
AddedToCart
The event is sent when a consumer adds a product to the shopping cart for the first time.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"idgoal": "0",
"revenue": "0",
"ec_items": "[[\"300938\",\"\",\"\",0,\"1\"]]",
"idsite": "electronics",
"rec": "1",
"r": "519922",
"h": "11",
"m": "51",
"s": "54",
"url": "https://www.example.com/electronics/en/Open-Catalogue/Cameras/Digital-Cameras/c/575",
"urlref": "https://www.example.com/electronics/en/",
"_id": "99337640fcac28e1",
"_idts": "1561715507",
"_idvc": "1",
"_idn": "0",
"_refts": "0",
"_viewts": "1561715507",
"send_image": "0",
"pdf": "1",
"qt": "0",
"realp": "0",
"wma": "0",
"dir": "0",
"fla": "0",
"java": "0",
"gears": "0",
"ag": "0",
"cookie": "1",
"res": "2560x1440",
"cvar": "{\"1\":[\"ec_id\",\"00003006\"],\"3\":[\"_pks\",\"300938\"],\"4\":[\"_pkn\",\"\"],\"5\":[\"_pkc\",\"\"]}",
"gt_ms": "1047",
"date": 1561715514811,
"action_name": "AddToCartEvent",
"_profile_custom": {
"schema": "context/commerce/AddedToCart",
"productQty": "1",
"productSku": "300938",
"productName": "Photosmart E317 Digital Camera",
"productCategory": "575",
"productPrice": "108.69",
"cartId": "00003006",
"categories": [
"576",
"brand_1"
],
"productCategoryName": "DIGITAL CAMERAS",
"segments": [],
"funnelLevel": "5"
}
}
|
|
carouselClicked
The event is sent when a website visitor clicks an element in a merchandising carousel.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"carouselId": "ef569fca-aea7-4d5b-ad5c-69830b84d199",
"strategyId": "aacff966-6bca-4f8b-8c6f-a06f13f0b6e2",
"mixCardId": "f65abd6c-b76c-4f38-afae-8ca0cff7a356",
"carouselName": "Product Detail Carousel",
"productSku": "ABC12345",
"productImageUrl": "/medias/?context=bWFzdGVyfGltYWdlc3w3MDg1fGltYWdlL2pwZWd8aW1hZ2VzL2g0Ny9oYjcvODc5NjkxNzk4OTQwNi5qcGd8YTlhZTc4ZTY2YTRlZTI2OGNhNGRiNWMzZGQ1N2FlZmU3ZGU5ZTUxY2FmZTRhMzQ3MjI5MmMyMmVmMTMxYmExNg",
"testVariantId": "30b3f2b4-ee80-4260-b3e5-ed6a0604d071.2"
}
|
|
carouselViewed
The event is sent if a merchandising carousel is at least 80% visible in the browser's viewport.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"carouselId": "merchcarouselComponentcmsitem_00002004",
"strategyId": "e3407027-c976-4140-9ee8-b244630f4cb4",
"mixCardId": "63c1d058-6acc-452b-a40d-308713f87a4c",
"carouselName": "ab test carousel",
"productSkus": [
"300414022",
"300398348",
"300413759",
"300398350",
"300413994",
"300447989"
],
"productImageUrls": [
"/medias/?context=bWFzdGVyfGltYWdlc3w3MDg1fGltYWdlL2pwZWd8aW1hZ2VzL2g0Ny9oYjcvODc5NjkxNzk4OTQwNi5qcGd8YTlhZTc4ZTY2YTRlZTI2OGNhNGRiNWMzZGQ1N2FlZmU3ZGU5ZTUxY2FmZTRhMzQ3MjI5MmMyMmVmMTMxYmExNg",
"/medias/?context=bWFzdGVyfGltYWdlc3wxMjA3OHxpbWFnZS9qcGVnfGltYWdlcy9oYTUvaGM4Lzg3OTY5MjEyMDA2NzAuanBnfDViYWY4OGU5YzE2MjMwN2I2Y2YzNjJmZDE4NGQ3M2VhMjRkYjdiNzVmN2E3YmIzMTFmMTFkYzZiOGJiMjEwNzY",
"/medias/?context=bWFzdGVyfGltYWdlc3wxMjA0MHxpbWFnZS9qcGVnfGltYWdlcy9oMGIvaGNlLzg3OTY5MjUxOTgzNjYuanBnfDJlYjQxMTg5ZGJiNDcwMTk2ZGVlOGY3OTJmZmUwNGRhMTk3ZmEzN2Y3OWM3MjkyMTYyOGZkMzdhNzY1MWUxNDk",
"/medias/?context=bWFzdGVyfGltYWdlc3wxMTMzMXxpbWFnZS9qcGVnfGltYWdlcy9oY2YvaDFhLzg3OTY5Mjg2NzE3NzQuanBnfDQ2MjQyMjAwODRjNTkwMGU1MzQ4ZTk3MWUxY2U2OWIwM2VkZjZkYzdjZDk5YTM3YWExZDE1M2Y5OWVkMGNmYWY"
]
"testVariantId": "30b3f2b4-ee80-4260-b3e5-ed6a0604d071.2"
}
|
|
CartSnapshot
The event is sent whan a snapshot of the current state of the cart is captured.
|
Sample Event Payload |
Event Purpose |
|---|---|
{"productSkus":["MZ-FG-C950-C"],
"cartId":"00000018"}
|
|
CategoryView
The event is sent when a consumer browses a particular product category during the current session.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"action_name": "CategoryPageViewEvent",
"idsite": "electronics",
"rec": "1",
"r": "902012",
"h": "16",
"m": "16",
"s": "7",
"url": "https://www.example.com/electronics/en/Open-Catalogue/Cameras/Digital-Cameras/Digital-Compacts/c/576",
"urlref": "https://www.example.com/?site=electronics&profileTagDebug=true",
"_id": "760e051f5535c5b9",
"_idts": "1561731367",
"_idvc": "1",
"_idn": "0",
"_refts": "0",
"_viewts": "1561731367",
"send_image": "0",
"pdf": "1",
"qt": "0",
"realp": "0",
"wma": "0",
"dir": "0",
"fla": "0",
"java": "0",
"gears": "0",
"ag": "0",
"cookie": "1",
"res": "2560x1440",
"cvar": "{\"5\":[\"_pkc\",\"576\"]}",
"gt_ms": "619",
"date": 1561731367747,
"_profile_custom": {
"schema": "context/commerce/CategoryView",
"funnelLevel": "2",
"productCategoryPath": "HOME OPEN CATALOGUE CAMERAS DIGITAL CAMERAS DIGITAL COMPACTS",
"productCategory": "576",
"productCategoryName": "DIGITAL COMPACTS",
"segments": []
}
}
|
KeywordSearch
The KeywordSearch event is sent when a user conducts a keyword search on the site.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"search": "bananas",
"search_cat": "Search",
"search_count": "0",
"idsite": "apparel-uk",
"rec": "1",
"r": "203417",
"h": "10",
"m": "27",
"s": "51",
"url": "https://hybris1808.saas.seewhy.com/yacceleratorstorefront/en/search/?text=bananas",
"urlref": "https://hybris1808.saas.seewhy.com/yacceleratorstorefront/?site=apparel-uk&profileTagDebug=true",
"_id": "4ab9cc14ac3dd415",
"_idts": "1571347158",
"_idvc": "2",
"_idn": "0",
"_refts": "0",
"_viewts": "1572625553",
"send_image": "0",
"pdf": "1",
"qt": "0",
"realp": "0",
"wma": "0",
"dir": "0",
"fla": "0",
"java": "0",
"gears": "0",
"ag": "0",
"cookie": "1",
"res": "1920x1200",
"gt_ms": "14084",
"date": 1572625671967,
"action_name": "PageViewEvent",
"_profile_custom": {
"schema": "context/commerce/KeywordSearch",
"searchTerm": "bananas",
"numResults": "0",
"productCategory": "Search",
"funnelLevel": "4",
"segments": []
}
}
|
ModifiedCart
The event is sent when the quantity of products in the cart changes.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"idgoal":"0",
"revenue":"0",
"ec_items":"[[\"1981415\",\"\",\"\",0,\"2\"]]",
"idsite":"electronics",
"rec":"1",
"r":"634003",
"h":"12",
"m":"22",
"s":"20",
"url":"https://www.example.com/electronics/en/cart",
"urlref":"https://www.example.com/electronics/en/cart",
"_id":"342306bec708268c",
"_idts":"1561380562",
"_idvc":"12",
"_idn":"0",
"_refts":"0",
"_viewts":"1563272437",
"send_image":"0",
"pdf":"1",
"qt":"0",
"realp":"0",
"wma":"0",
"dir":"0",
"fla":"0",
"java":"0",
"gears":"0",
"ag":"0",
"cookie":"1",
"res":"2560x1440",
"cvar":"{\"1\":[\"ec_id\",\"00008659\"],\"3\":[\"_pks\",\"1981415\"],\"4\":[\"_pkn\",\"\"],\"5\":[\"_pkc\",\"\"]}",
"gt_ms":"341",
"date":1563272540196,
"action_name":"AddToCartEvent",
"_profile_custom":{
"schema":"context/commerce/ModifiedCart",
"productSku":"1981415",
"productCategory":"Cart-view",
"cartId":"00008659",
"initialQuantity":"3",
"productQty":"2",
"segments":[]
}
}
|
|
OrderCreated
The event is sent when a consumer places a new order.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"type":"order",
"channelRef":"webshop1",
"date":"2015-11-25T10:08:21+00:00",
"consumer":{
"ref": "someone@mail.com",
"type": "email"
},
"body":{
"lineItems":[
{
"ref":"ABCDEF1",
"type":"Product",
"pos":1,
"quantity":5,
"unit":"kg",
"price_list":"17.00",
"price_effective":"15.00",
"currency":"EUR",
"taxAmount":"17%",
"status":"cancellation requested"
},
{
"ref": "ABCDEF2",
"type": "Product",
"pos": 2,
"quantity": 1,
"unit": "piece",
"price_list": "99.00",
"price_effective": "99.00",
"currency": "EUR",
"taxAmount": "17%",
"status": "pre-order"
}
],
"promotionInfo":{
"ref":"xmas2015abc",
"type":"absolute reduction"
},
"paymentInfo":{
"paymentType":"ExampleCard",
"status":"requested"
},
"status":"new",
"date":"2015-11-25T10:08:21+00:00",
"orderId":"12a",
"shipmentInfo":{
"address":{
"firstName": "SomeFirstName",
"lastName": "SomeLastName",
"addition": "hybris",
"street": "Some Street",
"number": "1",
"zip": "80636",
"city": "Munich",
"country": "Germany"
},
"carrier":"UPS",
"trackingRef":"abc123XYZ",
"status":"not delivered"
},
"orderValue":"114.00",
"currency":"EUR"
}
}
|
|
ProductView
The ProductView event is sent when a consumer views a product.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"action_name": "ProductDetailPageViewEvent",
"idsite": "electronics",
"rec": "1",
"r": "280921",
"h": "17",
"m": "12",
"s": "26",
"url": "https://www.example.com/electronics/en/Open-Catalogue/Cameras/Webcams/Micro-Webcam/p/1377492",
"urlref": "https://www.example.com/electronics/en/Open-Catalogue/Cameras/Webcams/c/577",
"_id": "1dd4facad0aa4db2",
"_idts": "1561734436",
"_idvc": "1",
"_idn": "0",
"_refts": "0",
"_viewts": "1561734436",
"send_image": "0",
"pdf": "1",
"qt": "0",
"realp": "0",
"wma": "0",
"dir": "0",
"fla": "0",
"java": "0",
"gears": "0",
"ag": "0",
"cookie": "1",
"res": "2560x1440",
"cvar": "{\"2\":[\"_pkp\",\"71.92\"],\"3\":[\"_pks\",\"1377492\"],\"4\":[\"_pkn\",\"MICRO WEBCAM\"],\"5\":[\"_pkc\",\"577\"]}",
"gt_ms": "812",
"date": 1561734746395,
"_profile_custom": {
"schema": "context/commerce/ProductView",
"productCategory": "577",
"productSku": "1377492",
"productName": "MICRO WEBCAM",
"productPrice": "71.92",
"productCategoryName": "WEBCAMS",
"segments": [],
"funnelLevel": "3"
}
}
|
|
RemovedFromCart
The event is sent when a consumer completely removes a product from the cart.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"action_name":"RemoveFromCartEvent",
"idsite":"1",
"rec":"0",
"r":"0",
"h":"0",
"m":"0",
"s":"0",
"url":"https://www.example.com/electronics/en/cart",
"_id":"d5e533f57dada8d1",
"_idts":"1465822336",
"_idvc":"0",
"_idn":"0",
"_refts":"0",
"_viewts":"1465822336",
"send_image":"0",
"pdf":"0",
"qt":"0",
"realp":"0",
"wma":"0",
"dir":"0",
"fla":"0",
"java":"0",
"gears":"0",
"ag":"0",
"cookie":"0",
"res":"1920x1200",
"data":null,
"cvar":"{\"1\":[\"ec_id\",\"TEST-00008000-local\"],\"2\":[\"_pkp\",\"0\"],\"3\":[\"_pks\",\"898503\"],\"4\":[\"_pkn\",\"\"],\"5\":[\"_pkc\",\"\"]}",
"gt_ms":"0",
"date":"1465822348693",
"piwik_id":"d5e533f57dada8d1",
"search":null,
"search_cat":null,
"search_count":null,
"ec_id":null,
"ec_st":null,
"ec_tx":null,
"ec_dt":null,
"ec_items":"[[\"898503\",\"\",[],\"undefined\",\"0\"]]",
"userId":"",
"brand":null,
"categories":null,
"price":null,
"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36",
"accept":"*/*",
"referer":"https://www.example.com/electronics/en/cart"
}
|
|
UserLoggedIn
The event is sent when a consumer signs in to the storefront using the created credentials.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"action":"UserLoggedIn",
"source":{
"date":"2019-08-08T20:08:22.891Z",
"channelRef":"electronics",
"sessionId":"ec6b9c30-1002-3a48-8e7f-bc44d4cf9863",
"type":"login",
"body":{
"date":"2019-08-08T20:08:22.217Z",
"identity":{
"ref":"robert.wayne@example.com",
"type":"email"
},
"identities":[
{
"ref":"robert.wayne@example.com",
"type":"UID"
},
{
"ref":"44607ead-a195-48aa-8eca-be28e1379676",
"type":"CustomerId"
},
{
"ref":"robert.wayne@example.com",
"type":"email"
}
],
"type":"User account",
"masterData":{
"addresses":[
]
},
"personalDetails":{
"firstName":"Robert",
"lastName":"Wayne",
"title":"mr"
}
}
}
}
|
Profile merging |
UserRegistered
The event is sent when a new consumer registers for the storefront and provides personal data.
|
Sample Event Payload |
Event Purpose |
|---|---|
{
"channelRef": "electronics",
"date": "2016-04-19T17:27:01.479+02:00",
"type": "account registration",
"sessionId": "s1961320563312",
"body": {
"date": "2016-04-19T17:27:01.479+02:00",
"identity": {
"ref": "robert.wayne@example.com",
"type": "email"
},
"masterData": {
"address": {
"firstName": "Robert",
"lastName": "Wayne",
"addition": "Example Company",
"street": "Mountain Drive",
"number": "1007",
"zip": "73501",
"city": "Gotham",
"country": "US"
}
}
}
}
|
Profile merging |