Freshpaint React Native SDK Reference
track
Freshpaint.track("Purchase", {"price": 500});Argument
Type
Required
Description
identify
// Associate all future events sent from
// the library with the distinct_id ada.lovelace@example.com
Freshpaint.identify("ada.lovelace@example.com", {
"email": "ada.lovelace@example.com",
"name": "Ada Lovelace"
});Freshpaint.identify("ada.lovelace@example.com");Argument
Type
Required
Description
group
Argument
Type
Required
Description
reset
addEventProperties
Argument
Type
Required
Description
addInitialEventProperties
Argument
Type
Required
Description
removeEventProperty
Argument
Type
Required
Description
setOptOut
Argument
Type
Required
Description
init
Per-Call Destination Filtering
Overview
Usage
track()
identify()
group()
API Reference
Options Object
Property
Type
Description
Integrations Object
Key
Type
Description
Supported Destination Names
Common Patterns
Whitelist Pattern (Send only to specific destinations)
Blacklist Pattern (Send to all except specific destinations)
Notes
Comparison with Web SDK
Last updated
Was this helpful?