Handling Unique URLs from Sona in a Minno Study

9 views
Skip to first unread message

Sapir Keinan

unread,
Feb 16, 2021, 2:06:26 AM2/16/21
to Minno.js
Hi all,

I want to use my university's Sona System with a two-part online study I built using Minno. Specifically, I want to use the SURVEY CODE Feature in Sona where I insert my study's URL using a specific template (e.g., http://www.myschool.edu/mysurvey.html?id=%SURVEY_CODE%) and the system replaces the  %SURVEY_CODE% with a unique ID for the participant, thus creating a personalized link for each participant (e.g., http://www.myschool.edu/mysurvey.html?id=30039). This way I can link the two parts of the study for each participant, and the sign-ups on Sona, so I can give credit to who completed it while maintaining their privacy. 

I'm unsure how to go about handling each URL from Minno's side. What code should I include in the mgr.js so I can log the participant's Sona ID from the URL they used?

Thank you for any help,
Sapir

Elad Zlotnick

unread,
Feb 17, 2021, 2:22:56 AM2/17/21
to Minno.js
Hi Sapir,

I'd look into using global.$url as documented here https://minnojs.github.io/minno-quest/0.3/basics/variables.html#url
In general, the manager stores url variables in global, then you can use them for whatever you like.

best,
Elad

Sapir Keinan

unread,
Feb 18, 2021, 7:44:21 AM2/18/21
to Minno.js
Thanks Elad!

ב-יום רביעי, 17 בפברואר 2021 בשעה 09:22:56 UTC+2, ez.im...@gmail.com כתב/ה:
Reply all
Reply to author
Forward
0 new messages