Skip to main content

I’m trying to track the events of users who are not authenticated with the help of amplitude. 

Clearly, the userId field is optional, and can be passed as undefined.

 

ampli.propertySearchPerformed(undefined, { props })

 

But, when I do so - I got runtime error - “Request missing required field”.

I’ve tried with ampli wrapper and track as well but got same issues.

I’m using nodeJs SDK.

 

How exactly, I can avoid passing user_id?

Be the first to reply!

Reply