- 1 Minute to read
- Print
- DarkLight
Step 3: Login of the user
- 1 Minute to read
- Print
- DarkLight
When a user logs in to your website, the following code will pass their user ID or email address from your website to Engage. Collecting this information is very important. It lets you personalize messages, match the user with existing contacts, push messages to unregistered visitors, and match your contact’s activity between Engage and Intelligence.
window.mappWebpushMessage = window.mappWebpushMessage || [];
window.mappWebpushMessage.push({
action: 'alias',
value: '<<unique user id or email address>>'
});
All of this provides the groundwork for meaningful communication.
The email or user ID must match the information in your Engage system. For example, if your Engage contact John McExample, has a user ID of 1234568910 and an email of j.mcexample@example.com, he will not be matched to his existing account if we are sent the ID: John.McExample.
Our Intelligence Web Push setup uses the customer ID parameter as our source. It might be that the Intelligence customer ID doesn’t contain an email address at all. Then, we can’t connect the users between Engage and Intelligence.