> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.pandectes.io/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).

# How to Test the Microsoft Ads Consent Mode Integration

This guide will walk you through a step-by-step process to test whether consent is being appropriately handled and UET events are firing in accordance with user preferences.

### What You’ll Need

* A **Microsoft Ads UET Tag** is configured correctly in your account
* The [Pandectes GDPR Compliance app](https://apps.shopify.com/gdpr-cookie-consent) is installed and configured on your store
* A published consent banner with the appropriate Microsoft tag settings enabled in the integration section
* Edge browser
* The [UET Tag Helper](https://go.microsoft.com/fwlink?LinkId=2134986) in the Edge browser

### Testing in Edge Browser

##### Step 1: Open Your Store in a Clean Session

Use an **incognito tab** or clear all cookies and local storage from your browser before visiting your store.  
This ensures no previous consent data affects the test.

##### Step 2: Enable the UET Tag Helper

Once your store is loaded, click the **UET Tag Helper** extension in your browser and toggle the switch from **Off** to **On**.

##### Step 3: Refresh the Page

Now refresh your store's page. This allows the extension to monitor all UET tags firing on page load.

##### Step 4: Check UET Parameters Before Consent

In the UET Tag Helper, find the UET tag linked to your Microsoft Ads account.  
Open the tag details and look for the **`Consent State (asc)`&#32;parameter** under “Parameter details”.
The **`Consent State (asc)`&#32;value should be** **Denied**.  
This confirms that the UET tag is not tracking until consent is granted.

![](https://storage.crisp.chat/users/helpdesk/website/-/1/a/5/a/1a5af239e847cf00/image_1sk02q7.png =1000x551)
##### Step 5: Accept the Pandectes Cookie Consent Bar

Click **Accept All** or consent to Marketing cookies via the Pandectes banner on your store.

##### Step 6: Refresh the Page Again

Reload the page once more to apply the consent changes.

##### Step 7: Verify UET Parameters After Consent

Reopen the UET Tag Helper and check the **`Consent State (asc)`&#32;parameter** again.
The **`Consent State (asc)`&#32;value should now be&#32;`Granted`**.  
This means that tracking is now allowed and the UET tag is firing properly.

![](https://storage.crisp.chat/users/helpdesk/website/-/1/a/5/a/1a5af239e847cf00/image_6ymv9c.png =1000x363)