Monika Michalczyk
Community Support at Framer
How to Set Up Click Event in Google Tag Manager
Understanding user interactions through click events is crucial for optimizing website performance. This guide will walk you through setting up click event tracking in Google Tag Manager (GTM) efficiently.
Check Built-In Variables
Go to your Google Tag Manager Account, and configure events from Variable Tab, where you can see all the current Built in Variables and can allow new variables
Configure all Built-In Click Variable such as Click Text, Click ID and Click URL etc
Then Configure Event Parameters to have name and a value, which is a unique name you give for Click Text. This value is what will be used whilst setting trigger
Also, under advanced setting set the Tag firing option as once per page so that attribution for click is detected one per user.
Now the important step -
Create a new tag and choose GA4 Event.

Go to the Tags Menu, where you can see all the current Tags. Click on new button to create a new Tag.
Now the process might look tricky with loads of variables, however, you can follow through and set the tag successfully.
In the variables also add GA4 ID and then when creating a tag, select the Measurement ID
Then create a unique name for your event that you will be able to see in your Google Analytics Tab
Set Up Triggers

Set up the trigger, Add a new trigger, and set the triggering logic, Create a new Trigger for the Button Click
Select your GA4 configuration tag.
Name the event (e.g.,
contact_us_click
).Add parameters if needed (e.g.,
button_text
,page_title
).
Configure the trigger to fire on clicks of the "Contact Us" button using CSS selectors, ID, or other attributes.
Add parameters: "click_text" ({{Click Text}}) and "click_url" ({{Click URL}})
And save and publish your changes
Now you need to understand how to view this data for this particular event on your google analytics dashboard.
Go to reports section in GA, and under Lifecycle / Engagement / Events you can view all your events
And in Lifecycle / Engagement / Pages and Screens you can view the scroll event data per page.
by following these steps.
Now if you wish to learn how to setup utm parameters and view your campaign specific analytics -
And if you wish to quickly check if your Google Tag and trigger were correctly set check this blog -
Now after all this hard work of setting the analytics, you go on to creating content, we (link to us) at OrganicGrow are helping our customers automate creating carousels, graphics and even explainer videos from just keywords / pdfs/ link.Test and Publish:
Use Preview mode to test your setup.
Once verified, publish your changes.
Viewing Click Data
Access your click event data in Google Analytics under Reports > Engagement > Events. Look for the event name you specified (e.g., "click_event").
Best Practices

Focus on tracking essential interactions initially.
Use clear, descriptive names for your events.
Regularly analyze your click data to inform website optimizations.
Further Resources
Learn more about about setting up Scroll Depth Events in GTM which will provide a better understanding of user behaviour.
By implementing click event tracking, you'll gain valuable insights into user behavior, enabling data-driven decisions to enhance your website's performance and user experience.