Sign-in

When a user signs in to your web app, accessing their account and enjoying a personalized experience.

Event trigger

  • The user submitted the sign-in form.

  • Add this script to the submit function of the form ‘Sign-in'.

<script>
$("#LOGIN_FORM").submit(function(event) {
  var url = web_media_template.buildUrlMediaJson(
    "user", 
    "sign_in", 
    ["div_asm_qct_test_json_1"], 
    {
      extra: {
        customer_id: "36e4706566c276df8b66a39dfc06bdee",
        customer_name: "Barack obama",
        login_method: "Direct",
        login_uid: "12345",
        identify_time:"2020-12-11 15:30:20",
        identify_event: "Sign-In" 
     }
   }
 );
});
</script>

Last updated