> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/integrations/push-integrations/matomo.md).

# Matomo

Matomo is an open source web analytics application that gives you full control over your data. It collects data from websites and apps, enabling you to visualize metrics and extract insights.

The Matomo push integration sends AB Tasty campaign data to Matomo.

## How campaign data is sent <a href="#h_01hdh90vx1xbxgnjprq74yvdaa" id="h_01hdh90vx1xbxgnjprq74yvdaa"></a>

AB Tasty campaign data is sent as an event with the following properties:

* The event category is `abtasty`
* The event action contains the **Campaign ID** and **Campaign Name** formatted as `[campaign_id] campaign_name`
* The event name contains the **Variation ID** and **Variation Name** formatted as `[variation_id] variation_name`

The event is sent using the  `_paq('trackEvent')` method.

## How to set up the integration <a href="#h_01gpkg5w4xnkgjg6h7bj5sfw5r" id="h_01gpkg5w4xnkgjg6h7bj5sfw5r"></a>

<img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fgit-blob-b571871ed6ed0f45e8cb19585181b481ea0c1951%2F9eb9d7d6338779c7fb3b8d45606f9272.png?alt=media" alt="" width="375">

1. Access **Integrations > Integration Hub**.
2. Search for and select **Matomo**.
3. Click **Setup connector.**
4. Give a name to your connector so you can easily retrieve it.
5. \[Optional] Check the box to automatically add the connector to your future campaigns.
6. Click **Save and create connector.**

**If the box is checked**: the connector will be automatically added to the Advanced step of future campaigns. Existing campaigns are not affected.&#x20;

**If the box is unchecked (default)**: The connector must be manually selected in the Advanced options step of each campaign. See the [Advanced Options Step ](https://docs.abtasty.com/web-experimentation-and-personalization/campaign-flow-advanced-options.md)for more details.

You can change this setting anytime by editing the connector configuration in the Integration hub.

{% hint style="warning" %}
**You must update the AB Tasty tag to make your changes live.**
{% endhint %}


---

# 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.abtasty.com/integrations/push-integrations/matomo.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.
