How to Set Up UXHeat in Under 1 Minute

Step-by-step guide to installing UXHeat on your website. One line of code, no configuration required. Start seeing heatmaps and AI insights in under 60 seconds.

UXHeat Team7 min read

How to Set Up UXHeat in Under 1 Minute

Most heatmap tools require complex configuration. Define your events. Set up sampling. Configure your funnels. Integrate with your analytics platform. Wait for data.

UXHeat takes one minute.

Here's exactly how to install UXHeat on your website, with specific instructions for every major platform.

Quick Start: The 60-Second Setup

Step 1: Create Your Account (20 seconds)

  1. Go to uxheat.com/signup
  2. Enter your email and create a password
  3. Confirm your email (check your inbox)

No credit card required. The free tier includes 5,000 sessions/month.

Step 2: Get Your Tracking Code (10 seconds)

After signup, you'll see your dashboard with your unique tracking code:

<script src="https://cdn.uxheat.io/tracker.js" data-key="ux_abc123xyz"></script>

The data-key is unique to your account. Copy this code.

Step 3: Add to Your Website (30 seconds)

Paste the tracking code into the <head> section of your website, before the closing </head> tag.

<!DOCTYPE html>
<html>
<head>
  <title>Your Website</title>
  <!-- Other head elements -->

  <!-- UXHeat Tracking -->
  <script src="https://cdn.uxheat.io/tracker.js" data-key="ux_abc123xyz"></script>
</head>
<body>
  <!-- Your content -->
</body>
</html>

That's it. UXHeat starts tracking immediately. Your first data appears within minutes.

Platform-Specific Instructions

WordPress

Option 1: Theme Header (Recommended)

  1. Go to Appearance > Theme Editor (or Theme File Editor)
  2. Find header.php in the right sidebar
  3. Paste the UXHeat code before </head>
  4. Click Update File

Option 2: Plugin

  1. Install the Insert Headers and Footers plugin
  2. Go to Settings > Insert Headers and Footers
  3. Paste the UXHeat code in the Scripts in Header box
  4. Save

Option 3: Child Theme (Best for Updates)

If you're using a child theme, add to your child theme's header.php or use the wp_head hook in functions.php:

function add_uxheat_tracking() {
  echo '<script src="https://cdn.uxheat.io/tracker.js" data-key="ux_abc123xyz"></script>';
}
add_action('wp_head', 'add_uxheat_tracking');

Shopify

  1. Go to Online Store > Themes
  2. Click Actions > Edit code on your active theme
  3. Find theme.liquid under Layout
  4. Paste the UXHeat code before </head>
  5. Click Save

Next.js / React

Using next/script (Recommended for Next.js 11+)

// pages/_app.js or app/layout.js
import Script from 'next/script'

export default function App({ Component, pageProps }) {
  return (
    <>
      <Script
        src="https://cdn.uxheat.io/tracker.js"
        data-key="ux_abc123xyz"
        strategy="afterInteractive"
      />
      <Component {...pageProps} />
    </>
  )
}

Using document.js (Next.js 10 and earlier)

// pages/_document.js
import { Html, Head, Main, NextScript } from 'next/document'

export default function Document() {
  return (
    <Html>
      <Head>
        <script
          src="https://cdn.uxheat.io/tracker.js"
          data-key="ux_abc123xyz"
        />
      </Head>
      <body>
        <Main />
        <NextScript />
      </body>
    </Html>
  )
}

Webflow

  1. Go to Project Settings (gear icon)
  2. Click the Custom Code tab
  3. Paste the UXHeat code in the Head Code section
  4. Click Save Changes
  5. Publish your site

Squarespace

  1. Go to Settings > Advanced > Code Injection
  2. Paste the UXHeat code in the Header section
  3. Click Save

Wix

  1. Go to Settings > Custom Code (under Advanced)
  2. Click + Add Code
  3. Paste the UXHeat code
  4. Set placement to Head
  5. Choose which pages to load it on (All pages recommended)
  6. Click Apply

Ghost

  1. Go to Settings > Code Injection
  2. Paste the UXHeat code in the Site Header section
  3. Click Save

HTML/Static Sites

Add the tracking code directly to your HTML file's <head> section:

<head>
  <meta charset="UTF-8">
  <title>My Website</title>
  <script src="https://cdn.uxheat.io/tracker.js" data-key="ux_abc123xyz"></script>
</head>

If you have multiple HTML files, add it to each file, or use a static site generator with a shared layout.

