Title: Include Matomo Tracking, by Jonas Hellmann
Author: jonashellmann
Published: <strong>2018 年 5 月 14 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

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

# Include Matomo Tracking, by Jonas Hellmann

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

[下载](https://downloads.wordpress.org/plugin/include-matomo.zip)

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

 [支持](https://wordpress.org/support/plugin/include-matomo/)

## 描述

This plugin lets you integrate your existing Matomo On-Premise into WordPress. If
you don’t already have a working Matomo (either [On-Premise](https://matomo.org/matomo-on-premise/)
or [Matomo Cloud](https://matomo.org/hosting/)), use the [Matomo Analytics](https://wordpress.org/plugins/matomo/)
plugin instead.

Matomo, formerly called Piwik, is an self-hosted open-source tool to analyze your
pages. It needs a tracking code to be included in the pages that should be monitored.
Also campaigns can be created by using specific parameters in the URL.

Therefore in this plugin, you can configure the URL where Matomo is hosted and the
site ID for tracking your WordPress page. You can find it in the tracking code. 
You only need to fill in these both information. The rest of the tracking code is
standartized and automatically inserted in the page. Also, you can set a campaign
name (pk_campaign) and source (pk_source) which will be adds to the links in your
RSS feed. This helps you to analyze how many users enter your pages by using your
RSS feed.
 If you like to, there is an additional field to deactivate the usage 
of cookies by Matomo.

## 屏幕截图

 * [[
 * Here you can see the settings page of ‘Include Matomo’. You can find it under‘
   Settings’ -> ‘Include Matomo’.
 * [[
 * If you provide a Matomo URL and site ID this code is injected to your Wordpress
   page..

## 安装

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/include-matomo` directory, 
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the ‘Settings’ -> ‘Include Matomo’ screen to configure the plugin. Look in 
    the description to understand the configuration options.
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## 常见问题

### Why can’t I see page views in the Matomo backend?

Take a look at the source code of your WordPress page and make sure that the Matomo
code is actually included. It will only be injected if the URL to the Matomo installation
AND the page ID are set.

If it is injected you also should check if the page ID is set correctly.

## 评价

![](https://secure.gravatar.com/avatar/93b9a9f3752143c427cca75c28708b41b9943f3a2d82ffedaa90f14a2d6f1a18?
s=60&d=retro&r=g)

### 󠀁[Simple to setup](https://wordpress.org/support/topic/simple-to-setup-8/)󠁿

 [Sebastien SERRE](https://profiles.wordpress.org/sebastienserre/) 2026 年 2 月 
15 日

Do what it says… simply!Thank you

![](https://secure.gravatar.com/avatar/c9634fbd1cfa3b427356d350ba12dc492c3cde05d5895afa170fe194904ac7fb?
s=60&d=retro&r=g)

### 󠀁[Works as expected. I recommend this plugin.](https://wordpress.org/support/topic/works-as-expected-724/)󠁿

 [tarator85](https://profiles.wordpress.org/tarator85/) 2021 年 12 月 9 日

Easy installation and configuration. Works flawlessly with recent WordPress- and
Matomo-Versions (Dec. 2021) I didn’t check the code.

![](https://secure.gravatar.com/avatar/5706550a5b705b844cfcacac6f96493d9184c0fe21b44d260df307e8de667a4e?
s=60&d=retro&r=g)

### 󠀁[It does what it should](https://wordpress.org/support/topic/it-does-what-it-should-6/)󠁿

 [Jonas](https://profiles.wordpress.org/elbsegler/) 2021 年 3 月 9 日

Thank you very much.

![](https://secure.gravatar.com/avatar/74fb37484a14b7a747ac5592ad726bbb263bb1e7fcad9d7e56b1ed9084f13b5a?
s=60&d=retro&r=g)

### 󠀁[Super easy installation, works perfect](https://wordpress.org/support/topic/super-easy-installation-works-perfect/)󠁿

 [ostrakos](https://profiles.wordpress.org/ostrakos/) 2018 年 6 月 24 日 1 回复

Thank you for your great plugin! I installed it and had it running within 15 minutes.
For the newest versions of matomo I can only recommend this plugin!

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/include-matomo/reviews/)

## 贡献者及开发者

「Include Matomo Tracking, by Jonas Hellmann」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

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

「Include Matomo Tracking, by Jonas Hellmann」插件已被翻译至 1 种本地化语言。 感谢
[所有译者](https://translate.wordpress.org/projects/wp-plugins/include-matomo/contributors)
为本插件所做的贡献。

[帮助将「Include Matomo Tracking, by Jonas Hellmann」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/include-matomo)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * This is the initial version of the plugin.

#### 1.4

 * Renaming the plugin due to a request by Matomo. (https://wordpress.org/support/
   topic/request-to-update-plugin-with-regards-to-the-trademark-guidelines-2/)

## 额外信息

 *  版本 **1.5.2**
 *  最后更新：**2 周前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/include-matomo/) 和 [French (France)](https://fr.wordpress.org/plugins/include-matomo/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/include-matomo)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[matomo](https://cn.wordpress.org/plugins/tags/matomo/)
   [tracking](https://cn.wordpress.org/plugins/tags/tracking/)
 *  [高级视图](https://cn.wordpress.org/plugins/include-matomo/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/include-matomo/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/include-matomo/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/include-matomo/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/include-matomo/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/include-matomo/reviews/?filter=1)

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

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

## 贡献者

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

## 支持

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

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