Google Analytics code showing on page

In the theme options for the GridMarket child theme, there is a box to enter Google Analytics code. I entered our code, but it seems to keep stripping away the 'script' code, leaving plain text to show at bottom of site. I have attached a screen capture. Is there a fix for this, or does that option not work? I can install a Google analytics plugin if I need to, just want to see if I have missed something.

Thanks!