Integrations

Microsoft UET

Last updated May 11, 2026

Microsoft UET (Universal Event Tracking) is Microsoft's conversion tracking tag for Microsoft Advertising. It tracks user actions, measures campaign effectiveness, and enables remarketing campaigns.

Official Microsoft documentation

Info

UET can also load Microsoft Clarity (if enabled in your UET tag settings). Since Clarity is an analytics tool, we recommend loading it separately with measurement consent instead.

Integrate with c15t

How c15t loads it

  • Category: marketing (Ads & Pixels)
  • Loads when: immediately, with Microsoft consent mode enabled
  • Default consent: c15t pushes ad_storage: 'denied' before loading UET unless marketing consent is already granted
  • On grant/revocation: c15t pushes the new consent state to uetq so UET can switch between granted and denied mode without removing the script

Use the UET tag ID as id. Microsoft recommends creating one UET tag and adding it across your site; that tag can then support conversion goals and remarketing lists.

Tracking events in your app

c15t loads Microsoft UET in consent mode, so window.uetq is created before consent is granted. Your own event calls are not automatically gated. Guard them if you only want to send custom conversion events after marketing consent is granted.

Microsoft's custom event syntax uses window.uetq.push('event', action, parameters). Conversion goals can match page visits and custom events, and event payloads can include revenue fields such as revenue_value and currency.

Types

MicrosoftUetOptions

Loading…

Script

Loading…