Manually add code to the website header/footer. | Scribe
This guide was created with Scribe in 18 seconds. Sign in and create your own!
Manually add code to the website header/footer.
Kyle Gibbons |
0 step |
18 seconds
Google
**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
Have something to say?Create an account to leave messages for the author to see!
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key