Skip to content

Commit

Permalink
feat(GoogleAnalytics): Add campaign measurement tracking (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
kessiler authored and ihadeed committed Aug 9, 2016
1 parent 7a84262 commit cf3f0f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/googleanalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf3f0f6

Please sign in to comment.