I am trying to upgrade a site's Google Analytics (GA) from the previous ga.js API to the newer analytics.js API. I have an issue with the conversion of Custom Variables into Custom Dimensions.
Previously, custom variables had their scope set to "page". However, when I try to create a custom dimension there is no "page" scope. Is there a Dimension scope value equivalent to the "page" scope used in custom variables from the old api? There is nothing in the upgrade ga.js to analytics.js documentation which explains how these previous scope values map to the new ones.
ga.js api custom variable scope can have one of these values:
In the new analytics.js api the scope value for a dimension can be one of the following: