gitHub url for qualtrics

96 views
Skip to first unread message

B C

unread,
Nov 6, 2020, 11:11:44 PM11/6/20
to Minno.js
Hi all - Iam new to minno and JS programming. I have installed a minno script (BIAT) onto GitHub. Forgive me for perhaps a rather naive question, where do I get the gitHub  URL for qualtrics to activate the minno script? 

Cheers,

Brian 
Melbourne, Australia

Yoav Bar-Anan

unread,
Nov 7, 2020, 1:45:08 AM11/7/20
to B C, Minno.js
Hi Brian, 

Qulatrics needs a url to your BIAT script. If you want to use github to serve files, you can use github pages.

Did you read the post about the BIAT script?  I recommend first making sure you run our script from your Qualtrics study, following the instructions at the beginning of that post. The next thing to do would be to run exactly the same script (i.e., our script) from your own page. If you're using github, you can use github pages for that (that's the answer to your question, probably). Finally, change our script to the parameters you need. You can use github also to store the photos you might want to use in your BIAT.

Good luck,
Yoav

---
Yoav Bar-Anan
Associate Professor 
School of Psychological Sciences
Tel-Aviv University
Israel 69978



--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/65a92b9f-ba92-4960-b64e-84d2633605acn%40googlegroups.com.

B C

unread,
Nov 7, 2020, 6:16:52 PM11/7/20
to Yoav Bar-Anan, Minno.js
Thanks so much Yoav. The missing in my approach bit was github pages. I have never worked in githhub or webpage development. I will check out and perhaps consult one of our university IT people.

Thanks again!

Brian 

Wenxue Zheng

unread,
Feb 1, 2021, 5:04:02 AM2/1/21
to Minno.js
Hi All, 

I think I am having a similar problem... I have created the github page and get the link 


and then replace the link into the Qualtrics code as following: 

// Run your study (just set the correct URL)
        minnoJS(canvas, 'https://wenxue-zheng.github.io/IAT/')

But ends up having nothing when running it... Does anyone know why is this happening? 

Thanks a lot!

Best,
Wenxue

Yoav Bar-Anan

unread,
Feb 1, 2021, 5:13:06 AM2/1/21
to Wenxue Zheng, Minno.js
Hi Wenxue,

It is not clear to me: what file is at https://wenxue-zheng.github.io/IAT/ ?

It needs to be a *.js file, but I am not sure that's what you have there. If it is a js file, can you provide a link directly to it? (e.g., https://wenxue-zheng.github.io/IAT/iat.js).

All the best,
Yoav

Chao WANG

unread,
Jul 13, 2021, 12:45:22 PM7/13/21
to Minno.js
Dear all,

I have a similar problem. I have created my github pages and pasted the URL of the js file to the qualtrics, which is 

When I previewed my survey, it showed nothing but a blank page. 

Could anyone tell me why it happened? 

Best,
Chao

Yoav Bar-Anan

unread,
Jul 13, 2021, 2:33:22 PM7/13/21
to Chao WANG, Minno.js
Hi Chao, 

I just tried using the example from our url in a new survey and it loaded fine. 
Then I replaced our example with your file, and indeed it did not load. I used developer tools (F12) to look at the console to see error messages, and this was the error message: Uncaught SyntaxError: Unexpected token ':' in example0.js:110. 
Indeed in line 110 of your code you have this: {"mode":"full","isActive":false} 
I am not sure what this code is, but we don't have that in our example so perhaps if you delete that line, your BIAT task would load fine. 

I hope that helps,
Yoav


Reply all
Reply to author
Forward
0 new messages