Meta tag

If your site is static HTML and you can't set response headers, put your Publisher ID in a <meta> tag inside the <head> of every page.

Publisher meta tag

This is an example Publisher ID. Replace it with your own before using it.

<meta name="Better-Web-Publisher" content="zapub_7Fq2xR9nKd3wV8mB4tL6yH1c">

Use your account's Publisher ID in content. The extension reads this tag after the page loads and recognises a website integration.

Adding it everywhere

The tag needs to be on every page you want counted, so put it in a shared layout or template rather than in each file by hand:

  • Static site generators (Astro, Hugo, Eleventy, Jekyll, Next, …): add it to your base layout / <head> partial and rebuild.
  • A CMS: add it to the theme header, or use an SEO/header plugin that injects <meta> tags site-wide.
  • Hand-written HTML: add it to each page's <head>, or to your include/partial if you use one.

Header vs. meta tag

Both announce a website integration and earn the same way. Prefer the response header if you have a server or proxy that can set it across pages. Either announcement method can accompany membership verification, which reads the separate Better-Web-Token request header. A meta tag alone does not remove ads or unlock paid content.

Once the tag is live, visit with an installed extension connected to a paid subscription. Your site can appear after activity is uploaded and processed. Alternatively, add and verify the website from your dashboard using the extension; a paid subscription is not required for publisher testing.