Questiona about the facebook pixel?

Hello,

I have a question about the facebook pixel. Do you have to install it and copy it between the head tags of every page or your site? Also do you need another code not the standard pixel for the thank you page in order to track sales and coversion? Or is it the same code everywhere on every page