Factors such as history of STI, hospital admission, provision of traditional delivery care, family history of HBV, unsafe sex, viral load, CD4 count, opportunistic infections, and presence of anemia were statistically associated with HBV infection. Here, CD4 is linked to anemia.