Skip to content

Commit

Permalink
MixPanel: fix for non string userId
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Dec 6, 2023
1 parent 6034ebb commit c6dda52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/core-functions/src/functions/mixpanel-destination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ function trackEvent(ctx: FullContext, distinctId: string, eventType: string, eve
properties: {
ip: event.context?.ip || event.request_ip,
time: eventTimeSafeMs(event),
$device_id: event.anonymousId,
$device_id: `${event.anonymousId}`,
distinct_id: distinctId,
$insert_id: event.messageId + "-" + randomId(),
$user_id: event.userId ? event.userId : undefined,
$user_id: event.userId ? `${event.userId}` : undefined,
$browser: ctx.ua?.browser?.name,
$browser_version: ctx.ua?.browser?.version,
$os: ctx.ua?.os?.name,
Expand Down

1 comment on commit c6dda52

@vercel
Copy link

@vercel vercel bot commented on c6dda52 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

new-jitsu – ./webapps/console

ag.ru
logu.au
ozon.ru
sse.ere
erxes.io
baidu.dom
sambla.se
bobsec.com
sambla.com
agro4u.life
bluetick.ai
protontv.eu
t.quenti.io
t.saasmonk.app
use2.jitsu.com
www.kellen.top
*.dataspecc.com
app.bluetick.ai
caddy.jitsu.com
data.askloan.tw
enterticket.com
events.mitzu.io
jitsu.efeer.com
jitsu.ivve.tech
krestomatio.com
sevenbillion.co
xrt.webxr.tools
app.jotverse.com
caddy2.jitsu.com
data.mysitee.com
dev-t.democo.dev
events.quenti.io
utils.doogma.com
worthsystems.com
data.music2me.com
data.timeplus.com
event-gateway.com
https.bluetick.ai
ji.degulesider.dk
jitsu.ivve.health
metabase.erxes.io
t.clickncruise.hu
data.mycompany.com
data.usepolygon.io
demosite.jitsu.com
dev.driverdeck.app
new.enterticket.es
t-dev.papermark.io
uniquecafes.com.br
www.sidetrekai.com
colectha.voolu.shop
crm.myguestcare.com
data.sidetrekai.com
data.timeplus.cloud
localhost.jitsu.com
report.improvado.io
trk.myguestcare.com
www.sevenbillion.co
analytics.mtrsvc.com
data.embeddables.com
mercury.stagehub.com
store.sidetrekai.com
teslahenry.github.io
data.hogarlylabs.tech
event.clickncruise.hu
event.clickncruise.ro
test-domain.jitsu.com
teste.fazcomex.com.br
analytics.dev.knekt.io
loraboutiquedental.com
notion.twelftree.co.uk
dev-portal.zoopsign.com
event.tradejobsnz.co.nz
savvy-replay.jitsu.tech
data.analytics-smart.com
data.handelsregister.app
event.clickncruise.co.uk
jt.fairhopeweb.github.io
savvy-replay2.jitsu.tech
savvy-replay3.jitsu.tech
savvy-replay4.jitsu.tech
track.alquimiaweb.com.br
track.pressance-group.jp
track.uniquecafes.com.br
colectha.agenciavoolu.com
kolectha.agenciavoolu.com
lp.loraboutiquedental.com
stage-portal.zoopsign.com
new-jitsu-jitsu.vercel.app
lodercom-colectha.voolu.shop
warehouse1.trendstyle.com.au
d0.livingdesignsfurniture.com
jitsu.precisaosistemas.com.br
analytics.inspiresolutions.app
canvas.livingdesignsfurniture.com
analytics.dev.inspiresolutions.app
clm2jikrm00002v6r5l6niws3.d.jitsu.com
new-jitsu-git-newjitsu-jitsu.vercel.app
3000-rajaraodv-customerdemo-nmpsqwflswt.ws-us102.gitpod.io
new.jitsu.dev

Please sign in to comment.