pastvu icon indicating copy to clipboard operation
pastvu copied to clipboard

Migrate to Google Analytics 4

Open kabalin opened this issue 5 years ago • 2 comments

Current implementation of Google analytics is regarded as outdated, upgrade to gtag.js is required: https://developers.google.com/analytics/devguides/collection/upgrade

https://github.com/PastVu/pastvu/blob/cf30f6215f9d7ddcd0833362e0706a404ae14208/views/app.pug#L14

While working on this task it might be a good idea to supply analytics ID from configuration variable, rather having it hardcoded.

kabalin avatar Nov 22 '20 13:11 kabalin

can we implement Google Tag manager instead? so we can inject any other analytics e.g Yandex Metrica last time we tried something did not work correctly, so we reverted

anvaruk avatar Nov 22 '20 15:11 anvaruk

Universal Analytics will stop working on 01/07/23, so we have to migrate to Google Analytics 4 before this date.

kabalin avatar Sep 30 '22 16:09 kabalin