I just copied over the behaviour of the current script. (aka hardcoded UA-XXXXX-X). But I'll set the global ga_code twig variable by default if possible. Just a sec.