Hello! Welcome back to our module on paid acquisition.
In our last lesson, you learned how to use AI tools like Jasper to rapidly generate high-quality ad copy for your Google Ads campaigns. Creating compelling ads is a crucial first step, but it's only half the battle. How do you know if those ads are actually driving the actions that matter to your SaaS business, like user sign-ups or demo requests?
This lesson provides the answer. Our goal is to set up Google Ads conversion tracking for key actions like sign-ups or demo requests. This is the critical link between your ad spend and your business growth. Without it, you're essentially "flying blind," unable to tell which ads, keywords, or campaigns are generating real value. Mastering this will allow you to optimize your campaigns for what truly works and accurately calculate your Customer Acquisition Cost (CAC).
We will use Google Tag Manager (GTM) for this process. As a developer, you'll appreciate that GTM is a robust, scalable solution that allows you to manage all your marketing and analytics tags in one place without needing to edit your website's code for every change.
The Strategic Foundation: What is a Conversion?
Before diving into the technical setup, it's vital to understand the strategy behind conversion tracking. Not all user actions are created equal.
Google Ads Conversion Tracking Using Google Tag Manager
This article, 'Google Ads Conversion Tracking Using Google Tag Manager', starts by establishing the strategic 'why' before the technical 'how'. It introduces a crucial distinction between different types of conversions.
Please read the first section, 'Understanding the ‘Why’ Before the ‘How’'. Pay close attention to the concepts of Macro vs. Micro conversions and how they relate to 'Primary' and 'Secondary' actions in Google Ads.
As the article explains:
- Macro-conversions are your most important business goals. For a SaaS, this is typically a user sign-up, a demo request, or a purchase. These should be set as Primary actions in Google Ads, as they are what you want Google's Smart Bidding algorithms to optimize for.
- Micro-conversions are smaller steps that indicate user interest, like a newsletter subscription or a content download. These are valuable to track but aren't the main goal. They should be set as Secondary actions so you can observe the data without it directly influencing your core bidding strategy.
This distinction is key to providing Google's AI with the right signals to find more of your ideal customers.
The Conversion Tracking Workflow
Setting up conversion tracking involves a clear, four-step process that uses both Google Ads and Google Tag Manager.

