How to setup Pingdom on your Magemto 2 sites

I want to set up Pingdom for our Magento 2 sites.

I have seen they need a script just above of the site. but we have multiple stores so how would that work and where do i put the script (what file?)

Any suggestion are appreciated.