Data direction: This is a destination — Upstack sends event and conversion data out to this platform via server-side APIs.
What it does
Microsoft Advertising’s Conversions API (CAPI) is the server-side counterpart to the Universal Event Tracking (UET) Tag. Upstack Signal forwards storefront events — page views, product views, add-to-carts, and purchases — directly to Microsoft’s servers, bypassing browser restrictions like ad blockers, ITP, and cookie limits. Server-side delivery gives Microsoft’s algorithm a fuller picture of the conversions your ads actually drove, which improves campaign optimization, audience modeling, and attribution accuracy. Match rates from server-side events are consistently higher than browser-only tracking because each event carries hashed customer data and themsclkid click identifier when available.
Microsoft’s Conversions API is currently in pilot program. Contact your Microsoft Advertising account manager to enroll before enabling server-side tracking in Upstack.
How it works
Upstack runs as a dual-tracking layer alongside the Microsoft UET Tag. The Upstack Pixel captures events in the browser and forwards each event to Upstack’s edge infrastructure, where it is hashed, enriched with identity and click-ID data, and sent to the Microsoft Conversions API as a server-side event with a sharedeventId.
Microsoft deduplicates server events against matching browser UET Tag events using that eventId, so you do not double-count conversions as long as both sources use the same UET Tag ID. PII (email, phone) is hashed with SHA-256 before delivery, as required by the Conversions API.
Setup guides
Onboarding guide
End-to-end walkthrough for connecting Microsoft Advertising to Upstack Data.
Configure destination
Configure the Microsoft Advertising destination inside Upstack Data.
Find UET Tag ID
Locate your UET Tag ID in Microsoft Advertising.
Create Event Goals
Create Event Goals to track specific conversion types.
Enable CAPI
Enroll in the CAPI pilot and generate your auth token.
Enable click ID tracking
Ensure msclkid is captured and stored for attribution.
Event mapping
Upstack maps storefront events to Microsoft Advertising events automatically:| Upstack event | Microsoft event | Key match data |
|---|---|---|
PageView | pageLoad | URL, referrer, user agent |
ViewContent | view_item | itemIds, value, currency |
AddToCart | add_to_cart | itemIds, value, currency |
InitiateCheckout | begin_checkout | value, currency |
Purchase | purchase | value, currency, transactionId, itemIds |
Lead | lead | email, phone |
Search | search | searchTerm |
SignUp | sign_up | email |
Microsoft uses free-form event names rather than predefined standard events. Event matching is done via Event Goals configured in the Microsoft Advertising UI.
email, hashed phone, msclkid (Microsoft click ID), ip_address, and user_agent — to maximize match quality.
FAQ
What is the difference between UET Tag ID and CAPI Auth Token?
What is the difference between UET Tag ID and CAPI Auth Token?
The UET Tag ID identifies your Microsoft Advertising tracking tag — it’s the same ID used for browser-side tracking via the UET Tag. The CAPI Auth Token is a Bearer token that authenticates server-side API requests. You need both: the Tag ID to identify your account, and the auth token to authorize server-side event submission.
How do I enroll in the CAPI pilot program?
How do I enroll in the CAPI pilot program?
Contact your Microsoft Advertising account manager or Microsoft Advertising support to request enrollment in the Conversions API pilot. Once enrolled, the auth token option becomes available in your UET Tag settings.
How do I know events are reaching Microsoft?
How do I know events are reaching Microsoft?
Open Microsoft Advertising → Tools → UET Tags → select your tag → Tag Status. Server-side events appear alongside browser events. Upstack also surfaces delivery status inside the destination settings and Event Debugger.
Will I see duplicate conversions if I run both the UET Tag and Conversions API?
Will I see duplicate conversions if I run both the UET Tag and Conversions API?
No — as long as the UET Tag ID in Upstack matches your browser UET Tag. Upstack sends a shared
eventId on every server-side event, and Microsoft’s deduplication logic matches events by eventId and keeps only one.Why do events need to be within 7 days?
Why do events need to be within 7 days?
Microsoft’s Conversions API rejects events older than 7 days. This is stricter than other platforms (Meta allows 7 days, Google allows 90 days). Ensure your event pipeline processes events promptly.
What if my event match rate is low?
What if my event match rate is low?
Microsoft’s match rate depends on how much identity data each event carries. Common causes of low match quality:
- Missing
msclkid— Microsoft ads should link directly to your storefront so the click ID lands in the URL and is captured by the Upstack Pixel. - Anonymous visitors — events from visitors without email have fewer keys to match against. Match rates improve as more identified customers convert.
- Missing checkout fields — make sure your Shopify checkout collects email and phone; they’re the strongest server-side match keys.
Troubleshooting
Events not appearing in Microsoft Advertising
Events not appearing in Microsoft Advertising
Check these in order:
- Verify UET Tag ID is correct in Upstack destination settings
- Verify CAPI auth token is valid (test in Event Debugger)
- Check event timestamp is within 7 days
- Ensure Event Goals are configured in Microsoft Advertising UI
401 Unauthorized errors
401 Unauthorized errors
400 Validation errors
400 Validation errors
Common validation issues:
eventTypemust be “pageLoad” or “custom”eventTimemust be UNIX seconds (not milliseconds) within 7 daysemandphmust be valid SHA-256 hex strings (64 characters)eventSourceUrlis required for pageLoad events
Related
Meta Conversions API
Server-side tracking for Meta (Facebook/Instagram) ads.
Google Ads
Send conversion events to Google Ads for campaign optimization.
TikTok Events API
Server-side event delivery to TikTok for attribution.
Pinterest Conversions API
Track conversions on Pinterest campaigns with server-side events.