> For the complete documentation index, see [llms.txt](https://docs.adpage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adpage.io/extensions/extensions-nl/plugins/magento-module.md).

# Magento-module

Installeer en valideer AdPage Tagging voor je Magento-winkel.

Gebruik de AdPage Tagging Magento-module om e-commerce tracking aan je winkel toe te voegen.

<a href="https://github.com/AdPageGroup/Magento/releases" class="button primary" data-icon="github">Download de nieuwste release</a>

### Voordat je begint

Zorg dat je toegang hebt tot je Magento-admin, server en Google Tag Manager-container. Verwijder dubbele e-commerce tracking voordat je de module test.

Maak een back-up van je winkel en test de installatie eerst in een staging-omgeving.

### Installeer de module

{% stepper %}
{% step %}

#### Download AdPage Tagging

Open de releasepagina en download de nieuwste module-release. Bekijk de release notes voordat je een bestaande installatie upgradet.
{% endstep %}

{% step %}

#### Installeer en configureer de module

Installeer de gedownloade release met behulp van de meegeleverde release-instructies. Open in de Magento-admin de configuratie van AdPage Tagging en voltooi de vereiste instellingen voor je winkel.
{% endstep %}

{% step %}

#### Publiceer je wijzigingen

Sla de moduleconfiguratie op en publiceer je Google Tag Manager-container. Gebruik de voorvertoningsmodus voordat je productiewijzigingen publiceert.
{% endstep %}
{% endstepper %}

### Valideer de installatie

Gebruik Google Tag Manager Preview om je storefront te testen. Voltooi deze acties tijdens één testsessie:

1. Bekijk een productlijst en productpagina.
2. Voeg een item toe aan het winkelmandje en begin met afrekenen.
3. Plaats een testbestelling en open de succespagina.

Bevestig de verwachte `trytagging_*` gebeurtenissen verschijnen in de datalaag. Controleer prijzen, valuta, product-ID's, aantallen en transactie-ID's.

### Beschikbare Magento-gebeurtenissen

De module biedt e-commercegebeurtenissen gedurende het aankooptraject:

* `trytagging_view_item_list`
* `trytagging_view_item`
* `trytagging_add_to_cart`
* `trytagging_view_cart`
* `trytagging_remove_from_cart`
* `trytagging_begin_checkout`
* `trytagging_add_shipping_info`
* `trytagging_add_payment_info`
* `trytagging_purchase`

Het verzendt ook `trytagging_user_data` op elke pagina. Zie [De e-commerce dataLayer van AdPage](/extensions/extensions-nl/cms-tracking/de-e-commerce-datalayer-van-adpage.md) voor gebeurtenisparameters.

{% hint style="warning" %}
Test aankopen niet met een live betaalmethode. Gebruik een Magento-testbetaalmethode of een stagingwinkel.
{% endhint %}

### Problemen oplossen

Als gebeurtenissen niet verschijnen, controleer dan of de module is ingeschakeld. Wis vervolgens de Magento-caches en controleer je Google Tag Manager-container-ID.

Als gebeurtenissen dubbel voorkomen, schakel overlappende e-commerce- of tag-managerintegraties uit. Test opnieuw in een incognitovenster nadat je je winkelmandje hebt geleegd.


---

# 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.adpage.io/extensions/extensions-nl/plugins/magento-module.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.
