What exactly is considered a period day?

Chelsey • 27, happy wife of 4 years and I love my job! Due 5/28/15 with #1!
So at the end of my period I usually stop bleeding, but have some residual brown spotting for a day or two. Do I count those days as my period too, or only when I actually bleed? Just want to make sure I log everything correctly! Thanks!