You need to provide anonymous or pseudonymous user identifiers as
userToken when tracking Insights events. To identify users consistently, you should provide your own user IDs.
search-insights library can also generate anonymous user IDs that it stores in a cookie.
If you’d like to store cookies by setting the
useCookie:true, you will need to obtain user consent before storing cookies on their device.