> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/test-a-redirect-rule.md).

# 测试重定向规则

您可以使用 A/B 测试来确保您的重定向规则带来比原始目标 URL 更好的结果。impact.com 建议您在为要使用的重定向链接创建真正的重定向规则之前，先对它们进行 A/B 测试。了解更多关于 [重定向路由规则](/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/redirect-routing-rules-overview.md).

#### 设置 A/B 测试

您首先需要设置一个 [重定向规则](/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/create-a-redirect-rule.md) 并设定一组特定条件。请按照以下步骤确保您的规则设置正确。

{% hint style="success" %}
**注意：** 您将需要 `广告 ID` 您要进行 A/B 测试的广告。这可以在 [管理广告](https://app.impact.com/secure/advertiser/engage/ads/manage-all-ads-flow.ihtml) 页面中。
{% endhint %}

1. 从顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在右侧，位于 *技术*下，选择 **阻止与重定向**.
3. 在右上角，选择 **配置规则**.
4. 为您的规则添加一个 \*\*名称\*\*。
   * 建议使用一个能将此规则标识为 A/B 测试的名称。
5. 在 \*条件\* 部分，使用 ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1) **\[下拉菜单]** 按如下方式配置您的 A/B 测试：
   * 将第一个条件设为 *广告 ID* + *为* + {广告 ID}。
   * 选择 ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[添加]** **和**.
   * 将第二个条件设为 *概率* + *小于* + *50*.
   * 您必须严格按照说明设置这些条件。设置不同的条件（例如，选择 ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[添加]** **添加另一个** 而不是 ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[添加]** **和**）会使您的测试结果产生偏差。

     <div data-with-frame="true"><figure><img src="/files/04444ada30f78d1b60eb1a8d0c0b6b4a41ccdf2c" alt="" width="563"><figcaption></figcaption></figure></div>
6. 在 *操作* 部分，使用 ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1) **\[下拉菜单]** 将您的重定向规则配置为 *重定向* +（重定向链接协议）+（目标 URL）。
7. 如有需要，选择 ![](/files/3980f01ba7b178cc917bfb7b270feb4fac2992c6) **\[打开开关]** **计划规则** 以定义此重定向规则必须处于激活状态的时间段。
8. 设置 *排名* 重定向规则的 **高**.
9. **保存** 您的规则。

#### 跟踪您的 A/B 测试

如果您想跟踪重定向规则的成效，可以使用 [汇总 A/B 性能报告](/brand/zh/what-would-you-like-to-learn-about/platform-features/multi-program-reports/operations-reports/aggregate-ab-performance-report.md)。当该报告用于测试特定着陆页 URL 时，通常能提供最佳数据。这些数据可用于创建新的重定向规则、修改现有广告，或在未来以不同方式设置广告。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/blocking-and-redirect-rules/test-a-redirect-rule.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
