Title: Simple Plugin for Google Analytics
Author: overengineer
Published: <strong>2 de setembre de 2019</strong>
Last modified: 2 de setembre de 2019

---

Cerca extensions

![](https://ps.w.org/overengineer-gasp/assets/banner-772x250.png?rev=2149837)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/overengineer-gasp/assets/icon.svg?rev=2149837)

# Simple Plugin for Google Analytics

 Per [overengineer](https://profiles.wordpress.org/overengineer/)

[Baixa](https://downloads.wordpress.org/plugin/overengineer-gasp.1.1.2.zip)

 * [Detalls](https://ca.wordpress.org/plugins/overengineer-gasp/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/overengineer-gasp/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/overengineer-gasp/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/overengineer-gasp/#developers)

 [Suport](https://wordpress.org/support/plugin/overengineer-gasp/)

## Descripció

Simple Plugin for Google Analytics is an unofficial WordPress plugin for Google 
Analytics, with Cookiebot integration.

#### Settings

Even though this is a really simple plugin, there are settings to:

 * Anonymize IPs
 * Force SSL
 * Ignore administrators
 * Choose the location of the script tag (either in `<head>` or `<body>`)

#### Cookiebot integration

If you have installed (and activated) the [Cookiebot WordPress plugin](https://wordpress.org/plugins/cookiebot/),
then “Simple Plugin for Google Analytics” will automatically include the Google 
Analytics code **only** if the user has given consent for “statistics” cookies. 
Also, it will disable advertising features (the `allow_ad_personalization_signals`
option of gtag.js) unless the user has given consent for “marketing” cookies.

## Captures

[⌊Plugin settings screen⌉⌊Plugin settings screen⌉[

Plugin settings screen

## Instal·lació

#### Automatic installation

Automatic installation is the easiest option — WordPress will handle the file transfer,
and you won’t need to leave your web browser.

 1. Log in to your WordPress dashboard
 2. Navigate to the “Plugins” menu
 3. Search for “Simple Plugin for Google Analytics”
 4. Click “Install Now” and WordPress will take it from there
 5. Activate the plugin through the “Plugins” menu in WordPress

#### Manual installation

 1. Upload the entire `overengineer-gasp` folder to the `wp-content/plugins/` directory
 2. Activate the plugin through the “Plugins” menu in WordPress

#### After activation

 1. In your WordPress dashboard, under “Settings”, you will find the “Google Analytics”
    menu
 2. Copy-paste your **Google Analytics ID**
 3. Change any other options
 4. Click “Save Changes”

To find your Google Analytics ID:

 1. Sign in to [your Analytics account](https://analytics.google.com/)
 2. Click Admin
 3. Select an account from the menu in the _ACCOUNT_ column
 4. Select a property from the menu in the _PROPERTY_ column.
 5. Under _PROPERTY_, click **Tracking Info > Tracking Code**. Your **Google Analytics
    ID** is displayed at the top of the page.

The _tracking ID_ is a string like `UA-000000-2`. It must be included in your tracking
code to tell Analytics which account and property to send data to.

Refer to the [official Analytics Help](https://support.google.com/analytics/answer/1008080?hl=en#GAID)
for more.

## PMF

  How is this different from all the other Google Analytics plugins?

It’s really simple and I mean _really simple_. Oh, and it works with [Cookiebot](https://www.cookiebot.com/).

  Is this GDPR compliant?

While no single plugin can guarantee 100% GDPR compliance in WordPress, here’s what
I did with this plugin:

 * There is a setting to anonymize IPs
 * There is a setting to force SSL
 * There is an integration with Cookiebot

Other than that, IANAL (I am not a lawyer) and **I cannot guarantee 100% GDPR compliance**.

  How to anonymize IPs?

 1. Log in to your WordPress dashboard
 2. Under “Settings”, select “Google Analytics”
 3. Enable the “Anonymize IPs” option
 4. Click “Save Changes”

  How to force SSL?

 1. Log in to your WordPress dashboard
 2. Under “Settings”, select “Google Analytics”
 3. Enable the “Force SSL” option
 4. Click “Save Changes”

  How to prevent tracking of administrators?

 1. Log in to your WordPress dashboard
 2. Under “Settings”, select “Google Analytics”
 3. Enable the “Ignore administrators” option
 4. Click “Save Changes”

  Where can I report any bugs and/or request additional features?

If you have spotted any bugs, or would like to request additional features from 
the plugin, please [file an issue](https://github.com/over-engineer/gasp/issues).

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Simple Plugin for Google Analytics» és programari de codi obert. La següent gent
ha col·laborat en aquesta extensió.

Col·laboradors

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

“Simple Plugin for Google Analytics” s’ha traduït a 6 configuracions regionals. 
Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/overengineer-gasp/contributors)
per les seves aportacions.

[Traduïu «Simple Plugin for Google Analytics» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/overengineer-gasp)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/overengineer-gasp/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/overengineer-gasp/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/overengineer-gasp/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/overengineer-gasp/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.1: September 3, 2019

 * Internationalize plugin.

#### 1.0: September 2, 2019

 * Initial version.

## Meta

 *  Versió **1.1.2**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **20+**
 *  Versió del WordPress ** 4.4 o posterior **
 *  Provada fins a **5.2.28**
 *  Versió del PHP ** 5.6.20 o posterior **
 *  Idiomes
 * [Albanian](https://sq.wordpress.org/plugins/overengineer-gasp/), [English (US)](https://wordpress.org/plugins/overengineer-gasp/),
   [German](https://de.wordpress.org/plugins/overengineer-gasp/), [Greek](https://el.wordpress.org/plugins/overengineer-gasp/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/overengineer-gasp/), [Spanish (Spain)](https://es.wordpress.org/plugins/overengineer-gasp/),
   i [Spanish (Venezuela)](https://ve.wordpress.org/plugins/overengineer-gasp/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/overengineer-gasp)
 * Etiquetes
 * [analytics](https://ca.wordpress.org/plugins/tags/analytics/)[cookiebot](https://ca.wordpress.org/plugins/tags/cookiebot/)
   [google](https://ca.wordpress.org/plugins/tags/google/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/overengineer-gasp/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[La vostra ressenya](https://wordpress.org/support/plugin/overengineer-gasp/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/overengineer-gasp/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/overengineer-gasp/)