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

Method identify

app/core/Tracker2/index.js:93–103  ·  view source on GitHub ↗
(traits = {})

Source from the content-addressed store, hash-verified

91
92
93 async identify (traits = {}) {
94 try {
95 await this.initializationComplete
96
97 await allSettled(
98 this.trackers.map(t => t.identify(traits))
99 )
100 } catch (e) {
101 this.log('identify call failed', e)
102 }
103 }
104
105 async resetIdentity () {
106 try {

Callers 12

_initializeTrackerMethod · 0.95
onSubmitFormMethod · 0.45
successMethod · 0.45
mergeLoginMethod · 0.45
onSubmitFormMethod · 0.45
createAccountFunction · 0.45
updateAccountFunction · 0.45
onTrialRequestSubmitMethod · 0.45
setRoleMethod · 0.45
getLeadPriorityMethod · 0.45
createAccountFunction · 0.45
onLevelLoaderLoadedMethod · 0.45

Calls 1

logMethod · 0.80

Tested by

no test coverage detected