設定事件擷取

此時,您必須:

  • 建立了人工智慧模型,
  • 定義要捕獲的事件類型 — 顯示(印象)和/或按一下(轉換)聘用,
  • 以及要在哪個資料集中收集事件資料。

現在,每次顯示和/或按一下優惠時,您都希望相應的事件由 Experience Event - Proposition Interactions 欄位組 Adobe Experience PlatformWeb SDK或移動SDK。

要能夠在事件類型(顯示的要約或已按一下的要約)中發送,必須為發送到Adobe Experience Platform的體驗事件中的每個事件類型設定正確的值。 以下是在JavaScript代碼中實現的架構要求:

提供顯示的方案

事件類型: decisioning.propositionDisplay
來源: Web.sdk/Alloy.js(sendEvent command -> xdm : {eventType, interactionMixin})或批量攝取

 示例負載:
{
    "@id": "a7864a96-1eac-4934-ab44-54ad037b4f2b",
    "xdm:timestamp": "2020-09-26T15:52:25+00:00",
    "xdm:eventType": "decisioning.propositionDisplay",
    "https://ns.adobe.com/experience/decisioning/propositions":
    [
        {
            "xdm:items":
            [
                {
                    "xdm:id": "personalized-offer:f67bab756ed6ee4",
                },
                {
                    "xdm:id": "personalized-offer:f67bab756ed6ee5",
                }
            ],
            "xdm:id": "3cc33a7e-13ca-4b19-b25d-c816eff9a70a", //decision event id - taken from experience event for “nextBestOffer”
            "xdm:scope": "scope:12cfc3fa94281acb", //decision scope id - taken from experience event for “nextBestOffer”
        }
    ]
}

已按一下優惠方案

事件類型: decisioning.propositionInteract
來源: Web.sdk/Alloy.js(sendEvent command -> xdm : {eventType, interactionMixin})或批量攝取

 示例負載:
{
    "@id": "a7864a96-1eac-4934-ab44-54ad037b4f2b",
    "xdm:timestamp": "2020-09-26T15:52:25+00:00",
    "xdm:eventType": "decisioning.propositionInteract",
    "https://ns.adobe.com/experience/decisioning/propositions":
    [
        {
            "xdm:items":
            [
                {
                    "xdm:id": "personalized-offer:f67bab756ed6ee4"
                },
                {
                    "xdm:id": "personalized-offer:f67bab756ed6ee5"
                },
            ],
            "xdm:id": "3cc33a7e-13ca-4b19-b25d-c816eff9a70a", //decision event id
            "xdm:scope": "scope:12cfc3fa94281acb", //decision scope id
        }
    ]
}

本頁內容