How to Set Up Stattery in Five Minutes

The Edge Observer card in your site's settings, once it's on.

Setting up analytics shouldn’t take a consultant. Here’s the whole thing, start to finish.

Step 1: Add Your Site

In Stattery, go to Settings, then Sites, and click Add A Site. Type your website address. What happens next depends on what your site runs on.

Add A Site. Type your address and the WordPress steps show up right there.
Add A Site. Type your address and the WordPress steps show up right there.

Step 2a: WordPress

If your site is WordPress, Stattery shows you a Download the Stattery plugin link. Then:

  1. In WordPress, go to Plugins, Add New Plugin, Upload Plugin, pick the file you downloaded, then Install Now and Activate.
  2. Go to Settings, Stattery in WordPress and press Connect to Stattery, then confirm.
  3. If you use a page caching plugin, clear its cache so every page picks up the tracking.

That’s it. You never type a password or copy a key in or out of WordPress, which is how it should be. (The connect button works for 15 minutes, so don’t wander off for lunch in the middle.)

The plugin does more than add tracking. It sends your WooCommerce orders straight from the server, so sales are counted even when a visitor’s ad blocker eats the tracking script. It shows logged-in users by name. It runs Stattery’s chat. It can pull in your history from WP Statistics, AnalyticsWP and a few others so you don’t start from zero. And if you turn on Auto-ban, it blocks banned addresses right on your server (your own administrators are never blocked).

Step 2b: Any Other Site

Not on WordPress? Stattery gives you a tag to copy, with your site’s domain already filled in, so there’s nothing to edit. Paste it into the <head> of every page, or into your site builder’s “header code” box, then press Check and add. Stattery checks that it can see the tag and you’re done.

Not on WordPress? Copy the tag, paste it into your site's head, and press Check and add.
Not on WordPress? Copy the tag, paste it into your site's head, and press Check and add. Here the sample site is example.com; yours shows your own domain.

Step 3 (Optional, But Do It): The Edge Observer

A tracking script only sees visitors that run JavaScript. Bots, people blocking scripts and anybody downloading a file never show up. The Edge Observer fixes that. It’s a small Cloudflare Worker that runs in your Cloudflare account and sees every single request to your site. It’s also what lets Auto-ban stop attackers at Cloudflare before they ever reach your server. If it ever has a problem, it gets out of the way and lets your traffic through.

  1. Put your site on Cloudflare if it isn’t already. The free plan works fine.
  2. In Stattery, go to Settings, Overview and find the Edge Observer card. It opens Cloudflare’s token page with the right permissions already filled in. Limit the zone to just your one site and create the token.
  3. Paste the token back into the card and save. Stattery installs the Edge Observer and keeps it up to date from then on.
The Edge Observer card in your site's settings, once it's on.
The Edge Observer card in your site's settings, once it's on.

What It Costs, And Why

The Edge Observer is $5 a month per site. It’s included at no extra cost on accounts with 5,000,000 tokens a month or more. The pricing page has the whole story, but here’s the short version of what you get:

  • People who block scripts. Visitors whose browsers block tracking are invisible to Google Analytics and everybody else. The Edge Observer counts them anyway.
  • Every bot, not just the polite ones. Most bots never run JavaScript, so a tracking script never sees them. The Edge Observer sees every one.
  • Downloads and files. PDFs, images and other files that don’t run a script show up too.
  • Attackers stopped at the door. With Auto-ban on, a banned address is turned away at Cloudflare and never touches your server.

Why charge for it at all? Because it works for every single request your site gets, not just the ones from people. On a lot of sites, bots outnumber people, so the Edge Observer can easily handle several times more traffic than the tracking script does, and every one of those requests has to be processed and stored. That costs real money. Five bucks a month covers it, and for most sites that use it, I think it’s the best $5 a month you’ll spend on your site.

Step 4: Turn On Auto-Ban

Open your site’s settings, go to the Bots tab, and flip Auto-ban bad bots on. Until you do, nothing is banned automatically. Next to Overview, the Rules and Countries tabs hold the rest. Three worth turning on:

  • Ban bot swarms, for floods of bots working together.
  • Ban break-ins from abroad, for break-in attempts from countries your site doesn’t serve. On the Countries tab, tick the countries you serve from a list by name. The same tab can ban bots from whole countries, one tick at a time or with a one-click bundle of the countries that send the most attacking bots.
  • Network bad bot list, which shares bans across every Stattery site, so an attacker banned on someone else’s site is already banned on yours.
The Bots tab with all four switches on.
The Bots tab with all four switches on.

The tabs next to Overview show you who’s Banned, who’s a Suspect, and Every Auto-ban with what each one asked for.

Every Auto-ban: what each address asked for, its network and how long it's banned. (Sample addresses.)
Every Auto-ban: what each address asked for, its network and how long it's banned. (Sample addresses.)
Banned, with Remove and Allow buttons on every one.
Banned, with Remove and Allow buttons on every one.

Then go to Allowed and add anything that should never be banned: your office, your uptime monitor, a partner’s server. A whole range of addresses works too. Adding a banned address there lifts its ban on the spot.

The Allowed list. Add an address or a whole range, with a note so you remember why.
The Allowed list. Add an address or a whole range, with a note so you remember why.

Step 5: Share It

In your site’s settings, go to People. Under People With Access, type their email, pick a role and click Give access. The roles go from Viewer (can look) through Chat agent, Marketer, Manager and Billing contact, up to Site admin. If they don’t have a Stattery account yet, they get an email invitation. To give someone all your sites at once, use Settings, People instead.

People With Access: four people, four different roles.
People With Access: four people, four different roles.

Now go open the live view and watch who’s on your site right now. That’s the fun part.

Leave a Reply

Your email address will not be published. Required fields are marked *