Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _gaq.push(['_setCustomVar',
- 1, // This custom var is set to slot #1. Required parameter.
- 'User Type', // The name of the custom variable. Required parameter.
- 'Member', // Sets the value of "User Type" to "Member" or "Visitor" depending on status. Required parameter.
- 2 // Sets the scope to session-level. Optional parameter.
- ]);
- ga('create', 'UA-XXXXX-Y', 'auto');
- ga('set', {
- dimension1: __isUserLoggedIn__,
- });
- ga('send', 'pageview');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement