CAKE postback setup: send conversions from a CAKE network to your tracker
Updated November 29, 2026 · Hoplytic team · 5 min read
Read the video transcript
How do you set up a postback on a CAKE network? The tokens look different from most platforms.
A line copied from a TUNE or Everflow guide won't work. Those tokens arrive as plain text.
Start with your tracker's postback address. Put your click ID in s one on the CAKE link, and send it back with hash s one hash. Then price for your payout, and lead ID as the transaction ID: it is unique for each sale.
Open the offer's Testing and Tracking tab in the affiliate portal, and check its token list. Choose a server postback, not a pixel. Paste the line and save. Some networks review new postbacks first.
CAKE gives you five slots. S one is limited to fifty characters, so keep click IDs short, and use the others for labels like source and zone.
Pick CAKE in the link maker and your click ID goes into s one. The Postback page has a CAKE line, and a repeat transaction ID updates the sale.
The full guide is right below. Hoplytic: ad tracking made simple.
Key points
- CAKE tokens are wrapped in hash signs, like #s1#, not curly braces, so a line copied from a TUNE or Everflow guide won't work.
- Put your tracker's click ID in s1 on the CAKE link and send it back with #s1#; #price# carries your payout and #leadid# the ID of each sale.
- CAKE's documentation gives s1 a 50-character limit, shorter than the other sub slots, so keep click IDs short.
- The token list for each offer is in the offer's Testing and Tracking tab of the affiliate portal; check it, because CAKE networks configure things differently.
CAKE is the platform behind a long list of CPA and lead generation networks. Its postbacks are reliable, but its token style is different from most other platforms, and that trips people up more than anything else.
Short answer: add your tracker's click ID to the CAKE link as s1, then save a server postback on the offer (or globally, if the network allows) that sends #s1# as the click ID, #price# as the payout and #leadid# as the transaction ID (one per sale). CAKE tokens use hash signs on both sides. Test with one click before you scale.
CAKE links and sub-IDs
CAKE networks run on their own domains, so a CAKE link rarely says "CAKE" anywhere. It usually carries the affiliate and campaign numbers in the query string, and accepts five sub-ID parameters, s1 to s5:
https://track.yournetwork.com/?a=10423&c=88120&s1=c7f3a9e1&s2=zone4471
CAKE reserves s1 for sub-affiliate values and, per its documentation, limits it to 50 characters. The other slots take longer values. That matters if your tracker's click IDs are long or if you were planning to pack several values into one slot. Keep the click ID short and alphanumeric, and use s2 to s5 for labels like zone or campaign.
Before waiting for a sale, check the value arrived: CAKE's Click Report shows a SubAffiliate (s1) column for each click.
CAKE postback tokens
CAKE wraps every token in pound or hash signs. The ones you need for a tracker:
| Token | Meaning | Send it as |
|---|---|---|
#s1# to #s5# | The sub-ID values from the click | Click ID (from s1), labels |
#price# | Your affiliate payout for the conversion | Payout |
#tid# | The transaction ID CAKE creates for the click | Not as your transaction ID: two sales on one click share it, so the second would overwrite the first |
#leadid# | CAKE's ID for each conversion | The transaction ID, so repeats don't count twice and each sale stays separate |
The token list on different CAKE help pages doesn't always match, and networks can switch features on or off. The list that counts is the one in your offer's Testing and Tracking tab in the affiliate portal. Check it before you save.
The most common mistake: using tokens from another platform. {sub1} (Everflow, Affise) or {aff_sub} (TUNE) mean nothing to CAKE and arrive as plain text.
Step by step
- Build your postback line from your tracker's URL and CAKE's tokens:
https://vitalverify.click/pb/KEY?click_id=#s1#&payout=#price#&txid=#leadid# - Log in to the network's affiliate portal (usually a login address on the network's own domain) and open the offer.
- Open the Testing and Tracking tab and find the pixel or postback setting.
- Choose a server postback (sometimes labeled "postback URL" or "server to server"), not an iframe, image or JavaScript pixel. Those depend on the advertiser's page loading them in the buyer's browser.
- Paste the line and save. Some networks review new postbacks before they go live, and some set postbacks globally for you on request. If you can't find a field, ask your affiliate manager.
A plan for s2 to s5
The click ID is all your tracker needs, but the other four slots are worth filling, because they show up in the network's own reports. If your tracker ever fails, or you need to argue about a scrub with your manager, the network's data still tells you where each lead came from.
| Slot | Value | Example |
|---|---|---|
s1 | Your tracker's click ID | c7f3a9e1 |
s2 | Traffic source | propeller |
s3 | Zone or placement | 4471 |
s4 | Campaign or creative | push-v2 |
s5 | Free, or the ad network's own click ID | p8k2d0x4 |
Keep the plan the same on every offer and every CAKE network you work with. Reports are only comparable if s3 always means the same thing. Avoid personal data in any slot: no emails, names or phone numbers, even if a landing page captured them.
Test it
- Click your tracking link and note the click ID your tracker logged.
- Confirm the final CAKE URL has
s1=with that value. The redirect checker shows every hop. - Use the portal's test option if your network has one, or ask your manager to fire a test conversion on that click.
- Check the conversion lands on the exact click in your tracker with the payout you expect.
Leads with long approval times are common on CAKE networks. If a postback only arrives after the advertiser scrubs or approves leads, expect a delay of hours or days. Your manager can tell you whether postbacks fire on conversion or on approval for each offer. For leads and sales on the same offer, see tracking leads and sales separately.
Common CAKE problems
| Symptom | Likely cause |
|---|---|
Click ID arrives as #s1# | s1 was empty on that click, or the link used for the sale had no click ID |
| Click ID cut short | The value was longer than s1 allows |
| Payout is 0 | Wrong payout token, or the offer pays on a later event |
| Some offers report, others don't | The postback is saved on some offers only |
The full troubleshooting order is in postback not working. For how postback URLs are built in general, see what a postback URL is.
CAKE in Hoplytic
Choose CAKE in the link maker and your click ID goes into s1, with other values in s2 to s5. Hoplytic's click IDs are letters and digits, well inside the s1 limit. The Postback page has a CAKE line for your hosted postback URL, and a repeat postback with the same transaction ID updates the sale instead of adding it twice. There is also a CAKE API connection, in beta, that reads your conversions every hour with the panel address, affiliate ID and API key; see network connections.
Questions people ask
What does #s1# mean in a CAKE postback?
It is the token for sub-ID 1: CAKE replaces it with whatever value was in s1 on the tracking link for that click. If your tracker's click ID was in s1, #s1# returns it.
Is #price# the sale amount or my payout?
CAKE's token guide describes #price# as the affiliate payout, which is what you earn on the conversion. It is not the order value.
Why does my CAKE postback arrive with #s1# as literal text?
That means s1 was empty on the click, so CAKE had nothing to put in the token. Check the link you sent traffic to actually carried s1 with a click ID.
Can I see whether CAKE received my s1 value?
Yes. CAKE's Click Report has a SubAffiliate (s1) column, so you can confirm the click ID arrived before waiting for a conversion.
More in Conversion tracking
Also: tracking glossary · ad platform macros · Markdown copy