Short answer: to track your website accurately, install Google Tag Manager (GTM), configure Google Analytics 4 (GA4) with e-commerce or lead events, add the Meta Pixel for browser-side tracking and connect the Meta Conversion API (CAPI) for server-side events, deduplicated with a shared event ID. Then verify everything in GA4 DebugView and Meta Events Manager, and respect user consent.
Without reliable tracking you can’t tell which ads, pages or campaigns make money. Browser privacy features and ad blockers mean pixel-only tracking now misses a meaningful share of conversions — which is why server-side tracking has become essential for brands running Facebook, Instagram and Google ads.
The modern tracking stack
Tool | What it does |
|---|---|
Google Tag Manager | Manages all tracking tags in one place without editing site code |
Google Analytics 4 | Measures traffic, engagement, funnels and revenue |
Meta Pixel | Browser-side events for Facebook and Instagram ads |
Meta Conversion API | Server-side events that are more reliable and privacy-friendly |
Google Ads conversion tracking + Enhanced Conversions | Measures and optimises Google Ads results |
Consent management | Respects user choices (e.g. Google Consent Mode v2) |
Key events to track
For e-commerce
view_item / ViewContent
add_to_cart / AddToCart
begin_checkout / InitiateCheckout
add_payment_info / AddPaymentInfo
purchase / Purchase (with value, currency and order ID)
For lead generation
generate_lead / Lead (form submissions)
Phone and WhatsApp clicks
Booking completions and quote requests
Step-by-step setup
Install GTM on every page of your site.
Create a GA4 property and add the GA4 configuration tag in GTM.
Push a data layer from your website for e-commerce events with product, value and currency details.
Add GA4 event tags triggered by those data layer events.
Install the Meta Pixel through GTM and map the same events.
Set up the Conversion API via a server-side GTM container, a platform integration (Shopify/WooCommerce) or a custom back-end integration.
Deduplicate events by sending the same event_id from both Pixel and CAPI.
Send customer information parameters (hashed email/phone) where permitted to improve event match quality.
Configure consent so tags respect user choices.
Test and verify in GA4 DebugView, Tag Assistant and Meta Events Manager’s Test Events.
Common tracking mistakes
Duplicate purchases from both Pixel and CAPI without deduplication
Purchase events firing on page reload of the thank-you page
Missing currency or value parameters
Tracking codes lost after a website redesign (see our redesign checklist)
Ignoring consent requirements in Europe and the UK (see our GDPR checklist)
Frequently asked questions
Do I still need the Meta Pixel if I use Conversion API?
Yes. Meta recommends using both together, with deduplication, for the most complete data.
Is GA4 free?
Yes, the standard version of Google Analytics 4 is free.
Does server-side tracking help ad performance?
Server-side events are more resilient to browser restrictions, which generally gives ad platforms better data to optimise campaigns.
Get your tracking set up correctly
Dreekk Innovation sets up GA4, Google Tag Manager, Meta Pixel and Conversion API for e-commerce stores and lead-generation sites in Bangladesh, the USA, Canada, Australia and Europe. Explore our services or request a tracking audit.


