# Analytics integrations

## Analytics integration

Connect your analytics platform to AB Tasty Recommendations & Merchandising to track performance and optimize your recommendation strategy.&#x20;

### Prerequisites

Before starting, ensure you have:

* Active AB Tasty Recos & Merch account
* Access to your analytics platform (Google Analytics, Adobe Analytics, etc.)
* Basic understanding of event tracking
* Administrative permissions for analytics configuration

### Supported analytics platforms

AB Tasty integrates with:

* Google Analytics (GA4 and Universal Analytics)
* Adobe Analytics
* Matomo
* Piano
* AB Tasty analytics
* Custom analytics solutions

## Connect your analytics platform

### Google Analytics integration

Google Analytics integration provides detailed insights into recommendation performance through enhanced ecommerce tracking and custom event monitoring.

1. Navigate to **Settings** > **Analytics** in your AB Tasty dashboard
2. Select **Connect Google Analytics** from the available integration options to begin the authorization process
3. Authorize access to your Google Analytics account through OAuth authentication
4. Select the appropriate property for your website from the available options
5. Enable enhanced ecommerce tracking if not already active in your GA property
6. Configure custom dimensions for recommendation-specific tracking
7. Set up goals and conversion tracking for recommendation-driven purchases

### Adobe Analytics integration

Adobe Analytics integration offers advanced segmentation capabilities and detailed customer journey analysis for recommendation performance.

1. Navigate to **Settings** > **Analytics** in your AB Tasty account
2. Select **Adobe Analytics** from the available integration options
3. Enter your **Report Suite ID** to establish the connection
4. Configure custom variables (eVars and props) for recommendation tracking
5. Set up success events for click-through and conversion measurement
6. Test the connection using the built-in verification tool
7. Configure data processing rules for recommendation event handling

### Matomo

Matomo integration allows AB Tasty Recommendations & Merchandising (R\&M) to use your existing analytics data — such as product views, add-to-cart, and purchase events — without adding a new tracker to your website.

**Prerequisites**

Before connecting Matomo, make sure you have:

* An active AB Tasty Recos & Merch account
* Access to your Matomo instance (Cloud or On-Premise)
* A Matomo user with API permissions
* Your Matomo API endpoint (e.g. `https://your-matomo-domain/matomo.php`)
* The user’s `token_auth` key

**Connect Matomo**

1. Navigate to **Settings > Analytics** in your AB Tasty account.
2. Select **Matomo** from the list of available analytics integrations.
3. Enter the following details:
   * **Name:** choose any descriptive name (e.g. *Matomo Production*)
   * **Endpoint URL:** your Matomo API endpoint
   * **Token Auth:** your Matomo API key (`token_auth`)
4. Click **Connect Matomo** to complete the setup.
5. Data synchronization starts automatically. The first data import may take up to 24 hours.

**Verify tracking**

* Go to **Analytics > Reports > Source: Matomo** in your AB Tasty dashboard to confirm data import.
* Check that recommendation events (views, clicks, conversions) are visible in Matomo.
* Allow a few hours for full data synchronization and reporting.

**Troubleshooting**

If no data appears after setup:

* Double-check your endpoint URL and API token.
* Make sure the Matomo user has API permissions.
* Contact your AB Tasty CSM or Technical Support Engineer if synchronization still fails.

{% embed url="<https://app.gitbook.com/o/iFKI1JaxSfPoiGt4tT2k/s/6Yw9IRJ6KbbucQPwZUCZ/~/changes/352/recommendations-and-merchandising-1/how-tos/how-to-configure-your-analytics-integration/how-to-configure-matomo-integration>" %}

#### Piano

\##TO DO

####

#### Custom analytics setup

Custom analytics setup allows integration with any analytics platform through flexible event tracking and data layer implementation.

1. Navigate to **Settings** > **Analytics** in your AB Tasty account
2. Select **Custom Analytics** from the available integration options
3. Configure event tracking using the provided JavaScript code snippets
4. Implement comprehensive tracking events on your website:
   * Page view events (track recommendation impressions)
   * Product view events (monitor recommended product interest)
   * Add to cart events (measure recommendation effectiveness)
   * Purchase events (calculate revenue attribution)
5. Set up data layer variables for advanced tracking scenarios
6. Configure custom event parameters for detailed performance analysis
7. Implement cross-domain tracking if your checkout process spans multiple domains

### Key tracking events

AB Tasty automatically tracks:

* **Recommendation impressions** - when widgets are displayed
* **Product clicks** - when users click recommended items
* **Add to cart** - when recommended products are added to cart
* **Purchases** - when recommended products are purchased

### Verify tracking

Proper verification ensures that all recommendation events are being captured accurately and data is flowing correctly between systems.

1. Navigate to **Analytics** in your AB Tasty dashboard to access the tracking overview
2. Check that recommendation events are being recorded in real-time or near real-time
3. Verify data appears correctly in your primary analytics platform with proper event categorization
4. Allow 2-4 hours for initial data processing and complete event attribution
5. Test tracking across different user scenarios (new visitors, returning customers, mobile users)
6. Validate that revenue attribution is working correctly for recommendation-driven purchases
7. Review data quality reports to identify any tracking gaps or inconsistencies


---

# 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/getting-started/setting-up/analytics-integrations.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.
