2
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-03-01 14:32:54 +08:00

feat(GoogleAnalytics): Add campaign measurement tracking ()

This commit is contained in:
Kessiler 2016-08-09 02:30:53 -03:00 committed by Ibrahim Hadeed
parent 7a84262fee
commit cf3f0f63c3

View File

@ -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