# Google Analytics 4 click and conversion event tracking

**URL:** https://meta.discourse.org/t/google-analytics-4-click-and-conversion-event-tracking/309221
**Category:** Data & reporting
**Created:** [May 23, 2024, 11:32pm UTC](https://meta.discourse.org/t/google-analytics-4-click-and-conversion-event-tracking/309221 "2024-05-23T23:32:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xingu](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xingu](https://meta.discourse.org/u/xingu)
#### Post date: [May 23, 2024, 11:32pm UTC](https://meta.discourse.org/t/google-analytics-4-click-and-conversion-event-tracking/309221/1 "2024-05-23T23:32:45Z")

</div>

Hello, what is the recommendation on click tracking and conversion event tracking with GA4 or GTM? We would like to be able to track some key click events and report the conversions in Google Analytics. Thanks!

---

<div class="post-metadata">

### Author: ![xingu](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xingu](https://meta.discourse.org/u/xingu)
#### Post date: [October 10, 2024, 3:43am UTC](https://meta.discourse.org/t/google-analytics-4-click-and-conversion-event-tracking/309221/2 "2024-10-10T03:43:29Z")

</div>

I’m following this documentation ([Integrate Google Tag Manager with Google Analytics](https://meta.discourse.org/t/integrating-google-tag-manager-with-google-analytics/47335)) but however I don’t seem the data variable populating in the console, and I don’t see any datalayer variables that allow GTM to pick up based on below. Is there anyway to get an updated instruction on the best way to track pageview and event on the site? Thanks!

> Variables

1. Go to the “Variables” tab in GTM and click “New” in the User-Defined Variables section.
2. Create two Data Layer Variables:

- **Title** : `DL-page-title`  
**Type** : `Data Layer Variable`  
**Data Layer Variable Name** : `page.title`  
**Data Layer Version** : 2
- **Title** : `DL-page-url`  
**Type** : `Data Layer Variable`  
**Data Layer Variable Name** : `page.url`  
**Data Layer Version** : 2

---

<div class="post-metadata">

### Author: ![Mike\_Taku](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mike_taku/32/458580_2.png) [@Mike\_Taku](https://meta.discourse.org/u/Mike_Taku)
#### Post date: [November 9, 2024, 8:38am UTC](https://meta.discourse.org/t/google-analytics-4-click-and-conversion-event-tracking/309221/3 "2024-11-09T08:38:27Z")

</div>

As far as I know, if you want to track clicks and conversions in GA4 with GTM, start by setting a GA4 Configuration Tag in GTM with your Measurement ID, set to fire on all pages.

Add data layer variables like page title and page URL to capture page details, then set up click triggers and GA4 Event Tags for specific actions, like button clicks. Mark key events as conversions in GA4 Admin, and use preview mode in GTM and debug view in GA4 to verify setup.

If you have any queries feel free to ask me I am here to assist you.  
Thank You,  
Mike Taku.
