Sergey
Sergey

Reputation: 8091

How to know which pages division visited

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

Answers (1)

Michele Pisani
Michele Pisani

Reputation: 14197

Try to send it using directly this:

gtag('config', 'UA-XXXXXXXX-5', {'dimension2': '@Model.CurrentDivision.Name' });

Upvotes: 1

Related Questions