getting User ID in div class elements | XM Community
Question

getting User ID in div class elements

  • 4 April 2024
  • 1 reply
  • 16 views

Badge

Hi!

Is there any way I can get the User ID from the top right (see screenshot. Current User logged in: NA PLATINUM TEST). using javascript from intercept? I want to store the value it gets when user log in there accounts in a embedded data whenever the intercept triggers and when the users answers the survey.

 

will this be possible?

 


1 reply

Userlevel 7
Badge +21

A web intercept is an iframe, it can’t access anything from main page unless it is sent to it explicitly. Maybe you add a querystring to your intercept url and then capture it in your survey.

Leave a Reply