01 May 2023
05:04 PM
- last edited on
08 May 2023
05:39 AM
by
MaciejNeumann
In our web application, the user authentication is done by a 3rd party OIDC login server that we don't have full control over. At the end of the login process, there is a redirect back to the monitored app like this: https://myapp.com/#id_token=abc123xyz .
I'd like to create a custom metric to count logins, based on the presence of #id_token in the URL. Since it's a bookmark link, it's in the action details but it doesn't go to the webserver, only visible from the client side. I couldn't find an obvious way to filter based on the presence of a fragment name?
I added it as a query string property, but it's not getting captured. If I can't track it coming back in from the login server, is there any easy way to track it on the way out (redirect to outbound link to login.xyz.com)?
Featured Posts