Changing Logged In User Role for Logged Out Users
-
In the Plugin’s Basic Data > Visitor settings,
there is an option to track the Logged in User Role.When a User is not logged in, it sets the variable in the dataLayer as “visitorType”:”visitor-logged-out”
Is there any way to change the variable for the user role to undefined if a user is not logged in rather than visitor-logged-out? Not a string of undefined, simply have the variable value undefined, as undefined wont overwrite the previous value sent for that variable.
I want to set a custom dimension to user scope so as to filter out Administrator, Editor, Author whether they are logged in or out, and having the user role overwritten when they logged out prevents the ability to filter out their site activity on the front end of the site once they log out. I cant filter via visitor-logged-out as it applies to all site visitors when not logged in.
It would also be helpful in filtering out site staff that are on dynamic IPsLogged in/out status can already be checked via the Plugin’s Basic Data > Visitor settings Logged in status option.
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Changing Logged In User Role for Logged Out Users’ is closed to new replies.