@felix-health/capacitor-segment
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

capacitor-segment

Originally forked from: https://github.com/joinflux/capacitor-segment

A Capacitor plugin for Segment analytics

Install

npm install @FelixHealth/capacitor-segment

and

npx cap sync

API

initialize(...)

initialize(options: InitializeOptions) => any
Param Type
options { key: string; trackLifecycle?: boolean; recordScreenViews?: boolean; }

Returns: any


identify(...)

identify(options: IdentifyOptions) => any
Param Type
options Identity & { traits?: any; options?: any; }

Returns: any


track(...)

track(options: TrackOptions) => any
Param Type
options { eventName: string; properties: any; }

Returns: any


page(...)

page(options: PageOptions) => any
Param Type
options { pathname: string; }

Returns: any


reset()

reset() => any

Returns: any


License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i @felix-health/capacitor-segment

Weekly Downloads

43

Version

1.0.0

License

MIT

Unpacked Size

44.9 kB

Total Files

26

Last publish

Collaborators

  • felix-eddiemachete
  • ismael-felix
  • simon.cho.felix
  • peterleilei
  • karen1au
  • brittanyfreitas
  • collinh-felix
  • felix-daved
  • nivivon
  • rachel.stpierre
  • schhor
  • yshiawallace
  • walt-fx
  • hlavoie
  • carsonfelix