If you'd like to allow your survey respondents to save and return to their survey after they've started, we have various built-in methods to help: Save & Continue on the survey level, and Save and Continue built into Email Campaigns (visit our Save and Continue tutorial to learn more).
If these options don't work for you, using a URL variable called sguid is a great alternative! Using sguid you can create a unique link that can only be used once.
What is a sguid?
sguid is a URL Variable that can be appended to the end of a distribution link in order to:
- Uniquely identify responses
- Act as a save and continue option
- Protect against duplicate responses
SurveyGizmo uses sguids at the end of Email Campaign links (to provide duplicate protection, as well as, a save and continue option). You can employ sguid yourself by adding them to the end of your distribution links!
Here is an example survey link with sguid appended:
http://www.surveygizmo.com/s3/12345/example-survey?sguid=user112
In this example, notice:
- sguid should be written as sguid (all lowercase)
- The unique value, in this case, "user112," can be any mix of alphanumeric characters. Punctuation, symbols, or spaces are not permitted
- the unique value is case-sensitive so, user112 would be unique from USER1234
When using email campaigns, SurveyGizmo automatically generates unique sguid values for each contact in your email campaign. If you decide not to use our email campaigns, you will need to manually generate your sguids.
Note: sguids are also compatible with Private Domains!
When would I use sguid?
- Sending email invites through a 3rd party tool that has merge code capabilities. The emails could be constructed to append the user's unique Subscriber ID as the sguid value with the link.
- Managing a social network and providing feedback survey links to logged-in members that associate the data with their User ID and links them to a single response with the User ID as the unique value for sguid.
- Generating a unique code for a "pay-for" survey to track the individual and also to ensure that they cannot change their answers once it is completed.
- Using sguids to trace back who completed your survey. If you know who received what link, you can figure out who they are via the sguid (which will be captured by our system).
What should I avoid when using sguid?
- We discourage use of sguid in one-page surveys if you plan to use it for the purpose of allowing respondents to save and continue (as data is collected on page submission)
- Capital letters in the sguid variable (our system can capture them, but they are case sensitive)
- Please avoid sharing sguid links if you wish for multiple people to use the same link to create separate responses
Capturing sguids in your survey
Like any other URL Variable, our system will record the sguid value automatically.* However, depending on what you want to do with the values you receive, you may want to capture them in a Hidden Value when you create your survey.
URL variables such as sguid that are not captured in a Hidden Value will still report in Individual Responses, Standard Reports, and CSV/Excel Exports (if you indicate they should be included), but they will not be available for piping or prepopulating your survey. If you need to use sguid values for piping and pre-population, you'll need to capture them in a hidden value.
To learn how to add a hidden value to your survey, please visit Storing and Using Hidden Values.
*sguid will not be available in surveys set to anonymous as this is considered identifying information.
What will the respondents experience when using a sguid link?
When leaving and then returning to their survey respondents will return to that specific response with their previous answers already pre-set!
After completing the survey, survey takers who return to the sguid link will see the thank you page. In this way, the use of sguids acts as a form of duplicate protection.
Want to experience it yourself?
Copy and paste this link into your browser, and add whatever value you'd like to the end:
http://www.surveygizmo.com/s3/953572/SGUID?sguid=
(It should end up looking something like http://www.surveygizmo.com/s3/953572/SGUID?sguid=bob)
Make sure you use a unique value as your sguid. If you find that you reach a Thank You page with the value you've added to the string above, this means someone else has already entered it, so please try something else!
sguid alias: Use a different URL Variable as a SGUID
Using sguid_alias, you can convert your sguid to a URL variable of your choice. How? Easy! Just add this additional URL variable to your link:
&__sguid_alias=xxx
For example, let's say that the URL Variable you'd like to use as a sguid is 'customerid.' You would first add customerid as a URL variable and specify it's value. Next, replace xxx with customerid. You'll end up with the following format:
http://mysurveylink?customerid=123abc&__sguid_alias=customerid
This would be the equivalent of using: http://mysurveylink?sguid=123abc
Admin
— Dave Domagalski on 06/20/2019
@LPi: Thank you for your question!
It should be possible to use the squid alias feature with the contact ID variable. The format for this should be something like the below:
http://mysurveylink?contactid=123&__sguid_alias=contactid
In this scenario, the 'contactid' variable would be assigned as the unique (sguid) identifier to prevent duplicates.
If this is currently how you have this setup and are still not getting the expected results, please don’t hesitate to reach out to our Support team and we can take a closer look!
https://help.surveygizmo.com/help/surveygizmo-support-hours
David
Technical Writer
SurveyGizmo Customer Experience
— Ashley on 06/19/2019
Is there a way to use this with my Saleforce integration where I use a URL variable to pull in the Contact ID from Salesforce? I tried appending the "_sguid_alias=contactid" but that just added the syntax 'sguide_alias=contactid to the end of my hidden value contact id in the results and did not prevent a double entry...
Admin
— Bri Hillmer on 03/05/2018
@Tim: SGUID is still necessary and used in anonymous email campaigns it is just hidden from display in responses and data.
Bri Hillmer
Documentation Coordinator
SurveyGizmo Customer Experience Team
— Chris on 03/04/2018
Hi, if my survey is set to 'anonymous', does this make SGUIDs pointless? Are the SGUIDs hidden or discarded for anonymous surveys?
Admin
— Dave Domagalski on 01/27/2017
@Mvickers: The sguid is for a specific survey. As such, if you use sguid=123 for a customer in one of your surveys, you can use the same sguid=123 for the same customer in another survey.
As the surveys themselves have different survey IDs (and as a result, different base links), sguids are only unique within one survey rather than across surveys.
I hope this helps clarify!
David
Documentation Specialist/Survey Explorer
SurveyGizmo Customer Experience
— Mvickers on 01/27/2017
Hi, I want to use our customer id for the sguid .. I want to confirm that the sguid unique id is for a specific survey.. ie.. a different survey can use the same sguid (the same customer takes a different survey).. i hope this makes sense
thx
Mike
Admin
— Dave Domagalski on 04/25/2016
@Willem: Thank you for exploring SurveyGizmo Documentation!
One of the core functionalities of the sguid variable is that it only allows one submission per user. As such, a user with a specific user_id would not be able to submit multiple responses to one survey.
If your main concern is being able to identify your respondents via a url variable (while at the same time allowing them to submit multiple responses), you might consider defining your own variable (such as ?userid=1234) rather than using the sguid.
I hope this is helpful!
David Domagalski
Survey Explorer
SurveyGizmo Customer Support
— Willem on 04/25/2016
I am sending a survey with an sguid=?user_id; and as written above :" sguid is a URL Variable that can be appended to the end of a distribution link in order to:
Uniquely identify responses"
Is there a way however to let one user (one user_id) fill in the survey multiple times (on different days, different hours?) ??
Admin
— Dave Domagalski on 09/21/2015
@Mattijs: Thank you for your question!
Likely the most efficient process for getting a response with a specific sguid value, is to create an export in SurveyGizmo and add a filter to that export.
If you know the sguid value that you are looking for, you can apply a filter to your export that looks like the following:
if url variable: sguid is exactly equal to 1234
You can learn more about export filtering here:
http://help.surveygizmo.com/help/article/link/filter-export-data
Thanks again!
David
Survey Explorer
SurveyGizmo Customer Support
— Mattijs on 09/20/2015
I need to get the surveyresponse for one participant based on the sguid I provided when they started the survey. I can't find how to do that. I reckon you wouldn't suggest me to get ALL survey data and find the corresponding result from that dataset. This would be highly inefficient as the amount of responses grows over time.
Admin
— Bri Hillmer on 07/19/2015
@Johanna: Thanks for taking a look at our documentation! Unfortunately the only way to do so is to make a copy of the survey.
Bri
Documentation Coordinator/Survey Sorceress
SurveyGizmo Customer Support
— Johanna on 07/17/2015
Is there any possibility to delete the sguid's connected to a survey? Deleting the individual responses connected to the suid's didn't work...