How to Set Events in Google Analytics
Tracking what people do on your website is fundamental to understanding if your SEO efforts are actually working. Beyond just seeing page views, you need to know if users are clicking your "Get a Quote" button, downloading your case studies, or watching your demo videos. This article will walk you through setting up event tracking in Google Analytics 4 so you can measure the actions that truly matter to your business.
Why Tracking Events is a Game-Changer for Your London Business
In a competitive market like London, every bit of data gives an edge. Simply driving organic traffic to your website isn't enough, you need that traffic to take action. This is where event tracking comes in. It translates user behavior into measurable data points, providing critical insights that directly impact your strategy and bottom line.
Here’s why it's so important:
- Measure What Truly Matters: Events allow you to track specific interactions beyond simple page loads. Are people clicking the "Call Now" button on your local services page? Are they signing up for your newsletter after reading a blog post? This is how you measure the true return on your SEO investment.
- Improve User Experience & Engagement: By seeing what users engage with (and what they ignore), you can optimize your website for a better experience. High engagement signals to Google that your site is valuable, which can positively influence your rankings. If Londoners are consistently watching one video but ignoring another, you know where to focus your resources.
- Connect SEO to Business Goals: Event tracking bridges the gap between rankings and revenue. By marking key events as conversions - like form submissions or free trial sign-ups - you can directly attribute tangible business outcomes to your organic search performance.
Understanding Events in Google Analytics 4
If you're used to the old Universal Analytics, the event model in GA4 might feel a bit different. In GA4, almost everything is considered an event, from a page view to an e-commerce purchase. This event-based model is more flexible and user-centric. Events in GA4 fall into a few main categories.
Automatically Collected Events
These are the basic events that GA4 tracks by default as soon as you install the tracking code. You don't have to do anything to enable them. They include fundamentals like:
page_view: Fires each time a page loads.session_start: Fires when a user begins a new session.first_visit: Fires the first time a user visits your site.
Enhanced Measurement Events
This is one of GA4's biggest perks. With a simple toggle in your settings, GA4 can automatically track more complex actions that used to require custom setup. By default, these are often already enabled. They include:
scrolls: When a user scrolls 90% of the way down a page.outbound_clicks: Clicks that lead users away from your domain.site_search: What users type into your site's search bar.video_engagement: For embedded YouTube videos (play, progress, complete).file_downloads: Clicks on links to files like PDFs, docs, or spreadsheets.
Recommended Events
Google provides a list of suggested event names with predefined parameters for common business scenarios like e-commerce, travel, or gaming. Using these standardized names (e.g., add_to_cart, login, sign_up, purchase) helps GA4 understand your data better and unlocks more detailed reporting features.
Custom Events
This is where you get to define and track the unique interactions on your site that matter most to your business. Custom events give you complete control to measure anything that isn't covered by the other categories. For example, tracking button clicks, form submissions for a specific service, or interaction with a pricing calculator - these would all be custom events.
Method 1: Creating Events Directly in the GA4 Interface (No Code!)
The simplest way to create a new event is by using the GA4 user interface. This method works well for creating an event based on another event that already exists, most commonly a page_view. A classic example is when a user lands on a specific "thank you" or confirmation page after submitting a form.
Let's say you have a contact form, and after a successful submission, the user is redirected to yourlondonboutique.com/contact-thank-you. You can create an event that fires every time someone views that page.
Here’s how to set it up:
- Navigate to your GA4 property and click Admin (the gear icon) in the bottom-left corner.
- In the Property column, click on Events.
- Click the Create event button. Then, click Create again on the next screen.
- In the Custom event name field, give your new event a descriptive, lowercase name with underscores instead of spaces. For instance:
contact_form_submission - Under Matching conditions, you’ll define the rules that trigger this event.
- Click Create in the top right.
That's it! Now, whenever someone views a page with /contact-thank-you in the URL, GA4 will log a new event called contact_form_submission. This method is fast and easy but limited to conditions you can build from already existing event data.
Method 2: Setting up Custom Events with Google Tag Manager (GTM)
For more control and flexibility, especially for tracking actions that don't lead to a new page (like button clicks), Google Tag Manager is the way to go. GTM is a free tool that allows you to manage and deploy marketing tags (snippets of code or tracking pixels) on your website without having to modify the code.
Step 1: Get Google Tag Manager Ready
This tutorial assumes you already have a GTM container installed on your website and a basic Google Analytics: GA4 Configuration Tag set up. This configuration tag is the base connection that sends data from your website via GTM to your GA4 property.
Step 2: Create a Trigger in GTM
A trigger is a rule that tells GTM when to fire a tag. Let's create a trigger that fires when a user clicks a specific button - for example, a button on your homepage to "Download Our London Property Market Report".
- First, you’ll need to enable GTM’s built-in Click Variables. In your GTM workspace, go to Variables, and in the Built-In Variables section, click Configure. Make sure all the variables under "Clicks" (like Click ID, Click Classes, Click URL) are checked.
- Next, go to Triggers in the left menu and click New.
- Give your trigger a name, like "Click - Download London Report Button".
- Click on Trigger Configuration and choose a Trigger Type. Under the Click section, select All Elements.
- We don't want this to fire on every click, so select Some Clicks.
- Now, define the conditions. This depends on how your button is coded. The most reliable way is if the button has a unique ID. Using your browser's "Inspect" tool, find the ID of the button. Let's say it's
id="download-london-report". - Save the trigger.
Step 3: Create the GA4 Event Tag
The tag is what sends the data to Google Analytics. It defines what happens when the trigger's conditions are met.
- Go to Tags in the left menu and click New.
- Give your tag a clear name, like "GA4 Event - London Report Download".
- Click on Tag Configuration and select Google Analytics: GA4 Event.
- For Configuration Tag, select your main GA4 configuration tag from the dropdown list.
- In the Event Name field, enter the name of your event. Remember the format: lowercase with underscores. For example:
download_london_report - (Optional but recommended) You can add Event Parameters to send more context. For example, you might add a parameter with the name
file_nameand the valuelondon-property-report-2024.pdf. - Under Triggering, click to choose a trigger and select the trigger you just created ("Click - Download London Report Button").
- Save the tag.
Step 4: Preview, Test, and Publish
Never publish changes without testing first! GTM's Preview mode is excellent for this.
- In the top right of your GTM workspace, click Preview.
- Enter your website's URL and click Connect. A new tab will open with your website, and a Tag Assistant debug window will also appear.
- On your website, perform the action you want to track (click the download button).
- Look at the Tag Assistant window. On the left, click on the "Click" event that corresponds to your button click. You should see that your "GA4 Event - London Report Download" tag has fired successfully.
- For final confirmation, go to your GA4 property, navigate to Admin > DebugView. You should see your
download_london_reportevent appear there in real-time. - Once you've confirmed everything works, go back to GTM, and click the Submit button, then Publish your changes.
How to Mark Your Events as Conversions
Analytics is about tracking actions, but business is about goals. Marking key events as conversions tells Google Analytics that a specific action is valuable to your business. This is essential for proper reporting and optimization.
Once your new event is firing and showing up in GA4 (it can take up to 24-48 hours to appear in standard reports), follow these steps:
- Go to Admin in GA4.
- Under the Property column, click on Conversions.
- Click the New conversion event button.
- In the text box, enter the exact name of the custom event you created (e.g.,
contact_form_submissionordownload_london_report). The name must match perfectly. - Click Save.
Your event is now tracked as a conversion, and you'll see it populated in your conversion reports, allowing you to easily see how many of your SEO efforts lead to key goals.
Connecting Events to Your SEO Strategy in London
Setting up events is only half the battle. The next step is to use that data to refine your SEO strategy.
- Attribute Conversions to Organic Efforts: In your GA4 reports, filter your traffic by Session source / medium containing "google / organic.” Now you can analyze which of your custom events and conversions are being generated by your search traffic. This proves the direct value of your SEO work.
- Optimize High-Traffic Pages: Identify which pages get the most organic traffic from visitors in London, but have low conversions for your key events. This might reveal issues with the page's call-to-action, layout, or content that need improvement.
- Inform Your Content Strategy: Are London-based users repeatedly downloading a specific guide or watching a certain tutorial video? This tells you exactly what kind of content resonates with your local audience. Create more content around these successful topics to attract similar visitors.
Final Thoughts
Setting up GA4 events, whether through the interface or Google Tag Manager, transforms your analytics from a passive traffic counter into an active tool for understanding user behavior. By tracking the specific interactions that lead to business success, you can finally connect your London SEO efforts directly to tangible results and make smarter, data-driven decisions.
Turning clicks and scrolls into clear reports across multiple platforms can still feel like a challenge. That’s why we built Graphed . After connecting your data sources like Google Analytics just once, you can build dashboards and get insights simply by asking questions in plain English - like "Which content drove the most lead form submissions from the UK last month?" This lets you skip the report-building phase and go straight from data to decisions in seconds.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.