conversation

AVAILABILITY
適用於Web SDK的Brand Concierge目前處於​測試版。 功能和檔案可能會有所變更。

conversation物件包含Brand Concierge聊天工作階段的組態選項。 Web SDK 2.31.0或更新版本支援此物件。

屬性

屬性
類型
說明
collectSources
boolean
決定網頁SDK是否讀取adobe_brand_concierge_source查詢字串引數並將其包含在xdm.channel.referringSource中。 預設為false
stickyConversationSession
boolean
判斷Web SDK是否設定工作階段Cookie,以跨頁面載入保留Brand Concierge聊天工作階段。 預設為false。 如果省略或設為false,Brand Concierge聊天會在每次頁面載入時啟動新的工作階段。

範例

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

使用Web SDK標籤擴充功能設定交談設定

您可以使用Brand Concierge設定,在網頁SDK標籤擴充功能中設定這些設定。

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