Systems including an implantable receiver-stimulator and an implantable controller-transmitter are used for leadless electrical stimulation of body tissues. Cardiac pacing and arrhythmia control is accomplished with one or more implantable receiver-stimulators and an external or implantable controller-transmitter. Systems are implanted by testing external or implantable devices at different tissue sites, observing physiologic and device responses, and selecting sites with preferred performance for implanting the systems. In these systems, a controller-transmitter is activated at a remote tissue location to transmit/deliver acoustic energy through the body to a receiver-stimulator at a target tissue location. The receiver-stimulator converts the acoustic energy to electrical energy for electrical stimulation of the body tissue. The tissue locations(s) can be optimized by moving either or both of the controller-transmitter and the receiver-stimulator to determine the best patient and device responses.