Xstore-child theme have not “header.php”

This topic has 4 replies, 2 voices, and was last updated 4 months, 4 weeks ago ago by Rose Tyler

  • Avatar: Sam
    Sam
    Participant
    July 21, 2024 at 16:44

    Hi,

    I want to connect with Google Analytics and add the Google tag ID “G-” to the “header.php” of the xstore-child theme between .

    But I cannot find “header.php” in the xstore-child theme in Theme File Editor.

    How do I do?

    Thank you.

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 21, 2024 at 19:15

    Hello,

    Thank you for reaching out to us with your query. We understand that you would like to integrate Google Analytics by adding the Google tag ID to the “header.php” file of your xstore-child theme.

    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 XStore parent theme to the child).

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 22, 2024 at 12:22

    Hi,

    I tried these 2 methods but they not working.

    Google display test result is
    “The Google code was not detected on your site.”

    Please help me,

    thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 22, 2024 at 13:22

    Hello,

    We regret to inform you that the situation you have described falls outside the scope of our services, because this is independent of the theme, and as such, we are unable to provide further assistance. We apologize for any inconvenience this may cause.

    Should you have any other inquiries that pertain to our offerings, please do not hesitate to contact us.

    Best Regards,
    8Theme’s Team

  • Viewing 4 results - 1 through 4 (of 4 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.