Trigger

Using trigger to set up segments and workflows

Introduction

By using trigger you get an easy way of sending push notifications to the users of the app.

Note: The trigger functionality isn’t free and you will be charged for using the service.

Integration name: startiapp.Trigger

Methods

trackEvent

trackEvent(eventId: string, customProperties?: Record<string, string>): Promise<void>;

Call this method to add a custom event to track. Note: event and custom properties are case-sensitive. Warning: using a comma (,) as a decimal point will cause an error. Please use a period (.) as the decimal point to ensure proper functionality.

trackUserProperty

trackUserProperty(key: string, value: string): Promise<void>;

Call this method to add a property to the user. The name of the property should be used as the key, and the value should be the desired value of the property. Note: Properties are case-sensitive. Warning: Using a comma (,) as a decimal point will cause an error. Please use a period (.) as the decimal point to ensure proper functionality.