Site logo

Archived topic

Regarding GTM Installation

1 reply · Started by Akhil on December 23, 2018

Viewing posts 1–2 of 2

Dear Team,

Even though I have installed Google Tag Manager, I have few doubts on GTM integration with GP Hooks.

According to this post response from Mr.Leo,

First part should be in wp_head, second part would be in Before Header hook.

That means first part should fire into <head> and the second part into <body>

But in hook reference, you are saying "before_header" will go before the opening <header> element.!

So, how we can place the code just below the <body> tag?

Sorry for asking, I'm confused!

Thanks.

Akhil.

Hi there,

the before_header hook is the first hook within the <body>. It means before the Site Header not the wp_head

This archived topic is closed to new replies.