Adding scripts to the header or footer of your site is not that hard. But some prefer not messing with their code at all. Thanks to these 3 header & footer code mangers, you can add snippets to your website with confidence:

Head, Footer and Post Injections: this plugin allows you to inject code snippets into posts, pages, and other parts of your site. It can recognize and execute PHP code. Supports desktop and mobile rules.