Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

If you don't have a specific welcome page after sign up on your site, please skip this page.

Use one the following javascript code when the Welcome Page After Login viewed:
<script type="text/javascript">
function OnVisilabsLoaded(){
	var VL = new Visilabs(); 
	VL.AddParameter("OM.exVisitorID","User ID");
	VL.AddParameter("OM.b_sgnp","1");
	VL.Collect();
	VL.SuggestActions();
}
</script>

You must define OnVisilabsLoaded() before calling it. You can do it by inserting the OnVisilabsLoaded() code before the Visilabs main script.

OnVisilabsLoaded function must be defined only once on every page. When a page has multiple event triggers, for example: Product Page View and Cart Update(Add to/Remove from Cart) event can be triggered on same page; 2 functions must be defined with different names. In this case, since the OnVisilabsLoaded name defined for Product Page View, function name for Cart Update(Add to/Remove from Cart) event must be something else and this function must be called when Cart Update(Add to/Remove from Cart) event triggers.

Example function definition and call for Cart Update(Add to/Remove from Cart) event:

definition: function rdAddtoCart() {
  ...
}
call: rdAddtoCart();

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.



Parent Topic: Events that Trigger on Page Loads

  • No labels