How To: Insert Links
Open links for participants to another website from the mEMA App
!Note that this will work only with sites that have iframe enabled.
1 Start by creating the hyperlink:
- In brackets [ ]
- Type the website URL
- Starting with https://
- Important. The hyperlink may not work if it begins with http://
- Insert a Vertical Bar |
- found on the \ button above the "return" key on your keyboard.
- Type the text that will represent the link
- "click here" for example
Example: If the website we wanted to direct the participant to was mEMA.ilumivu.com and "Here" is our text, this is what the hyperlink should look like:
[https://mema.ilumivu.com|Here]
2 Enter this hyperlink into the long text of the question.
3 When the link is clicked in the app, a sub-window with the website will appear while the survey remains suspended behind it.
4 Simply click "Hide Page" across the top of the browser window to return to the survey in the mEMA App.
Direct participants to another website from the mEMA App
1 Start by creating the hyperlink:
- In brackets [ ]
- Type the shortcode 'jumplink'
- Type 'url=' followed by the website URL
- Starting with https://
- Important. The hyperlink may not work if it begins with http://
- Type 'text=' followed by the text that will represent the link
- "click here" for example
Additionally if you want to also append additional values to the URL you can type the following:
- Type 'prmkey=' followed by the additional query/interrogation you want to add to the link
- Type 'prmval=' followed by the additional value that you want to add to the paramter key
- you can set any value you want, or use one of the following tags that will pre-fill the value with participant information:
- 'mbl_cod' - to add the participant mobile code
- 'rsp_id' - to add the participant respondent id
- you can set any value you want, or use one of the following tags that will pre-fill the value with participant information:
Example: If the website we wanted to direct the participant to was mEMA.ilumivu.com and "Here" is our text, this is what the hyperlink should look like:
[jumplink url='https://ilumivu.com' text='Here']
If the website we wanted to direct the participant to was mEMA.ilumivu.com/?id=12345678 and "Here" is our text, this is what the hyperlink should look like:
[jumplink url='https://ilumivu.com' text='New ShortCode Here' prmkey='id' prmval='mbl_cod']
2 Enter this hyperlink into the long text of the question.
3 When the link is clicked in the app, the user will be taken out of the app and the default browser of the device will be opened taking the user to the specified URL, and with the additional parameters if any were added.
Notes for Jumplinks:
Links that redirect will not contain the parameters, because they are removed on redirect
Android only: Links will be lowercased
Hyperlinks do NOT work with the following question types:
- Matrix questions
- DropDown questions
- Range type questions