Home » Blogger Tutorials, Tricks and Hacks » Blogger Tricks » How to Add AdSense After Tag

Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.

|| View All Tutorials ||

How to Add AdSense After Tag

How to Add AdSense After <!—more -- > Tag

1 Star2 Stars3 Stars4 Stars5 Stars

Report Error

988 views

This featured tutorial by Mohammad Mustafa Ahmedzai of MyBloggerTricks will show you how to add Adsense after the <!—more — > Tag. It’s one way to boost your online earnings.

Using simple jQuery, this will tell the browser to add an Ad zone before the more tag. For browsers with disabled Javascript, the Ad zone will be shown at the end of the post.

Below are the steps:

  • Go to the Blogger Dashboard > Templates.
  • Tick the  Expand Widget Templates box.
  • Using Ctrl+F, search for  <head>
  • If you’re not yet using jQuery script in your blog, copy and paste the following code:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/> - See more at: http://www.mybloggertricks.com/2013/02/positioning-adsense-ads.html#sthash.2bZZtk24.dpuf
  • Paste this code below <head>
<script type='text/javascript'>

$(document).ready(function(){ 
$(&#39;a[name=&quot;more&quot;]&#39;).before($(&#39;#MBT-google-ad&#39;).html());

$(&#39;#MBT-google-ad&#39;).html(&#39;&#39;); 
});

</script> 
  • Search for  <data:post.body/>
  • Paste this code:
<b:if cond='data:blog.pageType == &quot;item&quot;'>

<div id='MBT-google-ad'>

<br/>

<center>

ADD ENCODED ADSENSE CODE HERE </center>

<br/>

</div>

</b:if> - See more at: http://www.mybloggertricks.com/2013/02/positioning-adsense-ads.html#sthash.2bZZtk24.dpuf
  • Change the bolded text (ADD ENCODED ADSENSE CODE HERE) with your Adsense code. Keep in mind that your Google Adsense Account must first be encoded so it will work with Blogger.
  • Save.

 

Liked It ? Please Share

Comments

5 Responses | Post A Comment | Subscribe To Comments RSS Feed

  1. Thanks for shared this tutorial, it is very useful for me especially!

  2. Thank you for sharing this brief tutorial. I will definately use this tips on my websites.

  3. korekbasah says:

    wow this is solution for me thanks

  4. Jose says:

    regards

    As you can see in my blog posting tengon adsense ad, right after the title.

    When I put the ad like this explanation I have problems, the ad before reading more completely blank, only the space and do not see the ad.

    I have to refresh the page or do Ctrl + F5 to display the second adsense, is very good and the way the ad is to help my income by at least 50% but I need it to work, I need someone’s help to know how to fix the problem.

    Note:
    When I put only the ad before reading more and elimindo under the title, it works well … (the need two …)

    thanks

    Please check this post:
    http://www.rellenadodecartuchos.com/2013/10/como-instalar-sistema-de-tinta-continua-a-impresora-canon-pixma-mg4210.html

Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here