Wondering what the right syntax would be to use multiple custom dimensions for using 'gtag' code. Here's what I have and I can only see the dimension1 working.
gtag('config', 'UA-xxxxx', {
'custom_map': {'dimension1': 'year', 'dimension2': 'id', 'dimension3': 'presentation_title'}
});
// Sends the custom dimension to Google Analytics.
gtag('event', 'Video', {
'event_category': 'Play',
'event_label': 'url',
'year': 'year',
'id': 'video-id',
'presentation_title': 'blah blah'
});
How do I get the dimension1 -3 working and show up in my Google Analyticis? Thanks!