Set User ID not working fine

Hi There,

I am using 3.14.0 Matomo version. I have followed the below link and edited the JS code to set the user id

I see it is not working as expected.

I see the <nb_users> is not updated, when I derive using the below url, I am trying to fetch the active users

Kindly help me with this