What are the intrinsic and extrinsic motivations that people have for working out?

What are the various theories of motivation?
How do fitness trackers play a role in fitness motivation? Is there data to support this?
How have other fitness facility owners motivated people to join their gym?