cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
qclassroomdemo
New Member

Is there a way to add a Javascript to the header or footer of my Canvas instance?

I am looking use a third-party website feedback tool. The requirements to launch is to place a javascript into the HTML of the header or footer of the page.

0 Kudos
5 Replies
James
Community Champion

dschuma
Community Participant

Melanie,

Be sure to identify the risk the JS code can create.  Global JS will load on every Canvas page in that account.  In our circumstance, BGSU is supporting two vendors in our global JS file.  We have a risk that one or both of the services may be down and creating a performance issue for our Canvas instances.  It also may be a risk for a single user who is unable to connect to the sites.  This is just one example of the risk that can be introduced using this feature.  I'm not trying to dissuade you, but just wanted you to be informed.

0 Kudos
Chris_Hofer
Community Coach
Community Coach

Hello there,  @qclassroomdemo ...

I am reviewing some of the older questions here in the Canvas Community, and I stumbled upon your question.  I wanted to check in with you because I noticed that we have not heard back from you since you first posted your question on March 28, 2019.  I see that  @James  and dschuma replied to you soon after your original posting.  Have you had an opportunity to review their responses?  If so, did either of them help to answer your question?  Or, are you still looking for some help from Community members?  If you feel that either James or Donald has helped to answer your question, please feel free to click on the "Mark Correct" button next to either of those replies.  However, if you are still looking for some help from Community members, please let us know that as well by posting a note below letting us know how we might be able to help.  For the time being, I am going to mark your question as "Assumed Answered" because we have not heard back from you in over seven months and because there hasn't been any new activity in this topic for that same amount of time.  However, that won't prevent you or others from posting additional questions and/or comments below that are related to this topic.  I hope that's okay with you, Melanie.  Looking forward to hearing back from you soon!

0 Kudos

Hi, just want to follow up on this question. Where can I find where to add the JS script in the header or footer again? What I am trying to do is to create the Qualtrics website feedback intercepts (feedback bar, etc) to allow the students to provide their feedback during their learning journey, and preferably organise this across all the courses. 

If it is unclear, please have a look at this Qualtrics support page around adding website feedback intercept: https://www.qualtrics.com/support/website-app-feedback/getting-started-with-website-app-feedback/web... 

0 Kudos

Hi @qclassroomdemo ...

As @James had suggested back in 2019, this would be added to your custom JavaScript and/or CSS global files following the Guide that he linked to.  The new location of this Guide is at: How do I upload custom JavaScript and CSS files to an account?.  You would need to have administrator rights for your school's Canvas account in order to upload custom JS and CSS files for your Canvas environment.  Also, it is best to first test out any custom code you upload by using your school's Canvas "test" environment before applying things to your school's "production" Canvas environment (the environment you normally sign in to).

What is the Canvas test environment?

How do I access the Canvas test environment as an admin?

Also, please review the comment from @dschuma and also the information in the blue boxes at the top of the Guides I've linked for you.

Hope this helps a bit.