How to track a unique identifier when respondent takes survey? (not using personal links) | XM Community
Skip to main content

I'm a student developer and new to Qualtrics.
My client needs logged-in users (on client's website) to take multiple surveys across time. Each time a user takes a survey, the responses need to be linked to that user on client's database.
Is there some way to send data (specifically the respondent's account ID) from the client's website when the user clicks a link to take the survey, or takes the survey embedded on client's website, so that this can be recorded with the survey response?
Thanks!

mweathers
You need to ask your website developer where the value of account ID is being stored. Once you are aware of it you need to write a JavaScript to pull that variable and push it in an embedded data. If needed you can create a contact within Directory as well by linking intercept with XM Directory.
If you're using any data layers like google data layer. Qualtrics does have an OOTB integration available to fetch the values. You might be interested in following support pages:


Hope it helps!


Deepak,
Thank you for your response. I am one of the web developers 🙂 this is a new project starting from the ground up. The account ID will be stored in the client's database.
From what I understand, I will need to send the account ID value in the survey URL as embedded data - is that correct? Do you know if there is a way to send embedded data more securely?


mweathers
You do not need to pass it in survey url. If it's possible to capture the account Id after respondent logs in. You can use javascript to push it directly within embedded data. You need to choose value from javascript and add same embedded data in survey flow.
Refer:https://www.qualtrics.com/support/website-app-feedback/intercepts-tab/edit-intercept-section/action-set-options/embedded-data-website-app-feedback/#EmbeddedDataValueTypes

Hope it helps!


Leave a Reply