配置数据收集

为了能够获取有关决策事件以外的事件类型的反馈,您必须为中的每种事件类型设置正确的值 体验事件 发送至Adobe Experience Platform的内容。

注意

对于每种事件类型,请确保数据集中使用的架构具有 体验事件 — 建议交互 与其关联的字段组。 了解详情

以下是您需要实施到JavaScript代码中的架构要求。

注意

无需发送决策事件,因为决策管理会自动生成这些事件并将其放入 ODE DecisionEvents 数据集 是自动生成的。

跟踪展示

确保事件类型和源如下所示:

体验事件类型: 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
        }
    ]
}

跟踪自定义事件

对于自定义事件,数据集中使用的架构还必须具有 体验事件 — 建议交互 字段组相关联,但对必须用于标记这些事件的体验事件类型没有特定要求。

注意

要将您的自定义事件计入 频率封顶,您需要将体验事件发送到以下两个Edge数据收集端点之一,以将其连接到Adobe Experience Platform端点:

  • POST/ee/v2/interact
  • POST/ee/v2/collect

如果您使用 Adobe Experience Platform Web SDK or Adobe Experience Platform Mobile SDK,则会自动建立连接。

在此页面上