()
| 209 | }, // one hour |
| 210 | |
| 211 | trackProductVisit () { |
| 212 | if (window.serverSession != null ? window.serverSession.amActually : undefined) { return } |
| 213 | const utils = require('core/utils') |
| 214 | const activity = `visit-${utils.isOzaria ? 'ozaria' : 'codecombat'}` |
| 215 | const last = me.get('activity')?.[activity]?.last |
| 216 | if (last && moment(last).isAfter(moment().subtract(12, 'hour'))) { return } |
| 217 | return me.trackActivity(activity) |
| 218 | }, |
| 219 | |
| 220 | setReferrerTracking () { |
| 221 | if (window.serverSession != null ? window.serverSession.amActually : undefined) { return } |
nothing calls this directly
no test coverage detected