> 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/other/ja/reference-documentation/generate-a-har-file.md).

# HARファイルを生成する

HAR（HTTP Archive Format、 `.har`）は、複数のブラウザー種類（例：Firefox、Chrome、Safari など）にわたるセッションデータを保存する、JSONデータを含むアーカイブファイル形式です。HARファイルには、ブラウザーで行われたすべてのWebリクエストの情報が保存されます。

HARファイルは、すべてのネットワークアクティビティの詳細なログを提供し、impact.comのソリューションエンジニアが幅広い技術的問題を調査できるようにします。

これには以下が含まれます：

* トラッキングタグが正しく発火していることを確認する。
* ページが読み込まれない、またはプラットフォーム機能が期待どおりに表示されないなどの表示問題を診断する。
* 読み込みの遅いスクリプトや画像など、パフォーマンスのボトルネックを特定する。
* 複雑なエラーのトラブルシューティングのために、ブラウザーによって送受信されている正確なデータを分析する。

#### HARファイルを生成する

HARファイルの生成手順を確認するには、ご利用のブラウザーを選択してください。

<details>

<summary>Google Chrome</summary>

1. Chromeを開き、チェックアウトページに移動します。
2. 開発者ツール（要素を検証）を開きます。
   * Windows用の開発者ツールのショートカット： **Ctrl + Shift + i**
   * MacOS用の開発者ツールのショートカット： **Cmd + Option + i**
3. を選択します。 **ネットワーク** タブ。
4. を選択します。 ![](https://2895872601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRN1rcrim887TwHLBjac%2Fuploads%2Fgit-blob-777809abc59946fff23d188f8dd6eab7a1c254b2%2F062c3caf463cd136b2b03cca1fc260d33318b9e7499b706bee63670c3b0d9936.svg?alt=media) **ネットワークログを記録** ボタンがグレーの場合は、開発者ツールの左上にあるボタンをクリックします。
   * ボタンが赤い場合は、ネットワークアクティビティがすでに記録されていることを意味します。次の手順に進んでください。
   * の横にあるボックスに必ずチェックを入れてください。 *ログを保持*.
5. を選択します ![](https://2895872601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRN1rcrim887TwHLBjac%2Fuploads%2Fgit-blob-ad5ef0bc290692327500c12af5fa2ae9a7e2ddac%2F80b9e46b79bb2741bb4ce9b605558e7578baec2ee99c582319202cfc44b3287e.svg?alt=media) **\[クリア]** して、ブラウザーに保存されているログ記録を削除します。
6. ネットワークリクエストを記録している間に注文を完了し、サンクスページを読み込みます。
7. ネットワークトラフィックで記録されたアクティビティを右クリックし、 **コンテンツ付きでHARとしてすべて保存** を選択して、ファイルをコンピューターに保存します。

</details>

<details>

<summary>Firefox</summary>

1. Firefoxを開き、チェックアウトページに移動します。
2. 開発者ツール（要素を検証）を開きます。
   * Windows用の開発者ツールのショートカット： **Ctrl + Shift + i**
   * MacOS用の開発者ツールのショートカット： **Cmd + Option + i**
3. を選択します。 **ネットワーク** タブ。
4. を選択します ![](https://2895872601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRN1rcrim887TwHLBjac%2Fuploads%2Fgit-blob-c5ab8423372b2c345ded634b7aa4cab16c87fe3a%2Fd17a259fe817ff10ea9fd87140a89bd62ece6fa9940e05902574dcf95bed5960.svg?alt=media) **\[削除]** して、ブラウザーに保存されているログ記録を削除します。
5. ネットワークリクエストを記録している間に注文を完了し、サンクスページを読み込みます。
6. ネットワークトラフィックで記録されたアクティビティを右クリックし、 **すべてをHARとして保存** を選択して、ファイルをコンピューターに保存します。

</details>

<details>

<summary>Safari</summary>

1. Safariを開き、チェックアウトページに移動します。
2. 押します **Option + Command + i** をショートカットとして、ページの開発者ツールを開きます。
   * この機能を使用するには、開発者ツールを有効にする必要があります。次へ移動します。 **Preferences → Advanced → Show develop** .
3. を選択します。 **ネットワーク** タブ。
4. がオンになっていることを確認し、次に **Preserve Log upon Navigation** ボタンを選択してから **クリア** ボタン。
5. ネットワークリクエストを記録している間に注文を完了し、サンクスページを読み込みます。
6. ネットワークトラフィックで記録されたアクティビティを右クリックし、 **HARファイルとしてエクスポート** を選択して、ファイルをコンピューターに保存します。

</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/other/ja/reference-documentation/generate-a-har-file.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.
