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.