Script appearing before the final </form> tag on DNN


Hi Will -
I've installed the script injector ok and its working fine - however its not putting the script just before the </body> tag correctly.
If you see here: http://www.easynetconnect.net/Contact-Us/Contact-Us.aspx (a test form)
When looking at the source there is a final </form</body> at the end of the html which i believe breaks my script:
<script type="text/javascript" src="https://lct.salesforce.com/sfga.js"></script> <script type="text/javascript">__sfga();</script>
Salesforce needs this script to be before the </body> and not in a form... Any ideas?
Kind regards


hismightiness wrote Sep 17, 2009 at 3:16 PM

I want to create a handler to allow this to happen, which would also give us more control over where in the page ANY injection can happen.

wrote Sep 17, 2009 at 3:19 PM

hismightiness wrote Jul 21, 2011 at 12:15 AM

Does it matter to you if the injection happens client or server side? For example, can the injection move positions after the page loads, but before the code executes?

wrote Jul 21, 2011 at 12:21 AM

wrote Feb 22, 2012 at 4:48 AM

wrote Feb 14, 2013 at 12:35 AM

hismightiness wrote Aug 31, 2015 at 5:16 AM

If this is still an issue, please create a new one at the location below, and include any screenshots, versions, and errors as necessary.