You can add Google Analytics (and other site-wide scripts and tags) by using a Hook element. Follow this guide for more details.