Recommendation Impression

Event

experience_impression

The experience_impression event is generated when a recommendation experience is displayed. The payload contains the list of recommended product IDs along with the recommendation widget and page context.

Event Payload

{
  "experience_pagetype": "PRODUCT",
  "experience_widget": "WIDGET2",
  "pids_list": [
    "04fd2bf8-ff6f-4291-a3ac-2f9eb96074e2",
    "51e5490c-e6a3-4f4a-9a69-d250ea5e2de1",
    "696149ae-8208-4a0b-8e34-844a595f594e",
    "42a94234-7bca-42d4-aacd-8c8b2987fe0a"
  ],
  "url": "https://demo.unbxd.com/en-gb/books/j-k-rowling/harry-potter-and-the-prisoner-of-azkaban/9781408855676",
  "referrer": "",
  "requestId": "0643220e-c900-4825-9f2d-f740025b2b0d",
  "visit_type": "repeat",
  "ver": "4.0.28",
  "_uf": 1187461382,
  "visitId": "visitId-1662365242526-82299"
}

Sample API

https://tracker.unbxdapi.com/v2/1p.jpg?data={
  "experience_pagetype":"PRODUCT",
  "experience_widget":"WIDGET2",
  "pids_list":[
    "04fd2bf8-ff6f-4291-a3ac-2f9eb96074e2",
    "51e5490c-e6a3-4f4a-9a69-d250ea5e2de1",
    "696149ae-8208-4a0b-8e34-844a595f594e",
    "42a94234-7bca-42d4-aacd-8c8b2987fe0a"
  ],
  "url":"https://demo.unbxd.com/en-gb/books/j-k-rowling/harry-potter-and-the-prisoner-of-azkaban/9781408855676",
  "referrer":"",
  "requestId":"0643220e-c900-4825-9f2d-f740025b2b0d",
  "visit_type":"repeat",
  "ver":"4.0.28",
  "_uf":1187461382,
  "visitId":"visitId-1662365242526-82299"
}&UnbxdKey=<UnbxdKey>&action=experience_impression&uid=<uid>&t=<timestamp>

Recommendation Click

Event

click

The click event is generated when a shopper clicks a product from a recommendation experience. The payload identifies the clicked product through pid and its position through pr.

Event Payload

{
  "pid": "17befa67-0c2e-470a-81e9-b20cae28b17e",
  "pr": "2",
  "experience_pagetype": "PRODUCT",
  "experience_widget": "WIDGET1",
  "url": "https://demo.unbxd.com/en-gb/books/j-k-rowling/harry-potter-and-the-prisoner-of-azkaban/9781408855676",
  "referrer": "",
  "visit_type": "repeat",
  "ver": "4.0.28",
  "_uf": 1187461382,
  "visitId": "visitId-1662365242526-82299"
}

Sample API

https://tracker.unbxdapi.com/v2/1p.jpg?data={
  "pid":"17befa67-0c2e-470a-81e9-b20cae28b17e",
  "pr":"2",
  "experience_pagetype":"PRODUCT",
  "experience_widget":"WIDGET1",
  "url":"https://demo.unbxd.com/en-gb/books/j-k-rowling/harry-potter-and-the-prisoner-of-azkaban/9781408855676",
  "referrer":"",
  "visit_type":"repeat",
  "ver":"4.0.28",
  "_uf":1187461382,
  "visitId":"visitId-1662365242526-82299"
}&UnbxdKey=<UnbxdKey>&action=click&uid=<uid>&t=<timestamp>

Event Parameters

Both events use the following common tracking parameters:

ParameterDescription
dataJSON payload containing event-specific and contextual information.
UnbxdKeyUnbxd site key.
actionName of the analytics event.
uidUnique identifier associated with the shopper.
tEvent timestamp.
miscAdditional tracking information, where applicable.

Notes

  • experience_impression uses pids_list to capture the products displayed in the recommendation experience.
  • click uses pid to identify the product clicked and pr to identify its position.
  • Both events contain experience_widget and experience_pagetype to provide recommendation placement and page context.
  • _uf, ver, url, and referrer can be empty strings for mobile applications.

Did this page help you?