# Cookie Bot

[Cookie Bot (opens new window)](https://www.cookiebot.com/)currently offers more setting options than the native cookie consent of Shopware and is therefore a good & stable alternative to the Shopware standard. However, it also takes a little longer to set up. But if you follow this short documentation, you should not have any problems with the installation!

{% hint style="info" %}
**Tip**

You can configure the following steps per sales channel & language individually, which ultimately gives you more flexibility with the cookie consent.
{% endhint %}

### Activate Cookie Bot <a href="#activate-cookie-bot" id="activate-cookie-bot"></a>

First you have to create a valid account with [Cookie Bot (opens new window)](https://www.cookiebot.com/). If everything worked, you can visit [https://manage.cookiebot.com/en/manage (opens new window)](https://manage.cookiebot.com/en/manage)to create the domain of your shop first.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-Mj0K5Eh15M9CpLwK0rS%2F-Mj0KErNmcGG3YH2MLPr%2Fimage.png?alt=media\&token=7b076ac9-cfc2-4d20-a793-771826821cf1)

ow you can navigate to the tab `Your scripts` under [https://manage.cookiebot.com/en/manage (opens new window)](https://manage.cookiebot.com/en/manage), where you can find your `Domain Group ID`.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-Mj0F1_XU5Yut2tnfcdf%2F-Mj0FQ0UyX1LWgzikfTS%2Fimage.png?alt=media\&token=df193ce6-48d1-4d18-a008-1f5504277a93)

Copy this ID and enter it in the Shopware Admin under `Extensions > My extensions > Pixel Your Shop > ... > Configuration > Cookie Consent` in the `Cookie Bot ID` field. Please set the `Provider` to `Cookie Bot` before, so that the field `Cookie Bot ID` is visible.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-Mj0K5Eh15M9CpLwK0rS%2F-Mj0KVEyFfdNmTtlH4Hk%2Fimage.png?alt=media\&token=64fe38dc-b6fb-40b6-9574-bfb7c1d5b62d)

### Assign correct cookie category <a href="#assign-correct-cookie-category" id="assign-correct-cookie-category"></a>

Each pixel can be assigned to a category in Cookie Bot. Cookie Bot distinguishes between the four categories `necessary`, `preferences`, `statistics` and `marketing`, whereas Pixel Your Shop usually uses the two categories `statistics` and `marketing`.

The categories in the Shopware Admin under `Extensions > My extensions > Pixel Your Shop > ... > Configuration > Cookie Consent` must match the categories found in your Cookie Bot account at [https://manage.cookiebot.com/en/cookies (opens new window)](https://manage.cookiebot.com/en/cookies), to make sure that everything works properly.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-Mj0K5Eh15M9CpLwK0rS%2F-Mj0Kczhc-0HXphDTAKE%2Fimage.png?alt=media\&token=3f4dd351-c64f-4615-95af-8da790445770)

In the example below, for `Google gtag` the three cookies `gag`, `gid` & `gat` were recognized and assigned to the category `statistics`. Therefore, you should also enter the `statistics` category under `Cookie Bot: Google gtag category` in Pixel Your Shop. The same principle you can also use for Facebook, Google Tag Manager & Hotjar.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-Mj0K5Eh15M9CpLwK0rS%2F-Mj0Kmb4EA4Rsxt2q7kQ%2Fimage.png?alt=media\&token=e9243321-33d7-4d44-b294-f281f5b80dad)

{% hint style="info" %}
Tip

If no cookies were found for your pixels, then a new scan can be performed in your Cookie Bot account at [https://manage.cookiebot.com/en/cookies (opens new window)](https://manage.cookiebot.com/en/cookies). Please note that only the premium version of Cookie Bot allows several additional scans per month. Alternatively you can add cookies manually in Cookie Bot.
{% endhint %}

\\


---

# 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.shop-studio.io/shopware/extensions/pixelyourshop/cookie-consent/pixelyourshop-cookie-consent-cookie-bot.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.
