Streaming Catalog Updates Through Collect Tracking Code

To configure server-side streaming updates for items in your catalog, use the API key or catalog import option. Streaming updates replaces the standard file upload process.

Important
Important Streaming updates using client-side JavaScript isn’t supported.

To remove an item from the pool of recommendable items, use the API.

  • Requests to the server-side streaming updates service via HTTP aren’t accepted. Instead, use HTTPS in all requests to the streaming update service.
  • API keys sent as URI query parameters aren’t accepted. Instead, move the API key into the body of the request.

In this example, replace MID with the account ID of the business unit used for Collect Tracking Code.

{
  "api_key": "a1234567-cccc-1234-a123-12345a123456",
  "payload": {
    "item": "INSERT_ITEM",
    "unique_id": "INSERT_UNIQUE_ITEM_ID",
    "item_type": "INSERT_ITEM_TYPE",
    "name": "INSERT_ITEM_NAME_OR_TITLE",
    "url" : "INSERT_ITEM_URL",
    "INSERT_ATTRIBUTE_NAME": "INSERT_ATTRIBUTE_VALUE"
  }
}