Need to add Google Tag Manager in the Header & Body

This topic has 2 replies, 2 voices, and was last updated 6 days, 12 hours ago ago by Rose Tyler

  • Avatar: Raghu
    Raghu
    Participant
    December 16, 2024 at 12:51

    Currently I’m using Child theme, unable to view the Header.php in it

    Can you please help me in adding the Google Tag Manager in header and body.

    Header Tag—————-



    Body Tag————————



    Content is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 16, 2024 at 13:12

    Hello, Raghu,

    Thank you for reaching out to us.

    We understand that you are currently using a child theme and are unable to locate the header.php file within it. You need to copy the header.php file file from the XStore parent theme to the child.

    To add Google Tag Manager (GTM) code, you can insert it into the header or footer of your site. This is often done through the 3rd party plugin https://wordpress.org/plugins/wp-headers-and-footers/ , or by editing the header.php file (copy file from the XStore parent theme to the child).

    Warm Regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.