Page views track where visitors go. Events track what they do. We explain when automatic page tracking is enough and when you need custom events — with real examples.
Every analytics tool gives you two fundamental ways to track what happens on your website: page views and events. Page views answer "where did visitors go?" Events answer "what did visitors do?" Understanding when to use each — and when they overlap — is the difference between useful data and noise.
A page view fires every time a visitor navigates to a new page. Most analytics tools track this automatically — you install the script and page views just work. You get paths, titles, entry pages, exit pages, and navigation flows.
Page views are perfect for:
For single-page applications (SPAs), the analytics script needs to detect route changes via pushState and popstate. Web Analyzer App handles this automatically — no extra configuration needed.
Events track specific actions that don't involve a page change. A button click, a form submission, a video play, a file download, a scroll past the pricing section. Events require you to explicitly define what to track.
Events are essential for:
With Web Analyzer App, tracking a custom event is one line of JavaScript:
Tracker.track('signup_clicked', { plan: 'pro', source: 'pricing_page' });
The first argument is the event name. The second is an optional payload — any JSON object with extra context. Keep event names descriptive, lowercase, and consistent. Use past tense for completed actions (form_submitted) and present tense for intent (pricing_viewed).
Tracking everything. Don't fire events on every mouse move, scroll pixel, or hover. You'll drown in data you'll never look at. Track actions that correlate with business outcomes.
Inconsistent naming. If one developer uses signUp, another uses sign_up, and a third uses user-registered, you'll have three events measuring the same thing. Establish a naming convention early and enforce it.
Replacing page views with events. Don't fire a custom event for "page loaded" — that's what page views are for. Events should capture actions that page views can't.
No payload context. An event named button_clicked without context is useless. Always include enough payload to answer "which button?" and "where?" A better version: Tracker.track('cta_clicked', { label: 'Start free trial', page: '/pricing' }).
The most powerful analytics combine both. Consider a SaaS signup flow:
/pricing (automatic)pricing_plan_selected with { plan: 'pro' }/signup (automatic)signup_form_submitted/welcome (automatic)onboarding_startedPage views give you the navigation skeleton. Events fill in the intent. Together, they tell the complete story of how a visitor becomes a customer.
Visitors
0
+23.4%
Page Views
0
+31.2%
Bounce
34.2%
-5.1%
Análisis que priorizan la privacidad con un script de 2 KB. Sin cookies ni pancartas de consentimiento. Gratis para siempre.
Nos encantaría saber por qué te vas. Sus comentarios son realmente importantes para nosotros y nos ayudan a mejorar.
Sus comentarios nos ayudan a construir un mejor producto.
Encuentra respuestas al instante
¡Hola! Puedo ayudarle a encontrar respuestas sobre la aplicación Web Analyzer. Elija un tema o busque una pregunta.
Preguntas populares
No se encontraron resultados.
Contactar con soporte →