We will walk through each of these steps in detail.
Step 1: Create the Conversion Action in Google Ads
First, we need to tell Google Ads what we want to track. This is where we define our "goal."
For a typical SaaS, a key macro-conversion is a new user signing up for a trial or requesting a demo. We'll use this as our example.
Google Ads Conversion Tracking Using Google Tag Manager
Let's return to the 'Google Ads Conversion Tracking' article. This next section provides a detailed, step-by-step walkthrough of how to create your conversion action inside the Google Ads platform.
Read the section 'Creating Your First Conversion Action: A Step-by-Step Walkthrough'. Follow the steps to understand how to configure the settings for a new, manually created conversion action. Focus on the 'Cheat Sheet' table that recommends settings for Lead Gen vs. E-commerce.
Here's a summary of the key settings you'll configure for a SaaS sign-up:
- Action optimization: Primary. This tells Google to optimize for this action.
- Conversion name: Use a clear name, like
SaaS Trial Sign-up. - Value:
Use the same value for each conversion. You can start with a symbolic value like$1or a more calculated value based on your lead-to-customer conversion rate. - Count: One. You only want to count one sign-up per user who clicks an ad, even if they somehow manage to sign up twice.
- Attribution Model: Leave this as the default Data-driven.
At the end of this process, Google Ads will provide two critical pieces of information you need for the next steps: a Conversion ID and a Conversion Label. Keep these handy!
Step 2: Set Up the Foundation in GTM (The Google Tag)
With our goal defined in Google Ads, we now turn to Google Tag Manager. Before we can track a specific conversion, we need a foundational tag that connects our website to our Google Ads account. This is called the Google Tag.
The Google Tag must fire on every single page of your website. It handles crucial functions like setting the necessary cookies for attribution (figuring out which ad click led to the conversion) and enabling remarketing audiences.
Google Ads Conversion Tracking Using Google Tag Manager
The 'Google Ads Conversion Tracking' article has an excellent, up-to-date section on this foundational tag, explaining its modern role.
Read the section 'Setting Up the Google Tag in GTM (Your Foundation Tag)'. Note how it consolidates the functionality of the older 'Conversion Linker' and 'Remarketing' tags. This is the current best practice.
To set this up:
- In Google Ads, find your Tag ID (
AW-XXXXXXXXXX). The article shows you where. - In GTM, create a new tag of type Google Tag.
- Paste your Tag ID into the configuration.
- Set the trigger to Initialization - All Pages.
Step 3: Track the Specific Conversion Event
Now that the foundation is laid, we can create the tag that fires only when a user signs up. The most reliable and professional way to do this is by using a Data Layer event.
Since you have a Computer Science background, this method will be straightforward. It involves adding a small snippet of JavaScript that executes upon a successful form submission. This is far more reliable than tracking button clicks or thank-you page URLs, which can break if the site design changes.
Watch this video to see the process in action. The presenter is tracking a newsletter subscription, but the principle is identical for a SaaS sign-up.
Google ads conversion tracking with Google Tag Manager (2025)
This video from Analytics Mania provides a clear demonstration of setting up a conversion tag based on a custom event, which is the method we're focusing on.
Watch from 03:05 to 06:19. The first part (03:05 - 04:38) quickly recaps creating the conversion action in Google Ads. The second, more important part (04:47 - 06:19) shows how to create the Google Ads Conversion Tracking tag in GTM and link it to a Custom Event trigger.
Here's the workflow:
-
The Developer Handoff: On a successful sign-up, your application's front end should execute this JavaScript:
window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'generate_lead', // This is the GA4-recommended event name for leads/sign-ups // You can add other data here too, like a lead value });This
generate_leadis the custom event we will listen for. -
Create the Trigger in GTM:
- Go to
Triggers>New. - Trigger Type:
Custom Event. - Event name:
generate_lead. - Name your trigger something descriptive, like
CE - Generate Lead.
- Go to
-
Create the Conversion Tag in GTM:
- Go to
Tags>New. - Tag Type:
Google Ads Conversion Tracking. - Conversion ID: Paste the ID from Step 1.
- Conversion Label: Paste the specific label for your sign-up action from Step 1.
- Triggering: Select the
CE - Generate Leadtrigger you just created. - Name your tag
GAds - Conversion - Trial Sign-up.
- Go to
Test your understanding!
You are setting up two conversion actions in Google Ads:
- A trial sign-up (your main goal).
- A newsletter subscription (a secondary goal).
You've created both in Google Ads and have their unique Conversion Labels. When creating the Google Ads Conversion Tracking tag for the trial sign-up in GTM, which trigger should you use?
- A trigger that fires on
All Pages. - A trigger that fires on a
Custom Eventnamednewsletter_signup. - A trigger that fires on a
Custom Eventnamedgenerate_lead.
Show answer
The correct answer is 3. A trigger that fires on a Custom Event named generate_lead.
The All Pages trigger is for the foundational Google Tag, not the specific conversion tag. The newsletter_signup event should be used for a separate conversion tag that tracks newsletter subscriptions. The generate_lead event is what you've designated to fire only when a user successfully signs up for a trial, making it the correct trigger for this specific macro-conversion.
Step 4: Test and Verify
Never publish your GTM container without testing. GTM's Preview Mode is your best friend here.
Google Ads Conversion Tracking Using Google Tag Manager
Finally, let's look at how to verify your setup is working correctly. This is a non-negotiable step.
Read the section 'Testing & Verification'. It explains how to use GTM's Preview Mode and what the different statuses in Google Ads mean (Unverified, No recent conversions, Recording conversions).
The process is:
- Click Preview in GTM.
- Enter your website URL and connect.
- On your site, perform the conversion action (i.e., complete the sign-up form).
- In the Tag Assistant window that opened, look at the event list on the left. You should see your
generate_leadevent. - Click on that event. In the "Tags Fired" section, you should see your
GAds - Conversion - Trial Sign-uptag. - If it fired, you're good to go! Submit and Publish your changes in GTM.
It may take a few hours for the status in Google Ads to change from "Unverified" to "Recording conversions."
Conclusion
Congratulations! You now have a complete, professional-grade system for tracking the most important actions on your SaaS website. This setup is the bedrock of effective paid acquisition, enabling you to optimize your campaigns for real business results, measure your return on investment, and confidently scale your ad spend.
Key Takeaways:
- Strategy First: Distinguish between macro-conversions (like sign-ups, set as Primary) and micro-conversions (like newsletter subs, set as Secondary).
- Two-Part Setup: You define the conversion in Google Ads and trigger it from your website using Google Tag Manager.
- Use the Data Layer: For a technical founder, using custom data layer events is the most robust and scalable method for triggering conversion tags.
- Always Test: Use GTM's Preview Mode to verify that your tags are firing correctly before you publish them.
Preview of the Next Lesson:
Now that you've mastered conversion tracking for Google Ads, the next logical step is to apply these concepts to the other major advertising platform. In the next lesson, you will learn how to install and configure the Meta Pixel on your website for conversion tracking, setting the stage for running effective Facebook and Instagram ad campaigns.