配置Web体验 web-configuration

在此页面上:​了解如何在Adobe Journey Optimizer中创建Web渠道配置,以单页URL或多个具有匹配规则及其可用运算符的页面的为目标。

创建Web渠道配置 create-web-configuration

Web配置是由要交付内容的URL标识的Web属性。 它可以匹配单个页面URL或多个页面,从而允许您跨一个或多个网页进行修改。

要创建Web渠道配置,请执行以下步骤。

  1. 访问​渠道 > 常规设置 > 渠道配置​菜单,然后单击​创建渠道配置

  2. 输入配置的名称和说明(可选)。

    note
    NOTE
    名称必须以字母(A-Z)开头。 它只能包含字母数字字符。 您还可以使用下划线 _、点 . 和连字符 - 符号。
  3. 要为配置分配自定义或核心数据使用标签,您可以选择​管理访问权限了解有关对象级访问控制(OLAC)的更多信息

  4. 选择​ Web ​渠道。

  5. 选择​ 营销操作 ​以使用此配置将同意策略关联到消息。 所有与营销活动相关的同意政策均可利用,以尊重客户的偏好。 了解详情

  6. 在​ Web设置 ​部分中,选择以下选项之一:

    • 单页 — 如果要将更改仅应用于单个页面,请输入​页面URL

    • 页面匹配规则 — 若要定位多个匹配同一规则的URL,请构建一个页面匹配规则,并输入​默认创作和预览URL了解详情

  7. 单击​ 提交 ​以保存更改。

当在营销活动或历程中使用Web渠道时,您现在可以选择此配置。

生成页面匹配规则 web-page-matching-rule

创建Web或基于代码的体验配置时,您可以生成与规则​ 匹配的 ​页面,以定位多个与同一规则匹配的URL。 因此,您可以一次性将相同的内容更改应用于多个页面。

例如,您可能希望将更改应用于整个网站的主页横幅,或添加一个显示在网站所有产品页面上的顶部图像。

  1. 配置Web基于代码的体验时,请选择​页面匹配规则

  2. 为​ ​和​ 页面 ​字段定义您的条件。

    note
    NOTE
    检查此节中可用的运算符。

    例如,如果您要编辑显示在Luma网站的所有女性产品页面上的元素,请选择​ > 开头为 > luma和​页面 > 包含 > women

  3. 如果您的用例无法使用一条规则建模,则可以选择添加多条规则。 单击​ 添加其他页面规则 ​并重复上述步骤。

    note
    NOTE
    您最多可以添加10个规则。
  4. 在不同的规则之间可以使用​ Or ​或​ Exclude ​运算符。

    当与定义的规则匹配的某个页面不应被定位时,排除​非常有用。 例如,您可以定位包含product的所有luma.com页面,但以下页面除外: https://luma.com/blogs/productinfo

  5. 输入​默认创作和预览URL。 此步骤可确保规则生成或匹配的页面具有用于内容创建和预览的指定URL。

用于构建页面匹配规则的可用运算符 available-operators

在创建与多个页面🔗匹配的规则时,您可以在​ ​和​ 路径 ​部分中使用不同的运算符来构建所需的规则。 下面列出了可用的运算符。

  • table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 5-row-3
    运算符 描述 示例
    等于 域的完全匹配。
    开头为 匹配以输入的字符串开头的所有域(包括子域)。 例如:“Starts with: dev” ->匹配所有以“dev”开头的域和子域,如:dev.example.com、dev.products.example.com、developer.example.com
    结束于 匹配以输入字符串结尾的所有域(包括子域)。 例如:“Ends with: example.com” ->匹配所有以“example.com”结尾的域和子域,如:stage.example.com、prod.example.com、myexample.com
    通配符匹配 “通配符匹配”运算符允许用户在字符串中间定义通配符匹配,如“dev.*.example.com”。 验证规则是当运算符为“通配符匹配”时,值必须包含且只能包含一个通配符(星号)。 例如:“通配符匹配: dev.*.example.com” — >匹配域,如: dev.products.example.com、dev.mytest.products.example.com、dev.blog.example.com
    “任一” 匹配所有域 — 在跨域测试特定路径时很有用
  • 路径

