Skip to main content

WordPress heatmap

By Yuxin ZhuCEO, Replo

Short answer

To add a heatmap to WordPress, install a heatmap plugin or paste a tool's tracking script into your site's header. Microsoft Clarity's official plugin is free and used on over 200,000 WordPress sites. Plugins that store clicks in WordPress itself keep the data on your server but can slow a busy site. Wait a week, then read phone and desktop apart.

What does a WordPress heatmap plugin look like?

The free choice most sites start with is Microsoft's own plugin. It adds Clarity's script to every page, and the heatmaps live in Clarity's dashboard, not in WordPress.

The Microsoft Clarity plugin page on WordPress.org, by Microsoft, showing over 200,000 active installations and a Download button

Microsoft's own Clarity plugin runs on over 200,000 WordPress sites. Screenshot: WordPress.org.

Replo's click map on a demo product page: red spots on the announcement bar, menu and photo thumbnails, and a list of elements ranked by the sales that followed each click

Replo's click map, with each element ranked by the sales after its clicks. Demo store data.

How to add a heatmap to WordPress in five steps

  1. Pick a plugin or a script

    A plugin is one click from Plugins → Add New. A script works with any tool and goes in your theme's header.

  2. Install Microsoft Clarity's plugin for free

    Search Plugins for Microsoft Clarity, install the one by Microsoft, activate it and sign in. It adds the tracking code to every page.

  3. Or paste a tool's script in the header

    Use a header-and-footer plugin such as WPCode, or Google Tag Manager, rather than editing theme files a theme update would overwrite.

  4. Exclude yourself, then check it records

    Visit your site from a phone, then confirm the visit appears. Filter out your own visits so they don't heat your menu.

  5. Wait a week before you read it

    A week covers weekday and weekend visitors. Read phone and desktop separately; their layouts differ.

Which WordPress heatmap should you use?

There are two kinds: plugins that keep the data in WordPress, and services you connect with a script.

Which WordPress heatmap should you use?
Microsoft Clarity pluginFree, with no traffic limitsClarity's servers, kept 30 daysMost sites: free replays and heatmaps
Aurora Heatmap pluginFree pluginYour WordPress databaseSmall sites that want data on their own server
Hotjar, Mouseflow or Lucky Orange scriptHotjar free up to 200,000 sessions a month; Mouseflow free for 500 sessions a monthThe tool's serversSurveys, longer history, funnels
Replo pixelOn Replo's Free planReplo, next to your salesSeeing which clicks lead to orders

Tool prices are from each vendor's pricing page. A plugin that writes every click to your WordPress database adds load on every visit, so busy sites usually pick a script.

What do WordPress heatmaps usually show?

What do WordPress heatmaps usually show?
Heat on the sidebar and widgetsReaders want related posts or searchMove the most-clicked widget into the post
Clicks on images in a postReaders expect a bigger viewLink images to their full size
Cold call to action at the endFew readers reach itAdd the button after the first section too
Heavy menu clicks on a landing pageVisitors are leaving the offerUse a template without the full menu
Heat on cookie banner buttons onlyThe banner covers the first screenShrink it to a bar at the bottom

See your own heatmap

Every page Replo publishes collects clicks, scroll and revenue per element, with nothing to install. Open a page, pick the last 7, 30 or 90 days, and click any element to see what it led to.

Frequently asked questions

Is there a free heatmap plugin for WordPress?
Yes. Microsoft Clarity's official plugin is free with no traffic limit and records heatmaps and session replays for every visit. Aurora Heatmap is a free plugin that stores clicks in your own WordPress database instead.
Do heatmap plugins slow down WordPress?
Script-based tools load from the vendor's servers after your page, so the effect is small. Plugins that save every click to your WordPress database add work to each visit, which shows on busy sites and cheap hosting.
Does Hotjar have a WordPress plugin?
The simplest way is to paste Hotjar's tracking code into your site's header with a header-and-footer plugin such as WPCode, or add it through Google Tag Manager. The same works for Mouseflow, Lucky Orange and most other tools.
Can I see which clicks lead to sales on WordPress?
Only if the tool knows your orders. Most heatmaps count clicks, not sales. The Replo pixel works on WordPress and shows the sales after each element's clicks; Replo walks you through adding it. See how Replo heatmaps work.

More heatmap guides

All heatmap guides

See where shoppers click

Replo records where visitors click and how far they scroll, so you know what to fix first.

Keep reading