GDPR-Compliant Cookie Consent Setup for Google Analytics 4

If your website has visitors from the EU, you need to handle cookie consent properly. This guide shows you how to set up GA4 tracking that respects user consent choices. It is not legal advice, but it covers the technical implementation. TL;DR – Quick Summary Set default consent to “denied” before GTM loads Use a … Read more

How to Track Form Submissions with GTM and GA4

Tracking form submissions is one of the most common requirements in web analytics. This guide covers multiple approaches, because the right method depends on how your form works. Follow along, and you will have a reliable setup by the end. TL;DR – Quick Summary Thank-you page redirects: Track the page view AJAX forms: Use dataLayer.push() … Read more

How to Set Up GA4 E-commerce Tracking with Google Tag Manager

This guide is detailed. But if you follow it step by step, you will end up with a working e-commerce tracking setup in GA4. We will focus on implementation, not reporting. TL;DR – Quick Summary GA4 requires manual e-commerce implementation (Enhanced Measurement does not cover it) Key events: view_item, add_to_cart, begin_checkout, purchase Push events to … Read more