Skip to content

reslear/capacitor-segment

 
 

Repository files navigation

capacitor-segment

A Capacitor plugin for Segment analytics

Install

npm install capacitor-segment
npx cap sync

API

initialize(...)

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

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


About

Segment SDK for Capacitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.2%
  • TypeScript 24.3%
  • Swift 22.3%
  • Ruby 5.6%
  • Objective-C 5.0%
  • JavaScript 2.6%