Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #2150980
Adding GTM
Closed

Comments

  • B. Kors started the conversation

    Hi, I would like to install Google Tag Manager script to the The Gem website I'm working on. I did find the Tracking option within The Gem ->Theme Options -> Advanced. But Google Tag Manager supplies me with two pieces of coding to place. One between the <head></head> tags and the other one right after the <body> tag. Pasting these pieces of coding within the Tracking field, places them both within the <head> tag. How can I get the second piece of coding to appear in the <body>?

  •  5,055
    Michael replied

    HI!

    To do this, you need to edit the theme files. Use the child theme and copy the /wp-content/themes/thegemheader.php file, then add the code you need to it.