How to Track Link Clicks in WordPress (Without Google Analytics)

You published a blog post with three affiliate links, a navigation menu with six items, and a sidebar with a dozen resource links. A week later you check your analytics and — nothing. Google Analytics can tell you how many people visited the page, but which links did they actually click?

That question turns out to be surprisingly hard to answer with standard WordPress tools. In this guide, we'll look at why click tracking is so difficult by default, what the common workarounds are, and how to get link-level click data directly inside WordPress without touching Google Analytics at all.

Why WordPress Doesn't Track Link Clicks by Default

WordPress is a content management system, not an analytics platform. It renders pages and serves them to visitors. Once a visitor is on the page, WordPress has no built-in mechanism to record which links they interact with.

Google Analytics (and similar tools) track pageviews — they know someone visited /blog/my-post/ and then went to /pricing/. But they don't tell you which link on the page triggered that navigation. If your pricing page is linked from the header nav, the sidebar, and the body content, GA4 can't distinguish between those three paths without significant custom configuration.

This distinction matters. Knowing which specific links attract clicks — and which get ignored — is what lets you improve your page layouts, CTAs, and content structure. (For a broader look at methods, see our guide on how to see which links get clicked on your WordPress site.)

The Google Analytics Approach (and Why It's Painful)

To track individual link clicks in GA4, you need to:

  1. Set up Google Tag Manager on your site
  2. Create a custom trigger that fires on link clicks (Click URL, Click Text, Click Classes variables)
  3. Define a GA4 event tag that sends the click data to your analytics property
  4. Configure event parameters so you can identify the specific link, page, and context
  5. Wait for data to populate in GA4's event reports
  6. Build a custom report or exploration to actually view the data in a useful format

That's six steps, two Google products, and probably an hour of configuration before you see a single data point. For an agency managing 20 client sites, this becomes a significant time investment per site.

And the data you get is still tabular — rows of URLs and counts in a spreadsheet-style report. You can't look at your actual page and see which links are hot and which are cold.

The Affiliate Plugin Workaround

If you search for "track link clicks WordPress," most results point you to affiliate link management plugins:

  • Pretty Links — creates shortened redirect URLs like yoursite.com/go/product
  • ThirstyAffiliates — similar, with category management and geo-targeting
  • ClickWhale — newer entrant, similar redirect-based tracking

These tools work well for their intended purpose: managing and tracking outbound affiliate links. But they only track links that use their redirect system. They can't tell you anything about:

  • Your navigation menu clicks
  • Internal content links
  • CTA buttons
  • Footer links
  • Sidebar widget links
  • Any link that doesn't go through their redirect URL

If you want a complete picture of how visitors interact with all the links on a page, affiliate trackers only cover a small slice.

A Simpler Approach: Track All Link Clicks Directly

What if instead of setting up custom events or redirect URLs, you could install a plugin that automatically tracks every link click on every page — and shows you the results as a visual overlay right on your live site?

That's exactly what Linkyy does.

How Linkyy Works

Install and activate. There are no API keys to configure, no external accounts to create, and no JavaScript snippets to paste into your theme. Activate the plugin and tracking starts automatically.

Automatic link detection. Linkyy detects every <a> tag on every page — navigation links, content links, CTAs, footer links, sidebar links, affiliate links. No manual tagging. If it's a link, it gets tracked.

Click recording. For each click, Linkyy records:

  • The page the click happened on
  • The link's URL and anchor text
  • A CSS selector path for precise identification
  • The device type (desktop or mobile)
  • Whether the visitor was logged in or anonymous

All data is stored in your WordPress database. Nothing is sent to an external server.

Visual heatmap overlay. This is the key differentiator. Instead of reading spreadsheets, you open any page on your site and toggle the Linkyy heatmap from the admin bar. Color-coded badges appear on every tracked link showing the click count. Links with more clicks get warmer colors; less-clicked links get cooler colors. You can see at a glance which parts of the page are working and which aren't.

Filtering. The overlay includes a filter bar where you can narrow the data by date range (last 7, 30, or 90 days), device type, or visitor status (logged in vs. anonymous). This lets you compare how different audience segments interact with your page.

What You Learn

With link-level click data visualized directly on your pages, you can answer questions that are nearly impossible with standard analytics:

  • Is anyone clicking that sidebar CTA? If the badge shows 2 clicks in 30 days while the inline link got 140, you know the sidebar placement isn't working.
  • Which navigation items do people actually use? If "Blog" gets 3x the clicks of "About," that tells you something about what visitors care about.
  • Are your affiliate links getting attention? See exactly how many clicks each link receives, broken down by position on the page.
  • Does the mobile experience differ from desktop? Toggle the device filter and compare. You might find that mobile visitors ignore your sidebar entirely (they probably do — it's below the fold).
  • Are footer links worth maintaining? If your footer has 15 links and 12 of them have zero clicks in 90 days, you can simplify.

Walkthrough: Setting Up Link Click Tracking

Here's what the process looks like from start to finish:

Step 1: Install Linkyy

Upload the plugin ZIP through Plugins → Add New → Upload Plugin in your WordPress admin, or drop the files into /wp-content/plugins/ via FTP. Activate the plugin.

Step 2: Wait for Data

As soon as Linkyy is active, it begins recording link clicks from your visitors. There's no configuration required. Give it a day or two (or more, depending on your traffic) to collect meaningful data.

Steps 3–4 below require Linkyy Pro. If you're using the free version, skip to Step 5 to view your data in the admin dashboard.

Step 3: View the Heatmap

Navigate to any page on your site while logged in as an admin. You'll see a Linkyy toggle in the WordPress admin bar. Click it, and the heatmap overlay appears. Every tracked link on the page gets a color-coded badge with its click count.

Step 4: Filter and Analyze

Use the filter bar at the top of the overlay to narrow the data:

  • Date range — compare this week to last month
  • Device type — see desktop vs. mobile behavior
  • Visitor type — separate logged-in user behavior from anonymous visitors

Step 5: Review the Dashboard

For a site-wide view, go to the Linkyy dashboard inside WordPress admin. You'll see per-page analytics, a sortable data table with all tracked links, and export options (CSV and JSON).

When to Use This vs. Google Analytics

Google Analytics and Linkyy answer different questions. GA4 tells you about traffic sources, user journeys, and conversion funnels across your entire site. Linkyy tells you which specific links on a specific page get clicked.

Use GA4 for:

  • Traffic sources and referrers
  • Conversion tracking and goals
  • User flow across multiple pages
  • Audience demographics

Use Linkyy for:

  • Which links on a page get clicked (and which don't)
  • Visual comparison of link performance
  • Desktop vs. mobile click patterns
  • Simplifying your page layouts based on actual usage data

They're complementary. And since Linkyy is self-hosted with no cookies, it works alongside GA4 without any conflicts or consent issues. If you're considering a full behavior analytics tool alongside Linkyy, see our Hotjar alternatives comparison.

Privacy and Data Ownership

Unlike SaaS heatmap tools (Hotjar, Crazy Egg, Lucky Orange), Linkyy stores all data in your WordPress database. No data is transmitted to external servers. The plugin doesn't set cookies, doesn't use IP tracking, and doesn't fingerprint browsers. This makes it GDPR-friendly by design.

Linkyy doesn't set cookies, so no consent banner is needed for the tracking itself. If your site uses a consent flow for other tools, you can enable manual mode and call Linkyy.init() to start tracking only after consent is given.

Getting Started

Linkyy is free on WordPress.org — the core click tracking dashboard with filtering and sorting is included at no cost. If you want the visual heatmap overlay on your live pages, Linkyy Pro is a one-time purchase from $29 with no monthly subscription. It comes with a 14-day money-back guarantee.

If you've been wanting to understand how visitors interact with the links on your WordPress site, but GA4 is too complex and Hotjar is too expensive, Linkyy is the focused tool that fills that gap.

Start tracking your link clicks today.

Join WordPress site owners who know exactly which links their visitors click — and which ones they ignore.

Free forever. Pro when you're ready. No subscription, ever.