# Events & Custom States

- [Listen to Datalayer Events](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events.md)
- [Connecting to your Websites Datalayer](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events/connecting-to-your-websites-datalayer.md)
- [Creating Variables, Triggers and Tags](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events/creating-variables-triggers-and-tags.md)
- [Creating Variables](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events/creating-variables-triggers-and-tags/creating-variables.md)
- [Creating a Trigger](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events/creating-variables-triggers-and-tags/creating-a-trigger.md)
- [Create a Tag](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/listen-to-datalayer-events/creating-variables-triggers-and-tags/create-a-tag.md)
- [Form Submit, Click and Other Actions](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/form-submit-click-and-other-actions.md)
- [Scroll Tracking State](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/scroll-tracking-state.md)
- [History Change State and Virtual Pageviews](https://docs.jentis.com/use-cases-and-tutorials/events-and-custom-states/history-change-state-and-virtual-pageviews.md)


---

# 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.jentis.com/use-cases-and-tutorials/events-and-custom-states.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.
