> For the complete documentation index, see [llms.txt](https://docs.shop-studio.io/shopware/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shop-studio.io/shopware/de/erweiterungen/vwo/events.md).

# Events

Hier findest du eine detaillierte Übersicht aller Events mit Beispieldaten, die an VWO gesendet werden.

## Produkt ansehen <a href="#produkt-ansehen" id="produkt-ansehen"></a>

Wird ausgelöst, wenn ein Kunde eine Produktdetailseite aufruft.

```json
{
    "event": "view_product",
    "product_id": "SW-10001",
    "product_name": "Jeans",
    "price": 49.99,
    "currency": "EUR",
    "category": "Bekleidung > Hosen > Jeans",
    "categoryLevel1": "Bekleidung",
    "categoryLevel2": "Hosen",
    "categoryLevel3": "Jeans",
    "categoryLevel4": null,
    "categoryLevel5": null,
    "brand": "Denim Co.",
    "sku": "SW-10001",
    "ean": "4006381333931",
    "quantity": 1,
    "variant": "Blau/32",
    "stock": 25,
    "available": true
}
```

## In den Warenkorb legen <a href="#in-den-warenkorb-legen" id="in-den-warenkorb-legen"></a>

Wird ausgelöst, wenn ein Kunde ein Produkt in den Warenkorb legt.

```json
{
    "event": "add_to_cart",
    "product_id": "SW-10001",
    "quantity": 2,
    "total_price": 99.98,
    "currency": "EUR",
    "product_name": "Jeans"
}
```

## Aus dem Warenkorb entfernen <a href="#aus-dem-warenkorb-entfernen" id="aus-dem-warenkorb-entfernen"></a>

Wird ausgelöst, wenn ein Kunde ein Produkt aus dem Warenkorb entfernt.

```json
{
    "event": "remove_from_cart",
    "product_id": "SW-10001",
    "quantity": 1,
    "total_price": 49.99,
    "currency": "EUR",
    "product_name": "Jeans"
}
```

## Warenkorb ansehen <a href="#warenkorb-ansehen" id="warenkorb-ansehen"></a>

Wird ausgelöst, wenn ein Kunde die Warenkorbseite aufruft.

```json
{
    "event": "view_cart",
    "products": [
        {
            "product_id": "SW-10001",
            "quantity": 2,
            "total_price": 99.98,
            "currency": "EUR",
            "product_name": "Jeans"
        }
    ],
    "totalPrice": 99.98,
    "totalTax": 15.96,
    "coupon": "DISCOUNT-20"
}
```

## Kauf <a href="#kauf" id="kauf"></a>

Wird ausgelöst, wenn ein Kunde eine Bestellung abschließt.

```json
{
    "event": "purchase",
    "orderId": "10001",
    "totalPrice": 99.98,
    "totalTax": 15.96,
    "currency": "EUR",
    "coupon": null,
    "affiliation": null,
    "products": [
        {
            "product_id": "SW-10001",
            "product_name": "Jeans",
            "price": 49.99,
            "quantity": 2,
            "currency": "EUR",
            "category": "Bekleidung",
            "brand": "Denim Co.",
            "sku": "SW-10001",
            "variant": "Blau/32"
        }
    ]
}
```

## Anmeldung <a href="#anmeldung" id="anmeldung"></a>

Wird ausgelöst, wenn sich ein Kunde in sein Konto einloggt.

```json
{
    "event": "login"
}
```

## Registrierung <a href="#registrierung" id="registrierung"></a>

Wird ausgelöst, wenn ein Kunde ein neues Konto registriert.

```json
{
    "event": "signUp"
}
```


---

# 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:

```
GET https://docs.shop-studio.io/shopware/de/erweiterungen/vwo/events.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.
