mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-08 03:19:22 +08:00
feat(google-analytics): add missing functions
This commit is contained in:
parent
b4158f4f85
commit
689bfd9568
@ -107,13 +107,34 @@ export class GoogleAnalytics {
|
|||||||
* https://developers.google.com/analytics/devguides/collection/analyticsjs/user-id
|
* https://developers.google.com/analytics/devguides/collection/analyticsjs/user-id
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova({sync: true})
|
||||||
static setUserId(id: string): Promise<any> { return; }
|
static setUserId(id: string): void { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the app version
|
||||||
|
* @param appVersion
|
||||||
|
*/
|
||||||
|
@Cordova({sync: true})
|
||||||
|
static setAppVersion(appVersion: string): void { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set a anonymize Ip address
|
||||||
|
* @param anonymize
|
||||||
|
*/
|
||||||
|
@Cordova({sync: true})
|
||||||
|
static setAnonymizeIp(anonymize: boolean): void { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enabling Advertising Features in Google Analytics allows you to take advantage of Remarketing, Demographics & Interests reports, and more
|
||||||
|
* @param allow
|
||||||
|
*/
|
||||||
|
@Cordova({sync: true})
|
||||||
|
static setAllowIDFACollection(allow: boolean): void { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable verbose logging
|
* Enable verbose logging
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova({sync: true})
|
||||||
static debugMode(): Promise<any> { return; }
|
static debugMode(): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user