> ## 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 Consent Mode Integration - Legacy

# Migrating to the new Microsoft Consent Mode?

We've released a brand new, better integration for Microsoft Consent Mode.

Our legacy integration will still continue to work as expected, but we recommend upgrading to our new, streamlined version for a simpler setup and more reliable tracking.

### How to migrate?

The **only thing you need to do** is to **remove the extra added code in your theme**, which was previously added from the **Integration steps for the Old Integration&#32;**section below ⬇️

Once this is done, you can contact support so they can help you set up the new integration or refer to the new integration guide here:
* [Microsoft UET Consent Mode Integration from Consentmo GDPR](https://support.consentmo.com/en/article/microsoft-uet-consent-mode-integration-from-consentmo-gdpr-1b41lv7/)

If you decide to migrate to the new integration without the help of our support, just let them know at support@consentmo.com or via our chat line that th migration is complete so they can remove the prompt for the migration from your store.

### **__Integration steps for the Old Integration__**

|| The steps in the guide are applicable only if you have already been in the app settings and followed the previous steps from the integration, as shown below:

![](https://storage.crisp.chat/users/helpdesk/website/-/b/0/7/f/b07f7406951a4000/uet-consent-mode-2_1ntpae0.png)

# Integration Steps

1. Paste the generated script in the `<head>` section of the `theme.liquid` file

2. Save the changes

||| NOTE: Remove or comment out any previously added Microsoft UET integration script, as it is shown in the below reference

### A reference on the process can also be checked here:

[![](https://gdprstorage.b-cdn.net/faq/gif/Microsoft-automated-script-new.gif)](https://gdprstorage.b-cdn.net/faq/gif/Microsoft-automated-script-new.gif)

### The final result should look like this:

![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/uet-final-result_e1mkmm.png)

||| NOTE: ${color}[#2185e4](Make sure to remove the added code before deleting the app. This way, no snippets of code will be left in your theme. For more information on what you should be aware of when deleting our app check) [this article](/en/article/uninstalling-the-consentmo-app-1t7juar/) of our FAQ page.


# 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