Skip links
Add a Heatmap to WordPress in 5 Minutes - Opti-Behavior blog cover

How to Add a Heatmap to WordPress: Step-by-Step Setup (Free)

To add a heatmap to WordPress, install a heatmap plugin from Plugins > Add New, activate it, exclude your own visits, then wait for real visitors: the click map fills on its own, with no code to paste. A WordPress heatmap shows what people did on a page: where they clicked, how far they scrolled, what they ignored.

It is like watching over the shoulder of hundreds of visitors at once, without seeing who they are.

This guide walks you through the setup step by step, how to read your first heatmap, and what to fix first. Still choosing a tool? Read our comparison of WordPress heatmap plugins first.

What you need: a WordPress site, admin access, and a page that gets at least a few dozen visits a week.

Step 1: Install a heatmap plugin

We use Opti-Behavior here because the click heatmap is in the free plugin and the data stays on your server. If you prefer another tool, see our comparison of 8 WordPress heatmap plugins.

  1. In your WordPress admin, go to Plugins > Add New.
  2. Search for Opti-Behavior.
  3. Click Install Now, then Activate.

That is it. Tracking starts right away on all your pages. You do not paste any code.

Step 2: Stop counting yourself

You do not want your own clicks in the map. Go to Settings > Traffic Behavior. There you can stop tracking logged-in admins, and add your home IP address under Excluded IP Addresses so your phone visits are ignored too.

Exclude your own IP address from the WordPress heatmap
Your current IP is shown under the box. Paste it in and save.

Step 3: If you use a cache plugin, check one setting

Cache and "optimize JavaScript" plugins (LiteSpeed, WP Rocket, Autoptimize) sometimes combine or delay scripts. That can stop a heatmap from recording. Opti-Behavior adds itself to the exclusion lists of the common cache plugins, but it is good to check. Our guide heatmap not working after installing a cache plugin walks you through it.

Step 4: Wait for enough visits

A heatmap made of 5 visits is not useful. It shows 5 people, not a pattern. While visits come in, our free website heatmap generator gives a simulated preview of the page from its layout.

  • 100 to 200 visits on a page usually show a clear pattern.
  • A busy home page gets there in a day.
  • A small service page may need two or three weeks.

Step 5: Open your first heatmap

Go to Opti-Behavior > Heatmaps. You see a list of your pages with their number of clicks. Click a page to open its heatmap.

WordPress heatmap list sorted by visits
Start with the pages that get the most visits. They give the fastest answers.

At the top you can switch between desktop, tablet and mobile. Always look at them separately. People tap on a phone very differently from how they click with a mouse.

How to read your WordPress heatmap

The click heatmap

Red and yellow mean many clicks. Green and blue mean fewer. No color means no clicks.

Click heatmap on a WordPress page
A click heatmap. The hottest spots are the elements people want most.

Ask three questions:

  1. Is the main button among the hottest spots? If not, people may not see it or may not want it.
  2. Are there hot spots on things that are not links? People think they can click there.
  3. Is the menu hotter than the page? Visitors may be looking for something the page does not give them.

The scroll heatmap (Pro)

It shows how far down people go. The colors fade as fewer people reach each part of the page.

Scroll heatmap in WordPress showing how far visitors read
Everything under the fold line is seen by fewer and fewer people.

If only 30% of visitors reach your price or your form, move it up, or give people a reason to scroll.

The attention heatmap (Pro)

It shows where people stop and spend time. A block that gets a lot of attention but few clicks is often confusing, or very interesting. Recordings help you tell which one.

7 things heatmaps often reveal (and how to fix them)

What you seeWhat it meansSimple fix
Clicks on an image that is not a linkPeople expect more infoLink the image or add a zoom
Few clicks on the Buy or Contact buttonButton is weak or unclearBigger button, clearer text, more contrast
Most visitors stop before the buttonButton too lowAdd a button near the top
Lots of clicks on the menuPage does not answer the questionAdd the missing info to the page
Clicks on underlined text that is not a linkIt looks like a linkRemove the underline or add a link
Mobile users miss the buttonLayout breaks on small screensCheck the page on a real phone
Clicks spread everywherePage has no clear goalPick one main action per page

Step 6: Test your fix, do not guess

When you change a page, check that the change really helped. Opti-Behavior has A/B testing in the free version. You can show the old and new version to different visitors and compare the results. See our guide to self-hosted A/B testing on WordPress.

Compare heatmaps of an A/B test in WordPress
With Pro, the test results also show how the clicks changed between the two versions.

Your WordPress heatmap: the bottom line

A WordPress heatmap takes a few minutes to set up and a few days to fill. Look at your busiest page first, fix the clearest problem, and test the change. Then move to the next page. Not on WordPress, or comparing cloud tools too? See our guide to website heatmap tools.

Add your first WordPress heatmap today

Free plugin, no code, no cloud. Your first click map is ready as soon as visitors arrive.

Download free on WordPress.org Open the live demo

WordPress heatmap FAQ

How do I add a heatmap to WordPress for free?

Install a heatmap plugin like Opti-Behavior from Plugins > Add New and activate it. Click heatmaps are in the free plugin and tracking starts on its own, with no code to paste.

How long does a WordPress heatmap take to show data?

The first clicks show up within minutes. A useful pattern needs around 100 to 200 visits on the page.

Does a heatmap work with Elementor, Divi or Gutenberg?

Yes. The heatmap reads the page as the visitor sees it, so it works with any theme or page builder.

Can I see heatmaps for mobile visitors?

Yes. Switch between desktop, tablet and mobile at the top of the heatmap. Always check them separately.

Do WordPress heatmaps record personal data?

Opti-Behavior records positions of clicks and scrolls, not names or form contents. In Anonymous Mode, the default, it sets no cookie.

Leave a comment

Explore
Drag