
Running native campaigns on MediaGo and still guessing which ads actually turn into sales? That gap is exactly what MediaGo DSP conversion tracking is built to close. Done right, it connects every click you pay for on MediaGo to the conversions that follow, so you can see real cost, real revenue, and real ROI in one place instead of trusting the platform's own numbers.
In this guide, we'll walk through how to set up MediaGo DSP conversion tracking in ClickFlare from start to finish: pulling in cost automatically, capturing the MediaGo click ID, tracking conversions from your offer, and sending those conversions back to MediaGo so its algorithm can optimize. Let's get into it.
Quick Summary
MediaGo DSP conversion tracking is the process of connecting the clicks you buy on MediaGo's native advertising platform to the actions users take afterward, such as a lead, a registration, or a purchase. It ties each conversion back to the specific MediaGo ad, campaign, and click that drove it, so you can measure true cost per result instead of relying on surface-level platform metrics.
MediaGo is a demand-side platform (DSP) that serves native ads across premium publishers, including Microsoft-owned inventory. Like most native and DSP traffic, it works best when an external tracker sits between the ad and the offer. That tracker records the click, waits for the conversion, and then reports the result back to MediaGo.
That's where a dedicated ad tracker comes in. ClickFlare captures the full journey from MediaGo click to final conversion, pulls in your ad spend, and passes conversion data back to MediaGo through a server-side postback. The result is accurate attribution that holds up even when cookies and browser-side tracking fall short.
Before touching any settings, it helps to understand that ClickFlare handles MediaGo in two separate layers. Getting both in place is what gives you a complete picture of profit.
| Layer | What It Does | How It's Set Up |
|---|---|---|
| Cost tracking | Pulls your MediaGo ad spend into ClickFlare automatically, updated every hour | A cost integration using your MediaGo API token |
| Conversion tracking | Captures the MediaGo click ID and matches it to the conversion from your offer | A tracking URL that carries the click ID, plus conversion tracking on your offer |
| Postback to MediaGo | Reports conversions back to MediaGo so its optimization engine can learn | A built-in traffic source S2S postback, pre-filled in ClickFlare |
The cost layer answers "what am I spending?" The conversion layer answers "what am I getting back?" The postback closes the loop by giving MediaGo the data it needs to send you more of the clicks that convert. Because the conversion and postback layers run server to server, they don't depend on a cookie surviving in the user's browser, which is why server-side tracking has become the standard for native and DSP campaigns.
Setting up MediaGo DSP conversion tracking goes quickly once you have a few things ready. Gather these before you begin:
One quick note on the API token: a single token can power more than one integration, but MediaGo rate-limits parallel requests, so it's best to avoid spinning up multiple integrations for the same token unless you need to.
Here is the full setup, broken into five steps. Work through them in order, since each one builds on the last.
Start by telling ClickFlare where your traffic is coming from. In ClickFlare, go to Traffic Sources and create a new one using the MediaGo template if available, or a custom traffic source if not.
Because MediaGo is a built-in traffic source template, ClickFlare comes with all the parameters already mapped for you, so there's no manual token mapping to do. The key field is the External ID, which is pre-mapped to MediaGo's click ID macro, ${TRACKING_ID}. That means every click MediaGo sends automatically carries its unique ID into ClickFlare. Cost, ad ID, ad title, asset ID, and other MediaGo macros come pre-mapped too, so you simply select the MediaGo template, give the traffic source a name, and save.

Next, link your ad spend so ROI calculates automatically. Here's the sequence:

Once this is done, ClickFlare updates your MediaGo cost data every hour. There's no manual cost upload to worry about.
Now create your campaign in ClickFlare, connecting your MediaGo traffic source to your landing page and offer. ClickFlare generates a campaign tracking URL for you.
Because the MediaGo template is pre-mapped, the campaign tracking URL ClickFlare generates already includes the MediaGo macros (tracking ID, cost, ad ID, and more). You don't need to build a tracking string by hand. The generated URL looks like this:
https://trk.clickflare.com/cf/r/CAMPAIGN_ID?cpc=${CPC}&tracking_id=${TRACKING_ID}&ad_id=${AD_ID}&ad_title=${AD_TITLE}&asset_id=${ASSET_ID}&ad_asset_name=${AD_ASSET_NAME}&campaign_id=${CAMPAIGN_ID}
Copy that full campaign tracking URL and set it as the destination URL for your MediaGo ad. When MediaGo serves the ad, it replaces each ${...} macro with real values, so the click ID and cost flow straight into ClickFlare. The only thing to confirm is that the tracking ID is present, since it's what every conversion is matched against.

