Skip to content

Commit

Permalink
feat: Add time to CMP UI to commercial metrics (#434)
Browse files Browse the repository at this point in the history
* add time to UI to commercial metrics

discussed with @kenoir
  • Loading branch information
mxdvl authored Dec 1, 2021
1 parent 10f0e06 commit 95948af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EventTimer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ export class EventTimer {
private _events: Event[];
private static _externallyDefinedEventNames = [
'cmp-tcfv2-init',
'cmp-tcfv2-ui-displayed',
'cmp-tcfv2-got-consent',
'cmp-ccpa-init',
'cmp-ccpa-ui-displayed',
'cmp-ccpa-got-consent',
'cmp-aus-init',
'cmp-aus-ui-displayed',
'cmp-aus-got-consent',
];
startTS: DOMHighResTimeStamp;
Expand Down

0 comments on commit 95948af

Please sign in to comment.