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