Skip to content

Commit

Permalink
Correct tracking events, with generic events
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Bridger committed Jan 16, 2017
1 parent 45fa249 commit 7e63319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kano-auth/kano-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h2>Thanks!</h2>
this.$.pager.selected = viewName;

let cap = viewName.charAt(0).toUpperCase() + viewName.slice(1);
// this.dispatchTrackingEvent("authModal" + cap + "ViewLoaded");
this.fire('track-event', 'authModal' + cap + 'ViewLoaded');
},
open (defaultPage) {
defaultPage = defaultPage || 'login';
Expand All @@ -330,7 +330,7 @@ <h2>Thanks!</h2>
this.$.dialog.close();
},
_skip () {
this.dispatchTrackingEvent('authModalGrownupsViewSkipClicked');
this.fire('track-event', 'authModalGrownupsViewSkipClicked');
this._cancel();
},
reset () {
Expand Down

0 comments on commit 7e63319

Please sign in to comment.