{"id":9146,"date":"2026-09-02T17:14:17","date_gmt":"2026-09-02T11:44:17","guid":{"rendered":"https:\/\/www.adroitte.com\/blog\/?p=9146"},"modified":"2026-09-02T17:48:05","modified_gmt":"2026-09-02T12:18:05","slug":"ga4-event-tracking","status":"publish","type":"post","link":"https:\/\/www.adroitte.com\/blog\/digital-marketing\/ga4-event-tracking\/","title":{"rendered":"How to Set Up Google Tag Manager and GA4 Event Tracking: A Beginner\u2019s Step-by-Step Guide"},"content":{"rendered":"<p>GA4 event tracking helps businesses measure specific actions visitors take on a website, such as button clicks, form interactions, sign-ups, and other important activities. With Google Tag Manager, businesses can configure GA4 Event tags and triggers without repeatedly changing their website code. Google recommends previewing and testing events in Tag Manager before publishing changes and using Realtime or DebugView in Analytics to verify the data.<\/p>\n<p>Google Tag Manager (GTM) helps you add tracking to a website without asking a developer to edit the site\u2019s code every time you want to measure something new.<\/p>\n<p>For example, you may want to know:<\/p>\n<ul>\n<li>How many people submit your contact form<\/li>\n<li>How many visitors click your phone number<\/li>\n<li>Which users click \u201cGet a Quote\u201d<\/li>\n<li>How many people download a brochure<\/li>\n<li>Whether visitors scroll through your service pages<\/li>\n<li>Which marketing channel brings genuine enquiries<\/li>\n<\/ul>\n<p>GTM is the tool that helps you set up this tracking. Google Analytics 4 (GA4) is where you view the data afterward.<\/p>\n<p>Think of it like this:<\/p>\n<ul>\n<li><strong>Google Tag Manager =<\/strong> The control panel where you create tracking rules<\/li>\n<li><strong>Google Analytics 4 =<\/strong> The dashboard where you see visitor activity and reports<\/li>\n<li><strong>Tag =<\/strong> The tracking instruction you create<\/li>\n<li><strong>Trigger =<\/strong> The condition that tells a tag when to run<\/li>\n<li><strong>Event =<\/strong> A visitor action you want to record, such as a form submission or button click<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_GA4_Event_Tracking_What_You_Need_Before_Starting\"><\/span>What Is GA4 Event Tracking?: What You Need Before Starting<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before you begin, make sure you have:<\/p>\n<ol>\n<li>A <a href=\"https:\/\/workspace.google.com\/business\/signup\/newbusiness\" target=\"_blank\" rel=\"noopener\">Google account<\/a><\/li>\n<li>Access to your website\u2019s CMS, theme files, or header\/footer code<\/li>\n<li>A Google Analytics 4 property<\/li>\n<li>Permission to edit Google Tag Manager<\/li>\n<li>A cookie-consent banner or CMP if your business needs consent management for analytics or advertising cookies<\/li>\n<li>A list of the actions you want to track<\/li>\n<\/ol>\n<p>For a normal service-business website, begin with these five essential events:<\/p>\n<ul>\n<li>Contact-form submissions<\/li>\n<li>Phone-number clicks<\/li>\n<li>WhatsApp clicks<\/li>\n<li>Email-address clicks<\/li>\n<li>Key CTA button clicks, such as \u201cGet a Quote\u201d or \u201cBook a Consultation\u201d<\/li>\n<\/ul>\n<p>Do not begin by tracking every possible click. Start with actions that indicate genuine business interest.<\/p>\n<h3>Step 1: Create a GA4 Property<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9147\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-ga4-property.jpg\" alt=\"\" width=\"1280\" height=\"1185\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-ga4-property.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-ga4-property-300x278.jpg 300w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-ga4-property-1024x948.jpg 1024w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-ga4-property-768x711.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>If you already have GA4, skip to Step 2.<\/p>\n<ol>\n<li>Go to <strong>analytics.google.com<\/strong><\/li>\n<li>Sign in with your Google account<\/li>\n<li>Click <strong>Admin<\/strong> in the bottom-left corner<\/li>\n<li>Under the <strong>Account<\/strong> column, choose the correct account or create a new one<\/li>\n<li>Under the <strong>Property<\/strong> column, click <strong>Create Property<\/strong><\/li>\n<li>Enter your business or website name<\/li>\n<li>Select your reporting time zone and currency<\/li>\n<li>Click <strong>Next<\/strong><\/li>\n<li>Answer the business questions, then click<strong> Create<\/strong><\/li>\n<li>Accept Google\u2019s terms if prompted<\/li>\n<\/ol>\n<p>Now you need to create a website data stream.<\/p>\n<ol>\n<li>In GA4 Admin, go to <strong>Data streams<\/strong><\/li>\n<li>Click <strong>Add stream<\/strong><\/li>\n<li>Select <strong>Web<\/strong><\/li>\n<li>Enter your website URL, such as https:\/\/www.yourwebsite.com<\/li>\n<li>Give the stream a clear name, such as <strong>Main Website<\/strong><\/li>\n<li>Click <strong>Create stream<\/strong><\/li>\n<\/ol>\n<p>You will now see a <strong>Measurement ID<\/strong>, usually beginning with G-, such as G-ABC123XYZ9.<\/p>\n<p>Copy this ID. You will need it in GTM.<\/p>\n<h3>Step 2: Create Your GTM Account and Web Container<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9148\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container.jpg\" alt=\"\" width=\"1280\" height=\"1608\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container-239x300.jpg 239w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container-815x1024.jpg 815w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container-768x965.jpg 768w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/create-your-gtm-account-and-container-1223x1536.jpg 1223w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<ol>\n<li>Go to <strong>tagmanager.google.com<\/strong><\/li>\n<li>Sign in using the same Google account if possible<\/li>\n<li>Click <strong>Create Account<\/strong><\/li>\n<li>Enter your business name under <strong>Account Name<\/strong><\/li>\n<li>Choose your country<\/li>\n<li>Under <strong>Container Name<\/strong>, enter your website name, such as <strong>Adroitte Website<\/strong><\/li>\n<li>Under <strong>Target Platform<\/strong>, choose <strong>Web<\/strong><\/li>\n<li>Click <strong>Create<\/strong><\/li>\n<li>Read and accept the GTM terms of service<\/li>\n<\/ol>\n<p>GTM will generate a <strong>Container ID<\/strong> that looks like this:<\/p>\n<p>GTM-XXXXXXX<\/p>\n<p>It will also show two code snippets. These snippets connect your website to GTM.<\/p>\n<h3>Step 3: Install GTM on Your Website<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9149\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code.jpg\" alt=\"\" width=\"1280\" height=\"1569\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code-245x300.jpg 245w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code-835x1024.jpg 835w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code-768x941.jpg 768w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/install-the-container-code-1253x1536.jpg 1253w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>Google Tag Manager provides two pieces of code:<\/p>\n<ul>\n<li>One code snippet goes inside thesection of every page<\/li>\n<li>One code snippet goes immediately after the openingtag<\/li>\n<\/ul>\n<p>Do not place both snippets in the same location.<\/p>\n<p><strong>If Your Website Uses WordPress<\/strong><\/p>\n<p>You have three common options:<\/p>\n<ul>\n<li>Ask your developer to add the GTM snippets to the site theme<\/li>\n<li>Use a trusted header-and-footer code plugin<\/li>\n<li>Use a GTM-specific WordPress plugin<\/li>\n<\/ul>\n<p>If you use a plugin, enter only your GTM Container ID, such as GTM-XXXXXXX, if the plugin requests it. Do not add duplicate code manually as well, because duplicate installation can cause your events to be counted twice.<\/p>\n<p><strong>If Your Website Uses Shopify, Wix, Webflow, or Another CMS<\/strong><\/p>\n<p>Most CMS platforms have a place for custom code, global header code, analytics scripts, or tag-manager integration. Add the GTM snippets in the relevant global site-code area so they load across the full website.<\/p>\n<p>If you are unsure, ask your website developer this exact question:<\/p>\n<p>\u201cPlease install this Google Tag Manager container across all website pages, with the first snippet in the head and the second snippet immediately after the opening body tag.\u201d<\/p>\n<h3>Step 4: Confirm That GTM Is Installed Correctly<\/h3>\n<p>Before creating tracking events, confirm that GTM is loading on your website.<\/p>\n<ol>\n<li>Open Google Tag Manager<\/li>\n<li>Click <strong>Preview<\/strong> in the top-right corner<\/li>\n<li>Enter your website URL<\/li>\n<li>Click <strong>Connect<\/strong><\/li>\n<li>Your website should open in a new tab<\/li>\n<li>Return to the Tag Assistant tab<\/li>\n<\/ol>\n<p>If installation is successful, Tag Assistant should show that your GTM container is connected.<\/p>\n<p>Preview mode lets you test tags before making them live, so use it every time you make tracking changes. Google confirms that <strong>Preview<\/strong> enables container debugging, while <strong>Submit<\/strong> creates and publishes a version.<\/p>\n<h3>Step 5: Create the Base Google Tag for GA4<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9150\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/setup-your-google-tag-for-ga4.jpg\" alt=\"\" width=\"1280\" height=\"911\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/setup-your-google-tag-for-ga4.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/setup-your-google-tag-for-ga4-300x214.jpg 300w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/setup-your-google-tag-for-ga4-1024x729.jpg 1024w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/setup-your-google-tag-for-ga4-768x547.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>Older tutorials may tell you to create a \u201cGA4 Configuration\u201d tag. In the current GTM interface, use the <strong>Google tag<\/strong> instead. Google\u2019s official setup guide instructs users to create a new tag, select <strong>Google tag<\/strong>, add the Tag ID, and choose an initialization trigger.<\/p>\n<p>Follow these steps:<\/p>\n<ol>\n<li>In Google Tag Manager, click Tags in the left menu<\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Click the tag name at the top and rename it: <strong>Google Tag \u2013 GA4 Base Tracking<\/strong><\/li>\n<li>Click <strong>Tag Configuration<\/strong><\/li>\n<li>Select <strong>Google tag<\/strong><\/li>\n<li>In the <strong>Tag ID<\/strong> field, paste your GA4 Measurement ID, such as G-ABC123XYZ9<\/li>\n<li>Click <strong>Triggering<\/strong><\/li>\n<li>Choose <strong>Initialization \u2013 All Initialization Events<\/strong><\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p>This tag loads GA4 across your website and provides the foundation for your future event tracking.<\/p>\n<h3>Step 6: Test Your Base GA4 Tag<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9151\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/test-everything-in-preview-mode.jpg\" alt=\"\" width=\"1280\" height=\"1162\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/test-everything-in-preview-mode.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/test-everything-in-preview-mode-300x272.jpg 300w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/test-everything-in-preview-mode-1024x930.jpg 1024w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/test-everything-in-preview-mode-768x697.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>Do not publish yet.<\/p>\n<ol>\n<li>In GTM, click <strong>Preview<\/strong><\/li>\n<li>Connect to your website<\/li>\n<li>Visit a few pages on the site<\/li>\n<li>In Tag Assistant, look for your <strong>Google Tag \u2013 GA4 Base Tracking<\/strong><\/li>\n<li>Confirm that it fires on each page<\/li>\n<\/ol>\n<p>Next, check GA4:<\/p>\n<ol>\n<li>Go to <strong>analytics.google.com<\/strong><\/li>\n<li>Open your GA4 property<\/li>\n<li>Click <strong>Reports<\/strong><\/li>\n<li>Go to <strong>Realtime<\/strong><\/li>\n<li>Open your website in another browser tab<\/li>\n<li>Browse one or two pages<\/li>\n<\/ol>\n<p>You should see at least one active user in the Realtime report within a short time.<\/p>\n<p>If you do not see activity, check that:<\/p>\n<ul>\n<li>The correct GA4 ID was entered<\/li>\n<li>The GTM code is installed on the website<\/li>\n<li>The base tag fires in Preview mode<\/li>\n<li>Your cookie-consent setup is not blocking analytics before consent<\/li>\n<\/ul>\n<h3>Step 7: Set Up Consent Mode<\/h3>\n<p>Consent Mode helps Google tags respond appropriately to a visitor\u2019s cookie choices. It is especially important if you serve users in regions with privacy requirements, use GA4, run Google Ads, or use remarketing.<\/p>\n<p>For a beginner, the easiest route is to use a cookie-consent platform that supports Google Consent Mode and GTM integration.<\/p>\n<p>Your cookie banner should generally allow visitors to choose whether they accept:<\/p>\n<ul>\n<li>Necessary cookies<\/li>\n<li>Analytics cookies<\/li>\n<li>Advertising or marketing cookies<\/li>\n<\/ul>\n<p>Do not publish analytics and advertising tracking without first checking how your cookie banner and consent settings are configured for your target regions. Consent setup can affect what data is collected and how conversions are measured.<\/p>\n<h3>Step 8: Turn On Built-In GTM Variables<\/h3>\n<p>Before tracking clicks, enable the variables GTM needs to understand what users clicked.<\/p>\n<ol>\n<li>In GTM, click <strong>Variables<\/strong> in the left menu<\/li>\n<li>Under <strong>Built-In Variables<\/strong>, click <strong>Configure<\/strong><\/li>\n<li>Enable these click variables:<br \/>\nClick Element<br \/>\nClick Classes<br \/>\nClick ID<br \/>\nClick Target<br \/>\nClick Text<br \/>\nClick URL<\/li>\n<li>Enable these form variables as well:<br \/>\nForm Classes<br \/>\nForm Element<br \/>\nForm ID<br \/>\nForm Target<br \/>\nForm URL<\/li>\n<\/ol>\n<p>These variables help you create accurate triggers later.<\/p>\n<p>For example, the <strong>Click URL<\/strong> variable helps you track a phone link, an email link, WhatsApp link, or PDF download link.<\/p>\n<h3>Step 9: Create an Event for Contact-Form Submissions<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9152\" src=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/add-event-tags-for-what-matters.jpg\" alt=\"\" width=\"1280\" height=\"1215\" srcset=\"https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/add-event-tags-for-what-matters.jpg 1280w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/add-event-tags-for-what-matters-300x285.jpg 300w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/add-event-tags-for-what-matters-1024x972.jpg 1024w, https:\/\/www.adroitte.com\/blog\/wp-content\/uploads\/2026\/09\/add-event-tags-for-what-matters-768x729.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>A contact-form submission is usually the most important event for a lead-generation website.<\/p>\n<p>First, decide what should count as a successful submission. The most reliable option is a dedicated thank-you page, such as:<br \/>\nyourwebsite.com\/thank-you\/<\/p>\n<p>When a visitor submits the form successfully, they are redirected to this page.<\/p>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>In GTM, click <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 Contact Form Thank You Page<\/strong><\/li>\n<li>Click <strong>Trigger Configuration<\/strong><\/li>\n<li>Select <strong>Page View<\/strong><\/li>\n<li>Choose <strong>Some Page Views<\/strong><\/li>\n<li>Set the condition: <strong>Page Path \u2192 contains \u2192<\/strong> \/thank-you\/<\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p><strong>Create the GA4 event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name the tag: <strong>GA4 Event \u2013 Generate Lead \u2013 Contact Form<\/strong><\/li>\n<li>Click <strong>Tag Configuration<\/strong><\/li>\n<li>Choose <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Enter your GA4 Measurement ID if GTM asks for it<\/li>\n<li>Under <strong>Event Name<\/strong>, enter: generate_lead, Google recommends using predefined event names when they fit the action, and generate_lead is appropriate for a successful enquiry<\/li>\n<li>Under <strong>Event Parameters<\/strong>, click <strong>Add Event Parameter<\/strong><\/li>\n<li>Add: <strong>Parameter Name Value, <\/strong>form_name Contact Form, lead_type Website enquiry, page_location {{Page URL}}<\/li>\n<li>Click <strong>Triggering<\/strong><\/li>\n<li>Select <strong>Trigger \u2013 Contact Form Thank You Page<\/strong><\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p><strong>Test the event<\/strong><\/p>\n<ol>\n<li>Click <strong>Preview<\/strong> in GTM<\/li>\n<li>Open your website through Tag Assistant<\/li>\n<li>Submit a test contact form<\/li>\n<li>Confirm that the event tag fires on the thank-you page<\/li>\n<li>Open GA4 and go to <strong>Admin<\/strong><\/li>\n<li>Click <strong>DebugView<\/strong> or check <strong>Realtime<\/strong><\/li>\n<li>Look for the generate_lead event<\/li>\n<\/ol>\n<p>Only publish after the test works.<\/p>\n<h3>Step 10: Track Click-to-Call Phone Numbers<\/h3>\n<p>If your phone number is clickable, its link usually begins with tel:.<\/p>\n<p>Example: tel:+911234567890<\/p>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>Go to <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 Click to Call<\/strong><\/li>\n<li>Click <strong>Trigger Configuration<\/strong><\/li>\n<li>Select <strong>Just Links<\/strong><\/li>\n<li>Select<strong> Some Link Clicks<\/strong><\/li>\n<li>Set the condition: <strong>Click URL \u2192 starts with \u2192 tel:<\/strong><\/li>\n<li>Click Save<\/li>\n<\/ol>\n<p><strong>Create the event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>GA4 Event \u2013 Click to Call<\/strong><\/li>\n<li>Select <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Set <strong>Event Name<\/strong> to: contact<\/li>\n<li>Add these event parameters: <strong>Parameter Name Value, <\/strong>contact_method phone, link_url {{Click URL}}, page_location {{Page URL}}<\/li>\n<li>Under <strong>Triggering<\/strong>, select <strong>Trigger \u2013 Click to Call<\/strong><\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p>Test this event in Preview mode by clicking your phone number from the website.<\/p>\n<h3>Step 11: Track WhatsApp Clicks<\/h3>\n<p>For most websites, WhatsApp links include one of these domains:<\/p>\n<ul>\n<li>wa.me<\/li>\n<li>api.whatsapp.com<\/li>\n<li>web.whatsapp.com<\/li>\n<\/ul>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>Go to <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 WhatsApp Click<\/strong><\/li>\n<li>Select <strong>Just Links<\/strong><\/li>\n<li>Choose <strong>Some Link Clicks<\/strong><\/li>\n<li>Use one of these conditions: <strong>Click URL \u2192 contains<\/strong> \u2192 wa.me Or: <strong>Click URL \u2192 contains<\/strong> \u2192 whatsapp.com<\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p><strong>Create the event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>GA4 Event \u2013 WhatsApp Click<\/strong><\/li>\n<li>Select <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Set the event name to: contact<\/li>\n<li>Add these parameters: <strong>Parameter Name Value<\/strong>, contact_method whatsapp, link_url {{Click URL}}, page_location {{Page URL}}<\/li>\n<li>Attach the <strong>Trigger \u2013 WhatsApp Click<\/strong><\/li>\n<li>Save and test in Preview mode<\/li>\n<\/ol>\n<h3>Step 12: Track Email Clicks<\/h3>\n<p>Email links normally begin with mailto:.<\/p>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>Go to <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 Email Click<\/strong><\/li>\n<li>Select <strong>Just Links<\/strong><\/li>\n<li>Choose <strong>Some Link Clicks<\/strong><\/li>\n<li>Set the condition: <strong>Click URL \u2192 starts with<\/strong> \u2192 mailto:<\/li>\n<li>Save the trigger<\/li>\n<\/ol>\n<p><strong>Create the event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>GA4 Event \u2013 Email Click<\/strong><\/li>\n<li>Select <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Set the event name to: contact<\/li>\n<li>Add parameters: <strong>Parameter Name Value<\/strong>, contact_method email, link_url {{Click URL}}, page_location {{Page URL}}<\/li>\n<li>Add <strong>Trigger \u2013 Email Click<\/strong><\/li>\n<li>Save and test it<\/li>\n<\/ol>\n<h3>Step 13: Track Important CTA Button Clicks<\/h3>\n<p>A CTA is a button that asks visitors to take an action, such as:<\/p>\n<ul>\n<li>Get a Quote<\/li>\n<li>Book a Free Consultation<\/li>\n<li>Request a Proposal<\/li>\n<li>Start Your Project<\/li>\n<li>Speak to an Expert<\/li>\n<\/ul>\n<p>Avoid tracking every button on the website. Track only the CTAs that matter to lead generation.<\/p>\n<p><strong>Find the button details<\/strong><\/p>\n<ol>\n<li>Start GTM <strong>Preview<\/strong> mode<\/li>\n<li>Open the webpage containing the CTA<\/li>\n<li>Click the CTA button<\/li>\n<li>In Tag Assistant, select the click event<\/li>\n<li>Look at the <strong>Variables<\/strong> tab<\/li>\n<li>Note the values for:<br \/>\n&#8211; Click Text<br \/>\n&#8211; Click Classes<br \/>\n&#8211; Click ID<br \/>\n&#8211; Click URL<\/li>\n<\/ol>\n<p>Use the most stable identifier. A unique Click ID is usually better than click text, because button text may change.<\/p>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>Go to <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 CTA \u2013 Get a Quote<\/strong><\/li>\n<li>Choose <strong>Click \u2013 All Elements<\/strong> or <strong>Just Links<\/strong>, depending on how the button is built<\/li>\n<li>Choose <strong>Some Clicks<\/strong><\/li>\n<li>Add your condition, for example: <strong>Click Text \u2192 equals<\/strong> \u2192 Get a Quote Or, preferably: <strong>Click ID \u2192 equals<\/strong> \u2192 get-a-quote-button<\/li>\n<li>Save the trigger<\/li>\n<\/ol>\n<p><strong>Create the GA4 event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>GA4 Event \u2013 CTA Click \u2013 Get a Quote<\/strong><\/li>\n<li>Select <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Set the event name to: select_content<\/li>\n<li>Add these event parameters: <strong>Parameter Name Value<\/strong>, content_type CTA button, item_name Get a Quote, page_location {{Page URL}}<\/li>\n<li>Add the CTA trigger<\/li>\n<li>Save and test<\/li>\n<\/ol>\n<h3>Step 14: Track PDF or Brochure Downloads<\/h3>\n<p>If visitors download a company profile, brochure, price list, or case study, track that action.<\/p>\n<p><strong>Create the trigger<\/strong><\/p>\n<ol>\n<li>Go to <strong>Triggers<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>Trigger \u2013 PDF Download<\/strong><\/li>\n<li>Choose <strong>Just Links<\/strong><\/li>\n<li>Select <strong>Some Link Clicks<\/strong><\/li>\n<li>Set the condition: <strong>Click URL \u2192 contains<\/strong> \u2192 .pdf<\/li>\n<li>Save the trigger<\/li>\n<\/ol>\n<p><strong>Create the event tag<\/strong><\/p>\n<ol>\n<li>Go to <strong>Tags<\/strong><\/li>\n<li>Click <strong>New<\/strong><\/li>\n<li>Name it: <strong>GA4 Event \u2013 File Download \u2013 PDF<\/strong><\/li>\n<li>Select <strong>Google Analytics: GA4 Event<\/strong><\/li>\n<li>Set event name to: file_download<\/li>\n<li>Add these parameters:<br \/>\n<strong>Parameter Name Value<\/strong><br \/>\nfile_name {{Click Text}}<br \/>\nfile_url {{Click URL}}<br \/>\npage_location {{Page URL}}<\/li>\n<li>Attach the PDF-download trigger<\/li>\n<li>Save and test<\/li>\n<\/ol>\n<h3>Step 15: Mark Important Events as Conversions<\/h3>\n<p>In GA4, important business outcomes should be marked as <strong>key events<\/strong>. These are the events you want to treat as conversions for reporting and advertising measurement.<\/p>\n<p>For most service businesses, mark these as key events:<\/p>\n<ul>\n<li>generate_lead<\/li>\n<li>A confirmed booking event<\/li>\n<li>A completed purchase event for e-commerce<\/li>\n<li>A qualified demo-request event<\/li>\n<\/ul>\n<p>Do not automatically mark phone clicks, WhatsApp clicks, or every CTA click as key events unless those actions reliably represent a valuable lead. Otherwise, your conversion reports may look better than your real business results.<\/p>\n<p>To mark an event as a key event:<\/p>\n<ol>\n<li>Open GA4<\/li>\n<li>Click <strong>Admin<\/strong><\/li>\n<li>Go to <strong>Events<\/strong><\/li>\n<li>Find your event, such as generate_lead<\/li>\n<li>Turn on <strong>Mark as key event<\/strong><\/li>\n<\/ol>\n<h3>Step 16: Test Every Event Before Publishing<\/h3>\n<p>Before you publish, use GTM Preview mode and test each action yourself.<\/p>\n<p>Your testing checklist:<\/p>\n<ul>\n<li>Submit each form<\/li>\n<li>Click the main CTA buttons<\/li>\n<li>Click phone-number links<\/li>\n<li>Click WhatsApp links<\/li>\n<li>Click email links<\/li>\n<li>Download a PDF<\/li>\n<li>Test on desktop and mobile<\/li>\n<li>Confirm the correct event appears in GA4 DebugView or Realtime<\/li>\n<li>Confirm the event does not fire more than once<\/li>\n<\/ul>\n<p>GTM Preview mode is designed to show which tags fire and when, helping you identify incorrect triggers before they affect your live data.<\/p>\n<h3>Step 17: Publish Your GTM Container<\/h3>\n<p>Once all tests are successful:<\/p>\n<ol>\n<li>Return to Google Tag Manager<\/li>\n<li>Click <strong>Submit<\/strong> in the top-right corner<\/li>\n<li>Add a clear version name, such as:<br \/>\n<strong>GA4 Base Tag + Lead Tracking Events<\/strong><\/li>\n<li>Add a helpful description, such as:<br \/>\n<strong>Added GA4 base tracking, contact form submissions, phone clicks, WhatsApp clicks, email clicks, CTA clicks, and PDF downloads<\/strong><\/li>\n<li>Click <strong>Publish<\/strong><\/li>\n<\/ol>\n<p>GTM saves a version history each time you publish. This makes it easier to understand previous changes or restore an earlier version if a future setup causes a problem.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Recommended_Event_Naming\"><\/span>Recommended Event Naming<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use consistent naming from the beginning. This keeps GA4 reports clean and easier to understand.<\/p>\n<table>\n<thead>\n<tr>\n<td><strong>Website Action<\/strong><\/td>\n<td><strong>Recommended Event Name<\/strong><\/td>\n<td><strong>Example Parameters<\/strong><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Contact form submitted<\/td>\n<td>generate_lead<\/td>\n<td>form_name, lead_type<\/td>\n<\/tr>\n<tr>\n<td>Phone number clicked<\/td>\n<td>contact<\/td>\n<td>contact_method: phone<\/td>\n<\/tr>\n<tr>\n<td>WhatsApp clicked<\/td>\n<td>contact<\/td>\n<td>contact_method: whatsapp<\/td>\n<\/tr>\n<tr>\n<td>Email clicked<\/td>\n<td>contact<\/td>\n<td>contact_method: email<\/td>\n<\/tr>\n<tr>\n<td>CTA clicked<\/td>\n<td>select_content<\/td>\n<td>content_type, item_name<\/td>\n<\/tr>\n<tr>\n<td>PDF downloaded<\/td>\n<td>file_download<\/td>\n<td>file_name, file_url<\/td>\n<\/tr>\n<tr>\n<td>Consultation booked<\/td>\n<td>generate_lead<\/td>\n<td>lead_type: consultation<\/td>\n<\/tr>\n<tr>\n<td>Purchase completed<\/td>\n<td>purchase<\/td>\n<td>transaction_id, value, currency<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Google recommends using its predefined event names where they accurately describe the user action, because those names are better aligned with GA4 reporting conventions.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Common_GTM_Mistakes_to_Avoid\"><\/span>Common GTM Mistakes to Avoid<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Installing GTM twice, which can double-count pageviews and events<\/li>\n<li>Publishing tags without testing them in Preview mode<\/li>\n<li>Using unclear names such as \u201cTag 1\u201d or \u201cForm Trigger\u201d<\/li>\n<li>Tracking every small click instead of meaningful business actions<\/li>\n<li>Creating duplicate GA4 tags on the same website<\/li>\n<li>Measuring a form-button click rather than successful form submission<\/li>\n<li>Forgetting to check whether enquiry emails actually reach the business inbox<\/li>\n<li>Ignoring consent requirements for analytics and advertising tracking<\/li>\n<li>Making large changes without version names or notes<\/li>\n<li>Treating clicks as leads without checking whether they become genuine enquiries<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Final_Checklist\"><\/span>Final Checklist<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before you finish, confirm that:<\/p>\n<ul>\n<li>GTM is installed once across the website<\/li>\n<li>GA4 is receiving page-view data<\/li>\n<li>Consent settings work correctly<\/li>\n<li>Contact-form submissions are tracked<\/li>\n<li>Phone, email, and WhatsApp clicks are tracked<\/li>\n<li>Primary CTA clicks are tracked<\/li>\n<li>Downloads are tracked where relevant<\/li>\n<li>Important events are marked as key events in GA4<\/li>\n<li>Every tag has been tested in Preview mode Your GTM container version has been named and published<\/li>\n<\/ul>\n<p>A properly configured GTM setup turns your website into a measurable lead-generation asset. Instead of guessing which pages, campaigns, and CTAs work, you can use real visitor behavior to improve your SEO, advertising, landing pages, and sales process.<\/p>\n<p><strong>Ready to Turn Your Website Data Into Better Business Decisions?<\/strong><\/p>\n<p>A properly configured GA4 setup can give you clearer insights into how visitors interact with your website, which channels drive results, and where opportunities for improvement exist.<\/p>\n<p>Reach out through our <a href=\"https:\/\/www.adroitte.com\/contact-us\/\" target=\"_blank\" rel=\"noopener\"><strong>contact form<\/strong><\/a> and we\u2019ll get back to you promptly. Let\u2019s set up your analytics, conversion tracking, and reporting correctly so you can make smarter, data-driven decisions and get more value from your digital presence.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GA4 event tracking helps businesses measure specific actions visitors take on a website, such as button clicks, form interactions, sign-ups, and other important activities. With Google Tag Manager, businesses can configure GA4 Event tags and triggers without repeatedly changing their website code. Google recommends previewing and testing events in Tag Manager before publishing changes and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9153,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[297],"tags":[217,5],"class_list":["post-9146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-digital-marketing","tag-digital-marketing","tag-seo"],"_links":{"self":[{"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/posts\/9146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/comments?post=9146"}],"version-history":[{"count":4,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/posts\/9146\/revisions"}],"predecessor-version":[{"id":9157,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/posts\/9146\/revisions\/9157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/media\/9153"}],"wp:attachment":[{"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/media?parent=9146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/categories?post=9146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.adroitte.com\/blog\/wp-json\/wp\/v2\/tags?post=9146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}