diff --git a/src/plugins/googleanalytics.ts b/src/plugins/googleanalytics.ts index a50d6c7452..d7939b16c9 100644 --- a/src/plugins/googleanalytics.ts +++ b/src/plugins/googleanalytics.ts @@ -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 { return; } + static trackView(title: string, campaignUrl?: string): Promise { return; } /** * Track an event