Setting up Google Analytics on OpenMRS

How do I setup google analytics to work with my OpenMRS instance?

cc @dkayiwa