1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Need Help]Install adsense in Cpanel hosting

Discussion in 'Blogging' started by Jeevs, Mar 17, 2011.

  1. Jeevs

    Jeevs Supreme Member

    Joined:
    Dec 14, 2010
    Messages:
    1,359
    Likes Received:
    1,628
    Hey guys...I got a website and hosting.I update them via a cpanel that is give to me from hostgator.com but I beleive the adsense code is pasted in the cpanel? not sure though.I have got the adsense script generated but don't know where to paste it!

    Can anyone guide me for this?
    Thanks :)
     
  2. Rob Whisonant

    Rob Whisonant Junior Member

    Joined:
    Feb 25, 2011
    Messages:
    112
    Likes Received:
    38
    Are you using static html pages or a cms like wordpress? If wordpress you insert your adsense code using the wordpress admin area.
     
  3. reinie

    reinie Elite Member

    Joined:
    Jan 16, 2009
    Messages:
    1,574
    Likes Received:
    1,040
    no man...

    The adsense code goes in your page...your html code lol
     
  4. Santini

    Santini Junior Member

    Joined:
    Mar 10, 2011
    Messages:
    123
    Likes Received:
    17
    Location:
    London, England
    Yes you have to add the adsense code to every page.
    If your site is a static HTML site you need to add the code to every page you want to track just before the </body> tag.
    If your site is WordPress then go to admin dashboard->Appearance->Editor.
    Then look to the right under Templates and click Footer.php.
    When this appears in the cetral editing window, scroll to the bottom and paste your code just before the </body> tag.
    Then hit Update File.
    HTH
     
  5. slrslr

    slrslr Newbie

    Joined:
    Feb 3, 2014
    Messages:
    9
    Likes Received:
    0
    Home Page:
    you arew correct cPanel/File manager/www or public_html/ and there edit the file where you want to add your code.