Custom Events
Pulsate lets you track actions your users take in your app by recording custom events. Tracking these events gives you a better picture of the customer journey, and you can deliver targeted campaigns to users based on their actions.
Logging a single event
Section titled “Logging a single event”Call createEvent(_:) on the PULPulsateManager instance:
import PULPulsate
guard let manager = PULPulsateFactory.getDefaultInstance() else { return }manager.createEvent("didPressClothesButton")Once an event has been sent, every time a user completes that action it is recorded by Pulsate, and you can choose those events in the Targeting section when sending a campaign.
Logging multiple events
Section titled “Logging multiple events”To log several events at once, pass an array to createEvents(_:):
manager.createEvents(["didPressClothesButton", "didViewCart"])
