Installed the GoogleAnalyticsTracker package.
Added ActionTrackingAttribute

to the global filters.
Set tracking id and domain

to the ActionTrackingAttribute action filter.