Analytics fixed onClick for events