Reputation: 8091
I try to use the next code
gtag('set', {
'custom_map':
{
'dimension2': 'division'
}
});
gtag('config', 'UA-XXXXXXXX-5', { 'division': '@Model.CurrentDivision.Name' });
But when I go to the "Pages" report I can't select Division to see which pages the selected division visited. Is it possible to do so?
Upvotes: 0
Views: 28
Reputation: 14197
Try to send it using directly this:
gtag('config', 'UA-XXXXXXXX-5', {'dimension2': '@Model.CurrentDivision.Name' });
Upvotes: 1