Ads: spend, ROAS and consent mode
What the Ads tab shows
Open your dashboard and pick Ads under "How they arrive". For each campaign you see spend, clicks, visits, conversions, sales, revenue, ROAS (revenue divided by spend) and cost per sale, with a chart you can switch between daily, weekly and monthly.
- Visits are Countnest visits that came from an ad: the landing page had a Google, Meta or Microsoft click ID, or paid UTM tags (for example
utm_medium=cpc). - Conversions are visits that reached one of your goals. If you have no goals, they are visits with a sale.
- Sales and revenue come from events with a value, such as
countnest("purchase", { value: 49 }). - Spend and clicks come from the costs you import. Countnest does not connect to your ad accounts yet.
1. Tag your ad links
Add UTM parameters to the final URL of every ad. The campaign name must match the campaign name in your cost export:
https://example.com/?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale
Use utm_source=facebook or instagram for Meta and utm_source=bing for Microsoft Ads. Upper and lower case and extra spaces are ignored when matching.
2. Import your ad costs
In the Ads tab, under Import ad costs, upload a per-day campaign report. Countnest reads these exports:
- Google Ads: Campaigns, segment by Day, Download, CSV.
- Meta Ads Manager: Breakdown, By time, Day, then Export table data as CSV. Rows that cover more than one day are skipped.
- Microsoft Advertising: Reports, Campaign report, Time unit Day, Download as CSV.
- Any other platform: use the Countnest template with the columns
date, platform, campaign, spend, currency, clicks, impressions.
Importing the same campaign and day again replaces the old value. You can also add spend by hand, or delete costs for a date range. Cost import is on every plan.
3. Optional consent mode for click IDs
By default Countnest never keeps click IDs (gclid, gbraid, wbraid, fbclid, msclkid). The tracker replaces their values before sending, and the server only counts which type of ID was present.
If you want to send conversions back to an ad platform, turn on consent mode in the Ads tab. Then a click ID is kept for a visit only after your page calls:
countnest("consent", true);
Call it from your consent banner when the visitor agrees to advertising measurement. If your banner runs before the Countnest script loads, queue the call:
<script>window.__cnq = window.__cnq || []; window.__cnq.push(["consent", true]);</script>
If the visitor withdraws, call countnest("consent", false). Countnest then deletes the click IDs kept for that visit. The consent signal lives only in the page's memory. Countnest stores nothing in the browser, so your banner should call it again on each page load once the visitor has agreed.
Kept click IDs are deleted after 90 days, or straight away when you turn consent mode off.
Your responsibilities: consent mode is for sites that show a consent banner. You decide whether you need consent and what your banner says. Keeping and sharing click IDs with an ad platform is processing of personal data. Name Countnest and the ad platform in your privacy notice. Countnest does not give legal advice and does not promise that any setup is compliant.
4. Send conversions to Meta (Growth and Agency)
With consent mode on, Countnest can send a conversion to the Meta Conversions API from our server:
- In Meta Events Manager, open your dataset (pixel), go to Settings and generate a Conversions API access token.
- In Countnest, open Ads, then Send conversions to ad platforms. Enter the pixel ID, the token and the event names to send (for example
purchase, signup). - Copy a test event code from Events Manager, Test events, and press Send test event.
- Tick Send conversions and save.
A conversion is sent only when all of these are true: consent mode is on, the page signalled consent, the visit has a Meta click ID, and the event name is on your list. Countnest sends the event name, time, page address, value, currency, the Meta click ID (as fbc) and the browser's user agent. It never sends IP addresses, emails or names. The token is stored encrypted and is never shown again.
Google Ads conversion sending is coming once Google approves Countnest's app.
30-day free trial, no card required. Then from $14 a month. Cancel anytime.
Start free for 30 days