...
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript"> function rdCartUpdate(){ var VL = new Visilabs(); VL.AddParameter("OM.pbid","Basket ID"); VL.AddParameter("OM.pb","Product Code1;Product Code2"); VL.AddParameter("OM.pu" ,"productProduct Quantity1;productProduct Quantity2") VL.AddParameter("OM.ppr" ,"Product Price1*Product Quantity1;Product Price2*Product Quantity2"); VL.Collect(); } rdCartUpdate(); </script> |
...
Note |
---|
In this method, quantity parameter takes the change in quantity. Examples for each case:
|
Note | ||
---|---|---|
| ||
- Do not use thousands separator when sending numbers. Wrong: 123.456,78 Correct: 123456,78 - This tag needs to be triggered after the event named visilabs_loaded. - Product attributes that are taken as parameters for this event needs to be available on dataLayer array. |
...
Parent Topic: Events Triggered with User Actions