Spotting vs period

If I have days of light spotting prior to actual bleeding, what day do I count as day 1 of my period? I feel like my ovulation is off a week on the app compared to the ovulation tests.