Title: First Party Analytics
Author: TMM Technology
Published: <strong>2023 年 1 月 28 日</strong>
Last modified: 2024 年 3 月 1 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/first-party-analytics/assets/icon.svg?rev=2869618)

# First Party Analytics

 作者：[TMM Technology](https://profiles.wordpress.org/tmmtechnology/)

[下载](https://downloads.wordpress.org/plugin/first-party-analytics.1.2.20.zip)

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

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

## 描述

This is a plugin for tracking of user website page visits. Similar to Google Analytics.
Contains many different types of tracking.

Shows about 40 graphs and tables in total. Tracks about 50 data parts (visits count,
user-agents, visited links, web-vitals, etc).

### Types of tracking

 * General
 * Times
 * Interaction capabilities
 * Sessions
 * Pages
 * Screen Sizes
 * Languages
 * Countries
 * Searches
 * Visited links
 * User-Agents
 * Referrers
 * Sources
 * Performance
 * Misc

### Bug reports / Questions / Suggestions

[wp@tmm.ventures](https://cn.wordpress.org/plugins/first-party-analytics/wp@tmm.ventures?output_format=md)

## 屏幕截图

 * [[
 * “General” tab.
 * [[
 * “Times” tab.
 * [[
 * “Interaction capabilities” tab.
 * [[
 * “Sessions” tab.
 * [[
 * “Pages” tab.
 * [[
 * “Screen Sizes” tab.
 * [[
 * “Languages” tab.
 * [[
 * “Countries” tab.
 * [[
 * “Searches” tab.
 * [[
 * “Visited links” tab.
 * [[
 * “User-Agents” tab.
 * [[
 * “Referrers” tab.
 * [[
 * “Sources” tab.
 * [[
 * “Performance” tab.
 * [[
 * “Misc” tab.
 * [[
 * Page edit panel.
 * [[
 * Settings – General Settings.
 * [[
 * Settings – Exclude by Cookie.
 * [[
 * Settings – Exclude by IP.
 * [[
 * Settings – Cache.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ TMM Technology ](https://profiles.wordpress.org/tmmtechnology/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.20 2023-03-01

#### Bugfixes

 * Change catalog_viewed_products from ‘saffy-placeholder-post’ to ‘speedsearch-
   placeholder-post’.
 * Fix the products viewed in catalog tracking logic (to not add duplicates, or 
   the products that are already being tracked).
 * Fix the POST requests storm (add a rate limit).
 * Fix Undefined array key error (in many places).

#### 1.2.19 2023-09-12

#### Enhancements

 * Improved client-side filtering of “number” input fields (only digits are allowed
   now).

#### 1.2.18 2023-09-09

#### Enhancements

 * Use wp_options table instead of cache for the lock of migrations.
 * Change visitor_id table column type from VARCHAR(255) to DECIMAL(20,0).
 * Add a support for standard events collection (sessions trace for the Premium 
   plugin).
 * Add a support for plugin data CSV export.

#### Bugfixes

 * Fix missing public suffix.
 * Fix get_domain_data() call.

#### 1.2.6 2023-07-18

#### Enhancements

 * Set min PHP version to 7.4.

#### 1.2.4 2023-07-16

#### Enhancements

 * Add a notice when the plugin is being updated instead of blocking the whole logic.

#### 1.2.3 2023-07-12

#### Bugfixes

 * Make the plugin to work with cache.

#### 1.2.0 2023-06-12

#### Enhancements

 * Load FE scripts async.

#### 1.1.49 2023-06-10

#### Bugfixes

 * Delete wp_date() from standalone script.

#### 1.1.48 2023-05-23

#### Enhancements

 * Use beacon flexibly: for all requests when they are below the size of the beacon
   limit.

#### 1.1.45 2023-05-15

#### Bugfixes

 * Bundle prebid-ads.js and analytics.js.

#### 1.1.44 2023-05-14

#### Bugfixes

 * Write data in WP-localized date format.

#### 1.1.43 2023-05-08

#### Bugfixes

 * MU-plugin fixed.
 * Many minor fixes.

#### 1.0.96 2023-02-27

#### Bugfixes

 * Visitor details unique key fix (now is based on key + value, previosuly was just
   on key).
 * Save visitor details only when they are present (i.e. no “empty” write for BE-
   only request – as it writes only once due to is_unique).
 * Use post_id (when available) instead of post_url for marking/detecting unique
   visits – less false positives (for uniqueness detection).

#### 1.0.80 2023-02-20

#### Enhancements

 * Support for FPAP adblock buster feature.

#### 1.0.80 2023-02-18

#### Bugfixes

 * Min PHP version required downgraded to 7.2.

#### 1.0.79 2023-02-15

#### Bugfixes

 * Mitigate BF cache effect on metrics.

#### 1.0.76 2023-02-15

#### Bugfixes

 * Min PHP version required downgraded to 7.4.

#### 1.0.73 2023-02-09

#### Enhancements

 * Added “BF (Back-Forward) cache present” collection and representation.

#### Bugfixes

 * Web vitals DB fix (when incremented “needs_improvement” instead of “poor” vitals).
 * Record 0 for web vital values (previosuly was considered as ” (null)) – now no
   string convertion is done, which helps to preserve the real original values.
 * Raw requests storage reset of requests structure change.

#### 1.0.71 2023-01-29

#### Enhancements

 * Changelog added.

## 额外信息

 *  版本 **1.2.20**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  已测试的最高版本为 **6.4.8**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/first-party-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[e-commerce](https://cn.wordpress.org/plugins/tags/e-commerce/)
   [store](https://cn.wordpress.org/plugins/tags/store/)[tracking](https://cn.wordpress.org/plugins/tags/tracking/)
   [woo-commerce](https://cn.wordpress.org/plugins/tags/woo-commerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/first-party-analytics/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ TMM Technology ](https://profiles.wordpress.org/tmmtechnology/)

## 支持

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

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