| 开发者 | privatusanalytics |
|---|---|
| 更新时间 | 2026年10月26日 09:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[privatus_optout] shortcode that lets visitors choose not to be counted, or be counted again.https://privatusstats.com/js/pa.js in the visitor's browser. That script sends the following to the endpoint https://privatusstats.com/api/event (it only accepts data sent by the script, so it shows an error if you open it in a browser): the page address (query parameters are removed except campaign parameters and any you allow), the referrer, the browser language, the screen width, the time zone name, and the names and properties of events (for WooCommerce, the order total, currency, item count and a coupon flag). Your site id is sent with each request. The visitor's IP address and browser details are used in memory only, together with a random value that changes every day, to count unique visits and spot bots. They are never stored. The visitor's country comes from the country code that Cloudflare adds to each request. Nothing is sent when the visitor has opted out, when the visitor is a logged-in user with an excluded role, or in the admin area.
When: only after you enter a site id in Settings, Privatus Analytics. If you change the script host setting, the same data goes to the host you enter.
Optional modules: if you turn on the engagement, automatic events, Web Vitals, click maps or surveys modules, the tracking script loads the matching file from the same host, such as https://privatusstats.com/js/pa.clicks.js.
The dashboard card is a plain link. It makes no request from your server and embeds nothing. The link opens https://privatusanalytics.com or the https address you enter.
privatus-analytics folder to /wp-content/plugins/, or install it from Plugins, Add New.[privatus_optout] to your privacy page.Privatus Analytics shows the numbers most site owners need on one simple screen. It sets no cookies, never stores IP addresses, filters out bots and never sends your visitors' data to Google or to ad networks. Google Analytics is free because it uses your visitors' data. Privatus Analytics never sells it.
Privatus Analytics sets no cookies and stores nothing on the visitor's device, so our analytics does not need a pop-up by itself. Other tools on your site might. Laws differ by country, so check your own legal advice.
Yes. The Free plan has 10,000 events a month and 3 sites, with no card. An event is a pageview or another action you track. Every new account also gets 14 days of Pro free, with no card.
No. The plugin adds the tracking script. Your reports live in your Privatus Analytics account.
In your Privatus Analytics dashboard under Site settings, then Setup. It looks like pa_AbC123.
No. The script is about 3 KB and loads with defer, so it waits until your page is ready.
The plugin prints a small script on the order-received page that records one purchase event in the visitor's browser. It respects the visitor's opt-out. Order numbers, names, emails and addresses are never sent.
Not if you are logged in with an excluded role. Administrators are excluded by default.
Exclude pa.js from the combine, defer and delay JavaScript features of your caching or optimization plugin.
Yes. Use the privatus_analytics_should_track filter (a boolean) to skip tracking on a request. Use the privatus_analytics_script_attributes filter (an array) to change the script tag attributes.
Thank you! Go to the Privatus Analytics reviews page on WordPress.org and click "Add your review". Kind words and honest feedback both help us make the plugin better.
Once. After 14 days, a short note on the Settings, Privatus Analytics page asks if you would like to leave a review. Only administrators see it, it never shows on other admin pages, and "Don't show this again" hides it for good.
Its settings, the review note setting and the per-order purchase marker. Your data in Privatus Analytics is not touched.