# 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-Mj0F1_XU5Yut2tnfcdf%2F-Mj0FCfSST8y5igIfpih%2Fimage.png?alt=media\&token=5f6a1791-791e-46a1-b2b1-a1dce7ff1997)

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-Mj0F1_XU5Yut2tnfcdf%2F-Mj0FbKvZOSAZyC6s5fi%2Fimage.png?alt=media\&token=daa97e64-1c3e-48f5-bc42-7455ed151034)

### 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-Mj0F1_XU5Yut2tnfcdf%2F-Mj0FmNkAu3Ry1tizm7U%2Fimage.png?alt=media\&token=713d0132-ff28-4ac8-8dd9-bd3227966b1f)

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-Mj0F1_XU5Yut2tnfcdf%2F-Mj0G-JC1MuiYkCcBknF%2Fimage.png?alt=media\&token=8f8f873d-f1e1-4526-a031-1c8258620b6e)

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

<br>
