How to track online marketing results (GA4, Pixel, ROI)
Without tracking, marketing is guessing. You spend 1,000 EUR per month on Google Ads, you see some people 'coming' - but you don't know which campaign, which ad, which keyword brings sales. This guide introduces you to a complete tracking setup. Professional setup is part of our advertising service and internet marketing - but you can also start the basics yourself.
Table of contents:
Google Analytics 4 (GA4)
GA4 is Google's new analytics, replaced Universal Analytics in July 2023. The difference: event-based tracking (not page-based), better support for mobile apps, machine learning for 'predicted' conversions.
Setup in 4 steps
- Go to analytics.google.com, create an account if you don't have one
- Create a 'Property' for your site - you'll get a Measurement ID (G-XXXXXXX)
- Add the GA4 tag through Tag Manager (see next section)
- Set key events (conversions) - signup, purchase, form submission
Most important reports you track monthly: Acquisition (where traffic comes from), Engagement (what they do on the site), Monetization (what generates revenue), Demographics (who your visitors are).
Google Tag Manager
Tag Manager is the 'central control panel' for all marketing tags - GA4, Meta Pixel, LinkedIn Insight, Hotjar, custom tags. Instead of adding code directly to the site for each platform (and asking the developer for every change), you change everything from the GTM dashboard.
Setup: create a container at tagmanager.google.com, add the GTM code to the site (once, developer's job), then you add all new tags through GTM without additional developer work.
Bonus: GTM has preview mode - you can test a new tag before publishing it on the site. No one needs to worry 'have I broken something'.
Meta Pixel + Conversions API
Meta Pixel is the tracking code for Facebook + Instagram ads. Conversions API (CAPI) is the server-side complement - sends conversions directly from your server, not through the browser (bypasses iOS 14+ blocking).
Setup: create the Pixel in Business Manager (business.facebook.com), add through GTM. CAPI is set up through the Conversions API Gateway (free) or through a plugin (WooCommerce has a native Meta plugin that does both Pixel and CAPI).
Critical events you must track: PageView (every page), ViewContent (product view), AddToCart (adding to cart), InitiateCheckout (start of checkout), Purchase (completed purchase). More about Meta Ads campaigns in Google Ads vs Meta Ads.
Conversion tracking in Google Ads
Conversions in Google Ads aren't automatic - you have to define them. Without that, you don't know which campaign brings sales, optimization is blind.
Setup: in Google Ads, go to Tools > Conversions. Create a conversion for every important action - purchase, form submission, call. Set it up through GTM (or import from GA4).
Bonus: Enhanced Conversions sends hashed first-party data (email, phone) to Google for better matching. Increases attributed conversions by 10-30%.
iOS 14+ and privacy changes
Apple's 2021 change (App Tracking Transparency) 'doomed' traditional tracking. iPhone users choose whether to allow apps to track them - and 80% refuse. Result: Pixel/GA4 'lose' a large portion of conversions.
Solutions:
- Conversions API (server-side tracking, doesn't depend on the browser)
- Enhanced Conversions in Google
- First-party data from CRM (email, customer phone)
- Modeling (Google and Meta 'predict' missing conversions)
- Server-side Tag Manager (Stape or custom GTM server)
Reality: tracking today is 80-90% accurate, not 100%. Sufficient for campaign optimization - but not perfect like before 2021.
How to calculate real ROI
ROI = (revenue - cost) / cost × 100%. But real marketing ROI also considers:
- Lifetime Value (LTV) - a customer who spends 100 EUR now, returns 5 times. Real LTV is 500 EUR, not 100.
- Multi-touch attribution - customer sees Meta ad, comes from Google search 3 days later. Who deserves the conversion?
- Time component - SEO investment today brings revenue 18 months from now. Not fair to count 'cost-revenue' over a single month.
- Brand effect - campaigns that don't bring direct sales but increase recognition (Meta brand awareness, YouTube)
Practical model: I use 'last-click' attribution for short-term decisions (which campaign to scale today), and 'data-driven' model in GA4 for the long-term picture (where each channel has the most impact).
Need a professional tracking setup or don't understand where your marketing dollars 'leak'? Our internet marketing service and advertising include complete tracking + Looker Studio dashboard. Send an inquiry through the contact form.
Let's talk about your project!
