We also have support (in beta) for Segment.io analytics. Email us to get it turned on for your account.
(For Google Analytics, @chrislarge305 is exactly right. For extra points, make it a Custom HTML custom component, with methods for triggering GA events.)