=== Add Script ===
Contributors: tresrl, sineverba
Tags: script
Requires at least: 4.7
Tested up to: 4.9
Stable tag: 1.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This plugin add the Google Analytics code in the footer, removing all spaces. Useful to use with Italy Cookie Choices (for EU Cookie Law) (https://github.com/ItalyCookieChoices/italy-cookie-choices).

== 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.

== Installation ==

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

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


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