> 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 ecommerce-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-beheer, server en Google Tag Manager-container. Verwijder dubbele ecommerce-tracking voordat je de module test.

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

### Installeer de module

{% stepper %}
{% step %}

#### Download AdPage Tagging

Open de releasepagina en download de nieuwste modulerelease. Lees de release-opmerkingen door 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 Magento-beheer de AdPage Tagging-configuratie en voltooi de vereiste installatie voor je winkel.
{% endstep %}

{% step %}

#### Publiceer je wijzigingen

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

### Valideer de installatie

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

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

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

### Beschikbare Magento-gebeurtenissen

De module biedt ecommerce-gebeurtenissen 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 verstuurt ook `trytagging_user_data` op elke pagina. Zie [De e-commerce dataLayer van AdPage](https://docs.adpage.io/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 ecommerce- of tag-managerintegraties uit. Test opnieuw in een incognitovenster nadat je winkelwagen hebt geleegd.

### Instellingen

#### Neem lifetime value op

Deze instelling toont het totale bedrag aan waarde dat een gebruiker heeft uitgegeven en wordt alleen weergegeven als de gebruiker is ingelogd, in de front-end van de website.

#### Debuggen

Wordt gebruikt om logging toe te voegen voor debuggen

#### Kies de plaatsing van het script

Deze optie schakelt de tracking-scripts in de module uit.\
\
Als je wilt bepalen waar de scripts worden geplaatst, kun je deze optie inschakelen. Daarna laadt de module de bestanden niet en moet je dit zelf doen. \
\
LET OP; Als niet alle benodigde scripts zijn opgenomen, werkt tracking niet

#### Wijzig de webhook-trigger

Hiermee stel je de orderstatustrigger in voor het verzenden van de webhook.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.adpage.io/extensions/extensions-nl/plugins/magento-module.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
