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