analytics code and db_dump