Title: Add Script
Author: TRe Technology And Research S.r.l.
Published: <strong>June 23, 2017</strong>
Last modified: November 21, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Add Script

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

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

 * [Details](https://zul.wordpress.org/plugins/addscript/#description)
 * [Reviews](https://zul.wordpress.org/plugins/addscript/#reviews)
 *  [Installation](https://zul.wordpress.org/plugins/addscript/#installation)
 * [Development](https://zul.wordpress.org/plugins/addscript/#developers)

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

## Description

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

## Installation

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

## FAQ

  Installation Instructions

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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Add Script” is open source software. The following people have contributed to this
plugin.

Contributors

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

[Translate “Add Script” into your language.](https://translate.wordpress.org/projects/wp-plugins/addscript)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/addscript/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/addscript/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/addscript/) by [RSS](https://plugins.trac.wordpress.org/log/addscript/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **1.4**
 *  Last updated **8 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/addscript/)
 * Tag
 * [script](https://zul.wordpress.org/plugins/tags/script/)
 *  [Advanced View](https://zul.wordpress.org/plugins/addscript/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/addscript/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/addscript/)