jitsucom / jitsu

Jitsu is an open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days
https://jitsu.com
MIT License
4.04k stars 287 forks source link

Bug: setAnonymousId not working #1098

Closed jbmolle closed 5 months ago

jbmolle commented 5 months ago

Summary

The function setAnonymousId does not set an anonymousId for a user on production server.

System configuration and versions

Jitsu Next on K8s

I've looked at the issue #1060 and the commit fae7fde89e145c3d869ca44afd7ea8bed38a3cc0 but this is working only if opts.debug is true. Only the log should be in the if and not the whole code. if opts.debug is false then the function does nothing

vklimontovich commented 5 months ago

The new 1.9.0 version of NPM packages contains the fix