02 · Install
Add the snippet to WordPress
The plugin adds the snippet and links WooCommerce orders; your theme's header works too.
01With the plugin
The Tally by Outpost plugin (tally-by-outpost) adds the snippet to every page and, on a WooCommerce store, links each order to its visit. Until it's in the WordPress.org directory, download it here.
In your WordPress admin, open Plugins › Add New Plugin › Upload Plugin, choose the zip and press Install Now, then Activate.
Open Settings › Tally and paste your Site ID: the
data-sitevalue in your snippet, which is also in your dashboard's address (/sites/k3xq2mfa7twp).Choose the privacy mode your site was added with, so the plugin's tag matches the one on the Setup page.
Leave Don’t count logged-in administrators ticked (it is by default), so your own visits while you edit the site aren't counted, and save.
The plugin adds the snippet to every page. With WooCommerce active, it also saves the visitor's id on each order, in classic and block checkout, and its settings page has a Connect WooCommerce to Tally button that opens WooCommerce's own approval screen, so there's no key to copy.
02Without the plugin
In a classic theme's header.php, just before </head>, or in a header-code plugin.
<script defer data-site="k3xq2mfa7twp" src="https://t.tallybyoutpost.com/script.js"></script>A block theme has no header.php to edit: use a plugin that adds code to the head of every page, such as WPCode.
03WooCommerce
Selling with WooCommerce? Connect the store and Tally reads its orders and refunds. The plugin saves the visitor's id on each order; without it, the snippet on the order-received page links orders, and a few lines in functions.php link the rest.
04Check it worked
05What it can't see
Something missing, or not what you see? Write to support@tallybyoutpost.com and say which page.