It would be great if the module batched together statistics based on profile field. So, for example, if there was a profile field for Gender (which choices Male and Female), the module would create a statistic for both types of gender, so that when an administrator viewed Analytics, it would show aggregate statistics for both Male and Female choices.

Comments

budda’s picture

Version: 7.x-1.x-dev » 5.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Do you have any example JavaScript for how this works with Google Analytics? Would be happy to look at this if you could provide something to work from.

MattKelly’s picture

Status: Postponed (maintainer needs more info) » Active

Basically, I'm thinking you would just set an additional utm (if that's possible). So, for example, the modules is setting it like this (depending on configuration):
__utmSetVar('Nickname:Male:25');

The module would just set this, in addition to the above:
__utmSetVar('Male:25');

The idea is to get rid of nickname to make a more general variable that admins can follow. So, if I went to Analytics, I could view graphs consisting of only Males, aged 25. Does that make sense? Let me know if you have any questions.

Thanks,
Matt

budda’s picture

Status: Active » Closed (works as designed)

As far as I am aware, you cannot set multiple SetVar calls as they just overwrite them.
If you don't want the username in the segmentation, just don't select it in the settings.

If you know differently about the SetVar() call please re-open this issue with a link to the info.