Archived topic
Connect Site to Adsense
8 replies · Started by Cheryl on June 26, 2017
How do I copy and paste the Google Adsense code between the <head> and <head> tags? I have been through the forum and can't find the answer I'm searching for.
Do I need to add a plug in?
Is there a place go to accomplish this?
I am NOT code savvy but can follow directions-but I am confused and lack experience.
Thanks your help.
Hi there,
You can use the wp_head hook: https://docs.generatepress.com/article/hooks-overview/
Thanks so much. I activated it and pasted the code into the first box, wp head. Hoping that is the right place.
Yup that should be it :)
Just want to double check. Same code as here? https://generatepress.com/forums/topic/code-snippets-plugin-to-add-adsense-script-getting-syntax-error/
Yes
Yup wp_head is correct then :)
Regarding this, will I need to execute PHP? Thanks
No you don't :)