Basic GA4 & Google Tag Manager Conversion Tracking Setup
This setup tracks website traffic in GA4 and records successful form submissions and phone-number clicks as conversions.
1. GA4 Setup
Step 1: Create a Google Analytics Account
- Go to Google Analytics.
- Sign in with the Google account that should own the account.
- Click Admin.
- Select Create → Account.
- Enter the business name.
- Complete the account setup.
Step 2: Create a GA4 Property
- Go to Admin → Create → Property.
- Enter the business name as the property name.
- Select the correct time zone.
- Select the appropriate currency.
- Complete the business information.
- Select Generate leads as the business objective, if appropriate.
Step 3: Create the Website Data Stream
- Select Web.
- Enter the website URL.
- Enter the business/site name for the stream name.
- Leave Enhanced Measurement turned on.
- Click Create stream.
- Copy the Measurement ID.
It will look similar to:
G-XXXXXXXXXX
Do not install the GA4 code directly on the website. GA4 will be installed through Google Tag Manager in the next section.
2. Google Tag Manager Setup
Step 1: Create a GTM Account
- Go to Google Tag Manager.
- Click Create Account.
- Enter:
- Account Name: Business name
- Country: Appropriate country
- Container Name: Website domain
- Target Platform: Web
- Click Create.
- Accept Google's terms.
Step 2: Install GTM on the Website
Google will provide two pieces of installation code.
- Copy both code snippets.
- Have the website administrator install them in the locations specified by Google.
- Do not install the GA4 code separately.
This should be the primary tracking code installed on the website. Additional tracking can then be managed through GTM.
Step 3: Add GA4 to GTM
- Open the GTM container.
- Go to Tags → New.
- Name the tag:
GA4 - Google Tag
- Click Tag Configuration.
- Select Google Tag.
- Enter the GA4 Measurement ID:
G-XXXXXXXXXX
- Click Triggering.
- Select Initialization - All Pages.
- Click Save.
- Click Submit → Publish.
Step 4: Verify GA4
- Open the website in an incognito/private browser window.
- Go to GA4 → Reports → Realtime.
- Confirm that your visit appears.
GA4 is now collecting website traffic.
3. Form Conversion Tracking
The website's contact form and thank-you page will already be configured.
After a successful form submission, the visitor will be redirected to:
https://example.com/thank-you/
Use this thank-you page to track successful form submissions as conversions.
Step 1: Create the GTM Form Conversion Trigger
- Open Google Tag Manager.
- Go to Triggers → New.
- Name it:
Contact Form Completed
- Click Trigger Configuration.
- Select Page View.
- Select Some Page Views.
- Set:
Page Path → equals → /thank-you/
- Click Save.
Step 2: Create the GA4 Lead Event
- Go to Tags → New.
- Name it:
GA4 - Contact Form Lead
- Select Google Analytics: GA4 Event.
- Select the GA4 Google tag created earlier.
- Enter the event name:
generate_lead
- Under Triggering, select:
Contact Form Completed
- Click Save.
Step 3: Test the Form Conversion
- Click Preview in GTM.
- Connect to the website.
- Complete and submit the contact form.
- Confirm that you reach
/thank-you/. - Return to Tag Assistant.
- Confirm that GA4 - Contact Form Lead fired on the thank-you page.
- Return to GTM and click Submit → Publish.
- Go to GA4 → Reports → Realtime.
- Confirm that
generate_leadappears. - Mark
generate_leadas a Key Event in GA4.
4. Call Button Conversion Tracking
This tracks visitors who click or tap a phone-number link on the website.
It does not confirm that a phone call was completed. It records the visitor clicking a tel: link with the intent to call.
Step 1: Enable GTM Click Variables
In Google Tag Manager:
- Go to Variables.
- Under Built-In Variables, click Configure.
- Make sure the following are enabled:
- Click URL
- Click Text
- Click Classes
- Click ID
The important one for this setup is Click URL.
Step 2: Create the Phone-Click Trigger
- Go to Triggers → New.
- Name it:
Phone Number Click
-
- Click Trigger Configuration.
- Select Click - Just Links.
- Select Some Link Clicks.
- Set: Click URL → starts with →
tel:
- Save.
This will capture telephone links such as:
tel:5551234567
Step 3: Create the GA4 Phone Event
- Go to Tags → New.
- Name it: GA4 - Phone Call Click
- Select Google Analytics: GA4 Event.
- Select the GA4 Google tag.
- Enter the event name:
phone_call_click
- Under Triggering, select:
Phone Number Click
- Save.
Step 4: Test Phone-Click Tracking
- Click Preview in GTM.
- Connect to the website.
- Click a phone number on the website.
- Return to Tag Assistant.
- Confirm that GA4 - Phone Call Click fired.
Test more than one phone number if the website contains phone links in multiple locations, such as the header, footer, contact page, and mobile menu.
If everything works:
- Return to GTM.
- Click Submit → Publish.
- Go to GA4 → Reports → Realtime.
- Confirm that
phone_call_clickappears. - Mark
phone_call_clickas a Key Event in GA4.
The website is now tracking phone-number clicks as conversions.
Final Conversion Setup
Once completed, GA4 will collect:
| Action | GA4 Event | Key Event |
|---|---|---|
| Website visit | page_view |
No |
| Successful contact form | generate_lead |
Yes |
| Phone-number click | phone_call_click |
Yes |
Because GA4 also tracks the visitor's acquisition source, these conversions can then be analyzed by Google organic, Google Ads, Bing, social media, referral sites, UTM campaigns, direct traffic, and other traffic sources.




