You can add scripts into a block so that it functions on every page of your website. It is not possible to add code directly into the <head> section of your website, so we instead add an HTML block to the site's footer. Follow the steps below to install a sitewide script:
1. Select the Content tab from the gray navigation bar and select the Footer link in the right-hand sidebar under Global Content.
2. Click the green (+) button and select the green HTML block option to add it to the page.
3. Paste or type your code into the large field box:
4. Select the blue Save button, and then the green Publish button to take your changes live!