---
title: 'Kowal Data Layer Hyvä'
url: 'https://info.srv.kowal.co/docs/magento/modules/data-layer/data-layer-hyva'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/data-layer/data-layer-hyva.md'
lang: en
date: '2026-11-26'
description: 'Keep ecommerce tracking in sync when a Hyvä storefront refreshes private customer data or replaces a product list after filtering.'
taxonomy:
  category:
    - docs
    - Magento
    - Hyva
---

# Kowal Data Layer Hyvä

## Product page

[Kowal Data Layer — kowal.co](https://kowal.co/kowal-data-layer-for-magento-2)

## Description

Keep ecommerce tracking in sync when a Hyvä storefront refreshes private customer data or replaces a product list after filtering.

## For whom

For analytics implementers validating product list impressions and cart events on dynamic Hyvä pages.

## Features

- Collect pending events when Hyvä loads private content.
- Detect updated list markers after AJAX filtering and suppress repeated impressions for identical list data.
- Preserve the product’s list context, including position zero, when the add-to-cart form is submitted.

## Installation

This component is included in Kowal Data Layer. Follow the [module installation instructions](https://info.srv.kowal.co/docs/magento/modules/data-layer). Enable the base module and its adapter, then apply the release:

```sh
bin/magento module:enable Kowal_DataLayer Kowal_DataLayerHyva
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Enable the base module. In the Hyvä store view, open **Stores → Configuration → Kowal → Data Layer → Hyva Compatibility** and turn on **Enable Hyva Integration**.
2. For a custom grid or slider, render the base module’s list marker with the displayed products and a unique list ID. For custom fetch forms, supply the product field and the data-kowal-datalayer-add-to-cart attribute.

## Requirements / notes

The adapter uses the base module’s event payloads. The supported checkout path includes standard Magento REST checkout; a custom Magewire or headless flow needs its own verification.

## FAQ

**Why is a dynamically updated grid missing its list impression?**

Inspect the HTML fragment returned after filtering. It must include an updated list marker with product data for the items actually shown.

## Verify the installation

```sh
bin/magento module:status Kowal_DataLayerHyva
```

On a test category, inspect view\_item\_list before and after applying a filter that changes the products. Add the first displayed product and check its list ID and index in the cart event. Refresh private content and check for a duplicate event.

---

## Navigation

- Parent: [Kowal Data Layer](https://info.srv.kowal.co/docs/magento/modules/data-layer.md)
