To pass static values from a website into Google Analytics Custom Dimensions using the data layer, which of these must be set up?

Here is the answer to this question: To pass static values from a website into Google Analytics Custom Dimensions using the data layer, which of these must be set up?

  • A Custom Segment
  • The data layer
  • A Data Layer variable
  • A Google Analytics tag with a Custom Dimension