Skip to content
Marketing / AdvertisingConsent required

What is the _uetmsclkid cookie?it needs consent first

Set by Microsoft Advertising (Microsoft Corporation). Expires after 90 days.

Block it until the visitor opts in

Under the ePrivacy Directive (Art. 5(3)) and GDPR, _uetmsclkid may only be set after the visitor accepts marketing cookies.

Purpose

Stores the Microsoft Advertising click ID (msclkid) so a later conversion can be credited to the ad click.

Cookie details

Cookie name
_uetmsclkid
Service
Microsoft Advertising
Provider
Microsoft Corporation
Category
Marketing / Advertising
Duration
90 days
Consent
Required — opt-in

GDPR requirements

Marketing cookies are used to track visitors across websites to display relevant advertisements. Consent is required under GDPR.

For _uetmsclkid to be compliant, it must be:

  • Not set on the first visit — not even for a fraction of a second
  • A consent banner is shown, and the visitor actively accepts marketing cookies
  • Stays blocked if the visitor rejects or ignores the banner
  • Listed in your cookie policy with its name, purpose and retention period
  • Removed or invalidated when the visitor withdraws consent

How to handle it

  1. 1
    Block it by default

    Configure your consent platform (CMP) or tag manager so Microsoft Advertising doesn't load until the visitor accepts marketing cookies.

  2. 2
    Map it to a consent category

    Put it under “Marketing / Advertising” in your CMP configuration.

  3. 3
    List it in your cookie policy

    Name, purpose, provider (Microsoft Corporation) and expiry (90 days).

  4. 4
    Sign a DPA

    Have a Data Processing Agreement with Microsoft Corporation covering the data this cookie collects.

  5. 5
    Verify it works

    In a private window, reject cookies and confirm _uetmsclkid is not set.

Other Microsoft Advertising cookies

is _uetmsclkid on your site?scan it in 2 minutes

Free scan · see every cookie before and after consent