All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
uninstall.php
to delete options when plugin is uninstalled.
3.0.1 - 2023-30-01
- Prevent SecurityErrors when access to
window.localStorage
is not allowed.
3.0.0 - 2022-05-09
- Drop browser support for IE 11.
- Add extra setting for measurement ID of a Google Analytics 4 property for dual tagging support. The previous setting now only supports a Universal Analytics property (IDs starting with
UA-
).
2.4.0 - 2021-04-22
- Resource hint to prefetch DNS for www.google-analytics.com which is used by the global site tag (gtag.js).
2.3.0 - 2020-11-17
- Support for Google Analytics 4 properties.
2.2.1 - 2020-09-10
- Prevent duplicate
async
attributes added by other plugins.
- Action link in the Plugins list table to settings page.
- Allow to filter the additional config info passed to the config command via
required_ga.additional_config_info
.
- Support for disabling Analytics for opted-out users.
- Layer for event tracking via HTML data attributes.
- Use correct API URL for translations via Traduttore.
- Support for translations with Traduttore via translate.required.com.
- Start using global site tag (gtag.js) instead of analytics.js (Universal Analytics). See migration document before using 2.0.0.
1.2.0 - 2018-06-12
- Remove the
'no-version'
script data support. Instead passnull
as version to prevent adding a version argument.
1.1.0 - 2018-06-11
- Fix fatal error when used in a project setup.
- Rename package to
required-google-analytics
.
1.0.0 - 2018-06-11
- Enqueue Google's analytics.js (Universal Analytics) with
async
and DNS prefetching.