Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Status Future consideration
Categories SDKs & Agent
Created by Guest
Created on Feb 20, 2023

Type check for userId in Javascript (Browser/Node) SDKs

The customer (Yuliyan Yordanov from Tesco Stores) suggested a failsafe solution to reject empty string userId upon activating/enabling an experiment/feature:

"A simple check for (typeof user_id ===’string’ && user_id.length ) would fix the issue from bucket side, and reject the decision, instead of meaningless data being generated and users being bucketed when they shouldn’t. Just a suggestion for a failsafe."

  • Optimizely
    Griffin Cox
    Reply
    |
    May 22, 2023

    Good idea! We'll consider this as an enhancement to our JS SDK