build()
you can call different methods to customize the behavior of the Freshpaint SDK. Here are some of the supported customization options:track
call can be used to manually send data to your destinations.String
Properties
identify
call attaches an identity or user properties to the user.String
Traits
screen
call triggers a screen event. This is the mobile equivalent of a pageview event. Some destinations will treat this event specially.String
Properties
String
Properties
alias
call can be used to specify one user id as an alias for another user id. Calling this will alias the current user's identity to the new provided identity. This is needed to implement identify for some destinations, specifically Mixpanel and Kissmetrics.String