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 Version History

« Previous Version 3 Next »

When a category page is viewed, a custom HTML GTM tag with a content like below is need to be triggered.

<script>
function OnVisilabsLoaded(){
    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();
}
</script>

- 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 Trigger when Page Loads

  • No labels