Bearing

Help · Install

Install on WordPress

With the Bearing plugin: upload it, activate it, done. Then empty your cache.

With the Bearing plugin (easiest)

  1. Download the Bearing plugin: bearingstats.zip. Downloaded from your site's Installation page, it already holds your site ID.
  2. In your WordPress admin, go to Plugins → Add New Plugin → Upload Plugin, choose the file, click Install Now, then Activate.
  3. Open Settings → Bearing and check that your site ID, YOUR_SITE_ID, is filled in (paste it if not), then save.

Logged-in editors and administrators are not counted, so your own visits stay out of your statistics. You can change it in Settings → Bearing.

Or with a header plugin you already use

  1. If you already use a plugin that adds code to the header, such as WPCode (formerly Insert Headers and Footers), open its header section (for WPCode: Code Snippets → Header & Footer).
  2. Paste your Bearing line in Header and save.
<script defer src="https://bearingstats.com/s.js" data-site="YOUR_SITE_ID"></script>

In your theme

If you maintain your own theme or a child theme, add this to its functions.php:

add_action('wp_head', function () {
  echo '<script defer src="https://bearingstats.com/s.js" data-site="YOUR_SITE_ID"></script>';
});

Then empty your cache

If you use a cache plugin (WP Rocket, LiteSpeed Cache, W3 Total Cache…) or a host cache, empty it so visitors get pages with the new line. Then check that it works.

With a header plugin or your theme, logged-in administrators are counted like anyone else. To leave your own visits out, see Exclude your own visits.