Add tracking codes without touching your theme.

Every WordPress site has Code snippets, found under Tools in its menu. Paste in a bit of HTML or JavaScript and it loads in the head, the body or the footer.

For WordPress sites. Needs the KontrolWP Connect plugin.

Paste it once, pick where it runs.

Handy for analytics, tracking pixels and verification tags, and you don't need another plugin.

  • Three places to print: the head, the start of the body, or the footer
  • A name and an on and off switch for each snippet
  • Run on every page, only on listed pages, or on every page except them
  • Page rules take an address like /pricing, or /blog/* for everything under it
  • Skipped by default for logged-in editors, so your own visits are not counted

The details

How it works.

Where and when

  • Put it in the head, at the start of the body, or in the footer. The start of the body only works if your theme supports it
  • Run it on every page, only on pages you list, or on every page except those
  • Turn a snippet off to keep it saved without loading it

How it prints

  • Your code goes in exactly as you wrote it, with a small comment above it naming the snippet
  • It never loads in the admin, in feeds, in robots.txt or in the customizer preview
  • Logged-in editors don't get it by default, though you can change that
  • It works whether or not SEO Management is on

Take control of every WordPress site you run.

Deploy KontrolWP to your Cloudflare account and connect your first site.