Microsoft UET Custom Pixel - Consent Mode Integration
In case you have the Mictosoft 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.
Go to store Settings
Open the Customer events section
Select the Custom pixels tab
From the top right select the Add custom pixel option

Name the custom pixel UET - Consentmo Consent Mode
Hit the Add Pixel option

After that, copy the content of the file below and paste it in the newly created Pixel:
Download Consent Mode for Microsoft UET Pixel
In the script, change the const UET_ID = 'UET-ID'; with the actual UET tag ID you run in the store

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

Save and Connect the 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, 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.
In case you need any assistance, please make sure to reach out to our support team via live chat or at support@consentmo.com
Creating a custom Pixel
Go to store Settings
Open the Customer events section
Select the Custom pixels tab
From the top right select the Add custom pixel option

Name the custom pixel UET - Consentmo Consent Mode
Hit the Add Pixel option

After that, copy the content of the file below and paste it in the newly created Pixel:
Download Consent Mode for Microsoft UET Pixel
In the script, change the const UET_ID = 'UET-ID'; with the actual UET tag ID you run in the store

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

Save and Connect the pixel

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, 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
Updated on: 15/05/2025
Thank you!