> For the complete documentation index, see [llms.txt](https://docs.wicle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wicle.io/other/faq/how-to-use/events.md).

# イベントの種類と使い分け

自動計測・コードレス・カスタムイベントの違いと使い分け、課金対象イベント、過去データへの遡及、コンバージョン設定など、イベントに関するよくある質問をまとめています。

Wicleで扱うイベントの種類と、その使い分けについてのよくある質問です。

## 自動計測イベント・コードレスイベント・カスタムイベントは何が違いますか？ <a href="#event-types" id="event-types"></a>

`自動計測イベント`は、タグがユーザーの行動を自動で取得するイベントです。ページビュー・クリック・活動時間は標準で計測され、スクロール率・注視領域・フォーム送信・エラーは設定画面で有効化すると計測されます。

`カスタムイベント` は、購入完了や特定の操作など、任意のタイミングで送信する独自のイベントです。送信にはコードの実装が必要です。

`コードレスイベント` は、すでに計測しているイベントのうち特定の条件に一致したものを、新しいイベントとして生成する機能です。コードの実装は不要です。

詳しくは [自動計測されるイベント](/data-setting/event-tracking/auto-event.md)、[カスタムイベント](/data-extension/custom-event.md)、[コードレスイベント](/data-extension/codeless-event.md) をご覧ください。

## コードレスイベントとカスタムイベントはどう使い分けますか？ <a href="#codeless-vs-custom" id="codeless-vs-custom"></a>

すでに計測している自動計測イベントやカスタムイベントの中から、特定の条件に合うものをイベントとして定義したい場合は `コードレスイベント` が便利です。コードの実装なしで設定できます。

購入完了と購入金額など、新たにイベントや付随するデータを送信したい場合は`カスタムイベント`を使います。コードの実装が必要です。会員種別など、ユーザーごとの属性を更新したい場合は[ユーザープロファイル](/data-extension/user-profile.md)を使います。

詳しくは [コードレスイベント](/data-extension/codeless-event.md) と [カスタムイベント](/data-extension/custom-event.md) をご覧ください。

## オプトインで追加するイベント（スクロール率・注視領域・フォーム送信・エラー）は課金対象ですか？無効化すると過去のデータも消えますか？ <a href="#optin-billing" id="optin-billing"></a>

はい。有効化した後に計測されたイベントは、課金対象イベントとしてカウントされます。無効化しても計測が停止するだけで、それまでに取得したデータは保持期間内で引き続き閲覧できます。

詳しくは [計測タグの設置・設定](/initial-setting/tag.md) をご覧ください。

## カスタムイベントは、設定する前に送信したデータも後から見られますか？ <a href="#custom-event-retroactive" id="custom-event-retroactive"></a>

いいえ。カスタムイベントの設定を行う前に送信されたデータは遡って表示されません。設定後に送信したデータだけが集計・検索の対象になります。先に管理画面でイベントとフィールドを定義し、その後に送信処理を実装してください。

詳しくは [カスタムイベント](/data-extension/custom-event.md) をご覧ください。

## コードレスイベントは、過去のデータに遡って生成できますか？ <a href="#codeless-retroactive" id="codeless-retroactive"></a>

GrowthプランまたはCustomプランでは、作成時に `イベントデータを遡及して生成する` をオンにすると、過去に遡ってイベントを生成できます。対象は90日前以降の計測済みデータです。遡及生成できるイベント数にも上限があり、遡及生成の有無は作成後に変更できません。

詳しくは [コードレスイベント](/data-extension/codeless-event.md) をご覧ください。

## 自動計測されないボタンやリンク（独自実装の要素）もクリック計測できますか？ <a href="#custom-click-target" id="custom-click-target"></a>

はい。CSSセレクターや任意のdata属性の指定、対象要素への `data-wicle-auto-click` 属性の付与によって、自動計測の対象外の要素をクリック計測に追加できます。ただし、ShadowDOM内やiframe内の要素は計測できません。

詳しくは [クリックイベントの拡張](/data-setting/event-tracking/click-event-extension.md) をご覧ください。

## どのイベントをコンバージョン（CV）として設定できますか？ <a href="#cv-events" id="cv-events"></a>

カスタムイベントとコードレスイベントを、それぞれの作成・編集画面から中間コンバージョンまたは最終コンバージョンとして設定できます。設定したCVはCVダッシュボードやCV到達経路分析で利用されます。

詳しくは [カスタムイベント](/data-extension/custom-event.md) と [コードレスイベント](/data-extension/codeless-event.md) をご覧ください。


---

# 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://docs.wicle.io/other/faq/how-to-use/events.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.
