在本练习中,您将使用Postman和Adobe I/O查询Adobe Experience Platform的API,以查看您自己的实时客户资料。
在“实时客户资料”中,所有资料数据都与事件数据以及现有区段成员资格一起显示。 显示的数据可以从任何位置、Adobe应用程序和外部解决方案获取。 这是Adobe Experience Platform最有力的观点,是记录体验系统。
实时Adobe资料可供所有客户应用程序使用,也可供呼叫中心或商店内客户服务应用程序等外部解决方案使用。 实现此目的的方法是将这些外部解决方案连接到Adobe Experience Platform API。
在网站的X光面板上,您可以找到多个身份。 每个身份都链接到一个命名空间。
在X光面板上,我们可以看到4种不同的ID和命名空间组合:
身份 | 命名空间 |
---|---|
Experience Cloud ID (ECID) | 70064353701262275980354366981653865618 |
电子邮件ID | woutervangeluwe+28052020-10@gmail.com |
手机号码ID | +32473622044+28052020-10 |
请记住这些标识符以用于下一步。
有了这些ID,去邮递员。
在本练习中,您将会非常密集地使用Adobe I/O来查询Platform的API。 请按照以下步骤设置Adobe I/O。
转到https://console.adobe.io/projects
确保在屏幕的右上角选择正确的Adobe Experience Platform实例。
单击创建新项目。
成或
选择+添加到项目,然后选择API。
然后您将看到:
单击Adobe Experience Platform图标。
单击Experience PlatformAPI。
单击下一步。
现在,您可以选择让Adobe I/O生成您的安全密钥对,或上传现有密钥对。
选择选项1 — 生成键对。
单击生成键对。
你会看到旋转器30秒。
然后,您将看到此内容,并且生成的密钥对将下载为zip文件:config.zip。
在桌面上解压缩文件config.zip,您将看到它包含2个文件:
确保将config.zip文件保存在安全位置,因为您在后续步骤中以及将来访问Adobe I/O和Adobe Experience Platform API时将需要此文件。
单击下一步。
现在,您必须为集成选择产品配置文件。
选择所需的产品配置文件。
FYI:在您的Adobe Experience Platform实例中,产品配置文件将具有不同的名称。您需要至少选择一个具有适当访问权限的产品配置文件,这些权限在Adobe Admin Console中设置。
单击保存配置的API。
你会看到旋转器几秒钟。
接下来,您将看到集成。
单击Download for Postman按钮,然后单击服务帐户(JWT)下载Postman环境(等待下载环境,这可能需要几秒钟)。
向下滚动直到您看到服务帐户(JWT),您可以在此处找到用于配置与Adobe Experience Platform集成的所有集成详细信息。
您的IO项目当前具有通用名称。 您需要为集成提供一个易记名称。 单击项目1(或类似名称),如所示
单击编辑项目。
输入集成的名称和描述。 作为命名约定,我们将使用AEP API ldap。 将ldap替换为ldap。
例如,如果ldap为vangeluw,则集成的名称和描述将变为Platform API vangeluw。
输入AEP API ldap作为项目标题。 单击保存。
您的Adobe I/O集成现已完成。
转到https://www.getpostman.com/。
单击开始。
接下来,下载并安装Postman。
安装Postman后,启动应用程序。
在Postman中,有2个概念:环境和收藏集。
“环境”包含所有或多或少一致的环境变量。 在环境中,您会找到诸如我们平台环境的IMSOrg之类的内容,以及诸如您的私钥和其他内容之类的安全凭据。 在上一个练习中的Adobe I/O设置过程中下载的环境文件,其名称如下所示:service.postman_environment.json。
该集合包含许多可供使用的API请求。 我们将使用2个集合
请从模块3先决条件中将postman.zip下载到本地桌面。
在此postman.zip文件中,您将找到以下文件:
解压缩postman.zip文件,并将这2个文件连同从Adobe I/O下载的Postman环境一起存储在桌面上的文件夹中。您需要在该文件夹中包含以下3个文件:
返回到Postman UI。
在Postman中,单击Import。
单击选择文件。
导航到桌面上的文件夹,您已在其中解压缩3个下载的文件。 同时选择这3个文件,然后单击打开。
单击Open后,Postman将向您显示要导入的环境和收藏集的概述。 单击导入。
现在,您在Postman中可以获得开始通过API与Adobe Experience Platform交互所需的一切功能。
首先要确保你的身份正确。 要进行身份验证,您需要请求访问令牌。
在执行任何请求之前,请确保已选择正确的环境。 您可以通过验证右上角的环境下拉列表来检查当前选定的环境。
所选环境的名称应与以下名称类似:
单击gear图标以更新环境文件中的私钥。
单击列表中的环境:
然后你会看到这个。 除字段PRIVATE_KEY外,所有字段都已预填充。
在创建Adobe I/O项目时,已生成私钥。 该文件以zip文件的形式下载,名为config.zip。 将该zip文件解压缩到桌面。
打开文件夹config ,然后使用您选择的文本编辑器打开文件private.key。
然后,您将看到类似于此的内容,将所有文本复制到剪贴板。
返回到Postman ,并将私钥粘贴到变量PRIVATE_KEY旁边的字段中。 最后,单击Update。
您的Postman环境和收藏集现已配置并可正常使用。 您现在可以从Postman验证到Adobe I/O。
要实现此目的,您需要加载一个外部库,该库将负责通信的加密和解密。 要加载此库,必须执行名为INIT的请求:加载RS256的加密库。 在_Adobe I/O - Token集合中选择此请求,您将看到它显示在屏幕中间。
单击蓝色的Send按钮。 几秒钟后,您应会看到Postman的Body部分中显示的响应:
现在加载加密库后,我们可以对Adobe I/O进行身份验证。
在_Adobe I/O — 令牌集合中,选择名为IMS的请求:JWT生成+ Auth。 再次重申,您将看到请求详细信息显示在屏幕中间。
单击蓝色的Send按钮。 几秒钟后,您应会看到Postman的Body部分中显示的响应:
如果配置成功,您应会看到包含以下信息的类似响应:
键 | 值 |
---|---|
token_type | 载体 |
access_token | eyJ4NXUiOiJpbXNfbmEx…QT7mqZkumN1tdsPEioOEl4087Dg |
expires_in | 86399973 |
Adobe I/O为您提供了一个载体-token,具有特定值(这个非常长的access_token)和过期时间窗口。
我们收到的令牌现在有效24小时。 这意味着在24小时后,如果您要使用Postman进行Adobe I/O身份验证,则必须再次运行此请求以生成新令牌。
现在,您可以继续将您的第一个请求发送到Platform的实时客户资料API。
在Postman中,找到集合_Adobe Experience Platform Enablement。
在1中。 统一配置文件服务,选择名为UPS — 按实体ID和NS的GET配置文件的第一个请求。
对于此请求,有三个必需变量:
键 | 值 | 定义 |
---|---|---|
entityId | id | 特定客户ID |
entityIdNS | namespace | 适用于ID的特定命名空间 |
schema.name | _xdm.context.profile | 要接收信息的特定架构 |
因此,如果您想要请求Adobe Experience Platform的API为您自己的ECID返回所有配置文件信息,则需要按如下方式配置请求:
键 | 值 |
---|---|
entityId | yourECID |
entityIdNS | ecid |
schema.name | _xdm.context.profile |
您还应验证请求的Header — 字段。 转到Headers。 然后您将看到:
键 | 值 |
---|---|
x-sandbox-name | --aepSandboxId-- |
您需要指定所使用的Adobe Experience Platform沙盒的名称。 您的x-sandbox-name应为--aepSandboxId--
。
单击Send以将请求发送到Platform。
您应会从Platform立即收到响应,并显示如下内容:
以下是Platform的完整响应:
{
"A29wOm-_HrdXL5njtUYzEOY7": {
"entityId": "A29wOm-_HrdXL5njtUYzEOY7",
"mergePolicy": {
"id": "e9804b8f-a222-4b4f-9886-10437023eea6"
},
"sources": [
"5fd1a9de42a61c194dd7b810",
"profile-streaming-segment",
"5fd1a9de241f58194b0cb117",
""
],
"tags": [
"710bd243-8559-4e5d-9345-ab85939ee234",
"",
"1607667023680:6739:84",
"1607667488804:2012:187"
],
"identityGraph": [
"A29wOm-_HrdXL5njtUYzEOY7",
"A2_bse0jTMN5DqeAHLrpovti",
"CkF9rzLXMeI7bLh0LCef-IthzOCv71dY8wseCYosB3C73EMKhA",
"BUF9zMKLrXq72p4HpbsHv1SCJHOaLTE1QGdtYWlsLmNvbQ",
"BkFuK4QcJpSPByuCJHOaLTE1"
],
"entity": {
"_experienceplatform": {
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017",
"phoneNumber": "+32473622044+10122020-15",
"email": "woutervangeluwe+10122020-15@gmail.com",
"emailIdSha256": "32d731e23b6cb8742c279ff88b61cce0ef5758f30b1e098a2c0770bbdc430a84"
}
},
"individualCharacteristics": {
"retail": {
"shirtSize": "L",
"favoriteColor": "black",
"shoeSize": "43"
},
"grocery": {
"allergies": {
"soy": false,
"dairy": false,
"gluten": false,
"nuts": false,
"shellfish": false
}
}
},
"loyaltyDetails": {
"level": "Bronze",
"points": 0.0
},
"demoEnvironment": {
"brandName": "Luma",
"ldap": "vangeluw",
"tms": "Launch"
},
"individualScoring": {
"churn": {
"churnPrediction": 0.15
}
}
},
"personalEmail": {
"address": "woutervangeluwe+10122020-15@gmail.com"
},
"_id": "5859709492881.192",
"homeAddress": {
"postalCode": "1831",
"city": "Diegem",
"country": "Belgium",
"street1": "Culliganlaan 2a"
},
"mobilePhone": {
"number": "+32473622044+10122020-15"
},
"optInOut": {
"_channels": {
"directMail": "out",
"sms": "in",
"email": "in",
"phone": "in"
}
},
"segmentMembership": {
"ups": {
"207d9c3f-6513-474c-a300-5fbb2eb11f0b": {
"lastQualificationTime": "2020-12-10T23:29:21Z",
"status": "realized"
},
"97b66496-25fc-434b-92d4-df2155cddcaf": {
"lastQualificationTime": "2020-12-11T06:18:10Z",
"status": "existing"
},
"3a4ec8f1-5612-47b5-b58a-0b15a91cc7e6": {
"lastQualificationTime": "2020-12-11T06:06:20Z",
"status": "existing"
}
}
},
"person": {
"name": {
"lastName": "Van Geluwe",
"firstName": "Wouter"
},
"gender": "male",
"birthDate": "1982-01-01"
},
"userActivityRegions": {
"IRL1": {
"captureTimestamp": "2020-12-11T06:10:23Z"
}
},
"profilePictureLink": "https://s7e4a.scene7.com/is/image/OmniPS/adobelogo?$fmt=alpha-png",
"identityMap": {
"ecid": [
{
"id": "10430795205006914197132473559604822183"
},
{
"id": "34113965854450796644316155105296901017"
}
],
"email": [
{
"id": "woutervangeluwe+10122020-15@gmail.com"
}
],
"email_lc_sha256": [
{
"id": "32d731e23b6cb8742c279ff88b61cce0ef5758f30b1e098a2c0770bbdc430a84"
}
],
"phone": [
{
"id": "+32473622044+10122020-15"
}
]
}
},
"lastModifiedAt": "2020-12-11T06:18:10Z"
}
}
这是此ECID当前平台中所有可用的配置文件数据。
您无需使用ECID从Platform实时客户配置文件请求配置文件数据,您可以在任何命名空间中使用任何ID来请求此数据。
我们再回到Postman,假装我们是呼叫中心,然后向平台发送请求,指定Phone的命名空间和您的手机号码。
因此,如果您希望请求Platform的API向您返回特定手机的所有用户档案信息,则需要按如下方式配置请求:
键 | 值 |
---|---|
entityId | 您的电话号码 |
entityIdNS | phone (通过电话替换ecid) |
schema.name | _xdm.context.profile |
如果您的电话号码包含特殊符号,如+,则必须选择完整的电话号码,右键单击并单击EncodeURIComponent。
然后,您将拥有:
您还应验证请求的Header — 字段。 转到Headers。 然后您将看到:
键 | 值 |
---|---|
x-sandbox-name | --aepSandboxId-- |
您需要指定所使用的Adobe Experience Platform沙盒的名称。 您的x-sandbox-name应为--aepSandboxId--
。
单击蓝色的Send按钮并验证响应。
我们通过指定email的命名空间和您的电子邮件地址,对您的电子邮件地址执行相同的操作。
因此,如果您希望请求Platform API为您返回特定电子邮件地址的所有用户档案信息,则需要按如下方式配置请求:
键 | 值 |
---|---|
entityId | youremail |
entityIdNS | email (将Phone替换为电子邮件) |
schema.name | _xdm.context.profile |
如果您的电子邮件地址包含特殊符号,如+,则必须选择完整的电子邮件地址,右键单击并单击EncodeURIComponent。
然后,您将拥有:
您还应验证请求的Header — 字段。 转到Headers。 然后您将看到:
键 | 值 |
---|---|
x-sandbox-name | --aepSandboxId-- |
您需要指定所使用的Adobe Experience Platform沙盒的名称。 您的x-sandbox-name应为--aepSandboxId--
。
单击蓝色的Send按钮并验证响应。
这是为品牌提供的一种非常重要的灵活性。 这意味着任何环境都可以使用其自身的ID和命名空间向Platform发送请求,而无需了解多个命名空间和ID的复杂性。
例如:
呼叫中心不一定知道忠诚度系统中使用了哪种类型的标识符,而忠诚度系统也不一定知道在线应用程序使用了哪种类型的标识符。 每个系统都可以使用他们拥有和了解的信息,在需要时获得所需的信息。
成功查询Platform的API以获取用户档案数据后,现在让我们使用ExperienceEvent数据执行相同操作。
在Postman中,找到集合_Adobe Experience Platform Enablement。
在1中。 统一配置文件服务,选择名称为UPS -GET配置文件和按实体ID和NS的第二个请求。
对于此请求,有四个必需变量:
键 | 值 | 定义 |
---|---|---|
schema.name | _xdm.context.s | 要接收信息的特定架构。 在这种情况下,我们会查找针对ExperienceEvent架构映射的数据。 |
relatedSchema.name | _xdm.context.profile | 在我们查找针对ExperienceEvent架构映射的数据时,我们需要指定要接收该数据的标识。 有权访问标识的架构是配置文件架构,因此,此处的relatedSchema是配置文件架构。 |
relatedEntityId | id | 具体的客户ID |
relatedEntityIdNS | 命名空间 | 适用于ID的特定命名空间 |
因此,如果您希望请求Platform API为您自己的ecid返回所有配置文件信息,则需要按如下方式配置请求:
键 | 值 |
---|---|
schema.name | _xdm.context.experienceevent |
relatedSchema.name | _xdm.context.profile |
relatedEntityId | yourECID |
relatedEntityIdNS | ecid |
您还应验证请求的Header — 字段。 转到Headers。 然后您将看到:
键 | 值 |
---|---|
x-sandbox-name | --aepSandboxId-- |
您需要指定所使用的Adobe Experience Platform沙盒的名称。 您的x-sandbox-name应为--aepSandboxId--
。
单击Send以将请求发送到Platform。
您应会从Platform立即收到响应,并显示如下内容:
以下是Platform的完整响应。 在此示例中,有八个ExperienceEvents已链接到此客户的ECID。 请查看下面的内容以查看请求中的不同变量,因为下面看到的是之前练习中您在Launch中进行配置的直接后果。
此外,当X射线面板显示ExperienceEvent信息时,它将使用以下有效负荷来解析和检索诸如产品名称(在以下有效负荷中搜索productName)和产品图像URL(在以下有效负荷中搜索productImageUrl)之类的信息。
{
"_page": {
"orderby": "timestamp",
"start": "710bd243-8559-4e5d-9345-ab85939ee234-0",
"count": 44,
"next": ""
},
"children": [
{
"relatedEntityId": "A29wOm-_HrdXL5njtUYzEOY7",
"entityId": "710bd243-8559-4e5d-9345-ab85939ee234-0",
"timestamp": 1607634623789,
"entity": {
"environment": {
"ipV4": "213.118.237.49",
"type": "browser",
"browserDetails": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"acceptLanguage": "en",
"viewportHeight": 969.0,
"viewportWidth": 1920.0
}
},
"web": {
"webPageDetails": {
"name": "Luma Home",
"URL": "https://public.aepdemo.net/index.html"
},
"webReferrer": {
"URL": "https://public.aepdemo.net/admin.html"
}
},
"_experienceplatform": {
"demoEnvironment": {
"brandIndustry": "retail",
"brandName": "Luma",
"tms": "Launch",
"brandLogo": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/d632e769791f0a4dbe0b84058d282d45_logo.png",
"ldap": "vangeluw"
},
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017"
}
}
},
"implementationDetails": {
"name": "https://ns.adobe.com/experience/alloy/reactor",
"version": "2.3.0+2.2.0",
"environment": "browser"
},
"identityMap": {
"CORE": [
{
"id": "34343827312771250614258373109911428140",
"authenticatedState": "ambiguous",
"primary": false
}
],
"ECID": [
{
"id": "34113965854450796644316155105296901017",
"authenticatedState": "ambiguous",
"primary": true
}
]
},
"eventType": "web.webpagedetails.pageViews",
"_id": "710bd243-8559-4e5d-9345-ab85939ee234-0",
"placeContext": {
"localTime": "2020-12-10T22:10:23.789+01:00",
"localTimezoneOffset": -60.0
},
"device": {
"screenOrientation": "landscape",
"screenWidth": 1920.0,
"screenHeight": 1080.0
},
"timestamp": "2020-12-10T21:10:23.789Z"
},
"lastModifiedAt": "2020-12-10T21:10:25Z"
},
{
"relatedEntityId": "A29wOm-_HrdXL5njtUYzEOY7",
"entityId": "c02b8be3-b220-4c2b-92fd-96ac7f5aa3f4-0",
"timestamp": 1607639281610,
"entity": {
"environment": {
"ipV4": "213.118.237.49",
"type": "browser",
"browserDetails": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"acceptLanguage": "en",
"viewportHeight": 1001.0,
"viewportWidth": 1920.0
}
},
"web": {
"webPageDetails": {
"name": "Luma Home",
"URL": "https://public.aepdemo.net/index.html"
},
"webReferrer": {
"URL": "https://public.aepdemo.net/admin.html"
}
},
"_experienceplatform": {
"demoEnvironment": {
"brandIndustry": "retail",
"brandName": "Luma",
"tms": "Launch",
"brandLogo": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/d632e769791f0a4dbe0b84058d282d45_logo.png",
"ldap": "vangeluw"
},
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017"
}
}
},
"implementationDetails": {
"name": "https://ns.adobe.com/experience/alloy/reactor",
"version": "2.3.0+2.2.0",
"environment": "browser"
},
"identityMap": {
"ECID": [
{
"id": "34113965854450796644316155105296901017",
"authenticatedState": "ambiguous",
"primary": true
}
]
},
"eventType": "web.webpagedetails.pageViews",
"_id": "c02b8be3-b220-4c2b-92fd-96ac7f5aa3f4-0",
"placeContext": {
"localTime": "2020-12-10T23:28:01.610+01:00",
"localTimezoneOffset": -60.0
},
"device": {
"screenOrientation": "landscape",
"screenWidth": 1920.0,
"screenHeight": 1080.0
},
"timestamp": "2020-12-10T22:28:01.610Z"
},
"lastModifiedAt": "2020-12-10T22:28:03Z"
},
{
"relatedEntityId": "A29wOm-_HrdXL5njtUYzEOY7",
"entityId": "db1f1dca-5882-4b99-95af-8fe18f8bb663-0",
"timestamp": 1607639409017,
"entity": {
"environment": {
"ipV4": "213.118.237.49",
"type": "browser",
"browserDetails": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"acceptLanguage": "en",
"viewportHeight": 1001.0,
"viewportWidth": 1920.0
}
},
"web": {
"webPageDetails": {
"name": "Nadia Elements Shell",
"URL": "https://public.aepdemo.net/p1.html"
},
"webReferrer": {
"URL": "https://public.aepdemo.net/index.html"
}
},
"_experienceplatform": {
"demoEnvironment": {
"brandIndustry": "retail",
"brandName": "Luma",
"tms": "Launch",
"brandLogo": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/d632e769791f0a4dbe0b84058d282d45_logo.png",
"ldap": "vangeluw"
},
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017"
}
}
},
"implementationDetails": {
"name": "https://ns.adobe.com/experience/alloy/reactor",
"version": "2.3.0+2.2.0",
"environment": "browser"
},
"identityMap": {
"ECID": [
{
"id": "34113965854450796644316155105296901017",
"authenticatedState": "ambiguous",
"primary": true
}
]
},
"eventType": "commerce.productViews",
"_id": "db1f1dca-5882-4b99-95af-8fe18f8bb663-0",
"commerce": {
"productViews": {
"value": 1.0
}
},
"productListItems": [
{
"product": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/2d46bee7e82aa3583a103ac6405fb3b4_1.jpg",
"quantity": 1.0,
"productAddMethod": "Desktop",
"_experienceplatform": {
"core": {
"productURL": "https://public.aepdemo.net/p1.html",
"imageURL": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/2d46bee7e82aa3583a103ac6405fb3b4_1.jpg"
}
},
"priceTotal": 69.0,
"name": "Nadia Elements Shell",
"SKU": "LLWJ10.1-XS"
}
],
"placeContext": {
"localTime": "2020-12-10T23:30:09.017+01:00",
"localTimezoneOffset": -60.0
},
"device": {
"screenOrientation": "landscape",
"screenWidth": 1920.0,
"screenHeight": 1080.0
},
"timestamp": "2020-12-10T22:30:09.017Z"
},
"lastModifiedAt": "2020-12-10T22:30:10Z"
},
{
"relatedEntityId": "A29wOm-_HrdXL5njtUYzEOY7",
"entityId": "eab8818b-438a-4e4e-8129-ac7adc0b6d2a-0",
"timestamp": 1607639509214,
"entity": {
"environment": {
"ipV4": "213.118.237.49",
"type": "browser",
"browserDetails": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"acceptLanguage": "en",
"viewportHeight": 1001.0,
"viewportWidth": 1920.0
}
},
"web": {
"webPageDetails": {
"name": "Luma Home",
"URL": "https://public.aepdemo.net/index.html"
},
"webReferrer": {
"URL": "https://public.aepdemo.net/p1.html"
}
},
"_experienceplatform": {
"demoEnvironment": {
"brandIndustry": "retail",
"brandName": "Luma",
"tms": "Launch",
"brandLogo": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/d632e769791f0a4dbe0b84058d282d45_logo.png",
"ldap": "vangeluw"
},
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017"
}
}
},
"implementationDetails": {
"name": "https://ns.adobe.com/experience/alloy/reactor",
"version": "2.3.0+2.2.0",
"environment": "browser"
},
"identityMap": {
"ECID": [
{
"id": "34113965854450796644316155105296901017",
"authenticatedState": "ambiguous",
"primary": true
}
]
},
"eventType": "web.webpagedetails.pageViews",
"_id": "eab8818b-438a-4e4e-8129-ac7adc0b6d2a-0",
"placeContext": {
"localTime": "2020-12-10T23:31:49.214+01:00",
"localTimezoneOffset": -60.0
},
"device": {
"screenOrientation": "landscape",
"screenWidth": 1920.0,
"screenHeight": 1080.0
},
"timestamp": "2020-12-10T22:31:49.214Z"
},
"lastModifiedAt": "2020-12-10T22:31:50Z"
},
{
"relatedEntityId": "A29wOm-_HrdXL5njtUYzEOY7",
"entityId": "63996797-d4ad-46e4-95d2-0a32a687295d-0",
"timestamp": 1607639513538,
"entity": {
"environment": {
"ipV4": "213.118.237.49",
"type": "browser",
"browserDetails": {
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"acceptLanguage": "en",
"viewportHeight": 1001.0,
"viewportWidth": 1920.0
}
},
"web": {
"webPageDetails": {
"name": "Radiant Tee - (Orange)",
"URL": "https://public.aepdemo.net/p4.html"
},
"webReferrer": {
"URL": "https://public.aepdemo.net/index.html"
}
},
"_experienceplatform": {
"demoEnvironment": {
"brandIndustry": "retail",
"brandName": "Luma",
"tms": "Launch",
"brandLogo": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/d632e769791f0a4dbe0b84058d282d45_logo.png",
"ldap": "vangeluw"
},
"identification": {
"core": {
"ecid": "34113965854450796644316155105296901017"
}
}
},
"implementationDetails": {
"name": "https://ns.adobe.com/experience/alloy/reactor",
"version": "2.3.0+2.2.0",
"environment": "browser"
},
"identityMap": {
"ECID": [
{
"id": "34113965854450796644316155105296901017",
"authenticatedState": "ambiguous",
"primary": true
}
]
},
"eventType": "commerce.productViews",
"_id": "63996797-d4ad-46e4-95d2-0a32a687295d-0",
"commerce": {
"productViews": {
"value": 1.0
}
},
"productListItems": [
{
"product": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/58ae7e91a9bac17cdf92a178d6e25186_1.jpg",
"quantity": 1.0,
"productAddMethod": "Desktop",
"_experienceplatform": {
"core": {
"productURL": "https://public.aepdemo.net/p4.html",
"imageURL": "https://parsefiles.back4app.com/hgJBdVOS2eff03JCn6qXXOxT5jJFzialLAHJixD9/58ae7e91a9bac17cdf92a178d6e25186_1.jpg"
}
},
"priceTotal": 22.0,
"name": "Radiant Tee - (Orange)",
"SKU": "LUMA-24-CXV14"
}
],
"placeContext": {
"localTime": "2020-12-10T23:31:53.538+01:00",
"localTimezoneOffset": -60.0
},
"device": {
"screenOrientation": "landscape",
"screenWidth": 1920.0,
"screenHeight": 1080.0
},
"timestamp": "2020-12-10T22:31:53.538Z"
},
"lastModifiedAt": "2020-12-10T22:31:54Z"
},
],
"_links": {
"next": {
"href": ""
}
}
}
这是此ECID当前在Platform中可用的所有ExperienceEvent数据。
您无需使用ECID从Adobe Experience Platform的实时配置文件中请求ExperienceEvent数据,您可以在任何命名空间中使用任何ID来请求此数据。
下一步:3.4创建区段 — UI