fixing analytics event