Tracklio
Tracklio
Analytics

Google Analytics 4
Server-side, in 15 minutes.

Measurement Protocol events that bypass ad-blockers and survive cookie expiry — first-party, GDPR-friendly.

Route GA4 events through your own domain via Measurement Protocol v2. Client_id preserved, Consent Mode V2 signals honored, custom dimensions intact. Compatible with GTM server container and raw HTTP.

Why server-side for Google Analytics 4

Ad-blocker immune

First-party CNAME = same origin as your site. uBlock, AdBlock Plus, Brave — all pass through.

Consent Mode V2 native

Tracklio reads the gtag consent state and switches between cookied + cookieless pings automatically.

Full custom dimensions

user_properties, custom event params, item-scoped parameters — nothing stripped.

Events tracked out of the box

Standard Google Analytics 4 events mapped automatically. Custom events supported via the same endpoint.

page_viewpurchaseadd_to_cartbegin_checkoutsign_uploginsearchview_itemgenerate_lead

Setup — 4 steps

Average time to live: under 15 minutes.

  1. 1

    Get your GA4 Measurement ID + API secret

    Admin > Data Streams > your web stream > Measurement Protocol API secrets.

  2. 2

    Drop the GTM server template

    Pre-built GA4 client + tag — routes gtag() calls to your Tracklio CNAME.

  3. 3

    Configure Consent Mode V2

    ad_storage and analytics_storage respected — denied = modeled conversions, granted = full data.

  4. 4

    Verify in DebugView

    Events appear live with 'source: server' label within 2 seconds.

Server-side GA4 event

javascript
fetch("https://track.yourdomain.com/ga4/collect?" + new URLSearchParams({
  measurement_id: "G-XXXXXXX",
  api_secret: process.env.GA4_SECRET,
}), {
  method: "POST",
  body: JSON.stringify({
    client_id: clientId,
    events: [{ name: "purchase", params: {
      transaction_id: orderId, value: 129.99, currency: "USD",
      items: [{ item_id: sku, item_name, price, quantity }],
    }}],
  }),
});

Google Analytics 4 FAQs

Do I lose any reports by going server-side?

No — Tracklio preserves client_id, session_id, user_id and all event params. Every standard + custom report works.

How does Consent Mode V2 work with Tracklio?

Tracklio reads analytics_storage / ad_storage from the gtag consent state. When denied, it sends cookieless pings to GA4 — same modeling as Google's client-side path.

Can I still use Looker Studio?

Yes. Data lands in your GA4 property exactly as before — Looker, BigQuery export, and Data API all work unchanged.

Other integrations

Join 300+ brands

Ready to stop losingconversions?

Get set up in 15 minutes. No DevOps. No contracts.Cancel any time.

14-day free trialNo credit cardAll modules included
Get in touch

We're here when you need us.

Send us a message

We reply within 2 hours, even on weekends. Tell us about your current tracking setup and what you'd like to improve.

Average 2-hour response
Technical support included
No sales pressure

Never shared. Never spammed. Privacy Policy applies.