Manually add code to the website header/footer. | Scribe

Manually add code to the website header/footer.

  • Kyle Gibbons |
  • 0 step |
  • 18 seconds
  • GoogleGoogle
**Step 1: Add the GTM Header Snippet**
+00:00:02.0
Comments
Go to your WordPress dashboard.
Comments
Navigate to **Appearance > Theme File Editor**.
+00:00:04.0
Comments
Select your theme's **header.php** file.
+00:00:06.0
Comments
Paste the first snippet of the GTM code right after the `<head>` tag.
+00:00:08.0
Comments
**Step 2: Add the GTM Body Snippet**
+00:00:10.0
Comments
Go back to the Theme File Editor.
+00:00:12.0
Comments
Open the **header.php** or **footer.php** file.
+00:00:14.0
Comments
Paste the second snippet of the GTM code right after the opening `<body>` tag.
+00:00:16.0
Comments
Save the changes after editing each file.
+00:00:18.0
Comments
This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe