otto-torino / django-baton

A cool, modern and responsive django admin application based on bootstrap 5 that brings AI to the Django admin - https://baton.sqrt64.it/
MIT License
876 stars 95 forks source link

Update Google Analytics to work with GA4, which doesn't use the view_id #247

Closed Nick-foote closed 8 months ago

Nick-foote commented 1 year ago

GA Universal Analytics property is being depreciated, which has the view_id required for Google Analytics in Baton.

"Universal Analytics properties will stop collecting data starting 1 July 2023. It’s recommended that you create a Google Analytics 4 property instead."

This means any new GA properties won't link with the Baton admin

abidibo commented 8 months ago

Yeah, the problem is the js library by google doesn't work anymore, and I haven't found a new version of it. I'm not willing to provide this functionality through API's, also because we are now using other analytics providers internally, so I'll probably remove the analytics package and the functionality itself.

abidibo commented 8 months ago

Analytics module was removed in v3.0.0