Skip to content

Commit a109b32

Browse files
authored
Add GDPR Notice
1 parent cd286cc commit a109b32

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# PHP GA4 | PHP 8+
2-
3-
PHP Wrapper for Google Analytics 4 Server Side Tracking of events.
1+
PHP Wrapper for Google Analytics 4 with Server Side Tracking
42

53
[![PHP Version](https://img.shields.io/packagist/php-v/alexwestergaard/php-ga4?color=blue&style=for-the-badge)](https://www.php.net/releases/)
64
[![Release Size](https://img.shields.io/github/languages/code-size/alexwestergaard/php-ga4?color=blue&style=for-the-badge)](https://github.com/AlexWestergaard/php-ga4/releases/latest)
@@ -22,6 +20,12 @@ PHP Wrapper for Google Analytics 4 Server Side Tracking of events.
2220
**LEGACY WARNING**
2321
- `PHP 7` should only use `1.0.*` versions of this library
2422

23+
## GDPR Notice
24+
25+
*European Union have noticed that default setup of Google Analytics does not comply with GDPR as data is sent unrestricted to an american service possibly outside of Europe. This includes the use of 'GTAG.js' as JavaScript pushes the request from visitors device including IP-Address. Server Side Tracking, however, does only send information specified inside the body and of your server. Relying solely on Google Analytics 4 Events - that is not pushed through the GTAG.js script - can be scraped of GDPR-related information.*
26+
27+
- Source: Europe, GDPR, Schrems II
28+
2529
## Events
2630

2731
This is a list of prebuilt events as shown in the documentation.
@@ -222,4 +226,4 @@ class ExampleEvent extends Model\Event
222226
- [Measurement Protocol: User Properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties?client_type=gtag)
223227
- [Measurement Protocol: Events](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
224228
- [Reserved Event Names](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference?client_type=gtag#reserved_event_names)
225-
- [Measurement Protocol: Validation](https://developers.google.com/analytics/devguides/collection/protocol/ga4/validating-events?client_type=gtag)
229+
- [Measurement Protocol: Validation](https://developers.google.com/analytics/devguides/collection/protocol/ga4/validating-events?client_type=gtag)

0 commit comments

Comments
 (0)