mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Ensure sendMBOnce only sends event once (#5481)
GitOrigin-RevId: 360ae263213b4fd36aa33d41c6d54ef91f7f54fa
This commit is contained in:
@@ -33,7 +33,7 @@ export function sendMB(key, segmentation = {}) {
|
||||
export function sendMBOnce(key, segmentation = {}) {
|
||||
if (alreadySent(key)) return
|
||||
sendMB(key, segmentation)
|
||||
markAsSent()
|
||||
markAsSent(key)
|
||||
}
|
||||
|
||||
export function sendMBSampled(key, body = {}, rate = 0.01) {
|
||||
|
||||
Reference in New Issue
Block a user