0.3.0 • Published 12 months ago

@astrocreep/capacitor-gameanalytics v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@astrocreep/capacitor-gameanalytics

capacitor support for gameanalytics.com

Install

npm install @astrocreep/capacitor-gameanalytics
npx cap sync

API

initialize(...)

initialize(options: GAInitOptions) => Promise<void>
ParamType
optionsGAInitOptions

addBusinessEvent(...)

addBusinessEvent(options: GABusinessEventOptions) => Promise<void>
ParamType
optionsGABusinessEventOptions

addDesignEvent(...)

addDesignEvent(options: GADesignEventOptions) => Promise<void>
ParamType
optionsGADesignEventOptions

Interfaces

GAInitOptions

PropType
debugboolean
buildstring
keystring
secretstring

GABusinessEventOptions

PropType
currencystring
amountnumber
itemTypestring
itemIdstring
cartTypestring
receiptstring

GADesignEventOptions

PropType
idstring
valuenumber
customFieldsRecord<string, string | number | boolean>

Type Aliases

Record

Construct a type with a set of properties K of type T

{

}

0.3.0

12 months ago

0.2.0

12 months ago