Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #736089

    Hi

    I would like to connect google adsense with my site and I think I add it to the theme header php file? The code is

    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “xxxxxxxxxxxxx”,
    enable_page_level_ads: true
    });
    </script>

    Is there any where in particular I should add it to the file please.

    Thanks

    • This topic was modified 7 years, 10 months ago by info224.
    #736435

    Hi Please could someone respond thanks

    • This reply was modified 7 years, 10 months ago by info224.
    #736503

    okay I have solved it I think I have used a plugin called insert header and footer and added the script to the header box.

    #736514

    Hi!

    Glad you figured it out!
    You can also refer to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ and add a widget area to your header and display your ads there

    Let us know if you have any other questions or issues!

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.