Initialization

To initialize automation you need to insert MBAutomation as a MBurger plugins, tipically automation is used in conjunction with the MBMessagesSwift and MBAudienceSwift 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

  • trackViewsAutomatically: If the automatic track of views is enabled or not

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

Last updated