Title: Paste Analytics
Author: Jenst
Published: <strong>2014 年 10 月 25 日</strong>
Last modified: 2014 年 10 月 26 日

---

搜索插件

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

![](https://ps.w.org/paste-analytics/assets/icon-256x256.png?rev=1013908)

# Paste Analytics

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

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

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

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

## 描述

Google Analytics, clean and simple!

Features:

 * Paste your script and save. Done!
 * The tracking code is disabled for logged in users
 * You can set the script to be active or inactive

## 屏幕截图

[⌊Settings > Paste Analytics⌉⌊Settings > Paste Analytics⌉[

`Settings > Paste Analytics`

## 安装

 1. Upload `paste-analytics.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to `Settings > Paste Analytics` to paste your Google Analytics script

## 常见问题

  Does this plugin have tons of features?

No. Paste the script and save. Done!

  Can I do advanced tracking stuff with this plugin?

Probably. You have the freedom to write whatever you need in the script.

  Can block IP numbers from being tracked?

Yes and no. Not by this plugin, but you can do it with Google Analytics own settings.

  Does the tracking work when I’m logged in?

No. It’s disabled when logged in. Just a HTML comment remains in the code.

  Can I disable tracking on certain pages/post?

Maybe. You can not do it with this plugin but it might be possible in Google Analytics,
or by disable an action on that page.

  Why not just use an advanced Google Analytics plugin

 * Advanced plugins often have tons of options. Still they might not have everything.
   With this plugin you can write the script as you like.
    - This plugin is very simple. Set it and forget it. Paste the script and save.
      Done!
    - This plugin only use one option field which makes it very fast.

  Why not use a before / after-plugin?

They are ment for all kinds of scripts / CSS / HTML. It also means more settings
that you don’t need.

  The tracking code does not appear?

If you are not logged in and still no tracking code are visible in the source you
might be missing the `wp_head` action in header.php (or another file)

  Can I have the tracking code in the footer or direcly after the -tag?

No. Not at present. If `wp_head` is not in the theme it will try to use `wp_footer`
instead.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

 * Fixed some minor bugs

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/paste-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[ga](https://cn.wordpress.org/plugins/tags/ga/)
   [google](https://cn.wordpress.org/plugins/tags/google/)[google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)
   [statistics](https://cn.wordpress.org/plugins/tags/statistics/)
 *  [高级视图](https://cn.wordpress.org/plugins/paste-analytics/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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