My kids are all too old for strollers now, so no personal experience.
If you gate check it, it will be placed in the checked baggage, so I'm not sure exactly what you are asking.
I've never seen a stroller allowed onboard a UA flight, so am guessing it will be taken away from you at the gate, if that's what you want to know.