Follow these steps to install Google Tag Manager on your website:
Open Google Tag Manager and click on “Admin”.
Click on “Install Google Tag Manager”.
Copy the first code and paste it as high in the <head> of the page as possible:
Copy the second code and paste it immediately after the opening <body> tag: