Fix: Only print Google Analytics scripts on transaction results footer

We weren't making use of the $display_to_screen variable here when we should have been.  It was causing issues where transaction_results() would be called on order status changes, triggering this output when it was inappropriate.