运算符
描述
示例
等于
路径完全匹配。
开头为
匹配以输入的字符串开头的所有路径(包括子路径)。
结束于
匹配以输入的字符串结尾的所有路径(包括子路径)。
“任一”
匹配所有路径 — 在定位一个或多个域下的所有路径时很有用。
通配符匹配
“通配符匹配”运算符允许用户在路径中定义内部通配符,如“/products/*/detail”。 路径**组件中的通配符*匹配任意字符序列,直到遇到第一个/字符。 /*/匹配任意字符序列(包括子路径)

例如:“通配符匹配:/products/*/detail”,匹配所有路径,如:

  • example.com/products/yoga/detail
  • example.com/products/surf/detail
  • example.com/products/tennis/detail
  • example.com/products/yoga/pants/detail

例如:“Matches: /prod*/detail, matches all paths like:

  • example.com/products/detail
  • example.com/production/detail

不匹配以下路径:

  • example.com/products/yoga/detail
包含
“contains”将转换为通配符(如“mystring”),并匹配包含此字符序列的所有路径。

例如:“Contains: product”,匹配包含字符串product的所有路径,如:

  • example.com/products
  • example.com/yoga/perfproduct
  • example.com/surf/productdescription
  • example.com/home/product/page
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to create a web channel configuration in Journey Optimizer, targeting either a single page URL or multiple pages through a pages matching rule built with Domain and Path operators.

Intents:

  • Create a web channel configuration from Channels > General settings > Channel configurations
  • Target a single page by entering a Page URL
  • Target multiple pages by building a pages matching rule
  • Assign data usage labels to a configuration through Manage access (OLAC)
  • Associate consent policies to messages by selecting Marketing actions
  • Choose the right Domain and Path operators to match the intended URLs

Glossary:

  • Web channel configuration: A web property identified by a URL where content will be delivered; it can match a single page URL or multiple pages (product-specific)
  • Single page: Web settings option that applies changes to a single page by entering a Page URL (product-specific)
  • Pages matching rule: Web settings option that targets multiple URLs matching the same rule so the same content changes apply across multiple pages at once (product-specific)
  • Default authoring and preview URL: A URL entered for a pages matching rule so the pages generated or matched by the rule have a designated URL for content creation and preview (product-specific)
  • Marketing action: A selection that associates consent policies to messages using the configuration so customer preferences are respected (product-specific)
  • Wildcard matching: An operator allowing a wildcard (asterisk) match inside the Domain or Path string (product-specific)

Guardrails:

  • Configuration names must begin with a letter (A-Z) and can only contain alphanumeric characters plus underscore, dot, and hyphen.
  • You can add up to 10 rules when building a pages matching rule.
  • For the Domain “Wildcard matching” operator, the value must contain one and only one wildcard (asterisk).
  • A pages matching rule can be built when creating a web or code-based experience configuration.
  • The Or and Exclude operators can be used between the different rules.

Terminology:

  • Canonical name: Web channel configuration — Acronym: n/a — variants: web configuration, channel configuration
  • Synonyms: “Pages matching rule” = “rule that matches multiple pages”
  • Do not confuse: “Single page” (targets one Page URL) ≠ “Pages matching rule” (targets multiple URLs matching a rule)
  • Do not confuse: “Domain” operators ≠ “Path” operators (each section has its own available operators)

FAQ:

  • Q: How do I create a web channel configuration? — Go to Channels > General settings > Channel configurations, click Create channel configuration, enter a name, select the Web channel, choose Single page or Pages matching rule, then Submit.
  • Q: What characters are allowed in a configuration name? — It must begin with a letter (A-Z) and can only contain alphanumeric characters plus underscore, dot, and hyphen.
  • Q: How many rules can a pages matching rule contain? — You can add up to 10 rules, and use the Or or Exclude operators between them.
  • Q: How do I target more than one page? — Select Pages matching rule, define criteria for the Domain and Page fields, and enter a Default authoring and preview URL.
  • Q: When would I use the Exclude operator? — When one of the pages matching the defined rule should not be targeted.
recommendation-more-help
journey-optimizer-help