Replace GA logic with Event hook.