# Microsoft Universal Event Tracking Consent Mode Integrated

The Microsoft Universal Event Tracking (UET) Consent Mode Integration feature within the app provides a seamless way for merchants to implement Microsoft Universal Event Tracking Consent Mode on their e-commerce platform. This feature allows merchants to respect user consent for cookies, ensuring compliance with data protection regulations while still enabling the collection of critical analytics and ad performance data.

Merchants can configure Microsoft UET Consent Mode directly from app's admin: **Settings/Integration/ Universal Event Tracking** by following these steps:

* If you have already added UET tracking code on your store, jump to **step 2.** If not, select "**Have NOT added UET tag on store yet**" checkbox and input your **UET tag ID**.
* &#x20;Copy the generated code snippet provided by the app.
* Go to Settings -> Custom code
* Click to **Add Custom Code** to create new snippet
* Past copied code to the first input field
* Name the snippet (Ex. Consentik UET)
* Select **Load code on each new page** on **All Pages** selection
* Select **Head** on Place code and Apply


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.consentik.com/consentik-gdpr-cookie-banner-for-shopline/integrations/microsoft-universal-event-tracking-consent-mode-integrated.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
