> 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/extensions/pixelyourshop/cookie-consent/pixelyourshop-cookie-consent-cookie-bot.md).

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

![](/files/-Mj0KErNmcGG3YH2MLPr)

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`.

![](/files/-Mj0FQ0UyX1LWgzikfTS)

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.

![](/files/-Mj0KVEyFfdNmTtlH4Hk)

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

![](/files/-Mj0Kczhc-0HXphDTAKE)

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.

![](/files/-Mj0Kmb4EA4Rsxt2q7kQ)

{% 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 %}

\\
