> 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).

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

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

*識別ルール* は、 [Optimize チャネルを作成](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/platform-features/cross-channel-performance-insights/optimize-channels/create-an-optimize-channel.md) するときに設定され、いつでも [チャネルを編集](https://help.impact.com/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つ目のドロップダウンメニューから選択します。利用可能な *識別ルールの更新* セクションの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) **\[追加]** **AND** を選択するとルールに条件が追加されます。一方、 ![](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を選択した場合、ORで結ばれた条件のいずれかに該当すれば、そのチャネルの参照元として識別されます。ANDを選択した場合、そのチャネルの参照元として識別されるには、ANDで結ばれたすべての条件を満たす必要があります。

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

以下は、「 *ルール対象* 」の説明です。「 *識別ルール*」で使用できます。変更後は必ず「 **保存** 」を選択してください。「 [設定の最適化シナリオ](https://help.impact.com/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" %}
**注**：「 *識別ルール* 」は、 *直接* （参照元がない場合）および *オーガニック参照* （参照元がある場合の）チャネル。別名、 *デフォルトチャネル*。これらのチャネルは、トラフィックがいずれの「識別ルール」の適用条件も満たさない場合に使用されます。
{% 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>                                                                                   |
| 正規表現に一致           | 次の *ルール対象の* 値が、次の [正規表現](https://help.impact.com/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に含まれている必要があります。以下の場合にのみ使用できます `Rule Target=Landing Page Parameter`.                                                                                                                                                                                                         | <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に含まれている必要があります。以下の場合にのみ使用できます `Rule Target=Landing Page Parameter`.                                                                                                                                                                                              | <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.
