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.
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.