1. Go to your WordPress Dashboard, “Appearance”, “Editor”, and look for the “header.php” template. The GTM code must be inserted right after the opening <body> tag.

Edit themes

2. You can find the GTM code into your account. Go to the “Admin” section, “Install Google Tag Manager”.

Admin

 

Admin2

3. Right after you copied the GTM code into the “header.php” template, click “Update File”.

Appearance