Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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:

Code Block
languagexml
linenumberstrue
<script type="text/javascript">
	function vlLoginrdLogin() {
		var VL = new Visilabs();
		VL.AddParameter("OM.exVisitorID", "User ID");
		VL.AddParameter("OM.b_login", "1");
		VL.Collect();
	}
vlLogin	rdLogin();
</script>
Note
titleImportant 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.

...