Are Apple watches or Fitbits worth it to keep track of working out? If they are which do you prefer and why?

I am on my feet all day at work and when I’m at the gym I’m trying to gain muscle and weight because I’m 5’3 and 110lbs. I’m just wondering if it’s worth the purchase if I’m not doing as much cardio.