Home › Forums › Support › How do I add Google Adsense code? This topic has 8 replies, 5 voices, and was last updated 3 years, 1 month ago by Danny. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts August 20, 2020 at 4:38 am #1410781 Theodore Please, I want to add the google adsense code between the <head> and </head> tags of my site, but i can’t figure out how to do that. I was supposed to use the “Insert Headers & Footers” plugin, but I’ve already used that to add the Google Analytics code. Please, how else can I add adsense code? Thanks. August 20, 2020 at 5:39 am #1410897 DavidStaff Customer Support Hi there, you can use the Hook Element: https://docs.generatepress.com/article/hooks-element-overview/ Common Hooks for adding code Inside <head>: wp_header After opening body tag: wp_body_open In the site footer: wp_footer January 24, 2021 at 11:29 pm #1632248 Raul And do we have to check “execute PHP”? January 24, 2021 at 11:37 pm #1632255 ElvinStaff Customer Support Hi Raul, And do we have to check “execute PHP”? No, you don’t have to as Google Adsense scripts are JavaScript. January 25, 2021 at 1:06 am #1632316 Raul Thank you. January 25, 2021 at 7:11 pm #1633534 ElvinStaff Customer Support No problem. 🙂 March 1, 2021 at 6:01 am #1677169 Danny Created a hook for Adsense as shown in the video: wp_head, priority:1 Google Adsense can’t find it (although I can find it in the source code). Is there any common error / recommended troubleshooting? Thanks for your help! March 1, 2021 at 6:26 am #1677219 DavidStaff Customer Support Hi there, can you raise a new topic where you can share a link to your site so we can see if there are any obvious issues. March 1, 2021 at 6:39 am #1677247 Danny Sure. Done. Thanks. Title: “Google can’t find Adsense code” Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In