Google Analytics 4 Website Integration

Measure the website journey from traffic source to meaningful actions such as qualified enquiries, subscriptions and purchases.

Google Analytics 4 brand mark on a dark glass cover
Integration

Where Google Analytics 4 fits

Measure the website journey from traffic source to meaningful actions such as qualified enquiries, subscriptions and purchases.

Connect it to your website

On Webflow, Astro or WordPress, choose a Google tag or GTM as the implementation owner. On Shopify, compare platform-managed tracking with any custom pixel before installing another purchase emitter. Define an event dictionary that includes the owner, trigger and expected parameters.

A practical implementation

For B2B lead generation, separate form_start, confirmed generate_lead and booked calls so reports reveal where prospects drop off. Verify form submission failures do not count. If booking moves across domains, check eligible cross-domain journeys and self-referrals.

What to check before launch

Consent and content blockers reduce browser-side coverage. Never send names, emails or form content to GA4. Validate in DebugView and reconcile directionally against actual CRM records rather than expecting totals to match.

Define a measurement plan before installing the tag

For a B2B website, a useful event map distinguishes a service-page CTA click, form start, confirmed generate_lead and a completed booking. Record the trigger, allowed parameters, responsible system and whether the event should be a key event. For a store, use the recommended ecommerce events and a unique transaction_id for each purchase. Avoid marking both the submit click and its successful outcome as separate leads.

Validate attribution and maintain ownership

Use a dedicated web stream and nominate one implementation owner for each event. Test the correct property in DebugView, inspect parameters and repeat a failed submission, a refresh and a consent refusal. Check campaign tagging and cross-domain configuration only where the journey requires it. Compare trends with CRM leads and order records, recognizing that blockers and consent settings can prevent complete coverage. Do not pass personal information in event values or page URLs.

Frequently asked questions

Should every click be a key event?

No. Reserve key events for meaningful business outcomes. Keep diagnostic interactions as ordinary events.

Google Analytics 4 official documentation

What should be documented before transferring GA4 access?

Record the property, data streams, event definitions, consent behavior and implementation owner. Give the business appropriate ownership before launch.

Does GA4 show all qualified leads?

No. GA4 measures eligible tracked interactions. The CRM or booking system should own qualification and actual business outcomes.

Google Tag Manager

Cal.com

Compare Astro and Webflow

Get help implementing this integration