- πΊπΈUnited States dcam
Since both Drupal 7 and Universal Analytics are end-of-life I am closing this old support request. I'm sorry that you didn't receive a response.
I am trying to add a custom dimension to Google Analytics, but I noticed that the first 3 dimensions are used for Main Agency, Sub Agency and Code Version. I added those dimensions to my GA Property settings, as well as the custom dimension that I am trying to track. However, none of these items seem to be tracking in GA. The Google Analytics Debugger Chrome extension thinks that they should but, alas, no.
The code from your module returns the following in the debbuger:
Running command: ga("create", "UA-XXXXXXXX-X", "example.com", {name: "GSA_ENOR0", allowLinker: true, cookieExpires: 63072000})
Running command: ga("GSA_ENOR0.set", "anonymizeIp", true)
Running command: ga("GSA_ENOR0.set", "forceSSL", true)
Running command: ga("GSA_ENOR0.set", "dimension1", "[Main Agency]")
Running command: ga("GSA_ENOR0.set", "dimension2", "[Sub Agency]")
Running command: ga("GSA_ENOR0.set", "dimension3", "20150519 v2.01 - Universal Analytics")
Running command: ga("GSA_ENOR0.send", "pageview", "/")
I added code to push data for a custom dimension. The debugger output is as follows:
Running command: ga("create", "UA-XXXXXXXX-X")
Running command: ga("GSA_ENOR0.set", "dimension4", "[Custom Dimension Data]")
Running command: ga("GSA_ENOR0.send", "pageview", "/")
I am expecting to find results in GA under Behavior -> Site Content -> All Pages and then choosing the Secondary Dimension.
Any thoughts?
Closed: outdated
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Since both Drupal 7 and Universal Analytics are end-of-life I am closing this old support request. I'm sorry that you didn't receive a response.