Introduction
When your survey requires a user to be identified, the submitter is required to log in prior to filling out your survey. When prompting a user to respond to a survey, it is recommended to streamline the process as much as possible to increase your submission rates. This extra step can be avoided for your submitters by emailing surveys using the magic link mail merge field.
Email a Magic Link for a Survey
You will create your authenticated survey links using the public, shareable URL of the survey and the magic link mail merge field in mass mailing.
- Navigate to the Surveys table in your event and copy the public URL of your survey from the Shareable link column.
Ex: https://sites.grenadine.co/sites/customers/en/feedback/surveys/example-survey - Next, create a mailing in the Mass Mailing table, configuring your email and recipients as needed.
- Now you will create the magic link for surveys. In the mailing Body field, insert the Person’s magic link mail merge field. The mail merge field appears in the Body as <%= get_magic_link(args[:person]) %> and logs the person into the Event Website. Using the public survey link saved in Step 1, append your public survey link as the value onto the magic link mail merge field with a ?rt= url parameter as follows:
<%= get_magic_link(args[:person]) %>?rt=https://sites.grenadine.co/sites/customers/en/feedback/surveys/example-survey
This will log the person into the Event Site and automatically redirect them to your survey with one click from their email. - Once you are satisfied with your email configurations and message, you are ready to send your email containing a direct log in link to your surveys!