(duration, category, variable, label)
| 146 | } |
| 147 | |
| 148 | async trackTiming (duration, category, variable, label) { |
| 149 | try { |
| 150 | await this.initializationComplete |
| 151 | |
| 152 | await allSettled( |
| 153 | this.trackers.map(t => t.trackTiming(duration, category, variable, label)) |
| 154 | ) |
| 155 | } catch (e) { |
| 156 | this.log('trackTiming call failed', e) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | identifyAfterNextPageLoad () { |
| 161 | window.sessionStorage.setItem(SESSION_STORAGE_IDENTIFY_ON_NEXT_PAGE_LOAD, 'true') |
no test coverage detected