Execution of javascript right after signin / login

Hi, I’d like to execute a javascript code right after the user signed in ; if I put the javascript in the home page, it would be triggered everytime the user goes to this page ; there are some “after sign-in” microflows, but I can’t define a nanoflow… Any idea ? Cheers, F
2 answers

On the homepage add a dataview having as datasource an object that you retrieve using the after-login microflow.

If not after-login then return empty.

If after-login then return a dummy-object. In the dataview add an html-widget that executes the javascript.


Build a custom login page, handle the login process and you should be able to add a nanoflow with your javascript action in the call from the custom signin button.