tfresource / tfresource-website

Travel Forecasting Resource - website reboot
https://tfresource.org
29 stars 54 forks source link

🐞 Bug: Google Analytics no longer configured #418

Closed gregmacfarlane closed 10 months ago

gregmacfarlane commented 11 months ago

Current Behavior

The google analytics setup we have used is no longer working. There is an error bar on the analytics page stating

This property has stopped processing data. To continue measuring website performance, set up a Google Analytics 4 (GA4) property.

Desired Behavior

We need to update the google analytics loggers to make sure the system is modernized

Issue Ready Checklist

billyc commented 10 months ago

@gregmacfarlane - I modified the code to support the new GA-4. It says it can take "up to 48 hours" -- I'll check back tomorrow to see if data collection has restarted.

Gotta love google deprecating/canceling everything... :-/

billyc commented 10 months ago

@gregmacfarlane it looks like it is active now. Data is flowing.

Safari blocks third party cookies by default and Firefox blocks the entire Analytics script. But Chrome users without ad blockers will still be sending page hit data.

gregmacfarlane commented 10 months ago

Screenshot 2024-01-13 at 3 57 44 PM Looks fixed to me!