US intelligence agencies tracked the Venezuelan president for months to "understand how he moved, where he lived, where he traveled, what he ate, what he wore".