
m4trix.network and a manager approves the account. You may also see it listed as “Mediapartners (M4trix)” in older directories. The network calls itself M4trix Network today, and the Mediapartners domain no longer hosts a network site.
To track M4trix offers in ClickFlare, two links have to carry the ClickFlare click ID in both directions:
- The offer URL sends the ClickFlare click ID to M4trix in
cid. - The postback URL sends it back to ClickFlare with every conversion, together with the payout and an order ID.
At a glance
To set up M4trix Network with ClickFlare:- Set the domain and reporting time.
- Create the M4trix affiliate network.
- Add the postback in M4trix.
- Create the offer with cid.
How the data flows
cid on the way in and reads it back with the {cid} macro on the way out.What you’ll need
- An active ClickFlare account with your own tracking domain set up. Shared domains get flagged by networks and blocked by browsers. See Tracking domains.
- An approved M4trix Network affiliate account, and access to the offer you want to run.
- A way to reach your M4trix manager. Since M4trix doesn’t publish its macros, your manager is the one who can confirm them.
What the M4TRIX NETWORK template contains
ClickFlare has an M4TRIX NETWORK affiliate network template. It fills in the M4trix macros ClickFlare needs.
Setup
Everything in ClickFlare is done from inside the campaign editor. Create the offer and the affiliate network inline as you go.Set up your own tracking domain
trk.yourdomain.com. The postback URL is built on this domain, so changing it later means updating the postback in M4trix too. See Tracking domains.Report conversions by postback time
Create the campaign
Create the M4trix affiliate network
- Search for M4trix and pick the M4TRIX NETWORK template.
- Name it, for example “M4trix Network”.
- Keep Click Id
{cid}, Payout{payout}and Transaction ID{orderid}, unless your manager gave you other macros. - Leave Event Type empty.
- Under Conversion tracking, select your own Tracking Domain and keep S2S Postback URL as the tracking method.
- Set Payout currency to the currency M4trix pays you in.

Add the postback in M4trix
- Go to Account settings and open the Tracking tab.
- Click Edit, then Add Post Back.
- Paste the ClickFlare postback URL.
- Click Submit.
Get the offer's tracking link from M4trix
aff={AFFID}&sid={SUBID}&cid={CLICKID}, so the link ends after net=12345:Create the offer in ClickFlare
- Name the offer.
- Select the M4trix affiliate network you just created.
- Paste the cleaned link into Offer URL with
&cid={cf_click_id}at the end:

cid, you can turn on Append Click ID to Offer Url instead. ClickFlare then adds cid={cf_click_id} from the template. Use one or the other, not both.Set the payout to Auto so ClickFlare uses the payout value from the postback.Add a lander (optional)
cid value has to survive that step.Save the campaign and launch
Transaction ID
By default ClickFlare keeps one conversion per click ID. If several postbacks arrive with the same click ID and no transaction ID, ClickFlare treats them as the same conversion, and you only see one of them (the last one received). Thetxid parameter tells ClickFlare that each postback is a separate conversion.
The template sends txid={orderid}, the ID of the order on M4trix’s side. With it, two orders from the same click count as two conversions, and a postback that M4trix resends for the same order replaces the first one instead of adding a second.
If {orderid} arrives empty or as the literal text {orderid}, your account doesn’t support that macro. Ask your manager for the macro of the order or conversion ID, and use it in Transaction ID instead. Don’t use a random value: a resent postback would then count twice.
Approved, pending and rejected orders
ClickFlare doesn’t read a status from the postback. It records a conversion for every postback it receives. So what you see in ClickFlare depends on when M4trix fires the postback:- If it fires when the order is placed, ClickFlare counts orders that M4trix may reject later.
- If it fires only on approval, ClickFlare counts only paid orders, but they arrive later.
Verify the setup
Click through the campaign
cid= followed by a real ClickFlare click ID, not the literal text {cf_click_id}, and no leftover {CLICKID}.Generate a test conversion
Check the conversion in ClickFlare
txid (M4trix’s order ID).Troubleshooting
Conversions show in M4trix but not in ClickFlare
Conversions show in M4trix but not in ClickFlare
- The postback isn’t saved. Check the Tracking tab in your M4trix account settings, or ask your manager to confirm it’s active.
- cid is empty in M4trix. The offer URL is missing
cid={cf_click_id}, or the lander CTA links straight to M4trix instead of using the ClickFlare click URL. - The link still has the placeholders. If
cid={CLICKID}is still in the link, M4trix may read that instead of your value. Removeaff={AFFID}&sid={SUBID}&cid={CLICKID}. - The macro name differs on your account. Ask your manager which macro returns the
cidvalue and update Click Id in ClickFlare.
ClickFlare receives a literal macro or cf_click_id
ClickFlare receives a literal macro or cf_click_id
- A literal
{cid}means M4trix didn’t replace the macro. Ask your manager for the correct name. - A literal
cf_click_idmeans the offer URL in ClickFlare has the token without braces. It must be{cf_click_id}.
Only one of several orders shows in ClickFlare
Only one of several orders shows in ClickFlare
txid, or {orderid} arrives empty. Ask your manager for a working order ID macro and put it in Transaction ID.The payout is 0 or in the wrong currency
The payout is 0 or in the wrong currency
- Check that the postback has
payout={payout}and the offer’s payout is set to Auto in ClickFlare. - Set the affiliate network’s Payout currency in ClickFlare to the currency M4trix pays you in.
FAQ
Does ClickFlare integrate with M4trix Network?
Does ClickFlare integrate with M4trix Network?
Are Mediapartners and M4trix the same network?
Are Mediapartners and M4trix the same network?
m4trix.network. In ClickFlare, use the M4TRIX NETWORK template.Can I pass more data to M4trix?
Can I pass more data to M4trix?
sid placeholder in M4trix links suggests a sub ID field for your own labels, but M4trix doesn’t document it. Ask your manager before you use it, and keep cid for the click ID.How often does M4trix pay?
How often does M4trix pay?
Can I send the conversion back to my traffic source?
Can I send the conversion back to my traffic source?