enewe101 / digidemo

digital democracy engine
1 stars 0 forks source link

Anylitics: track if user logged in #66

Closed enewe101 closed 9 years ago

enewe101 commented 9 years ago

Currently there's no way to distinguish logged in users from not logged in users in our analytics. This can be added to the page view event by adding a flag to the url sent.

enewe101 commented 9 years ago

Page view hits now indicate in the page attribute whether the user was logged in, based on the presence of 'auth#' tacked onto the beginning of the url's pathname. I think this will take a day or two to actually show up in analytics.