# Event Selection and Filtering

ChartBuilder lets you filter and plot every event you ingest by every piece of metadata available (including onchain data). Segmenting and filtering those events can be tricky however. \
\
Open up 'ChartBuilder' on the main Spindl page and choose line chart from the menu. Pick a few events on the left-hand side (here we've picked page view, wallet connect, and an onchain swap). \
\
The plot below is essentially the offchain to onchain converson funnel for this sample client (we'll plot it in a funnel view in below).&#x20;

<figure><img src="/files/5ysCKDGHXkGf0bxbooKC" alt=""><figcaption></figcaption></figure>

In reality, Spindl is just a very sophisticated event ingestion engine, surfacing those events with visualizations and various bits of computation. This menu of events on the left will re-appear in every chart type, and also in [Audiences](/spindl/features/audiences.md). Understanding how to view your users through the events they trigger is a key part of using Spindl. \
\
A couple pointers on the event picker and filtering pane on the right. \
\
Aggregates: Depending on the event, the 'measured as' could be literal counts of the event firing, unique users, unique sessions, revenue...or much else besides depending on the event. **Make sure you're measuring the number you think you are, and that events plotted together have comparable measures.**

<div align="left" data-full-width="false"><figure><img src="/files/tWWS6IFhqSAXryUswUuI" alt="" width="306"><figcaption><p>The aggregate picker for Page View.</p></figcaption></figure></div>

The next control is the filter toggle, which can be used to drill down into various pieces of event metadata.&#x20;

\
![](/files/I5HVKKlnr7HNuzDsDDkk)

Just about about every piece of event metadata, whether offchain or onchain, is available here.  If it's not, ask us.&#x20;

**Note that onchain events have very different metadata,** and will not have your usual Web2 state like browser or URM parameters.&#x20;

<div align="left"><figure><img src="/files/QB0idPE1xP9GtdLHDz0T" alt="" width="375"><figcaption><p>The onchain data filter for swapping transactions.</p></figcaption></figure></div>

Lastly, there's the segment tool, which aggregates by the event filter chosen, and plots data as a table underneath (almost) any chart type you choose.&#x20;


---

# Agent Instructions: 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:

```
GET https://docs.spindl.xyz/spindl/features/web3-native-analytics/event-selection-and-filtering.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
