For advertisers and their developers
Track conversions from your crypto ads
Every CoinAd click carries a coinad_click_id. Report signups, deposits and purchases by pixel or server postback and see conversions by campaign and site.
Questions while you set up? [email protected]
From click to conversion
- Reader clicks your adOn a reviewed crypto site.
- Your landing page opensWith ?coinad_click_id=<id> in the URL.
- The ID is storedThe CoinAd pixel keeps it for 30 days, or your server saves it.
- They sign up or depositYou report it by pixel or postback.
- CoinAd reports itTied to the click, campaign and publisher site.
How coinad_click_id works
CoinAd adds a unique coinad_click_id parameter to your landing page URL on every ad click. Your site keeps that ID with the visitor. When the visitor signs up, deposits or buys, you send the ID back to CoinAd by pixel or server postback, and CoinAd ties the conversion to its click, campaign and publisher site.
What your site has to do
- Keep coinad_click_id in the URL through every redirect
- Load the CoinAd pixel on landing pages, or read the ID on your server
- Save it on the user record when they sign up
- Report the conversion when it happens
What CoinAd does
- Appends a new coinad_click_id to every click automatically
- Matches each conversion to its click, campaign and publisher site
- Counts each event once per click
- Filters bots and duplicate clicks before you're billed
Conversions count when they arrive within 30 days of the click. Your setup page is in the advertiser dashboard under Conversion tracking: it shows your pixel snippet, your postback URL with your own key, and your recent conversions.
Pixel setup
The CoinAd conversion pixel records a conversion from the visitor's browser. Put the script on your landing pages, where it saves coinad_click_id for 30 days, and fire a conversion on the page that loads only after the action, such as a signup confirmation or deposit success page.
Add the script
Copy the snippet from Conversion tracking in your dashboard and put it on every landing page and confirmation page.
Fire the event once
Call it on the confirmation page only, never on a page visitors reload or reach without converting.
Add value and order ID
Pass the amount, currency and your own order or user ID. A repeat of the same event for the same click is ignored.
<script>window.coinad=window.coinad||function(){(coinad.q=coinad.q||[]).push(arguments)};</script>
<script async src="https://api.coinad.com/serve/pixel.js"></script><script>coinad("conversion", "deposit", {value: 100, currency: "USD", id: "ORDER_ID"});</script><img src="https://api.coinad.com/serve/cv?cid={coinad_click_id}&e=purchase&v={value}&cur=USD" width="1" height="1" alt="">Know the pixel's limits. Ad blockers, closed tabs and signups that finish on another domain can stop a pixel firing. For deposits and anything confirmed on your server, use a postback.
Server postback (S2S) setup
A CoinAd server postback sends the conversion from your server to CoinAd's, with the coinad_click_id you stored. Attribution then doesn't depend on the visitor's browser, so ad blockers and closed tabs don't lose conversions. Use it for first deposits, verified accounts and anything your backend confirms.
https://api.coinad.com/serve/postback?key=YOUR_POSTBACK_KEY&click_id={coinad_click_id}&event=deposit&value={value}¤cy=USD&txid={transaction_id}| Parameter | Required | What it is |
|---|---|---|
| key | Yes | Your postback key, from Conversion tracking in the dashboard. Keep it secret; you can generate a new one there. |
| click_id | Yes | The coinad_click_id you stored (coinad_click_id is accepted as the name too) |
| event | Yes | signup, deposit, purchase or other |
| value | No | Amount, up to 8 decimals |
| currency | No | Currency code, USD by default |
| txid | No | Your own order or user ID, up to 100 characters |
Aliases are accepted for event: register, registration and lead count as signup; ftd and first_deposit as deposit; sale and order as purchase.
Save the ID at signup
Store coinad_click_id on the user record, next to the account, so it survives logins and devices.
Fire on the server event
When your backend confirms the action, such as a credited deposit, call the postback URL once with that user's click ID.
Log and retry
Log each call and its response. Retrying is safe: a repeat of the same event for the same click returns "duplicate" and is not counted twice.
// user.coinadClickId was saved at signup from the coinad_click_id URL parameter.
async function reportFirstDeposit(user, deposit) {
if (!user.coinadClickId) return;
const url = new URL("https://api.coinad.com/serve/postback");
url.searchParams.set("key", process.env.COINAD_POSTBACK_KEY);
url.searchParams.set("click_id", user.coinadClickId);
url.searchParams.set("event", "deposit");
url.searchParams.set("value", String(deposit.amountUsd));
url.searchParams.set("currency", "USD");
url.searchParams.set("txid", deposit.id);
const res = await fetch(url);
const body = await res.json().catch(() => ({}));
if (res.ok) return body.status; // "recorded" or "duplicate"
if (res.status >= 500) return retryLater(user.id, deposit.id);
console.warn("postback rejected", res.status, body.error); // 400, 403, 404 or 410
}Postback responses
| Status | Meaning |
|---|---|
| 200, "status": "recorded" | Conversion saved |
| 200, "status": "duplicate" | This event was already reported for this click |
| 400 | Missing or invalid click_id, event, value or currency |
| 403 | Wrong postback key |
| 404 | Unknown click: not a counted CoinAd click |
| 410 | The click is older than the 30-day window |
Which events to track
Crypto products convert in stages. CoinAd counts four events, each once per click. Track the stage that pays you back, and send an early stage too if you need volume to judge sites quickly.
Conversion events in CoinAd
| Event | Use it for | Send by |
|---|---|---|
| signup | Account created, or email or KYC approved | Pixel or postback |
| deposit | First deposit credited to the account | Postback |
| purchase | First trade, NFT mint, game item or subscription | Pixel or postback |
| other | One more milestone of your choice, such as a wallet connected | Pixel or postback |
Send the click ID, not the customer. Pixels and postbacks need the coinad_click_id and the event, nothing more. Keep emails, names and wallet addresses out of every call.
Reading conversion reports
CoinAd reports show impressions, clicks, CTR, spend, conversions, conversion value and conversion rate (CVR) by day, campaign, creative, site, zone, country, device, OS and browser, with CSV export. Each conversion is tied to the click and publisher site that drove it, so you can work out cost per action per site and move budget to the sites that convert.
Sample report, one campaign, first deposits
| Site | Spend | Clicks | Conversions | CVR | Cost per deposit |
|---|---|---|---|---|---|
| Sample news site | $40.00 | 160 | 8 | 5.0% | $5.00 |
| Sample price tracker | $40.00 | 200 | 2 | 1.0% | $20.00 |
| Sample explorer | $20.00 | 90 | 0 | 0% | None yet |
Sample numbers to show the maths, not CoinAd results. Cost per deposit = spend ÷ conversions. CVR = conversions ÷ clicks. In CSV exports the columns are named conversions and conversion_value. The Conversion tracking page also lists each recent conversion with its event, value, campaign, site and source.
Scale what converts
Raise bids or budget on sites with the lowest cost per action.
Give new sites time
Judge a site on enough clicks for your normal conversion rate to show, not on its first day.
Exclude what doesn't
Add sites with steady spend and no conversions to the campaign's exclude list.
Troubleshooting conversion tracking
Most tracking problems come from the click ID going missing between the landing page and the conversion.
Common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| No coinad_click_id on the landing page | A redirect, link shortener or app router drops the query string | Keep query strings through every redirect, and load the pixel on the first page |
| ID lost before signup | Signup happens on another subdomain or after an app install | Save the ID on your server at signup, or pass it to the other domain |
| Pixel conversions missing | Ad blockers, closed tabs, or the event fired on the wrong page | Move key events, such as deposits, to a server postback |
| A conversion counted once, not twice | CoinAd counts each event once per click | Use a different event for each stage you want to see |
| Numbers differ from your analytics | Different attribution rules, time zones, and invalid clicks CoinAd filtered out | Compare by click ID, not totals, over the same dates and time zone |
| Postback returns 403, 404 or 410 | Wrong key, a click ID that isn't a counted CoinAd click, or a click older than 30 days | Check the key in your dashboard and log the click ID you sent |
Still stuck? Send the click ID, the time and the call you made to [email protected]. See the CoinAd FAQ.
Pay for crypto ads you can measure
Create a free advertiser account, add your pixel or postback, and see conversions by site from your first $20.