Marketing Cloud Personalization において、 Web キャンペーンのターゲティングで URL に含まれる文字列を条件に表示を絞りたい場合があります。たとえば /category/1 を含むページにのみキャンペーンを表示したいというケースです。しかし、「URL contains one or more of」に /category/1 を指定すると、 /category/1 だけでなく /category/10 や /category/100 のように、意図しない値を含む URL にも一致してしまうことがあります。
「URL contains one or more of」「URL does not contain any of」は、指定した文字列が URL に含まれるかどうかを判定する部分一致の条件です。 URL に含まれる数値や ID を厳密に一致させる機能ではないため、 /category/1 のように指定すると、その文字列を含む他の値 (/category/10, /category/100 など) にも一致してしまいます。
例えば、カテゴリが /category/1 〜 /category/19 まで存在するサイトで /category/1 のみにキャンペーンを表示したい場合、以下のように inclusion と exclusion を組み合わせることで、衝突する値を除外できます。
URL contains one or more of): /category/1URL does not contain any of): /category/10, /category/11, /category/12, ..., /category/19ただし、これは衝突する ID の範囲があらかじめ分かっている場合に有効な方法です。 ID の範囲が大きい、または未知の場合は列挙しきれないため、対象文字列の指定方法は実際のお客様サイトの URL 設計に応じてご検討ください。ワイルドカードや正規表現は使用できない点、ご留意ください。
設定後は下記ナレッジにて紹介されている Personalization Tools で、意図しない URL まで対象になっていないかをご確認ください。
Personalization Toolsを用いたWebキャンペーン非表示のデバッグ手順
確認後も想定と異なる挙動が見られる場合は、 Salesforce サポートへお問い合わせください。
005459612

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.