I'm trying to add Google Tag Manager and Adwords Remarketing Tag and they both need to be added to the <body> tag in header.php ...
However, when I add the HTML codes beneath
<body <?php body_class(); ?>>
it doesn't work. Is this the opening body tag? Or is there a different place I could add this code to make sure it works ... it MUST be after the opening <body> tag.
Hello!
I'm trying to add Google Tag Manager and Adwords Remarketing Tag and they both need to be added to the <body> tag in header.php ...
However, when I add the HTML codes beneath
<body <?php body_class(); ?>>
it doesn't work. Is this the opening body tag? Or is there a different place I could add this code to make sure it works ... it MUST be after the opening <body> tag.
Thank you!
Ryan
HI!
pls. check:
https://developer.wordpress.org/reference/functions/body_class/
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver