Track ads with Meta Conversions API, Google Analytics 4 and Microsoft Clarity
Connect your ad accounts once under Settings > Ad Tracking & CAPI, and every funnel reports leads, checkouts and purchases to Meta and Google from soFunnels' servers as well as from the visitor's browser. The two are matched so nothing counts twice, and sales still reach your ad accounts when a browser blocks tracking. Microsoft Clarity adds free session recordings and heatmaps.
- Plan
- Basic or Pro
- Where
- Settings > Ad Tracking & CAPI
- Events sent
- Lead, InitiateCheckout and Purchase (generate_lead, begin_checkout and purchase in Google)
On this page
Why server-side tracking matters
Ad platforms learn who to show your ads to from the conversions you report. Browser pixels miss conversions whenever a visitor uses an ad blocker or strict privacy settings, so your ads optimise on incomplete data. soFunnels also reports each lead and purchase directly from its servers, and gives both copies the same event ID so the ad platform counts it once.
Events carry the details platforms use to match a conversion to an ad click, such as the click ID from the ad link and, where available, the visitor's email and phone, which are hashed before they are sent.
Connect Meta (Facebook and Instagram ads)
- In Meta Events Manager, open your dataset (pixel) and copy its ID.
- In the same dataset, open Settings, find Set up Conversions API and generate an access token.
- In soFunnels, open Settings > Ad Tracking & CAPI, paste the Meta Pixel / Dataset ID and the access token, and save.
- Press Test Meta CAPI Connection to confirm Meta accepts your events.
Connect Google Analytics 4
- In Google Analytics, open Admin > Data Streams and select your web stream.
- Copy the Measurement ID (it starts with G-).
- In the same stream, open Measurement Protocol API secrets, create a secret and copy its value.
- Paste both into Settings > Ad Tracking & CAPI in soFunnels, save, and press Test Google Connection.
Tip: mark purchase and generate_lead as key events in Google Analytics, then import them into Google Ads to use them for bidding.
Add Microsoft Clarity recordings and heatmaps
Microsoft Clarity is a free tool that records visitor sessions and shows click and scroll heatmaps, so you can watch where people hesitate. Create a project in Clarity, copy its project ID from the project settings (8 to 12 letters and numbers), paste it into soFunnels and press Validate Clarity Key. Recordings start on every funnel page right away.
Check that it works
The bottom of the tracking screen lists the most recent conversions soFunnels sent to Meta and Google. Submit your own opt-in form or make a test purchase, and the events appear there and in each platform's event testing view within moments.
Frequently asked questions
Do I still need to install the Meta pixel on my pages?
No. Once your dataset ID is saved, soFunnels runs the browser pixel and the Conversions API together on every funnel page.
Will purchases count twice?
No. The browser and server copies of each event share one event ID, and Meta and Google use it to count the conversion once.
Can I track TikTok or other ad platforms?
Server-side reporting covers Meta and Google. For other platforms, tag your ad links with UTM parameters so soFunnels attributes leads and sales to them in your analytics, or forward conversions with a webhook.
Describe your offer and get pages, checkout and emails in minutes. No card needed.
Still stuck? Email [email protected] and a person will help. Using an AI assistant? Give it this page as Markdown.