Install Script on Your WordPress Website
To add the script to your WordPress website, you need to install a header and footer plugin. I will recommend you use Header Footer Code Manager, as it is very simple to use.
To install the plugin, login to your WordPress Site Admin
Click on Plugins >Add New > Go to the search box and Type “Header Footer Code Manager”
Install and activate the plugin
After activating the plugin, go to the left pane of your WordPress dashboard and locate the plugin.
It will appear as Header Footer Code Manager.
Click on it and then click on Add New, your screen should look like this below