Title: Spectry Tracking
Author: Spectry
Published: <strong>2026 年 9 月 14 日</strong>
Last modified: 2026 年 9 月 14 日

---

搜索插件

![](https://ps.w.org/spectry-tracking/assets/icon-256x256.png?rev=3695220)

# Spectry Tracking

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

[下载](https://downloads.wordpress.org/plugin/spectry-tracking.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/spectry-tracking/)

## 描述

Spectry is a hosted analytics service. This plugin connects a WordPress site to

a Spectry account: enter the site ID and write key from your Spectry dashboard, 
switch the Active toggle on, and the tracking snippet is added to the `<head>` of
every front-end page.

The plugin has no premium tier, no locked features and no upsells. Everything it

does is in the code.

Using it requires a Spectry account, because the snippet reports to the Spectry

service. See the External services section below for exactly what is loaded and 
what is sent.

#### Features

 * Site ID and write key settings under Settings > Spectry.
 * An Active toggle that turns the snippet on and off without deactivating the plugin.
 * Nothing is printed unless the toggle is on and both credentials are filled in.
 * The snippet is never printed in the admin area.

### External services

This plugin connects to Spectry, an analytics service operated by Spectry, to
 collect
website analytics for the site owner. It is the entire purpose of the plugin and
it is only active when you enter your credentials and switch the Active toggle on.

**What the plugin does**

When active, the plugin prints a small loader into the `<head>` of front-end
 pages.
That loader requests the tracking script from https://cdn.spectry.io/spectry.js?
id= and passes along your site ID and write key as data attributes on the script
tag. The request happens in the visitor’s browser on every front-end page view.

**What data is sent to Spectry**

The tracking script, running in the visitor’s browser, sends page view and usage

data to Spectry. This includes the visitor’s IP address (used by the service to 
resolve approximate location), user agent, the URL of the page being viewed, the
referring URL, and interaction data generated as the visitor uses the page. No data
is sent from your server by this plugin, and the plugin itself stores nothing about
your visitors in your WordPress database.

**Terms and privacy**

 * Terms of service: https://spectry.io/terms-of-service
 * Privacy policy: https://spectry.io/privacy-policy

Because visitor data is sent to a third-party service, you are responsible for
 
disclosing this in your own privacy policy and for obtaining any consent required
in your jurisdiction (for example under the GDPR).

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/` (or install the zip via
     Plugins
    > Add New > Upload Plugin).
 2. Activate the plugin.
 3. Go to Settings > Spectry, fill in the site ID and write key from your Spectry
     
    dashboard, tick Active and press Save.

## 常见问题

### Where is the snippet added?

In `wp_head` at priority 1, so it loads as early as the theme allows.

### What happens if I leave a field empty?

Nothing is printed. Both the site ID and the write key must be filled in and
 Active
must be on.

### Do I need a Spectry account?

Yes. The snippet reports to the Spectry service, so the site ID and write key
 have
to come from a Spectry account.

### Does the plugin store any visitor data on my site?

No. It stores only your site ID, write key and the Active toggle, in a single
 WordPress
option. That option is deleted when you delete the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Spectry Tracking」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/spectry-tracking)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/spectry-tracking/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[statistics](https://cn.wordpress.org/plugins/tags/statistics/)
   [tracking](https://cn.wordpress.org/plugins/tags/tracking/)
 *  [高级视图](https://cn.wordpress.org/plugins/spectry-tracking/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/spectry-tracking/reviews/#new-post)

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

## 贡献者

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

## 支持

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

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