> 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/tracking/set-up-tracking/best-practices-for-express-domain-integration.md).

# Expressドメイン統合のベストプラクティス

以下のベストプラクティスは、あなたの *Express ドメイン統合*。以下を参照してください [カスタムトラッキングドメインを設定する](/brand/ja/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/set-up-a-custom-tracking-domain.md) 初期設定用です。

{% hint style="success" %}
**注:** カスタムプロキシ構成を使用している場合、組織はSSL証明書とDNSセキュリティポリシーをCDNプロバイダーを通じて直接管理しているため、以下の証明書関連の要件は適用されません。
{% endhint %}

#### 必要なDNS設定を維持する

カスタムトラッキングドメインを継続的かつ安定して動作させ、トラッキングの中断を防ぐために、次のDNSガイドラインに従ってください。

* カスタムトラッキングサブドメインのCNAMEレコードは、次を指すようにしてください。

```
customtracking.impact.com.cdn.cloudflare.net
```

* impact.comから指示がない限り、このCNAMEレコードを削除または変更しないでください。
* 復旧や移行時の伝播を速めるために、低いTTL（例: 300秒）の使用を推奨します。
* 公開する前にDNS変更を慎重に確認してください。設定が誤っていると、トラッキングリンクが解決されなくなる場合があります。

{% hint style="warning" %}
**重要：** このCNAMEレコードを削除または変更すると、カスタムトラッキングドメインは直ちに機能しなくなります。SSL証明書の発行と更新は、このレコードが維持されていることに依存します。
{% endhint %}

#### CAAレコードを設定する

組織で *Certificate Authority Authorization（CAA）* DNSレコードを使用して、どの認証局がドメインのSSL証明書を発行できるかを制限している場合、トラッキングドメインで使用される認証局を許可する必要があります。

親ドメインで設定されたCAAレコードは、上書きされない限りすべてのサブドメインに適用されます。

{% hint style="info" %}
**例：** 次のCAAレコードは `yourcompany.example` にも適用されます。 `goto.yourcompany.example`.
{% endhint %}

<details>

<summary>必要なCAAレコード</summary>

次の発行者が許可されていることを追加し、確認してください。

`yourcompany.example. CAA 0 issue "pki.goog"`

SSL証明書はGoogle Trust Services（`pki.goog`).

</details>

<details>

<summary>推奨CAAレコード</summary>

次を許可することを推奨します。 `letsencrypt.org`:

`yourcompany.example. CAA 0 issue "letsencrypt.org"`

これにより、将来的に証明書プロバイダーが変更されても、障害を防ぐのに役立ちます。

</details>

<details>

<summary>現在のCAAレコードを確認する</summary>

DNS検索ツールまたはコマンドラインを使って、ドメインのCAAレコードを確認してください。 `dig CAA yourcompany.example`.

応答が空の場合（CAAレコードがない場合）は、対応不要です。すべての認証局が暗黙的に許可されています。

応答に `issue` エントリが含まれている場合は、 `pki.goog` および `letsencrypt.org` が含まれていることを確認してください。

現在CAAレコードがない場合は、追加する必要はありません。ただし、将来CAA制限を追加または厳格化する場合は、必要な発行者が引き続き許可されていることを確認してください。そうしないと、SSL証明書の更新に失敗し、カスタムトラッキングドメインは動作しなくなります。

{% hint style="success" %}
**注:** CAAレコードはDNSプロバイダーによって管理されます。impact.comは、ドメインのCAA制限を上書きできません。
{% endhint %}

</details>

#### DNSとセキュリティの変更を調整する

トラッキングドメインまたはその親ドメインに変更を加える前に、社内のDNSまたはセキュリティチームと調整し、impact.comのカスタマーサクセス（CS）チームに通知してください。

変更を適用する前に、次のことを推奨します。

* 必要なCNAMEの宛先（`customtracking.impact.com.cdn.cloudflare.net`）が引き続き維持されることを確認する。
* 必要なCAA発行者（`pki.goog`）が、適用されるすべてのドメインレベルで引き続き許可されていることを確認する。
* 変更がトラッキングドメインのDNS解決やSSL証明書の発行に影響しないことを慎重に確認してください。

<details>

<summary>カスタムトラッキングドメインに影響を与える可能性のある変更</summary>

* CNAMEレコード（トラッキングサブドメインまたは親ドメイン）
* ドメイン階層の任意レベルにあるCAAレコード
* DNSSEC設定
* DNSプロバイダーの移行またはホスティング変更
* ドメインの所有権、委任、またはレジストラ移管
* 証明書の発行やDNS解決に影響するセキュリティポリシー

</details>

#### SSL証明書の管理

カスタムトラッキングドメイン用のSSL証明書は、impact.comによってCloudflare経由で自動的にプロビジョニングおよび更新されます。

* トラッキングサブドメインのSSL証明書を手動で発行、インストール、または管理しようとしないでください。
* 別の認証局を通じてトラッキングサブドメインの証明書をプロビジョニングしないでください。自動更新と競合する可能性があります。
* 通常の運用では、証明書更新に対する対応は不要です。

#### トラッキングドメインを定期的に確認する

次のエンドポイントにブラウザでアクセスして、トラッキングドメインが機能していることを確認してください。

を `goto.yourcompany.example` トラッキングドメインに置き換えてください。

```
https://goto.yourcompany.example/monitor-stats/ma_hostInfo.appName
```

A <mark style="color:$success;">正常</mark> 応答には `tracking`.

このエンドポイントが読み込まれない、証明書エラーが返る、または `appName: tracking`が含まれていない場合、カスタムトラッキングドメインは正しく機能していない可能性があります。DNSやセキュリティを変更した後はこのエンドポイントを確認し、トラッキングに影響が出る前に問題を検出できるよう自動監視を設定することを推奨します。

#### トラブルシューティングとサポート

トラッキングドメインの解決が停止したり、リンクのリダイレクトが停止した場合：

1. CNAMEレコードが引き続き次を指していることを確認してください。

```
customtracking.impact.com.cdn.cloudflare.net
```

2. DNS、CAA、またはセキュリティ設定に最近の変更がないか確認してください。
3. [サポートにお問い合わせください](https://app.impact.com/support/portal.ihtml?createTicket=true) そして、問題が発生し始めた時期と、最近のセキュリティ変更、およびカスタムトラッキングドメインをお知らせください。


---

# 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/tracking/set-up-tracking/best-practices-for-express-domain-integration.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.
