added custom analytics