Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Google Analytics 4 support #16

Open
8ctopus opened this issue Feb 24, 2023 · 9 comments
Open

Google Analytics 4 support #16

8ctopus opened this issue Feb 24, 2023 · 9 comments

Comments

@8ctopus
Copy link

8ctopus commented Feb 24, 2023

Hello!

I'm looking at different options to support server side analytics for Google Analytics 4 and landed on your package. In the readme you say that you support Google Analytics 4 but looking at the project's dependencies you are relying on https://github.com/theiconic/php-ga-measurement-protocol which doesn't support GA4, so I'm a bit confused. Could you please share some light?

@jussipvainionpaa
Copy link

As Universal Analytics is reaching it's EOL it would be essential to support GA4. Any update on this?

@jeffreyvanhees
Copy link
Contributor

@pascalbaljet Any update on this? My custom events are not received by GA4 while they did on Universal Analytics.

@8ctopus
Copy link
Author

8ctopus commented Jul 18, 2023

I'm collaborating on this project which uses measurement protocol for ga4 https://github.com/aawnu/php-ga4/ but there's no laravel implementation.

@superdejooo
Copy link

Hey guys! Any updates on this? Thanks!

@LukeTowers
Copy link

LukeTowers commented Dec 6, 2023

Looks like a fork of a fork supports GA4: https://github.com/accexs/laravel-ga4-event-tracking

@LukeTowers
Copy link

...and now I have forked that fork of a fork: https://github.com/devproca/laravel-ga4-event-tracking.

@superdejooo @8ctopus @jeffreyvanhees @jussipvainionpaa feel free to try out my fork and let me know if it works for you.

@8ctopus
Copy link
Author

8ctopus commented Dec 13, 2023

@LukeTowers I went for a completely new implementation replicating the gtag.js behavior in php. Why? Because measurement protocol is way too limited in what it can achieve. https://github.com/8ctopus/php-gtag

@LukeTowers
Copy link

@8ctopus cool! Is there any documentation for the gtag.js API?

@8ctopus
Copy link
Author

8ctopus commented Dec 14, 2023

@LukeTowers No, there is no official documentation from Google that I know of.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants