Hcg after miscarriage and pregnancy?

Kam • 🇨🇦 - ♉️ - 👨‍👩‍👧‍👦- Waiting on our Rainbow Baby 🌈

Does anyone happen to know how long HCG levels stay in your system after you have a miscarriage? I was given pills to induced a miscarriage at 12 weeks but they figured I had a missed miscarriage between 6-8 weeks. I took ovulation tests last week and it came back positive and me and my so had sex. Took a pregnancy test yesterday and it was positive. Super faint but the line was there.