# SMNTCS Google Analytics

![Support Level](https://img.shields.io/badge/support-active-green.svg)
![Build Status](https://github.com/nielslange/smntcs-google-analytics/actions/workflows/test.yml/badge.svg)
![GPLv2 License](https://img.shields.io/github/license/nielslange/smntcs-google-analytics.svg)
![Compatible to WordPress version](https://plugintests.com/plugins/smntcs-google-analytics/wp-badge.svg)
![Compatible to PHP version](https://plugintests.com/plugins/smntcs-google-analytics/php-badge.svg)
![Downloads](https://img.shields.io/wordpress/plugin/dt/smntcs-google-analytics.svg)
![Plugin Version](https://img.shields.io/wordpress/plugin/v/smntcs-google-analytics.svg)
![Tag Version](https://img.shields.io/github/tag/nielslange/smntcs-google-analytics.svg)

Adds Google Analytics tracking code to your site and anonymize visitors IP address if necessary.

## Installation

1. Upload `smntcs-google-analytics` to the `/wp-content/plugins/` directory
2. Activate the plugin through the `Plugins` menu in WordPress
3. Go to https://www.google.com/analytics/, add a new site and copy the tracking code
4. Go to `Appearance → Customize → Google Analytics` and paste your tracking code
5. Anonymize visitors IP address if necessary

## Plugin page

You can find the plugin on https://wordpress.org/plugins/smntcs-google-analytics/.

## Changelog

### 2.9 (2023.10.15)

- Test up to WP 6.4

### 2.8 (2022.12.03)

- Test up to WP 6.1

### 2.7 (2022.05.09)

- Test up to WP 6.0

### 2.6 (2021.04.27)

- Test up to WP 5.8
- [Add e2e tests](https://github.com/nielslange/smntcs-google-analytics/issues/2)

### 2.5 (2021.04.27)

- Test up to WP 5.7
- [Add build tools](https://github.com/nielslange/smntcs-google-analytics/issues/9)
- [Add GitHub Actions](https://github.com/nielslange/smntcs-google-analytics/issues/10)

### 2.4 (2019.12.21)

- Test up to WP 5.3
- Add build tools

### 2.3 (2019.06.28)

- Test up to WP 5.2

### 2.2 (2019.06.28)

- Test up to WP 5.1

### 2.1 (2016.12.24)

- Add FAQ

### 2.0 (2016.09.11)

- Use Customizer instead of options page

### 1.4 (2016.07.20)

- Add donation link

### 1.3 (2016.07.20)

- Update textdomain

### 1.2 (2016.07.20)

- Fix tracking code visibility

### 1.1 (2016.07.20)

- Fix plugin title

### 1.0 (2016.07-20)

- Initial release
