mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(GoogleAnalytics): Add campaign measurement tracking (#405)
This commit is contained in:
parent
7a84262fee
commit
cf3f0f63c3
@ -31,10 +31,11 @@ export class GoogleAnalytics {
|
||||
* Track a screen
|
||||
* https://developers.google.com/analytics/devguides/collection/analyticsjs/screens
|
||||
*
|
||||
* @param {string} title Screen title
|
||||
* @param {string} title Screen title
|
||||
* @param {string} campaignUrl Campaign url for measuring referrals
|
||||
*/
|
||||
@Cordova()
|
||||
static trackView(title: string): Promise<any> { return; }
|
||||
static trackView(title: string, campaignUrl?: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Track an event
|
||||
|
Loading…
Reference in New Issue
Block a user