Added search tag tracking in the database.