Analytics documentation describes the usage of custom dimensions in a clear way: first, define a custom map with a config command and then pass values as parameters while sending events: // Configures custom dimension<Index> to use the custom parameter
// 'dimension_name' for 'GA_MEASUREMENT_ID', where <Index> is a number
// representing the index…