adding custom analytics