ReDem only uses the last 300
MOUSE_MOVEMENT and last 300 MOUSE_CLICK events per BAS data point. Cap client-side tracking at the same limits — storing more only inflates browser session data without improving scoring.1
Implementing a JavaScript Tracker for User Behavior Data
Copy the simple JavaScript tracker code (attached) into your survey platform’s frontend codebase or UI. This ensures that, whenever respondent complete surveys, it tracks input behavior data for open-ended questions directly from their individual browsers.
2
Integrate ReDem API into your workflow
We are using this script to persist this input_behavior in the browser until you are ready to call the API
3
Use API response to trigger your next step
When you are making the API call to ReDem use this structure from the session storage and make sure to connect QUESTION_ID during the integration process

