Skip to content
ThemesIonic — home
Plugins

Analytics Plugins: Where Does the Data Go?

The question that should sort analytics plugins is not which dashboard looks best, but who ends up holding the data and whether it can be collected before consent. Answer that first and the shortlist writes itself.

4 min read intermediate

Pick the data model before the dashboard. Every analytics plugin for WordPress is one of three arrangements, and the arrangement decides your consent obligations, your accuracy, and who can take the data away from you.

Arrangement Data lives Consent position
Third-party tag connector With the analytics vendor Typically requires consent before the tag fires
Self-hosted tracker In your own database Depends on whether it stores identifiers
Privacy-first hosted service With a vendor, aggregated Often designed to avoid cookies entirely

Most comparisons treat privacy as a closing paragraph. It should be the opening question, because it determines how much of your traffic you can measure at all. An arrangement that needs consent means you are analysing only the visitors who agreed — a self-selecting slice — while a cookieless aggregate approach measures everyone but tells you less about each one.

Third-party tag connectors

The largest category: plugins that insert a vendor's tracking tag and often mirror some reports into wp-admin. They are popular because the ecosystem around them is enormous, and the reporting is the most capable of the three.

What to check:

  • Does it insert the tag once? Duplicate tags from a plugin plus a theme setting inflate everything and are surprisingly common.
  • Does it respect consent state, rather than firing and apologising later?
  • What does it add to the page in requests and bytes, especially if it installs a tag manager that then loads more.
  • Are the wp-admin reports worth the API calls? Dashboard widgets that query on every admin page load are a recognisable cause of a sluggish back end — see speeding up the WordPress admin.
  • Can you export raw data, or only look at it?

Self-hosted trackers

These write hits into your own database. Nothing leaves your server, which is attractive, and the cost is that analytics data is high-volume by nature.

Ask how much a month of traffic weighs in the database, whether old rows are pruned automatically, and whether reporting queries run against tables large enough to slow the site down. Sites that abandon self-hosted analytics almost always do so because of table growth rather than features, and cleaning it up afterwards means working directly on the schema — database management plugins covers doing that safely.

Accuracy is the other trade-off. A first-party script is less likely to be blocked, which some people count as an advantage, but bot filtering is harder to do well than vendors make it look. Compare a week of its numbers against server logs before you trust it.

Privacy-first hosted services

The third arrangement collects aggregate metrics without cookies or persistent identifiers. You get pages, referrers and trends; you do not get individual journeys stitched across sessions.

For a content site that is often the better trade: fewer consent complications, near-complete coverage, and reports that fit on one screen. For an ecommerce site attributing revenue across several visits, it may not be enough, and you should establish that before switching rather than after.

Consent handling is where implementations actually fail, and the failure is almost always the same one: a banner that displays a choice but does not block anything. If the analytics script loads before the visitor answers, the banner is decoration.

  • Confirm blocking works. Load the site with a fresh session, decline, and check no analytics requests are made in the browser's network panel.
  • Check the categories. Analytics should sit in a category the visitor can refuse independently of essential cookies.
  • Record the choice and honour a later change of mind.
  • Set retention deliberately, at the vendor as well as in the plugin.
  • Know where processing happens, because data transfers matter to a privacy notice.

Choosing and configuring the banner itself is a separate decision — see cookie consent plugins — but it must be tested together with the analytics plugin, not before it.

Behaviour tools are a different category again

Heatmaps and session recording answer different questions and carry the highest privacy load of anything here, because a recording can capture what someone typed. If you use them, mask inputs by default, run them in short campaigns rather than permanently, and treat them as research rather than reporting. They are also heavy, so check their effect on render-blocking resources rather than assuming the vendor's async claim covers it.

What to do

Write down the three decisions this data is meant to inform. If they are all editorial — what to write next, which pages to improve — a cookieless aggregate service will answer them with less friction and better coverage, and pairs naturally with the work in the WordPress SEO checklist. If they involve attributing revenue across sessions, take the tag connector and implement consent properly. Then verify with a declined banner and an empty network panel, because an analytics setup you have not tested that way is not measuring what you think it is.

Frequently asked

Usually because a consent banner is now blocking the tag until a visitor agrees, and many do not. Ad blockers and privacy features in browsers remove more. The numbers are not broken; they are a sample, and the useful comparison is trend against trend rather than absolute totals.
Not automatically. What matters is whether you store identifiers or access data on the visitor's device, not who owns the server, so a first-party tracker that sets a tracking cookie is in much the same position as a third-party one. Aggregate, cookieless collection is the design that changes the answer, and the specifics are a question for your own legal advice.
The tracking script itself is usually small, but tag managers, heatmaps and session recorders are not, and self-hosted trackers move the cost into your database and admin instead. Measure a real page before and after, and check the admin dashboard separately.

Related guides