To pass static values from a website into Google Analytics Custom Dimensions using the data layer, which of these must be set up?
Choose an answer
Tap an option to check your answer.
Correct answer: The data layer, A Data Layer variable, A Google Analytics tag with a Custom Dimension.
Why this is the answer
To pass static values, you need to first make the data available. The data layer (window.dataLayer) is the recommended method for passing data from your website to Tag Manager. Once the data is in the data layer, you need a Data Layer variable in Tag Manager to read that specific value. Finally, to send this value to Google Analytics, you must configure a Google Analytics tag (Universal Analytics or GA4 Event/Configuration) and define a Custom Dimension within that tag, mapping it to the Data Layer variable you created. A Custom Segment is a reporting feature within Google Analytics used for analyzing data, not for collecting or sending it.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed