Theme

Start for free

Integrations ยท Site platforms

WordPress: the tag in your header, revenue from your provider.

On a classic theme the tag goes in header.php just before the closing head; any theme can use a plugin that adds code to the header. Revenue comes from the payment provider your site sells through.

Start for free

14 days free, no card needed.

01What Tally tracks

  • Every page and post that loads your theme's header, with sources, engaged time and scroll depth.
  • Goals from data-fast-goal attributes on buttons and forms, and clicks on links to other sites.
  • Payments taken through your own Stripe account, whichever plugin created them, since each is a PaymentIntent on that account.

02Where the revenue comes from

  • Stripe through a pluginA plugin that charges through your own Stripe account leaves no visitor id in the payment, so the sale links by email when your site calls tally('identify') and the payment has the customer's email.
  • Payment Links and checkoutsStripe Payment Links on your pages link on their own; Paddle, Lemon Squeezy and Polar checkouts link when the page passes the visitor's id.

03What it can't read

  • WooCommerce's own orders aren't read; only the payments behind them that land in a connected Stripe account are.
  • Payments a plugin takes through its own account rather than yours aren't readable with your key.
  • A block theme without header.php needs a header-code plugin, since there's no template file to edit by hand.

04Adding the snippet

Where it goes: 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>

This is an example site's tag. Your own, with your site's id, is on the snippet step when you add a site, and on its Setup page.

  1. Paste the tag just before the closing head in your classic theme's header.php, or into a header-code plugin.
  2. Open a page of the site: the live check turns green with the first visit.
  3. Connect the payment provider your site sells through.

05Questions

  • Will a theme update remove the tag?

    Edits to a theme's header.php can be overwritten when the theme updates. A child theme or a header-code plugin keeps the tag in place.

  • Can Tally read my WooCommerce sales?

    Not as WooCommerce orders. When WooCommerce charges through your own Stripe account, each charge is a Stripe payment, and those are read and can link by email.

  • Does it count logged-in admins?

    Yes, as any visitor, unless that browser opts out with localStorage.datafast_ignore set to true, which keeps your own visits out.