sGTM + Microsoft Ads

Hello there,

I’m looking into implementing tracking online conversions in Microsoft Ads using Stape but have some questions:

  1. can this be done only using the Offline Conversion API?
  2. do I still need to capture & pass msclkid?

Thank you.

Hello @martinb

Microsoft does not have a CAPI through which conversions can be sent from the server. So if you want to use the server for reporting to MS ads, the only option here is to use offline conversions.
And yes, if you send offline conversions you need to have msclkid in payload for attribution to work.

Also, note that view-through attribution doesn’t work with offline conversions.

1 Like

Thank you @Alex

I have set it up and here’s a weird issue I am having:

When I use sGTM Preview, I see MicrosoftAdsOfflineConversion requests being sent.

However, without sGTM preview, the request is not sent (can’t see it in Stape Logs).

Any ideas?

If you have everything set up correctly - this behaviour can only happen if you haven’t published the changes (check in the versions tab if Live is this)

Yes, it is Live.

It’s completely random, I see some requests being sent in Preview but they don’t show up in Request Logs or Response Logs. And some do. Some show up with a delay. :grimacing:

OK, so it seems you need to enable Always log to console, otherwise nothing shows up in your Stape logs. :face_with_raised_eyebrow:

Yes, ‘log to console during debug and preview’ works and log data only when preview is running. And ‘always log’ option - works always when the tag is triggered :slight_smile:

I’m assuming that’s what your problem was?

Yeah, that fixed it. I’ve thought this is about logging to sGTM console, not to Request Logs in Stape dashboard.