Event tracking is recording specific actions people take on a website, such as clicking a button, starting a form, playing a video or downloading a file, so you can count them in your analytics. A pageview tells you someone arrived. An event tells you what they did next. In Google Analytics 4, every hit is an event, pageviews included.
What is event tracking? #
An event is a named action with optional details. The name says what happened, for example file_download. The details, called parameters, add context: which file, from which page. Your analytics tool stores each event with a time and links it to a session. You can then ask questions such as “how many people who read the pricing page clicked Book a call?”
Older Google Analytics used a fixed shape of category, action and label. GA4 drops that shape. Any event can carry its own parameters.
What kinds of events are there? #
Google’s guide to GA4 events sorts them into 4 groups:
| Group | Who sets it up | Example |
|---|---|---|
| Automatically collected | Collected by default when GA4 is installed | Basic visit and session events |
| Enhanced measurement | Collected when you switch enhanced measurement on | scroll, file_download |
| Recommended | You add them, using names Google has set | purchase, sign_up |
| Custom | You name and build them yourself | book_call_click |
Google advises creating custom events only when no other event fits. Recommended names unlock more of its reports.
What does enhanced measurement track? #
Google’s enhanced measurement page lists the events it can record with no code:
- page_view when a page loads or the site changes the browser history state.
- scroll the first time a visitor reaches the bottom of a page, meaning 90% of its depth is visible.
- click on links that lead to another domain.
- view_search_results when your site search runs, spotted by query parameters such as q or search.
- video_start, video_progress, video_complete for embedded YouTube videos, with progress at 10%, 25%, 50% and 75%.
- file_download for links to common files such as documents and spreadsheets.
- form_start and form_submit for forms.
Why does it matter for search? #
Search tools tell you how people found you. Events tell you whether the visit was worth it. A page that ranks well but leads to no calls, sign-ups or sales is a weak page, whatever its traffic. Events let you tie organic traffic to real outcomes through conversion tracking, then judge SEO ROI with numbers rather than guesses. GA4 lets you mark the events that matter most as key events.
Why does it matter for AI answers? #
Visits from AI assistants are often few but keen. Someone who asked ChatGPT for a supplier and then clicked through has already done their research. Event data shows whether those visitors book, buy or leave. See ChatGPT traffic in Google Analytics for how to find them. Events also help with AI shopping and agents: if a bot fills your forms, a sudden run of form_start events with no form_submit is a clue worth checking against bot traffic in Google Analytics.
How do I add a custom event? #
With the Google tag on the page, Google’s developer guide gives this shape:
gtag('event', 'book_call_click', {
button_location: 'pricing_page'
});
The guide says Google will not process events placed above the Google tag snippet. Many sites add events through Google Tag Manager instead, which needs no code change for each new click.
What are the limits? #
Google’s collection limits page sets these for a standard property:
- Event names: up to 40 characters.
- Parameters: up to 25 per event, names up to 40 characters.
- Parameter values: up to 100 characters, with longer limits for page_title (300), page_referrer (420) and page_location (1,000).
- Web streams have no limit on distinct event names. App streams allow 500.
Google’s events help page adds a 16 KB size limit on event data per send. Events that arrive more than 2 calendar days late are ignored.
Common mistakes #
- Tracking everything. 60 events nobody reads hide the 3 that matter. Start from your KPIs.
- Messy names.
Click_Button,button clickandbtnClickbecome 3 events. Pick one style, such as lower case with underscores. - Double counting. A custom form event plus enhanced form_submit counts each form twice.
- Counting a thank-you page reload as a sale. Fire purchase events once, from the order itself.
- Ignoring consent. The ICO’s guidance on cookies and similar technologies says the rules apply to anyone who stores information on a user’s device, and the strictly necessary exemption is narrow. Get your cookie banner and Consent Mode right under PECR. Expect lower counts when people decline; see why analytics numbers are low.
A worked example #
A UK plumbing firm gets 1,200 visits a month and 9 enquiry forms. The owner wants to know which pages earn calls. She keeps enhanced measurement on and adds 2 custom events: phone_click on the tap-to-call link and quote_form_submit on the form’s success message. She turns off the built-in form events so nothing is counted twice, then marks both custom events as key events. After a month the report shows the boiler repair page brings 31 phone clicks and the home page 6. She now knows where to spend her writing time, and which call to action works.
How do I check my tracking? #
- Use GA4’s real-time report while you click through your own site, and confirm each event appears once.
- Build tagged links for emails and adverts in the UTM builder, so each event shows where the visitor came from; see UTM parameters.
- Our tracking checker lists the tags a page loads.
- Our cookie checker shows which cookies are set before consent.
- In Pro, events and goals (coming soon) will count actions without cookies. Read more on cookieless analytics.
Questions #
Is a pageview an event? #
In GA4, yes. page_view is an event like any other.
What is the difference between an event and a conversion? #
A conversion, called a key event in GA4, is an event you have marked as important. See conversion rate.
Can I track events without cookies? #
Yes, with server-side tracking or a cookieless tool. Consent rules still need checking. More in our analytics topic.
Related words #
Sources #
- Google Analytics Help: About events, checked 24 November 2026
- Google Analytics Help: Enhanced measurement events, checked 24 November 2026
- Google for Developers: Set up events, checked 24 November 2026
- Google Analytics Help: Event collection limits, checked 24 November 2026
- ICO: Cookies and similar technologies, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Event tracking. URSY. Updated 26 November 2026. https://ursy.com/wiki/event-tracking/ · Section links
Tools for this
- LiveSchema Markup GeneratorFAQ, product, local business, organisation, article, breadcrumb, event, recipe or videoRun the check →
- LiveTracking Checkerevery tracker and pixel a page loadsRun the check →
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →
- ProEvents + goalsClicks, forms, sign-ups, salesIn URSY Pro →
- ProMeasurement integrityDid every paid order reach your tracking? When did counting change?In URSY Pro →