Step 3: Login of the user
    • 1 Minute to read
    • Dark
      Light

    Step 3: Login of the user

    • Dark
      Light

    Article summary

    When a user logs in to your website, call the following code and pass the unique user id or email address.

    window.mappWebpushMessage = window.mappWebpushMessage || [];
    window.mappWebpushMessage.push({
    	action: 'alias',
    	value: '<<unique user id or email address>>'
    });

    This allows you, for example, to personalize the message.


    Was this article helpful?