Browsers being used by tenant users
-
Is there a way to check what browsers are being used by our tenant users? We want to see XYZ tenant, how many users are using E.G Chrome, Safari, ...
-
Thanks for the question.
FusionAuth allows you to create a custom theme. In this custom theme, you can add JavaScript (JS) that might offer you the analytics you are looking for. For instance, you could add Google Analytics or a similar JS engine to collect this metadata information.
Another option is that you can use webhooks to listen for login events (or related events). Most webhook events will include a field of:
event.info.userAgent [String] AVAILABLE SINCE 1.30.0 The user agent associated with the event.
Which might return data like
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"
You could collect and analyze this data to get a better understanding of how your users are interacting with FusionAuth.
Lastly, we do store some metadata on the refresh tokens (if you use our hosted login pages), which might be helpful for information-gathering purposes by Tenant.
"metaData": { "device": { "description": "Hooli Phone 8GB Work Phone", "lastAccessedAddress": "170.152.81.62", "lastAccessedInstant": 1487996477628, "name": "Richard's Hooli Phone", "type": "MOBILE" },
https://fusionauth.io/docs/v1/tech/apis/jwt#retrieve-refresh-tokens
Let us know if we can provide you with anything else.