JavaScript

Method Description

Implemented in tracker with an async call that accepts product category ID as a parameter. Operation name and input fields can be set up via Maestra framework.

maestra('async', {
  operation: '<operation name>',
  data: {
    productCategory: {
      ids: {
        <ID>: '<category ID value>'
      }
    }
  }
});

Sample Operations

maestra('async', {
  operation: 'ViewCategory',
  data: {
    productCategory: {
      ids: {
        bitrixId: '364'
      }
    }
  }
});