> 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/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/set-up-rules-to-identify-channel-traffic.md).

# チャネルトラフィックを識別するためのルールを設定する

*識別ルール* あなたの *最適化チャネル* そのチャネルにトラフィックがどのように帰属するかを決定します。各ルールは、次のいずれかから少なくとも1つの要素を使用します。 *参照元URL* または *ランディングページURL* 参照元を特定するために取得されたもの。

*識別ルール* は、 [最適化チャネルを作成すると](/brand/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/optimize-channels/create-an-optimize-channel.md) 設定され、いつでも [チャネルを編集することで](/brand/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/optimize-channels/edit-an-optimize-channel.md).

#### 識別コンポーネントのルール

{% hint style="info" %}
この機能は Optimize アドオンでのみ利用できます。 [こちらをクリック](https://app.impact.com/secure/advertiser/fr/upgrade.ihtml?u=/secure/advertiser/optimize/landing-page.html) してアドオンを入手してください！
{% endhint %}

を作成するとき、 *識別ルール*、入力する必要がある項目は3〜4個あります。各項目の詳細は下のタブを参照してください。

{% tabs %}
{% tab title="ルール対象" %}
ルールがどこで *ルール値*を探すのか。 *識別ルール*.

は、 *識別ルールの更新* セクションの1つ目の表を参照して、利用可能な *ルール対象* オプションをすべて確認してください。

{% hint style="info" %}
**例**: ランディングページURL
{% endhint %}
{% endtab %}

{% tab title="ルールロジック" %}
ルールが *ルール* を使ってトラフィックを特定しようとする方法。これは、 *識別ルール*.

セクションの2つ目の表を参照してください。 *識別ルールの更新* セクションの1つ目の表を参照して、利用可能な *ルールロジック* オプションをすべて確認してください。

{% hint style="info" %}
**例**: 完全一致
{% endhint %}
{% endtab %}

{% tab title="ルール値 1" %}
その *ルールロジック* がトラフィックを特定するために使用するパラメータキーは何か。これは *ルール対象* と *ルールロジック*.

の場合にのみ必要です。 *ルール対象* は **ランディングページパラメーター** または **参照元パラメータ**.

{% hint style="info" %}
**例**: utm\_medium
{% endhint %}
{% endtab %}

{% tab title="ルール値 2" %}
その *ルールロジック* がトラフィックを特定しようとするために使用する値。これは *識別ルール*の間で変わる可能性がありますが、トラフィックを特定するためにルールが探す「何か」と考えるとわかりやすいでしょう。

は必要ありません。 *ルールロジック* は **が存在する** または **が存在しない**.

{% hint style="info" %}
**例**: ppc
{% endhint %}
{% endtab %}
{% endtabs %}

#### 識別ルールを設定する

この *識別ルール* （RTI）は、 *AND/OR* システムで機能します：

選択すると ![](/files/31ed8bce4d22f3780f0bf5494c25049b3181e0a9) **\[追加]** **AND** はルールに条件を追加し、 ![](/files/31ed8bce4d22f3780f0bf5494c25049b3181e0a9) **\[追加]** **OR** を選択すると「別の」ルールが追加されます。ORが選択されている場合、ORで結ばれた条件のいずれかがチャネルの参照元を特定します。ANDが選択されている場合、ANDで結ばれたすべての条件がチャネルの参照元を特定するために必要です。

を作成または更新するとき、 **識別ルール**impact.comでは、ロジックをできるだけシンプルで読みやすく保つことを推奨しています。これにより、ルールの継続的なサポートがより効果的かつ効率的になります。

以下は *ルール対象* で使用できる説明です。 *識別ルール*を必ず選択してください。 **保存** 変更後は [Optimize Setup Scenarios](/brand/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/optimize-channels/optimize-channel-setup-scenario-examples.md) 記事で *識別ルール*.

{% hint style="info" %}
**注**を設定できません： *識別ルール* 用 *Direct* （参照元がない場合）および *Organic Referral* （参照元がある場合）チャネル。これらは *デフォルトチャネル*とも呼ばれます。これらのチャネルは、トラフィックが適用対象となる識別ルールの条件を満たさない場合に特化しています。
{% endhint %}

**ルール対象**

|                  |                                                                  |                                                                       |
| ---------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------- |
| **ルール対象**        | **説明**                                                           | **例**                                                                 |
| ランディングページURL     | 参照トラフィックが到達するURL全体。                                              | `https://www.landingpage.com?key=valueparameter&key=parametervalue`   |
| ランディングページドメイン    | プロトコルの後に続き、サブディレクトリ/パスの前（パスがある場合）、またはクエリ文字列の前（パスがない場合）にあるURLの部分。 | `www.landingpage.com`                                                 |
| ランディングページのクエリ文字列 | クエリ文字列の開始を示す疑問符（**?**）の後に続く、すべてのパラメータのキーと値の組。                    | `key=value&parameterkey=parametervalue`                               |
| ランディングページパラメーター  | クエリ文字列内に存在する特定のキーと値の組。                                           | `parameterkey=parametervalue`                                         |
| 参照元URL           | トラフィックの送信元となるURL全体。                                              | `https://www.referringpage.com?key=value&parameterkey=parametervalue` |
| 参照元ドメイン          | プロトコルの後に続き、サブディレクトリ/パスの前（パスがある場合）、またはクエリ文字列の前（パスがない場合）にあるURLの部分。 | `www.referringpage.com`                                               |
| 参照元クエリ文字列        | URLのパスの後（存在する場合）、または最上位ドメインの後（パスが存在しない場合）のすべて。                   | `key=value&parameterkey=parametervalue`                               |
| 参照元パラメータ         | クエリ文字列内に存在する特定のキーと値の組。                                           | `parameterkey=parametervalue`                                         |

<details>

<summary>各ルール対象が何を探すのかを確認する</summary>

<div data-with-frame="true"><figure><img src="/files/e81c49d33c032cc81dcbcbe003e3fc4236edab6c" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/bf2be996a80509cb8fc94b58b8f12821ac78488c" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/9277e68f2f30e006c7d8e6b6fe0adba7d9c9999a" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/c4e77fca26bff8eca80f283bc97df4e5393a2a31" alt=""><figcaption></figcaption></figure></div>

</details>

**ルールロジックのオプション**

また、 *ルール対象* （上の表にあるもの）が **ルール値 2** （ *識別ルール*の最終項目に入力するもの）にどのように適用されるかを **ルールロジック**を選択することで指定できます。については下の表を参照してください。 *ルールロジック* オプションをすべて確認してください。

<details>

<summary>オプション</summary>

|                   |                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                          |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **ルールロジックのオプション** | **説明**                                                                                                                                                                                                                                                                        | **例**                                                                                                                                                                                                                                                                                    |
| 完全一致              | 正確に *ルール値 2* 設定した値は、 *ルール対象*の中に、前後に余分な文字がない状態で存在していなければなりません。                                                                                                                                                                                                                 | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> 完全一致 <code>search</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=search></code></p>                                                                                     |
| 含む                | この *ルール値 2* の中に見つける必要があります。 *ルール対象*.                                                                                                                                                                                                                                          | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> 含む <code>search</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=somesearchentry></code></p>                                                                              |
| で始まる              | この *ルール値 2* 設定した値は、 *ルール対象*.                                                                                                                                                                                                                                                  | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> で始まる <code>search</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=searchentry></code></p>                                                                                |
| で終わる              | この *ルール値 2* 設定した値は、 *ルール対象*.                                                                                                                                                                                                                                                  | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> で終わる <code>search</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=someentry></code></p>                                                                                  |
| 正規表現に一致           | この *ルール対象の* 値は [regex](/brand/ja/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/regex-explained.md) との一致でなければなりません。 *ルール値 2*について詳しくはこちら。 [正規表現](https://en.wikipedia.org/wiki/Regular_expression) および [正規表現をテストする](https://regexr.com/). | このルールロジックのオプションについては、CSM（または [サポートチケットを作成する](https://app.impact.com/support/portal.ihtml?createTicket=true)）にお問い合わせください。                                                                                                                                                                 |
| 完全一致しない           | 正確に *ルール値 2* 設定した値は **一致してはならず** の中に見つかってはなりません。 *ルール対象*.                                                                                                                                                                                                                     | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> 完全一致しない <code>search</code></p><p><strong>含まれないURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=search></code></p>                                                                                 |
| 含まない              | この *ルール値 2* 設定した値は **一致してはならず** の中に見つかってはなりません。 *ルール対象*.                                                                                                                                                                                                                      | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> 含まない <code>search</code></p><p><strong>含まれないURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=search></code></p>                                                                                    |
| 正規表現に一致しない        | この *ルール対象の* 値は、 *ルール値 2*について詳しくはこちら。 [正規表現](https://en.wikipedia.org/wiki/Regular_expression). [正規表現をテストする](https://regexr.com/).                                                                                                                                             | このルールロジックのオプションについては、CSM（または [サポートチケットを作成する](https://app.impact.com/support/portal.ihtml?createTicket=true)）にお問い合わせください。                                                                                                                                                                 |
| いずれかに一致           | この *ルール値 2* は、カンマ区切りの *完全一致* 値の連続です（ *完全一致* 行を参照）。各項目の間にスペースを入れないでください。                                                                                                                                                                                                       | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> いずれかに一致 <code>search,ppc</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://impact.com?utm_medium=search></code></p><p><code><https://impact.com?utm_medium=ppc></code></p>                           |
| いずれかを含む           | この *ルール値 2* は、カンマ区切りの *含む* 値の連続です（ *含む* 行を参照）。項目の間にスペースを入れないでください。                                                                                                                                                                                                            | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> いずれかを含む <code>search,ppc</code></p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium=somesearchentry></code></p><p><code><https://www.impact.com?utm_medium=someppcentry></code></p> |
| が存在する             | 提供されたランディングページパラメータの値はURLに含まれている必要があります。利用可能なのは `ルール対象=ランディングページパラメータ`.                                                                                                                                                                                                       | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> が存在する</p><p><strong>含まれるURLの例：</strong></p><p><code><https://www.impact.com?utm_medium_ppc></code></p>                                                                                                           |
| が存在しない            | 提供されたランディングページパラメータの値は **一致してはならず** URLに含まれている必要があります。利用可能なのは `ルール対象=ランディングページパラメータ`.                                                                                                                                                                                         | <p><strong>ルール：</strong></p><p>ランディングページパラメーター <code>utm\_medium</code> が存在しない</p><p><strong>含まれないURLの例：</strong></p><p><code><https://www.impact.com?utm_medium_ppc></code></p>                                                                                                         |

</details>


---

# 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/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/set-up-rules-to-identify-channel-traffic.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.
