Fix google analytics async being accessed synchronously