> 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* リファラルとして取得された情報を使ってトラフィックのソースを特定します。

*識別ルール* は、あなたが [Optimizeチャネルを作成する](/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番目のドロップダウンメニューから選択します *識別ルール*.

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

{% 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* システムで機能します：

選択すると ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[追加]** **および** ルールに条件を追加し、選択すると ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[追加]** **または** 「別個の」ルールが追加されます。ORを選択すると、ORで結ばれた条件のいずれかがチャネルの参照元を識別します。ANDを選択すると、ANDで結ばれたすべての条件がチャネルの参照元を識別するために必要です。

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

以下は *ルール対象* で使用できる説明です *識別ルール*。必ず選択してください **保存** 変更後。次を参照してください [Optimizeセットアップシナリオ](/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="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ee3dab75f8931eca712a926d578dc28a0f7ad7ce%2F4d153ee5b947e07c2521f4c6096a0bfa1eefbe6618e191eba77994558a3ff7c2.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-53d9f84174a13448cde5ee5b47068a3a2467dca4%2F6a0b63b79d2e0a0de1d540cb68bd0e0eed60bcca9aab77a98c8108322b4dfe1f.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ecefd79844282e80d4a074ce48ebcf2585a00e20%2F92a1c3d1a67d8759a3633b86025f3fa605754878b4da947726e211e31703c151.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-4203a86fe1f2a0537a1e555390f2c5543b2c206e%2F421f7539bfdbad9d71563cabef639ef056029c0f5e12483495f14e1ba3407283.png?alt=media" 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>                                                                                  |
| 正規表現に一致           | この *ルール対象の* 値は [正規表現](/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
