How do I add an elevation or altitude tag?

I’m trying to add the elevation to my watch face but can’t find what code to use. I see some faces in the marketplace that display elevation or altitude, so there must be a way. Thank you!