Add LemReveal tracking to your WordPress site.
WordPress is one of the easiest platforms to install the LemReveal pixel on. Here are three methods.
## Method 1 — Plugin (Recommended) 1. Install the free **Insert Headers and Footers** plugin by WPBeginner 2. Go to **Settings** → **Insert Headers and Footers** 3. Paste your LemReveal script tag into the **Scripts in Header** box 4. Click **Save** Done! The pixel will load on every page of your WordPress site.
## Method 2 — Theme Editor 1. Go to **Appearance** → **Theme File Editor** 2. Select `header.php` from the right sidebar 3. Find the `</head>` closing tag 4. Paste your pixel script just before `</head>` 5. Click **Update File** ⚠️ If you update your theme, this change may be overwritten. Use a child theme or the plugin method to avoid this.
## Method 3 — Functions.php Add this to your theme's `functions.php`: ```php function lemreveal_tracking_pixel() { echo '<script src="https://your-project.supabase.co/functions/v1/pixel-js?k=lmr_YOUR_KEY" defer></script>'; } add_action('wp_head', 'lemreveal_tracking_pixel'); ```
## WooCommerce The same methods work for WooCommerce. The pixel will track product page views, category browsing, and checkout page visits — all valuable intent signals.