Skip to content

Commit

Permalink
feat(google-analytics): new interval period parameter
Browse files Browse the repository at this point in the history
closes #816
  • Loading branch information
ihadeed committed Nov 23, 2016
1 parent 24184a5 commit abd910d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/googleanalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ export class GoogleAnalytics {
* In your 'deviceready' handler, set up your Analytics tracker.
* https://developers.google.com/analytics/devguides/collection/analyticsjs/
* @param {string} id Your Google Analytics Mobile App property
* @param {number} interval Optional dispatch period in seconds. Defaults to 30.
* @return {Promise<any>}
*/
@Cordova()
static startTrackerWithId(id: string): Promise<any> { return; }
static startTrackerWithId(id: string, interval?: number): Promise<any> { return; }

/**
* Enabling Advertising Features in Google Analytics allows you to take advantage of Remarketing, Demographics & Interests reports, and more
Expand Down

0 comments on commit abd910d

Please sign in to comment.