Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

I need to insert JS into every public page and template

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 4 months ago #161649 by blocka
I have some JS that I need inserted into every survey irrespective of which template is used. While I could insert the JS into each core template, I want to be sure that survey builders cannot remove the JS code.

Can someone point me to the PHP page / function that renders the closing body tag for all public survey pages, so I can insert my JS there. I know this might be overwritten with future LS updates, but I can manage that.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose