Okay
  Public Ticket #2861472
Google Tag Manager setup
Closed

Comments

  •  1
    sumpetar started the conversation

    Hello!

    I've inserted the 2 codes from GTM, into the Parent theme's header.php, one below <head> and one below <body>. GTM works.

    My question is: can header.php stay in the Parent theme or should I copy (or move?) header.php into Child theme? 

  •  2,961
    Andrew replied

    Hi there,

    It is recommended not to do any changes to the parent theme. You should move the file to the child theme then perform the changes there.

    This prevents your customizations from being erased when there is a theme update.

    Regards,