Google Tag Manager

  1. In GTM, click Tags > New
  2. Click Tag Configuration > Custom HTML
  3. Paste the UXHeat code
  4. Set Triggering to All Pages
  5. Save and publish your container

Verifying Your Installation

Quick Check (Immediately)

  1. Visit your website in a new browser tab
  2. Open browser DevTools (F12 or right-click > Inspect)
  3. Go to the Network tab
  4. Filter by "uxheat"
  5. You should see tracker.js loading

Dashboard Check (Within 5 minutes)

  1. Return to your UXHeat dashboard
  2. Look for the green "Receiving data" indicator
  3. You should see your first sessions appearing

First Heatmap (Within 10-15 minutes)

Once you have 10+ sessions, UXHeat generates your first heatmap automatically. AI insights follow shortly after.

Troubleshooting

"No data showing up"

Check 1: Script loaded correctly

  • Open DevTools > Network
  • Filter by "uxheat"
  • Verify tracker.js returns 200 OK

Check 2: Correct data-key

  • Verify the data-key matches your dashboard
  • Copy-paste to avoid typos

Check 3: Caching

  • Clear your CDN cache (Cloudflare, Fastly, etc.)
  • Clear your browser cache
  • Try an incognito window

Check 4: Ad blockers

  • Some aggressive ad blockers block analytics
  • Test in a browser without extensions

"Heatmaps not generating"

Heatmaps require a minimum of 10 sessions per page. If you just installed, wait for more traffic or visit your site yourself a few times.

"AI insights not appearing"

AI insights require 50+ sessions to generate meaningful recommendations. For brand new installations, this may take 24-48 hours depending on your traffic.

"Script slowing down my site"

The UXHeat script is under 10KB gzipped and loads asynchronously. It should not impact page load time. If you're seeing issues:

  1. Verify you're using the official CDN URL
  2. Check DevTools > Performance for the actual impact
  3. Contact support with performance data if issues persist

Advanced Configuration

Excluding Pages

To exclude specific pages from tracking, add the data-exclude attribute:

<script
  src="https://cdn.uxheat.io/tracker.js"
  data-key="ux_abc123xyz"
  data-exclude="/admin/*,/checkout/success"
></script>

Privacy Mode

For enhanced privacy (no session recordings, heatmaps only):

<script
  src="https://cdn.uxheat.io/tracker.js"
  data-key="ux_abc123xyz"
  data-privacy="strict"
></script>

To only start tracking after user consent:

<script
  src="https://cdn.uxheat.io/tracker.js"
  data-key="ux_abc123xyz"
  data-consent="pending"
></script>

Then call window.uxheat.start() after obtaining consent.

Identifying Users

To associate sessions with user IDs (for logged-in users):

window.uxheat.identify('user-123', {
  email: 'user@example.com',
  plan: 'pro'
});

This enables user-level analysis in your dashboard.

FAQ

Will UXHeat slow down my website?

No. The script is under 10KB gzipped (for comparison, Hotjar's script is 100KB+). It loads asynchronously and doesn't block page rendering.

Do I need to add the code to every page?

If you're using a template-based system (WordPress, Shopify, most modern frameworks), adding it once to your header template covers all pages.

For static HTML sites with separate files, yes, add it to each page — or use a static site generator with shared layouts.

Can I install UXHeat alongside other analytics tools?

Yes. UXHeat works alongside Google Analytics, Hotjar, Clarity, and other tools. Just be mindful of cumulative script load times if running many tools simultaneously.

How long until I see data?

  • First session: Immediately after installation
  • First heatmap: 10+ sessions (minutes to hours)
  • First AI insight: 50+ sessions (hours to days)

Can I track multiple domains?

Yes. Create separate projects in UXHeat for each domain. Each project gets its own data-key and tracking.

What Comes Next

Once installed, UXHeat automatically:

  1. Tracks user sessions — clicks, scrolls, movement
  2. Detects rage clicks — frustrated rapid clicking
  3. Identifies dead clicks — clicks on non-interactive elements
  4. Generates heatmaps — after 10+ sessions per page
  5. Produces AI insights — after 50+ sessions

You don't need to configure anything. Just install and wait for insights.


Setup complete? Learn how to interpret your data: UXHeat AI Insights Explained, or explore 10 Website Problems UXHeat Found.

Share:
Tags:uxheatsetupinstallationheatmap toolsquick starttutorial

Ready to See Your Heatmaps Smarter?

UXHeat uses AI to automatically find the insights hiding in your user behavior data. Join the waitlist and be first to try it.

Join the Waitlist

Related Articles