Execution of javascript right after signin / login

1
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
asked
2 answers
3

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.

answered
2

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.

answered