How to Set Up WordPress Analytics and Conversion Tracking
Set up WordPress analytics and conversion tracking: GA4 vs plugins, the events and key events to track, form and outbound clicks, consent, and funnel stages.
By wp0 editorial team • • Updated • 14 min read
WordPress does not ship with built-in analytics on self-hosted installs; you choose a tool. The three practical options are Google Analytics 4 (free, event-based, the most flexible and the most common), built-in stats (Jetpack Stats on self-hosted sites, or WordPress.com Stats on the hosted platform, both giving you pageviews and top content), and privacy-first plugins (Independent Analytics, Plausible, Fathom, or self-hosted Matomo, which avoid GA4's complexity and cookie-consent overhead). The gap nearly every default setup leaves open: it tracks where traffic lands but not what traffic does, so you can see that a service page got plenty of visits without knowing whether any of them became customers. Conversion tracking closes that gap.
This guide compares the tools, defines four funnel stages, sets up the events and key events that make up conversion tracking, covers consent, and shows how to read the patterns without guessing.
Which Tracking Tool to Use on WordPress
The right tool depends on whether you need deep funnel tracking, simple privacy-friendly counts, or zero-setup stats. Here is the comparison that decides most sites.
| Tool | Best for | Main tradeoff | Why it matters | Cost |
|---|---|---|---|---|
| Google Analytics 4 | Funnel tracking, custom events, free | Steep learning curve, cookie consent | Most flexible; connects to Search Console | Free |
| Jetpack / WordPress.com Stats | Quick pageviews, zero config | Shallow; no real funnel data | Already there on many sites | Free tier |
| Independent Analytics | Simple stats inside wp-admin | Less granular than GA4 | No leaving WordPress, privacy-friendly | Free + paid |
| Plausible / Fathom | Privacy-first, no cookie banner | Paid, lighter feature set | GDPR-simple, fast script | Paid |
| Matomo (self-hosted) | Full ownership of data | You host and maintain it | No third-party data sharing | Free (self-host) |
The default mistake is installing a stats plugin, checking pageviews and bounce rate, calling a page "performing well," and never connecting that to revenue. GA4 is the most practical free path to closing that gap because its event-based model fits funnel tracking far better than the old session-based Universal Analytics. If your priority is privacy and a clean cookie story, Plausible or Independent Analytics get you most of the value with less setup. The WordPress.com stats support docs cover the built-in stats. A reasonable default: GA4 for depth, a privacy-first tool for simplicity, and rarely the bare pageview number alone for a commercial site.
Why Pageview-Only Analytics Misses the Point
Standard WordPress analytics measure consumption, not progression, which is why a page can look healthy and produce nothing. Picture a service page with steady traffic and long average sessions: by the pageview report it is winning. Then you check the CRM and that page produced a handful of leads last month and none closed. It is a traffic success and a commercial failure, and pageview-only analytics cannot tell the two apart.
The fix is to reframe the question from "how many people visited?" to "how many people moved from awareness to evaluation to action, and where did the rest drop off?" This matters most on theme-driven sites where one layout repeats across many pages. If you run twenty service or location pages on the same template, you need per-page funnel data to separate the pages that generate pipeline from the ones that only accumulate traffic. Two pages with identical templates and similar traffic can have very different outcomes, and only stage-by-stage tracking reveals which is which.
The Four Funnel Stages to Define First
Before instrumenting anything, define the stages a visitor moves through. A practical model for WordPress pages has four, and each one maps to a measurable signal.
Stage 1, Entry: the visitor arrives. Capture which page, which keyword drove them (from Search Console), and the device and location. Stage 2, Engagement: the visitor interacts beyond landing: scrolling well down the page, clicking an internal link, opening an FAQ accordion, or spending over 30 seconds. A two-second bounce and a three-section read both count as a "visit," but they are not equivalent. Stage 3, Micro-conversion: the visitor takes a step that signals intent without converting: clicking "Get a Quote," starting a form, clicking a phone number, or navigating to a pricing page. These are the leading indicators that your layout is working. Stage 4, Conversion: the visitor completes the primary action: form submission, phone call, booking, or purchase. This is the number that ties to revenue.
Most tools give you Stage 1 out of the box. The whole value of funnel analytics is connecting all four per page and per template type, so you know which patterns produce conversions and which produce traffic that goes nowhere. For high-intent landing pages, these stages map directly onto the section sequence: the hero is Stage 1, the proof section drives Stage 2, the CTA drives Stage 3, and form completion is Stage 4.
Setting Up GA4 Events on WordPress
GA4's event model is the engine of funnel tracking, and the cleanest way to deploy events on WordPress is through Google Tag Manager (GTM) rather than hardcoding them into theme files, so your marketing team can adjust tracking without touching code.
The events worth configuring, mapped to funnel stages:
| Event | Trigger | Funnel stage | Key parameter |
|---|---|---|---|
scroll | Scroll depth thresholds you choose | Engagement | scroll threshold |
cta_click | Click on .cta-primary etc. | Micro-conversion | CTA position (hero/mid/bottom) |
form_start | First form field focus | Micro-conversion | page_location |
form_submit | Form plugin success event | Conversion | source page URL |
phone_click | Click on a tel: link | Micro-conversion | page_location |
email_click | Click on a mailto: link | Micro-conversion | page_location |
Use the page_location parameter on every event so each one attributes to a specific page. In GTM, the core triggers are a scroll-depth trigger, a click trigger on a CSS class (.cta-primary) or link type (tel:, mailto:), a form-submission trigger tied to your form plugin's success event, and a timer trigger for time-on-page milestones. Link Search Console to GA4 as well, so you can see which queries bring visitors who go on to engage; the Search Console getting-started guide covers verification. For phone-heavy businesses, call-tracking services with dynamic number insertion can attribute calls to specific pages the same way form submissions are attributed.
Conversion Tracking: Key Events, Forms, Outbound Clicks, and Consent
Events record what happened; conversion tracking decides which of those events count as success. In GA4 you do that by marking an event as a key event, the name GA4 now uses for what it used to call conversions. Keep the list short, one to three primary actions per site, so the key-event count means something.
Pick the key events. For most service sites that means a successful form submission and, when calls and email are the main way people get in touch, clicks on tel: and mailto: links. A click is not a completed call or email, so treat those as the closest signal you have rather than a confirmed lead. For example, if your contact page has an "Email us" button, a GTM click trigger on links whose URL starts with mailto: can send an event such as email_click with page_location, which you then mark as a key event. Leave scrolls and generic CTA clicks as supporting events rather than key events.
Form submissions. Fire the event on the form's confirmed success (a thank-you page, or the plugin's success message or JavaScript event), not on the submit-button click, which also fires when validation fails. GA4's recommended event name for a lead form is generate_lead. Enhanced measurement has a form-interactions option, but it may not detect every form plugin correctly, so compare it against test submissions before relying on it.
Outbound clicks. Enhanced measurement can record clicks to other domains automatically, as a click event with an outbound parameter. That matters when the conversion happens elsewhere, such as a booking or store link on another domain. If one outbound link is your real conversion, give it a dedicated event so you can mark it as a key event without counting every outbound link.
Check before you trust it. Use GTM's Preview mode (Tag Assistant) and GA4's DebugView to confirm each event fires once, with the right parameters, then make a real test submission and confirm it arrives.
Consent dependencies. Where your visitors' region requires consent for analytics cookies, your tags have to respect that choice. A consent management platform (the cookie banner) records the choice, and Google's Consent Mode passes it to Google tags so GA4 changes its behavior when analytics storage is denied. Expect GA4 key-event counts to be lower than real conversions, because some visitors decline, and compare them with your form plugin's entries or your CRM rather than treating GA4 as the full total. Cookieless tools change the consent picture, but you still need to check your own legal requirements.
Where wp0 fits. wp0 doesn't report analytics, track conversions or add tracking code. A theme exported from wp0 Studio has no forms; its Contact page shows your text plus an "Email us" button when you add an email address, so the mailto: click above is usually the first key event to set up. Add tracking with a plugin such as Site Kit by Google or a GTM plugin rather than editing the theme files, so a re-exported theme doesn't remove it.
Connecting Page Performance to Revenue
Raw conversion counts are useful; connecting them to downstream outcomes is where analytics earns its keep. A page generating fifty form fills sounds great until you learn only two were qualified. Closing that loop needs two things.
Source-page attribution in your CRM. Every form submission should carry the URL of the page where it happened. Most form plugins (Gravity Forms, WPForms, Contact Form 7 with a hidden field) can append the page URL, so when the lead lands in your CRM you can trace it to the specific page and template. Outcome tagging on closed deals. When a lead becomes a customer or gets disqualified, tag the record. Over time this gives you a conversion rate per page that extends from "form fill" to "actual customer acquired."
A hypothetical example shows why this matters. A service company runs several pages on one template. Page A gets less traffic and fewer form fills than Page B, but more of Page A's leads are qualified and more become customers. Judged on traffic and form fills alone, the team would spend its effort on the wrong page. Only the page-to-outcome link shows which pages actually need work.
What the Common Tracking Stacks Actually Capture
The table maps typical analytics setups against the four funnel stages to show where each one goes blind. It compares documented capabilities, not measured results, and is not a vendor ranking.
| Stack | Stage 1 Entry | Stage 2 Engagement | Stage 3 Micro-conv | Stage 4 Conversion + revenue |
|---|---|---|---|---|
| Jetpack Stats only | Yes | Partial | No | No |
| GA4 default install | Yes | Partial (enhanced measurement) | Manual events needed | Needs CRM attribution |
| GA4 + GTM events | Yes | Yes | Yes | Needs CRM attribution |
| GA4 + GTM + CRM source field | Yes | Yes | Yes | Yes |
| Plausible / Fathom | Yes | Partial | Custom events | Needs CRM attribution |
The pattern: no analytics tool alone reaches Stage 4 revenue. You always need source-page attribution in a CRM to connect a form fill to a closed deal, regardless of which front-end tool you pick. On Stage 2, GA4 enhanced measurement helps out of the box: it can capture scrolls (at 90% depth) and outbound clicks without custom events. Consent obligations differ between cookie-based GA4 and cookieless tools like Plausible and vary by region, so confirm your own requirements rather than assuming one setup is exempt.
Reading the Data Without Guessing
Once data flows, interpretation is the hard part. Here are the patterns to look for and what each one means for your theme.
High traffic, low engagement (high bounce, shallow scroll): the page ranks but the above-the-fold content is not establishing relevance, usually a hero headline too generic for the keyword driving traffic. Good engagement, low micro-conversion (people scroll but do not click the CTA): the content is interesting but the CTA is weak or badly placed; test moving the primary CTA directly after your strongest proof section instead of the page bottom. High micro-conversion, low conversion (people click the CTA but do not submit the form): friction in the form itself, usually too many fields, no expectation-setting, or slow load. Good conversion, low lead quality: the page converts the wrong audience; review the keyword, the headline promise, and add a section stating who the offer is not for. Conversion drops after a theme change: if you pushed a template change and conversions fell at the same traffic, the change caused it; roll back or test the specific section.
Build a monthly review cadence: pull funnel data per template type, compare which structural patterns produce the best Stage 2 to Stage 3 progression, then drill into outliers. Pair quantitative GA4 data with a qualitative heatmap tool like Microsoft Clarity (free) or Hotjar to see not just where visitors drop off but what they interact with first.
Turning Analytics Into Theme Decisions
Funnel data should drive your roadmap, not aesthetic preference or competitor mimicry. Four rules translate analytics into changes.
Prioritize by revenue impact. Rank pages by downstream outcomes (using CRM-connected data) and fix top-revenue pages first, even if lower-performing pages have more obvious design flaws. Test one section at a time. If the proof section is not driving engagement, change only the proof pattern (swap a testimonial carousel for one detailed case study) and measure Stage 2 to Stage 3 over two to four weeks. Build template variants for different profiles. If service pages convert best with proof above the fold but blog posts convert best with proof mid-page, build separate patterns; the WordPress redesign guide covers scheduling these iterations without disrupting live pages. Feed analytics back into content. Deep engagement that drops at the CTA often signals a missing proof element or FAQ answer, not a design flaw, so rewrite the section where visitors drop off rather than redesigning the whole page.
Set a recurring reminder to compare each page's funnel against the previous period; nothing in WordPress or GA4 will flag a slow decline for you unless you build an alert or check it yourself.
When Funnel Analytics Is Premature
Do not build a four-stage funnel-tracking setup on a brand-new site with little traffic. As a rough rule of thumb, with only a few hundred monthly visits per page you do not have enough volume at each stage to distinguish a pattern from noise, and you will draw confident conclusions from random fluctuation. Start with simple pageview stats (Jetpack or Plausible) until traffic justifies the instrumentation. Skip the full GA4-plus-GTM-plus-CRM stack, too, if your site has no commercial pages and no conversion to track; a portfolio or hobby blog gets everything it needs from basic stats, and the cookie-consent and maintenance overhead of GA4 is pure cost with no payoff. Heavy analytics is for sites with revenue on the line and enough traffic to read.
FAQ about wordpress analytics
Does WordPress have built-in analytics?
Self-hosted WordPress does not include analytics by default; you add a tool. The hosted WordPress.com platform includes Stats, and self-hosted sites can install the Jetpack plugin for similar built-in pageview tracking. For anything beyond pageviews (engagement, conversions, revenue attribution), most sites add Google Analytics 4 or a privacy-first plugin like Independent Analytics, Plausible, or Matomo.
What is the best analytics tool for WordPress?
There is no single best; it depends on your need. Google Analytics 4 is the most flexible and the most common, with free event-based tracking that supports full funnel analysis, at the cost of a learning curve and cookie consent. Plausible and Fathom are best for privacy-first sites that want a clean cookie story. Jetpack or WordPress.com Stats are best for quick pageviews with zero setup. For commercial sites that need to connect pages to revenue, GA4 plus a CRM source field is the practical answer.
How do I add Google Analytics to WordPress?
The cleanest method is through Google Tag Manager: create a GTM container, add the GTM snippet to your theme (or use a plugin like Site Kit by Google or a header-scripts plugin), then configure your GA4 tag and events inside GTM. This keeps tracking changes out of theme code. A simpler but less flexible alternative is the official Site Kit plugin, which connects GA4 and Search Console directly with a guided setup and no GTM.
What is the single most important metric to track on a WordPress site?
For commercial pages, the Stage 3 to Stage 4 conversion rate: the percentage of visitors who click a CTA and then complete the form or call. It isolates your page's performance from traffic quality. If traffic is strong and CTA clicks are healthy but form completions are low, the problem is almost certainly your form or post-click experience, which is directly within your control. Pageviews and bounce rate, by contrast, tell you almost nothing about whether a page makes money.
Building a new site to track? wp0 Studio exports a block theme with no tracking code, so you add analytics with your own tool after you install the site kit.