> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.consentmo.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Microsoft UET Custom Pixel - Consent Mode Integration

In case you have the **Microsoft UET tag** in the store **via a Custom pixel**, refer to the below steps on **how to integrate it** with the **Consent Mode** as well.

# Creating a custom Pixel

1. Go to store **Settings**

2. Open the **Customer events** section

3. Select the **Custom pixels** tab

4. From the top right select the **Add custom pixel** option

![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/7/f/b07f7406951a4000/uet-custom-pixel-add_dyj4vu.png)

5. Name the custom pixel `UET - Consentmo Consent Mode`

6. Hit the **Add Pixel** option

![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/7/f/b07f7406951a4000/uet-custom-pixel-name_7rna8z.png)

7. After that, copy the content of the file below and paste it in the newly created Pixel:

| [Download](https://gdprstorage.b-cdn.net/faq/files/Consentmo-Microsoft-custom-pixel-Consent-mode-WITH-EVENTS-25.09.7z) Consent Mode for Microsoft UET Pixel

8. In the script, change the `const UET_ID = 'UET-ID';` with the actual UET tag ID you run in the store

![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/7/f/b07f7406951a4000/custom-pixel-uet-id_m6ewba.png)

9. For the pixel **Permissions**, make sure to set this part to **Not required**

![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/7/f/b07f7406951a4000/uet-custom-pixel-permissions_mkqsd2.png)

10. **Save and Connect** the pixel

[![](https://gdprstorage.b-cdn.net/faq/gif/UET-save-connect-pixel.gif)](https://gdprstorage.b-cdn.net/faq/gif/UET-save-connect-pixel.gif)

# Original Microsoft UET tag Pixel

|| Once the Custom pixel is created and connected as per the above steps, the original one needs to be Disconnected.

If **in the original UET pixel** you have events that are set to record different aspects of the visitor session, as per the [Microsoft guide](https://help.ads.microsoft.com/#apex/ads/en/56901/-1), you can move them in the new pixel.

|| The script for the Microsoft UET - Consent Mode custom pixel that is provided by us already has the main events included.

If any event is missing from the ones you are tracking, you can **copy them from the original pixel** and add them **after the script for the custom pixel from our app**.

# Need help?

In case you need any assistance, please make sure to reach out to our support team via live chat or at [support@consentmo.com](mailto:support@consentmo.com)