> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/pagefly-help-center-japanese/pjito/analytics/page-analytics/enable-pagefly-analytics.md). Agents can also search and read this documentation through its [MCP server](https://help.pagefly.io/~gitbook/mcp).

# PageFly Analyticsを有効にする

PageFly Analyticsは1分もかからずに使い始められます。外部アカウントもコードも、技術的な設定も必要ありません。

***

### 有効にする方法

#### ステップ1：Analyticsを開く

1. PageFlyで、左サイドバーの **Analytics** をクリックします
2. サンプルデータを使ったデモダッシュボードと、上部にバナーが表示されます

#### ステップ2：「Enable Analytics」をクリックする

1. バナーまたはPageFly Analyticsの接続ボックスにある **Enable Analytics** ボタンをクリックします
2. トラッキング権限の承認を求めるShopifyのポップアップが表示されます
3. **Approve** をクリックし、ストアフロントでの訪問者の行動をトラッキングする権限をPageFlyに付与します
4. PageFlyがトラッキングピクセルを自動でインストールします。有効になったことを知らせるトーストが表示されます

**設定はこれだけです。** データは数分以内に集まり始めます。意味のあるインサイトは、数時間分のトラフィックが集まった後に表示されます。

***

### 有効にすると何が起きるか

* ShopifyがPageFlyに2つの権限を付与します：`write_pixels`（トラッキングのインストール）と `read_customer_events`（訪問者データの受信）
* PageFlyは、Shopify標準のWebピクセルの仕組みを使って、軽量なトラッキングピクセルをストアフロントにインストールします
* ピクセルがトラッキングするのは、PageFlyページ上での訪問者の行動（ページビュー、クリック、カートに追加、購入）のみです
* データはPageFlyのサーバーに安全に保存され、第三者と共有されることはありません
* **ストアの表示速度への影響はありません。** トラッキングはShopifyのサンドボックス環境内で実行されます

***

### データはいつ表示されますか？

| 経過時間      | 表示される内容                      |
| --------- | ---------------------------- |
| **すぐ**    | ストアフロントでトラッキングが有効になります       |
| **1〜2時間** | 最初のページビューとセッションが表示されます       |
| **24時間**  | 基本的な指標カードに必要なデータがそろいます       |
| **7日以上**  | 意味のある傾向、比較データ、AIインサイトが表示されます |

**ヒント：** 有効にした後、シークレットウィンドウで自分のストアにアクセスしてみてください。数分後にAnalyticsダッシュボードを確認すると、少なくとも1セッションが表示されているはずです。

***

### 利用条件

* **PageFlyの有料プラン**（Freeプランではデモダッシュボードが表示されます）
* **公開済み** のPageFlyページが1つ以上あること（下書きのページはトラッキングされません）

***

### 無効にする方法

トラッキングを停止したい場合：

1. **Analytics** ダッシュボードに移動します
2. 「PageFly Analytics — Active」の横にある **メニューアイコン**（3点リーダー）をクリックします
3. **Disable tracking** を選択します
4. ダイアログで確定します。次にストアフロントのページが読み込まれた時点でトラッキングが停止します

既存のデータは保持されます。**Enable Analytics** を再度クリックすれば、いつでも有効に戻せます。

トラッキングの権限は、**Preferences > Data & Privacy > Scope Settings** でも管理できます。

***

### すでにGoogle Analytics 4を使っている場合

PageFly AnalyticsはGA4とは独立して動作します。両方を同時に使うことも、PageFly Analyticsに完全に切り替えることもできます。

以前にGA4を接続している場合、接続を解除しない限りGA4の接続は有効なままです。詳しくは[Google Analytics 4（GA4）に接続する（レガシー）](https://help.pagefly.io/pagefly-help-center-japanese/pjito/analytics/page-analytics/connect-google-analytics-4-ga4)をご覧ください。


---

# 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.pagefly.io/pagefly-help-center-japanese/pjito/analytics/page-analytics/enable-pagefly-analytics.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.
