Versions Compared

Key

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

...

Code Block
languagejs
<script>
function OnVisilabsLoadedrdCategory(){
    var VL = new Visilabs();
    VL.AddParameter("OM.clist","Category ID");
    //VL.AddParameter("cat","Category ID"); //If you are using Recommendation feature uncomment this line.
    VL.Collect();
    VL.SuggestActions();
}
rdCategory();
</script>
Note

- 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.

...