fix: transmitting selective data for analytics (#578)
This commit is contained in:
parent
2138ddf1f5
commit
06daf68753
8 changed files with 176 additions and 32 deletions
|
|
@ -38,7 +38,10 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
|
||||
jitsu
|
||||
.id({
|
||||
...user,
|
||||
id: user.id,
|
||||
email: user.email,
|
||||
first_name: user.first_name,
|
||||
last_name: user.last_name,
|
||||
})
|
||||
.then(() => {
|
||||
jitsu.track(eventName, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue