Initialization

To initialize automation you need to insert MBAutomation as an MBurger plugin, tipically automation is used in conjunction with the MBMessages and MBAudience plugins.

MBManager.shared.plugins = [
  MBAutomation(),
  ... other plugins
];

MBAutomation can bbe initialized with 3 optional parameters:

  • trackingEnabled: If the tracking is enabled or not, setting this to false all the tracking will be disabled

  • eventsTimerTime: The frequency used to send events and views to MBurger

Last updated