()
| 103 | } |
| 104 | |
| 105 | async resetIdentity () { |
| 106 | try { |
| 107 | await this.initializationComplete |
| 108 | |
| 109 | await allSettled( |
| 110 | this.trackers.map(t => t.resetIdentity()) |
| 111 | ) |
| 112 | } catch (e) { |
| 113 | this.log('resetIdentity call failed', e) |
| 114 | } |
| 115 | |
| 116 | window.sessionStorage.removeItem(SESSION_STORAGE_IDENTIFIED_AT_SESSION_START_KEY) |
| 117 | } |
| 118 | |
| 119 | async trackPageView () { |
| 120 | try { |