Skip to content

Install on WordPress

If your site runs on WordPress, you can add leadmaps with a plugin instead of editing your theme or pasting code. Install it, paste your API key and site id, and tracking goes live on every page.

  • A leadmaps account, your API key, and your site id. Both are on your dashboard’s Install screen (Settings, then your website, then Install). The API key starts with lk_ and is shown only once when you create it, so copy it then. The site id is a long id with dashes (for a new workspace it is the same as your workspace id).
  • Administrator access to your WordPress site.
  1. Get the leadmaps plugin (a single .zip file) from your leadmaps dashboard, or from us if you do not see it yet.
  2. In WordPress, go to Plugins, then Add New, then Upload Plugin, and choose the .zip file.
  3. Click Install Now, then Activate.
  4. Go to Settings, then leadmaps.
  5. Paste your API key and your site id, then click Save.

That is it. The plugin adds the tracking snippet to every page for you. Open your site in a normal browser tab and your first pageview shows up in the leadmaps dashboard within a minute.

  • Exclude administrators. On by default. While it is on, people signed in to your WordPress admin are not tracked, so your own visits do not inflate your numbers. Turn it off if you want to count admin visits too.

The dashboard’s managed banner editor generates a versioned snippet with your copy, languages, colors, placement, and privacy link embedded in it. That code does not fetch leadmaps settings before consent.

If the WordPress plugin version you use does not yet expose a custom-snippet field, install the generated CDN snippet through your site’s trusted header or code-injection tool instead of running both methods. Do not leave the plugin snippet active at the same time, because two SDK initializations or two consent banners would compete.

See Custom consent banner for the editor, reconsent, settings link, and external consent-platform setup.

Deactivate the plugin under Plugins to stop tracking. Your existing data in leadmaps stays until your retention period ends.

You can always use the snippet install on any site, WordPress included. The plugin is just the easier path for WordPress.