conversation

AVAILABILITY
适用于Web SDK的Brand Concierge当前处于​ 测试版 ​中。 功能和文档可能会发生更改。

conversation对象包含Brand Concierge聊天会话的配置选项。 Web SDK 2.31.0或更高版本支持此对象。

属性

属性
类型
描述
collectSources
boolean
确定Web SDK是否读取adobe_brand_concierge_source查询字符串参数并将其包含在xdm.channel.referringSource中。 默认为false
stickyConversationSession
boolean
确定Web SDK是否设置会话Cookie来跨页面加载保留Brand Concierge聊天会话。 默认为false。 如果忽略或设置为false,Brand Concierge Chat会在每次页面加载时启动新会话。

示例

alloy("configure", {
  datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
  orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
  conversation: {
    collectSources: true
    stickyConversationSession: true
  }
});

使用Web SDK标记扩展配置对话设置

可以使用Brand Concierge设置在Web SDK标记扩展中配置这些设置。

recommendation-more-help
1ae86b30-e55e-49c1-ab11-9d0356a5f3e1