Server-Side Tracking Integrations for Ads and Ecommerce
A BonicBD integration is the path one event takes from your store to an ad platform. Your site sends the event to a subdomain you own, the hosted Google Tag Manager server container enriches it, and a tag inside that container forwards it to Meta, GA4, TikTok, LinkedIn, or your own endpoint. Seven of those paths are documented below.
Each page covers what BonicBD contributes, what you build inside Google Tag Manager, and how to confirm the event reached the platform. Platform documentation changes, so every page shows the date it was last reviewed.
Ad platforms
Server-side event delivery to the platforms you already run ads on. BonicBD provides the container and the first-party path; you build the tag in Google Tag Manager.
Meta Conversions API
Send Meta Conversions API events server-side from your own domain.
Open Meta CAPIGA4 Server-Side
Collect GA4 events server-side on your own domain.
Open GA4TikTok Events API
Send TikTok conversion events server-side, including COD purchases.
Open TikTokLinkedIn Conversions
Send LinkedIn conversion events server-side with the li_fat_id click ID.
Open LinkedInStore platforms
Connecting your storefront so the first-party events can be captured and verified, with the ecommerce events fired from the store itself.
BonicBD gives you
- A server-side Google Tag Manager container on your own hostname
- The collection endpoint your site and your store report events to
- Identity and click-ID storage, so a conversion can be tied back to the ad click that started it
- The protection and enrichment modules — bot filtering, traffic filtering, consent state, EMQ enrichment, Click ID Restorer
- An event log that shows exactly what arrived, so a missing event can be traced
You build the tag in Google Tag Manager
- The tag itself — Meta CAPI, GA4, TikTok Events API, LinkedIn Conversions
- Its trigger, and the payload mapping from the collected event to the platform format
- The API credentials for the platform, held in your own GTM account
- The deduplication key that stops one purchase being counted twice
There is no destination screen in the BonicBD panel. The platform tag and its credentials live in your own Google Tag Manager server container, exactly as they would with any other server-side tagging provider.
Which integration runs where
Ad-platform integrations send events out. Store-platform integrations decide how events are collected in the first place. They need different work from you, and each has its own page.
| Integration | Type | You configure | BonicBD provides | Where to verify |
|---|---|---|---|---|
| Meta Conversions API | Ad platform | CAPI tag, Pixel ID, access token, event_id | First-party collection, fbclid/fbc/fbp retention, event log | Meta Events Manager, Test Events |
| GA4 | Ad platform | GA4 tag, measurement ID, API secret, transaction_id | Collection endpoint, consent state, session continuity | GA4 DebugView, then Realtime |
| TikTok Events API | Ad platform | TikTok tag, Pixel ID, access token, ttclid mapping | ttclid capture, server-side dispatch for COD orders | TikTok Events Manager, Test Event |
| LinkedIn Conversions | Ad platform | LinkedIn tag, partner ID, access token, conversion rule | li_fat_id capture, event payload delivery | LinkedIn Campaign Manager diagnostics |
| Shopify | Store platform | Theme snippets, order webhooks or a Shopify pixel | First-party hostname, tracker, order event collection | BonicBD event log, then the ad platform |
| WooCommerce | Store platform | Tracker plugin (Purchase trigger: Thank You / Processing / Completed) or snippets | Tracker, COD order protection, confirming-status dispatch | BonicBD conversion ledger against WooCommerce orders |
| WordPress | Store platform | Plugin install, container ID, domain in the panel | Automatic snippet placement, first-party hostname | Page source, then BonicBD event log |
Four things that break an integration
These are the failures we see most often across client accounts, in rough order of how much they quietly cost.
Two emitters, one order
A pixel plugin, a theme script and a server tag each fire a purchase. Without a shared event_id, the platform counts three sales for one order and your ROAS looks better than it is.
The click ID never arrives
Redirects, page builders and privacy extensions strip fbclid or gclid before your script runs. Nothing downstream can restore a value that was never captured, so the page has to catch it on the first hit.
Collected is not accepted
An event in the BonicBD log proves collection. Firing the tag, building the payload and getting a platform answer are three later stages, and only the platform's own diagnostics prove the last one.
Credentials in the wrong place
Access tokens belong in your GTM server container, not in a snippet on the page and not in a support message. A token pasted into a public theme file is a live credential anyone can copy.
Integration questions we get before signup
No. One container and one collection endpoint serve every destination. What differs per platform is the tag you add inside Google Tag Manager and the payload it expects, which is why each platform has its own page here.
In your own Google Tag Manager server container, inside the tag configuration. The BonicBD panel connects that container to your hostname and shows what arrived; it has no destination-credential screen and does not store platform access tokens.
Yes, and most teams should for a week or two so the two counts can be compared. Keep the browser pixel and the server tag sending the same event identifier, then retire the browser-side purchase once the numbers reconcile. Running both without a shared identifier is how duplicate purchases start.
Shopify, WooCommerce, WordPress, Laravel, custom PHP and Node.js. Anything that lets you place a script tag in the page head and body can send events to the collection endpoint. The Shopify and WooCommerce pages cover the checkout restrictions that make those two different from a plain website.
You update the tag in your own GTM container, which you control. BonicBD's collection layer does not change when Meta or TikTok revises a payload format. Each integration page shows its review date so you can judge whether the instructions predate a platform change.
Not sure which integration you need?
Send your store URL and the platforms you advertise on. We will tell you which path applies and what it takes to verify it.
Ask about your setup See plans in BDT