Just a gate or do you need more of a fence? If you get a fence get at least 32" high if not 40" high. The 24" ones will be pointless before the dog is trained.
For gates, we use the spring tension walk through gates. Our dogs are now 3 and 1 so gates are mostly all down, but we've keep them as we expect our kids will have kids or dogs coming along. Gates with extensions are great as you can adjust to various locations.
Congrats on the pup. What did you get?