Title: Savri Analytics
Author: valueunlimited
Published: <strong>2026 年 6 月 8 日</strong>
Last modified: 2026 年 6 月 8 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/savri-analytics.svg)

# Savri Analytics

 作者：[valueunlimited](https://profiles.wordpress.org/valueunlimited/)

[下载](https://downloads.wordpress.org/plugin/savri-analytics.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/savri-analytics/#description)
 * [评价](https://cn.wordpress.org/plugins/savri-analytics/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/savri-analytics/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/savri-analytics/#developers)

 [支持](https://wordpress.org/support/plugin/savri-analytics/)

## 描述

Savri Analytics is a privacy-focused alternative to Google Analytics. Track your
website visitors without compromising their privacy.

**Key Features:**

 * **No cookies** – No annoying cookie banners needed
 * **GDPR compliant** – Privacy-first by design
 * **Lightweight** – Only ~2KB script, won’t slow down your site
 * **Real-time** – See your visitors as they browse
 * **Simple dashboard** – Easy to understand metrics

**What you can track:**

 * Page views and unique visitors
 * Traffic sources (referrers)
 * Top pages
 * Countries and devices
 * Outbound link clicks (optional)
 * File downloads (optional)
 * Form submissions (optional)
 * Scroll depth (optional)

**Why Savri?**

Unlike traditional analytics tools, Savri doesn’t use cookies or collect personal
data. This means:

 * No cookie consent banners needed
 * Full GDPR/CCPA compliance out of the box
 * Faster page loads
 * More accurate data (no ad-blockers blocking it)

### External services

This plugin connects to the Savri Analytics service (savri.io or besokskollen.se,
selectable in the plugin settings) to load the tracking script and send pageview
data. This is required for the plugin to function, since Savri Analytics is the 
service that records and displays your site’s traffic.

savri.io and besokskollen.se are operated by the same company and provide an identical
service. besokskollen.se is the Swedish-language interface and savri.io is the international(
English) interface. You only need an account on one of them, and you should select
the matching domain in the plugin settings.

**What the service is and what it is used for**

Savri Analytics is a privacy-friendly, cookieless web analytics service that records
anonymous pageviews and aggregated traffic data (referrers, top pages, countries,
devices). The plugin uses the service to track visits to your WordPress site and
display the results in your Savri dashboard.

**What data is sent and when**

 * Every time a visitor loads a page on your site, the plugin loads the tracking
   script from `https://savri.io/script.js` or `https://besokskollen.se/script.js`(
   depending on the domain configured in the plugin settings).
 * That script then sends a pageview event to the same domain (`/api/event` endpoint)
   containing: your Site ID, the page URL, the page title, the referrer, the visitor’s
   user-agent string, the browser language, and the screen size.
 * If you enable the optional tracking flags in the plugin settings, additional 
   events are sent when the corresponding action happens on the page: clicks on 
   outbound links, file downloads, form submissions, and scroll depth.
 * No cookies are set, no IP addresses are stored, and no personal data is collected.
   Visitors are not tracked across sites.

**Service terms and privacy policy**

 * Terms of service: [https://savri.io/terms](https://savri.io/terms)
 * Privacy policy: [https://savri.io/privacy](https://savri.io/privacy)

## 安装

 1. Upload the `savri-analytics` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Savri Analytics
 4. Enter your Site ID (get it from your [Savri Dashboard](https://savri.io/dashboard))
 5. Save changes, you’re done!

## 常见问题

### Where do I get a Site ID?

Sign up at [savri.io](https://savri.io) (international) or [besokskollen.se](https://besokskollen.se)(
Sweden) and create a new site. Your Site ID will be displayed in the site settings.

### Is this really GDPR compliant?

Yes! Savri doesn’t use cookies, doesn’t store IP addresses, and doesn’t collect 
any personal data. You don’t need a cookie banner for Savri.

### Will this slow down my website?

No. The tracking script is only ~2KB and loads asynchronously. It won’t affect your
page speed.

### Can I exclude my own visits?

Yes! Enable “Exclude Administrators” in the plugin settings to stop tracking logged-
in admins.

### Does it work with caching plugins?

Yes, Savri works perfectly with all caching plugins (WP Super Cache, W3 Total Cache,
etc.).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Savri Analytics」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ valueunlimited ](https://profiles.wordpress.org/valueunlimited/)

[帮助将「Savri Analytics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/savri-analytics)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/savri-analytics/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/savri-analytics/)，或通过[RSS](https://plugins.trac.wordpress.org/log/savri-analytics/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/savri-analytics/)。

## 更新日志

#### 1.0.3

 * Documentation: add “External services” section to the readme describing the third-
   party Savri Analytics service the plugin connects to, what data is sent, and 
   links to terms of service and privacy policy. No code changes.

#### 1.0.2

 * Internal refactor: centralize allowed API domains and tracking flags in class
   constants to remove duplication. No functional or behavioral changes.

#### 1.0.1

 * Security: escape all translated strings before output to prevent any theoretical
   XSS via translation files
 * Security: validate api_domain against an allowlist on save and on read
 * Fix: Plugin URI now points to a real documentation page
 * Improvement: tracking script tag is built with esc_url + esc_attr and filtered
   through wp_kses on output

#### 1.0.0

 * Initial release
 * Basic pageview tracking
 * Enhanced tracking options (outbound links, downloads, forms, scroll)
 * Admin exclusion option

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**16 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/savri-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[cookieless](https://cn.wordpress.org/plugins/tags/cookieless/)
   [GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)[privacy](https://cn.wordpress.org/plugins/tags/privacy/)
   [statistics](https://cn.wordpress.org/plugins/tags/statistics/)
 *  [高级视图](https://cn.wordpress.org/plugins/savri-analytics/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/savri-analytics/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/savri-analytics/reviews/)

## 贡献者

 *   [ valueunlimited ](https://profiles.wordpress.org/valueunlimited/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/savri-analytics/)