Directory / plugin

Privatrak Analytics

v1.1.0 · by privatrak

Cookieless analytics for WordPress and WooCommerce. See which buttons people use and where shoppers drop off between the cart and the purchase.

View on WordPress.org

About this plugin

Privatrak shows you what people do on your site, not only which pages they open.

As soon as you add your website key, Privatrak names the clicks that matter: your menus, the search, comment and contact forms, and add-to-cart buttons. Privatrak calls these features. Each comes with details, such as the menu a link is in, or the product a button adds and its price. You see which features people use, and you can build a funnel that shows where shoppers drop off between the cart and the purchase.

Privatrak sets no cookies and stores nothing on your visitors’ devices. It is built to run without a consent banner.

This plugin connects your site to a Privatrak project. You need a Privatrak account, which you can create for free at privatrak.com.

What Privatrak records on your site

  • The clicks that matter, recorded as features with their details, ready to use in funnels.
  • Clicks that go wrong, which Privatrak calls click problems: buttons that do nothing, that people click again and again, that respond slowly or that cause an error.
  • Each completed WooCommerce order, as a custom event called Purchase. It carries the order’s total, currency and number of items, and nothing about the customer.
  • Any other button you choose. Open the Element Picker from your Privatrak project, click the button on your site and give it a name. No code needed.
  • Every page view and click, recorded automatically.
  • The trait signed-in for visitors who are signed in to your site, so you can compare them with everyone else. On sites translated with Polylang or WPML, a trait for the page’s language, such as language-de.

Privatrak leaves out anyone who can write or edit posts on your site, including you. You can still use the Element Picker and the Click Map on your site while you are signed in.

AI services and crawlers

AI services such as ChatGPT or Claude read your pages to answer people’s questions without running JavaScript, so a tracker in the page never sees them. Switch on Count AI services and crawlers that don’t run JavaScript under Settings › Privatrak, and your site tells Privatrak about each request from a known crawler. Privatrak then shows which AI services read which of your pages.

External services

This plugin connects your site to Privatrak (https://privatrak.com), a web analytics service. It sends nothing until you save a website key under Settings › Privatrak.

The tracker. Once a key is saved, every page of your site loads the tracker from api.privatrak.com. While a visitor is on a page, the tracker sends Privatrak:

  • the address of the page, and of the site the visitor came from;
  • for each click, the button or link clicked, its text, and the feature name and details this plugin gives it;
  • for a click that goes wrong, which kind of problem it was, and for a script error only its type, such as TypeError, never its message;
  • the time of each page view and click;
  • the traits this plugin adds: signed-in for visitors signed in to your site, and the page’s language on multilingual sites;
  • on the WooCommerce order confirmation page, the order’s total, currency and number of items.

The tracker never reads what visitors type into forms.

Each request also carries the visitor’s IP address and browser version, as every request on the web does. Privatrak uses them only to recognise the same visitor within one day. It does not store them.

The key check. When you open Settings › Privatrak, your browser asks api.privatrak.com whether the saved key belongs to a project. It sends only the key.

AI services and crawlers. Only if you switch on Count AI services and crawlers that don’t run JavaScript, your site itself contacts api.privatrak.com, and only when a request comes from a known crawler, such as ChatGPT or Claude reading a page. For each such request it sends:

  • the address of the page, without its query string, after your project’s privacy settings in Privatrak have removed anything private from it;
  • the name the crawler gives itself (its User-Agent);
  • the time of the request, to the second;
  • your website key.

It never sends anything about your visitors or their IP addresses. To know what counts as a crawler and how to treat addresses, your site also downloads the list of crawler names from api.privatrak.com once a day, and your project’s privacy settings every ten minutes, only while crawlers are visiting. A copy of the list comes with the plugin.

The Element Picker and the Click Map. When you open one of them on your site from your Privatrak project, your browser loads it from api.privatrak.com. Nothing is recorded while it is open.

The service is subject to Privatrak’s terms of service and privacy policy.

Plugin tags