WordPress sites vary (classic themes, block themes, page builders). The goal is the same: load your Kantr snippet on every public page, ideally just before </body>.
Before you start
- Log in to app.kantrsoftware.com and copy your installation snippet.
- Use a child theme if you edit theme files directly, so updates don’t overwrite your changes.
Option A: “Insert headers and footers” style plugin
- Install a reputable plugin that lets you add scripts to the footer (search for “insert headers and footers” or similar in the WordPress plugin directory).
- Paste your Kantr snippet into the footer / before </body> section.
- Save and clear any caching plugin or CDN cache.
Option B: Theme footer (classic themes)
- Go to Appearance → Theme File Editor (or edit files via FTP/hosting).
- Open
footer.php(or the equivalent footer template in your theme). - Paste the Kantr snippet just before
</body>. - Save and test the front end of the site.
Option C: Block / full-site editing
If you use the Site Editor, look for a Custom HTML block in the footer template, or use a hooks/plugin approach—footer templates are the right place for a site-wide widget.
Verify
- View the site while logged out (or in incognito) to match what visitors see.
- If you use LiteSpeed, WP Rocket, Cloudflare, etc., purge cache after adding the snippet.