Archived topic
Adsense , HOOK or Function?
3 replies · Started by Kuan on January 9, 2019
Hello Guy,
I have been searching Adsense integration in the forum and couldnt get a final solution for this.
Just wondering should we use Hook or simply place the code somewhere into the code header?
Please advise which way to go and how can we do that
Best Regards
Hi there,
simplest way is to add your scripts using the hook element:
https://docs.generatepress.com/article/hooks-element-overview/
I have added a Hook , with the adsense code for display in the entire site.
Is that how it should be setup ?
How do we verify them ?
That should do it. You should see your ads start to show up in the location you chose once Adsense figures out which ads to show :)