Generating Schema
Schemas for the GA4 reports, lists of dimensions, and lists of metrics can be generated automatically by using the Generate option in the Schema design step.
All dimension fields are represented in the generated schema as unbounded TEXT items.
The following table shows how GA4 metric field data types are mapped to the Design Server data types:
| GA4 metric data type | Design Server data type |
|---|---|
| CURRENCY, FEET, FLOAT, KILOMETERS | Number, Interpretation: Character, Presentation: Decimal |
| HOURS, METERS, MILES, MILLISECONDS | Number, Interpretation: Character, Presentation: Decimal |
| MINUTES, SECONDS, STANDARD | Number, Interpretation: Character, Presentation: Decimal |
| INTEGER | Number, Interpretation: Character, Presentation: Integer |
| All other | Text, Interpretation: Character |