How to add user information with an intercept? | XM Community
Skip to main content
Question

How to add user information with an intercept?

  • 15 July 2022
  • 3 replies
  • 98 views

I need to capture as embedded data the email, name, phone and region in a website feedback. 
To access to this website usually users have to log in, id like to collect this data from the ones that log in. and for the ones that don't log in i'd like to leave this field empty.
I was trying hidding this elements in HTML and capture them as HTML on site but it is not working.
Any suggestions?

3 replies

Userlevel 7
Badge +18

I've had our IT team surface these as Javascript variables, and then I was able to capture them in the intercept.

Badge +1

@InessaG - Hi. Where did they place the javascript variables? Were they in the survey or on the actual intercept? My IT team is struggling to figure this out. Thank you.

Userlevel 7
Badge +18

They have to be available on the actual page. Another option is creating cookies on page load. Your intercept just reads what’s available when each page loads.

Leave a Reply