Problem statement
We are trying to send UTM parameters in order to identify where ours users are coming from.
Can you share some best practices on how to achieve this?
Solution
You can pass the custom parameters in the /authorize request, e.g.
.../authorize?client_id=123&**utm=hello+user** &...
You can then get those params using the Actions with event.request.query:
console.log(event.request);
Then using the Action, you can store these values in the user’s app_metadata.
Some additional articles for reference: