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.
What you need
Section titled “What you need”- 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.
- Get the leadmaps plugin (a single
.zipfile) from your leadmaps dashboard, or from us if you do not see it yet. - In WordPress, go to Plugins, then Add New, then Upload
Plugin, and choose the
.zipfile. - Click Install Now, then Activate.
- Go to Settings, then leadmaps.
- 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.
Options
Section titled “Options”- 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.
Customize the consent banner
Section titled “Customize the consent banner”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.
Remove it
Section titled “Remove it”Deactivate the plugin under Plugins to stop tracking. Your existing data in leadmaps stays until your retention period ends.
Prefer to paste code instead?
Section titled “Prefer to paste code instead?”You can always use the snippet install on any site, WordPress included. The plugin is just the easier path for WordPress.