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:

  1. 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.

  2. Copy the generated code snippet provided by the app.

  3. Access the theme.liquid file within the website's theme editor.

  4. Paste the copied code snippet just after the opening <head> tag.

  5. Save the changes made to the theme.liquid file to ensure Consent Mode is active.

Upon integration of the generated code into the theme.liquid file, the app will default value of ad_storage to a 'denied' state. This ensures that no data is collected without the explicit consent of the user.

When a user visits the merchant's website, they will be prompted to provide consent for various categories of cookies, including:

  • Marketing Cookies: Related to advertising and marketing efforts.

  • Analytics Cookies: Used for collecting data on user interaction and behavior.

  • Functionality Cookies: Essential for certain website features and personalization.

If the user provides their consent:

  1. Consent Update: The app will update ad_storage to 'granted' for the cookie categories the user has accepted.

  2. Consent Storage: The user's preferences are stored in a cookie on their device, ensuring that their choices are remembered for future visits.

  3. Automatic Consent Application: On subsequent visits, the app will automatically read the stored cookie and apply the user's preferences without requiring them to consent again.

With this feature, merchants can manage user consent for cookies in a way that is compliant with privacy laws, user-friendly, and minimizes the impact on data collection for critical website functions. The process is designed to be transparent for users and straightforward for merchants to implement and manage.

Method 1: Using EUT Tag admin

  1. Go to Microsoft Advertising Admin, select Coversions -> UET Tag

  2. Select to the tag you want to test, click to tab Test your tag

  1. Input your website URL and click to Open website URL

  2. A new window will appear. If you see Consentik Cookie banner, click to Accept button and reload that window

  3. Wait for 10-20 seconds to Microsoft update event from your site.

  4. If you setup consent mode correctly, you can see the message below

Method 2: Using Console on DevTool

  1. Open your site

  2. Press button F12 or Ctrl + Shift + J on Windows ( Cmd + Option + J on MacOS) or Right Mouse and select Inspect to open Console Tab on

  3. Type window.uetq.uetConfig.consent

  4. When cookie banner show, you can see the default consent status is false

  1. When you click to "Accept" button, you can see an Update status change to true

If you have trouble implementing or testing Microsoft UET consent mode, please contact us.

Last updated