secureCookie

一个可选的布尔标记,用于向 AMCV Cookie 添加“安全”属性。

此配置属性在 visitorAPI 版本 3.3.0 中提供。

注意

SecureCookie 配置不适用于不安全的域,并且可能会由于访问使用不安全的协议而无法接收 MID 值。只有当您确定所有页面和子域始终使用安全协议时,才应将 secureCookie 配置设置为 true

语法:secureCookie: true | false(默认值)

代码示例

var visitor = Visitor.getInstance("INSERT-MARKETING-CLOUD-ID-HERE",{ 
 
        //Set secure cookie property 
        secureCookie: true 
 });

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now