Add date_range setting in analytics settings