How to add <body> tags to all pages?

sha77

Member
I need to edit the body tags when using the Google Tag Manager. In the theme Da Vinci 2.0 under Customization there is a place for centrally editing both the head tag and footer tags, but it seems to me there is no place to edit the body tags?

Does this mean I have to go to the Pages menu and edit the HTML code manually for all pages to add the tag?
 
E

Ekaterina Sayapina

Guest
I need to edit the body tags when using the Google Tag Manager. In the theme Da Vinci 2.0 under Customization there is a place for centrally editing both the head tag and footer tags, but it seems to me there is no place to edit the body tags?

Does this mean I have to go to the Pages menu and edit the HTML code manually for all pages to add the tag?
Hello,
You need to add two code snippets:
- The first one can be added to Customization => Head.
- The second one goes right after the opening <body> tag. You can edit your header.php template (Appearance => Theme Editor) for these purposes.
P.S. You can edit both code snippets in Appearance => Theme Editor section.
 
Top