Thursday, October 8, 2009

How to add adsense after the posts

Many people believe that having adsense ads just before the blog posts and after the blog posts will best optimize their performance. How to show adsense adds at the end of Blogger posts, as you probably all had known about how to put adsense adds in the beginning of the posts below the title (as for those who dont know you can read my previous post on how to put adsense in the beginning of the posts, under the heading). To put adsense adds at the end of the posts is as easy as putting it under the heading, its only that you need to place the adsense code slightly at different position. Lets get started before you get confused..

  • First you need to parse your adsense code. You will not contravene adsense terms and conditions by parsing the code (parse means to substitute the < and > for the HTML encoding for these characters). You can go to http://blogcrowds.com/resources/parse_html.php to parse your code, its easier and faster so that you need not to change it manually.
  • Log in to your Blogger dashboard then click Layout > Edit HTML.
  • Tick “Expand Widget Templates” box. Make sure that you backup your template before making any changes.
  • Find below code (its easier using your browser built-in search feature):

    <data:post.body/>

    To feature ads at the end of each posts, paste your parsed adsense code below the above code. To feature ads after your post titles, insert your parsed Google adsense code just before the above code in your template.
  • Dont forget to save the template and start to see the ads in action.

No comments:

Post a Comment