Our current Google Analytics implementation is not using gtag.js. We also need to update code to allow for our events to be sent to our tracker and if other trackers are added theirs needs to be send to them
My initial reaction to the code would be changing analytics.bable.js to use code more similar to
gtag('event', '{{ Event Name }}', { 'send_to': '{{ Tracker ID}}' });
We would also need to update ga.js to load gtag.js which is the current google analytics version
Our current Google Analytics implementation is not using
gtag.js
. We also need to update code to allow for our events to be sent to our tracker and if other trackers are added theirs needs to be send to themMy initial reaction to the code would be changing
analytics.bable.js
to use code more similar togtag('event', '{{ Event Name }}', { 'send_to': '{{ Tracker ID}}' });
We would also need to update
ga.js
to loadgtag.js
which is the current google analytics versionReference links: