[FEATURE/FIX] Move from analytics.js to gtag.js (Google Analitics V4)
davorpa opened this issue · comments
David Ordás commented
Hi
A new version of Google Analitics has released, V4, and scripting block has changed.
Documentation Guide: https://developers.google.com/analytics/devguides/collection/gtagjs/migration
It will be a good point to change this lines for new ones provided by guide.
Lines 37 to 46 in 7b7303a
Of course, mantaining backwards compatibility using some site property indicating the mode to load.
Are you agree?
David Ordás commented
At least in other themes was updated. For example, in caiman:
David Ordás commented
Modularized at #79