What Javascript files are already available on the SG servers.


Curious to know what JS script files are available already for use on SG servers. In particular, was curious if using a form of IframeResizer that could be used when a RequireJS is being used on our hosting site, and wants a path definition. This way I could skip adding the script in each survey I intend to make a responsive height, and simply refer to it as the path needed in those cases, striking two birds in that case. If not currently using this, that’s fine, but also curious if there were some files that could be a path to prevent unnecessary script duplication. Thanks.



Community Admin answered

     Hi Ramon,

    I have flagged your posting for the attention of SurveyGizmo Support.  I don’t think that any of your fellow SurveyGizmo users who frequent this forum will be able to give you a good answer to your question.

    Jim W (Moderator) answered

      @Ramon :

      The JS library you mentioned is not included in surveys. We recommend including libraries like this in the Custom Head field of the theme. To do so go to the Style tab of the survey and scroll to the bottom of the survey preview and click CSS/HTML Editor and navigate the the Custom Head. Once you’ve done so you can save the theme so it is easier to implement on other surveys. Here is our tutorial on saving a custom theme:


      I hope this helps!

      Bri Hillmer
      Documentation Coordinator
      SurveyGizmo Customer Experience Team

      Ramon Tafoya commented
        • Thanks. Good idea to include the code in a theme. However, that is just one bird.

          The other error I wish to clear up has a workaround, but asks for defining a src path, was just hoping we could use SG hosted file, just in case a call was going to be interrupted due to cross-domain, even though should not be the case for this example, I thought it would be nice to piggyback. Thanks, I will test this with adding a native path.



        Question stats

        • Active
        • Views4996 times
        • Answers2 answers
        • Followers1 follower