内容安全策略(CSP)指令

如果您正在使用Content Security Policy(CSP)来实现Adobe Target,则在使用at.js 2.1或更高版本时,应添加以下CSP指令:

  • connect-src *.tt.omtrdc.net 列入允许列表。必须允许对Target边缘进行网络请求。
  • style-src unsafe-inline。预隐藏和闪烁控制所需。
  • script-src unsafe-inline. 允许执行可能是HTML优惠一部分的JavaScript时必需。

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