mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
7e11e8a62d
[web] add event for Writefull extension and Overleaf integration enabled GitOrigin-RevId: d8e65c2f5a868a3221e2dc1765d8ea9986ceff43
10 lines
305 B
JavaScript
10 lines
305 B
JavaScript
import {
|
|
isSmallDevice,
|
|
sendMBOncePerPageLoad,
|
|
} from '@/infrastructure/event-tracking'
|
|
import getMeta from '@/utils/meta'
|
|
|
|
export function recordDocumentFirstChangeEvent() {
|
|
const projectId = getMeta('ol-project_id')
|
|
sendMBOncePerPageLoad('document-first-change', { projectId, isSmallDevice })
|
|
}
|