Script Addition

I have a multisite set up as a staging server. The first thing I want to do is test out a email opt-in pop-up. To do so I need to add a few lines of script right before the closing </body> tag. The thing is - I only want to test it on one sub-site - not the overall footer.php file. How can I do that?