Title: Add Script
Author: TRe Technology And Research S.r.l.
Published: <strong>2017 年 6 月 23 日</strong>
Last modified: 2017 年 11 月 21 日

---

搜索插件

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

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

# Add Script

 作者：[TRe Technology And Research S.r.l.](https://profiles.wordpress.org/tresrl/)

[下载](https://downloads.wordpress.org/plugin/addscript.1.4.zip)

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

 [支持](https://wordpress.org/support/plugin/addscript/)

## 描述

This plugin add Google Analytics script in the footer, removing all spaces. Useful
to use with [Italy Cookie Choices (for EU Cookie Law)](https://github.com/ItalyCookieChoices/italy-cookie-choices).
If isset the Wp Italy Cookies “Display Cookie Consents”, it prints the code, otherwise
the Javascript code will NOT BE printed.

### Usage

 1. Copy and Paste (include also the scripts tag) the Analytics Code in the settings
    page.

### To Do

 1. Select if add script on footer or header
 2. Create POTs
 3. Display notice if WP Italy is not installed
 4. Add option to skip cookie check and print directly

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/` directory

## 常见问题

  Installation Instructions

 1. Upload the plugin files to the `/wp-content/plugins/` directory

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ TRe Technology And Research S.r.l. ](https://profiles.wordpress.org/tresrl/)
 *   [ sineverba ](https://profiles.wordpress.org/sineverba/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.4

 * Improved code for new Analytics tag

#### 1.3.2

 * Moved settings under general settings

#### 1.3.1

 * Tested and added compatibility with WordPress 4.8

#### 1.3

 * Typo fixed

#### 1.2

 * Updated readme file (typo fixed)

#### 1.1

 * Updated plugin name

#### 1.0

 * First relase

## 额外信息

 *  版本 **1.4**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/addscript/)
 * 标签
 * [script](https://cn.wordpress.org/plugins/tags/script/)
 *  [高级视图](https://cn.wordpress.org/plugins/addscript/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ TRe Technology And Research S.r.l. ](https://profiles.wordpress.org/tresrl/)
 *   [ sineverba ](https://profiles.wordpress.org/sineverba/)

## 支持

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

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