ClickFlare now knows about every click. The next step is telling it when a conversion happens. How you do this depends on your offer:
If postbacks are new to you, our guide on what a postback URL is breaks down exactly how server-to-server conversion tracking works. Once this step is live, ClickFlare records conversions against the right MediaGo click, and you can already see cost, revenue, and ROI inside ClickFlare.
The final step reports conversions back to MediaGo so its algorithm can optimize toward buyers, not just clickers. MediaGo doesn't have a direct Conversion API in ClickFlare, so you use a traffic source S2S postback. The good news: because MediaGo is a built-in traffic source, ClickFlare already includes the MediaGo postback URL on its side. You don't need to request a template or build the URL from scratch. You only replace a few placeholder values. Here's how:
https://sync.mediago.io/api/bidder/postback?trackingid={external_id}&adid={trackingField1}&conversiontype=REPLACE&conversionprice={payout}&includeintotalconversion=REPLACE&accountname=REPLACE

The {external_id} token is the heart of the whole setup. It passes the original MediaGo click ID back to MediaGo, which is the only way MediaGo can match the conversion to the click it served. Without it, the conversion is discarded on MediaGo's side.
Two sets of placeholders do the heavy lifting here: MediaGo macros (used in your tracking string, written as ${MACRO}) and ClickFlare tokens (used in the postback, written as {token}). Here are the ones you'll reach for most often.
| Placeholder | Side | What It Carries |
|---|---|---|
| ${TRACKING_ID} | MediaGo macro | The unique MediaGo click ID (required) |
| ${CAMPAIGN_NAME} | MediaGo macro | The campaign name |
| ${AD_ID} | MediaGo macro | The ID of the ad that was clicked |
| ${CPC} | MediaGo macro | The cost of the click |
| {external_id} | ClickFlare token | The stored MediaGo click ID, sent back in the postback |
| {payout} | ClickFlare token | The conversion revenue or payout |
| {txid} | ClickFlare token | The conversion transaction ID |
MediaGo also exposes macros for site ID, publisher name, asset ID, platform, and more, so you can enrich your tracking string as much as your reporting needs. Keep the tracking string within MediaGo's character rules and you're good.
Never trust a tracking setup until you've seen a test conversion flow through end to end. Run this quick check before scaling spend:
If cost isn't showing up, double-check that the API token is correct and that the traffic source is actually linked to the MediaGo cost integration. If conversions aren't matching, the usual culprit is a missing or broken click ID. For a deeper look at why platform numbers drift apart, our breakdown of why conversions don't match across platforms is worth a read.
A few recurring errors trip people up when setting up MediaGo DSP conversion tracking. Watch for these:
MediaGo serves native ads across web and in-app placements where browser-side tracking is unreliable. Third-party cookies are disappearing, ad blockers are common, and privacy rules restrict what you can capture client-side. A pixel alone will miss conversions.
The setup above is server-side by design. The click ID travels through ClickFlare's redirect, conversions come in through postbacks or a Conversion API, and the data going back to MediaGo moves server to server. None of it depends on a cookie staying alive in the user's browser. That's what keeps your attribution accurate as the privacy landscape keeps tightening, and it's why pairing MediaGo with a tracker built around server-side data gives you numbers you can actually act on.
MediaGo DSP conversion tracking comes down to three connected jobs: pull in your cost automatically, capture the MediaGo click ID so conversions attribute correctly, and send those conversions back to MediaGo so its optimization engine learns what works. Set up in ClickFlare, those three layers give you honest cost, revenue, and ROI on every native campaign, plus the server-side accuracy that native traffic demands. Get the click ID right, test before you scale, and the rest of the setup falls into place.
The MediaGo click ID macro is ${TRACKING_ID}. MediaGo generates a unique value for every click and passes it into your tracking URL. ClickFlare stores it as the External ID, which is what links each conversion back to the click that produced it.
Yes. Once you add the MediaGo cost integration using your API token, ClickFlare updates your cost data every hour automatically. There is no manual cost upload required, so your ROI figures stay current on their own.
Use a traffic source S2S postback. In your MediaGo Traffic Source settings, enable the Traffic source postback URL option. ClickFlare already includes the MediaGo postback URL with trackingid={external_id} in place, so you just replace the placeholder values like conversion type and account name, then save.
You request the API token from your MediaGo account manager or MediaGo's support team. It is not generated inside ClickFlare. One token can serve multiple integrations, though it's best to avoid several integrations on the same token to stay within MediaGo's rate limits.
The most common cause is a missing or broken click ID. Confirm that ${TRACKING_ID} is in your tracking string and arrives in ClickFlare as the External ID. Also check your offer's conversion tracking is firing and that timezones match across both platforms.
Need a hand with MediaGo tracking?
Try out ClickFlare for free and book a call with one of our tracking specialists who will guide you through the entire MediaGo setup.