To pass dynamic values from a website into Google Analytics Custom Metrics 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 Metric.
Why this is the answer
To pass dynamic values to Google Analytics Custom Metrics, you need three components. First, the data layer must be implemented on your website to store the dynamic values. Second, a Data Layer variable in GTM is required to read these values from the data layer. Finally, a Google Analytics tag must be configured with a Custom Metric to receive the value from the Data Layer variable and send it to Google Analytics. A Trigger is necessary to fire the Google Analytics tag but doesn't directly facilitate the passing of dynamic values into the Custom Metric itself.
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