Custom event

Trigger the following scriptlet to capture a custom event information.

window._mp.safeExecute('evCustomEvent', function() {
   eedl('<PLEASE PROVIDE THE CUSTOME EVENT NAME HERE>', {
      // Please provide the event json payload here
   });
})();

Example:

window._mp.safeExecute('evCustomEvent', function() {
   eedl('calculator_start', {
      calculator_type: 'protien_calculator'
   });
})();

Last updated