Paste the Analytics Code into Your Website
OK, you’ve generated the code and copied it. Now… how to get it into your website. It has to go before the </head> tag on every page that you want to track. You could do it page by page by editing the html directly but that’s clearly impractical. Here the easy method:
Using The Thrive Suite
The Thrive dashboard makes it very simple.
Click on Thrive Dashboard in your site's WordPress menu and scroll to Analytics and Scripts.

Click the Manage Scripts button.
This will show any existing scripts and you can choose to add a new one.

Click the Add New button.
You can paste the Google Analytics script into the next screen.

Paste the copied script into the Script panel and click in the Script Label panel to bring up the automatic label Google Analytics.
Leave the Placement as Before </head> and tick both Inserted In check boxes.
Click the Continue button.
This will then show that the Analytics script has been added.

Click the Back to Dashboard button.