MCPcopy Create free account
hub / github.com/codecombat/codecombat / resetIdentity

Method resetIdentity

app/core/Tracker2/index.js:105–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers 1

logoutMethod · 0.45

Calls 1

logMethod · 0.80

Tested by

no test coverage detected