DBA
Well-known member
DBA submitted a new resource:
Track Usergroups in Google Analytics (version 1.0) - Track your Usergroups in Google Analytics
Read more about this resource...
Track Usergroups in Google Analytics (version 1.0) - Track your Usergroups in Google Analytics
Track your usergroups via the Google Analytics Custom Variables and Advanced Segments.
Replace the code in your google_analytics template with the following.
Code:<xen:if is="{$xenOptions.googleAnalyticsWebPropertyId}"><script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '{$xenOptions.googleAnalyticsWebPropertyId}']); _gaq.push(['_setCustomVar', 1, 'Usergroup', <xen:if is="{xen:helper ismemberof, $visitor, 1}">...
Read more about this resource...