Successful Login

If your site always redirects user the same page(ex. welcome page) after login, do not use this method. Use this method instead: Welcome Page After Login View

Use the following javascript code when a successful login event occurs:

<script type="text/javascript">
	function rdLogin() {
		var VL = new Visilabs();
		VL.AddParameter("OM.exVisitorID", "User ID");
		VL.AddParameter("OM.b_login", "1");
		VL.Collect();
	}
	rdLogin();
</script>

Important Notes

- Do not forget to use a universaID/customerID as the userID which you also share with other parties such as your ESP. If you are using a GSM number or an email address instead of a userID please send that info as the userID. Make sure that you share the same ID with all other parties.

- If your mobile app or website allows/uses Facebook Login please send the data you receive from Facebook through this method.



Parent Topic: Events Trigger on User Actions

Copyright 2020 Related Digital