queue  35
Results 1 to 2 of 2

Thread: Connect my webpage with Google AdSense

  1. #1

    Connect my webpage with Google AdSense


    I would like to connect my website to Google AdSense to show ads on my website.

    The Google instructions say I should copy this code and place it between the <head> and </head> tags. But where do I find these tags in my theme? Is it in the Custom CSS or Custom JS field or somewhere else?

    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-2694107205844193",
    enable_page_level_ads: true

  2. #2
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Hi, Those instructions are for HTML websites. For a WordPress site you'll need to find a plugin to help you with this. You could try to open the header.php and paste your code in there, but that may not work properly. You're best to look for a plugin, of which there are many I'm sure.