> 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/recommendations-and-merchandising_deprecated/recos-and-merch-integrations/analytic-integrations/matomo-integration.md).

# Matomo integration

To integrate your Matomo analytics with the AB Tasty Recommendations & Merchandising platform, follow these steps:

## Step 1: Create a New User in Matomo <a href="#h_01jdpcfjq8sh66frnyx83h8j35" id="h_01jdpcfjq8sh66frnyx83h8j35"></a>

1. Log in to your Matomo instance.
2. Follow the instructions detailed in the official Matomo guide:[ How to find token\_auth](https://matomo.org/faq/general/faq_114/)
3. Create a new user account with the necessary permissions for API access.

Retrieve the token\_auth value associated with this user.![](/files/59HZQ7pHTdjpAcIU55dA)

## Step 2: Prepare Your Integration Details <a href="#h_01jdpcfw1cwthj27a3ax5bx3d1" id="h_01jdpcfw1cwthj27a3ax5bx3d1"></a>

1. Copy the following information from your Matomo instance:

* token\_auth: The unique authentication token for the user you just created.
* matomo\_endpoint: The URL endpoint for your Matomo API (e.g., <https://your-matomo-instance/matomo.php>).

In the AB Tasty platform interface, paste the token\_auth and matomo\_endpoint into the corresponding fields.

## Step 3: Connect Matomo <a href="#h_01jdpcg46zp55fprfe0tk3pa73" id="h_01jdpcg46zp55fprfe0tk3pa73"></a>

1. Click on the ‘Connect Matomo’ button in the platform interface to finalise the integration.

## Verifying Your Integration <a href="#h_01jdpcggzatw5eqybh4tmc254d" id="h_01jdpcggzatw5eqybh4tmc254d"></a>

Once the integration is complete, check the ‘Report’ tab in the platform to ensure that Matomo analytics data is being imported correctly.

**If data does not appear:**

* Verify that the token\_auth and matomo\_endpoint values were entered correctly.
* Ensure that the Matomo user account has the correct permissions.
* Check the accessibility of your Matomo API endpoint.
* If issues persist, contact your Customer Success Manager (CSM) for assistance.


---

# 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.abtasty.com/recommendations-and-merchandising_deprecated/recos-and-merch-integrations/analytic-integrations/matomo-integration.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.
