If you are using HTTP request headers as a signal for a trait, you can test whether your signal is capable of qualifying visitors by testing HTTP header key-value pairs in Trait Builder.

Depending on the HTTP header in use as a trait signal, you could potentially qualify visitors by evaluating the site your visitor was at before loading the current page (‘Referer’ header), which browser the site visitor is using (‘User-Agent’ header), or even which language the browser will accept (‘Accept-Language’ header).

To test whether a trait expression that's using an HTTP header would qualify a visitor for your trait when the signal is received at our data collection servers, you can test the HTTP header in Trait Builder’s ‘Edit’ mode. In the “Test HTTP Header” text box, add the name of the HTTP header (do not prefix the HTTP header key with “h_”) and the value you desire into the “Test HTTP Header,” using a colon symbol to separate the header’s name from its value with this syntax:

[HTTP header name]: [HTTP header value]

Then click “Test.”

E.G., testing two HTTP headers (referrer, host) in one trait rule, a successful test will look similar to this:

correct headers 1
correct headers 2

While an unsuccessful test would look similar to this:

incorrect headers 1
incorrect headers 2

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책