hi Leo,
I did exactly the same way I implemented the google tag manager snipped. So I created a wp_head Hook pasted the code from google in the editor field, and as display rule choosed entire site.
Would you recommend me to download the Simple CSS plugin you promote below your answer, or should all these functions be covered bei the generatepress hooks?
the simple css plugin looks promising. Would it slow down page speed?
thanks, johannes
the WP_Head hook is where you need to place those scripts.
The Simple CSS plugin is solely for adding CSS ( its part of our footer as CSS is a commonly asked question.
I just tried visiting the link you provided and i am getting a blank page. Is this expected?
Hi David,
yes there is no content on my site yet.
What could I have done wrong with the wp_hooks? Have you got a guide I can follow or something like that?
Best, Johannes
The Hook is working i can see your script being added – but it looks like you have an issue with your GTM ID – make sure you have added the right script from google tag manager.