# Matomo Analytics

To configure your Matomo account to track event data, go to <mark style="color:yellow;">Setting/Analytics</mark> in your Cozmos Space and select Matomo

<figure><img src="/files/HYHjAlIwtDELVSS5VoNI" alt="Analytics"><figcaption></figcaption></figure>

Before you continue with the setup, please ensure you add any required [custom domains](/guides/domain-management.md) to both your Cozmos Space and your Matomo account. The Matomo Site ID input in Cozmos will be blocked until you add the custom domains.

<figure><img src="/files/kuNljz9jXniYDZRs12QW" alt="Matomo"><figcaption></figcaption></figure>

Once custom domains have been connected, you will be able to input Site IDs and save the changes to begin generating data in Matomo. Please note, each domain requires a unique ID.

<figure><img src="/files/YH3KhlD0CHpd2Ub9aoo1" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Please note. By adding your Matomo data to Cozmos, you take full responsibility for ensuring your cookie policy is aligned with any changes and disclaiming to end users of affected Spheres, the data and type you are gathering.
{% endhint %}


---

# 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://learn.cozmos.com/guides/analytics/matomo-analytics.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.
