I have a website with a front-end I'm not allowed to touch. It has both Google Analytic's analytics.js and Google Tag Manager separately installed. Google Analytics is not installed via Google Tag Manager. I have admin access to both accounts. I'm trying to track custom dimensions in GA via GTM (outbound links, scroll depth, etc, etc, etc). I know how to do this when you install GA via GTM, but not otherwise. (I'm also trying to not mess up analytics numbers via installing GA twice by adding it again in GTM.) Any help would be appreciated, thanks.
1 Answer
Because you have anlaytics.js on the page already, in GTM you won't need the pageview related GA tags. Instead, you would focus on the tags for GA event tracking and you can include the custom dimensions in those tags. This way you won't get double pageviews.
1 Comment
Eike Pierstorff
Since GTM uses randomly named trackers they would not pick up the configuration from the page code (if any), so one would have to take care of that (replicate configuration in a GTM settings variable, or set the name to the name used in the page). Also hit based dimensions would be tied to the event, so one would be unable to query them together with pageview data, which might or might not be a problem for the eventual reporting.