Positive test & spotting

Neha

Please help!

So on 13 dpo I had a brown spot.. Then 14 dpo nothing..

On 15 dpo I did HPT which came positive and the same day followed by bleeding.. I was very concerned as I had an Ectopic previously..

I visited the gyn n had a Transvaginal scan in which nothing was seen n was called on 17 dpo..

On 16 dpo n 17 dpo I had brown spotting (not full day)

On the 17 dpo the scan report analysis was " An intrauterine gestational sac like structure seen measuring 2.8 mm"

I was given duphaston n hcg injection..

Am I miscarrying?