How to Add Google Adsense to Ghost
Adding Google Adsense is very customizable and can be different for every person. We are going to show you how to add a banner ad to the top of every post. You may want to add ads elsewhere, but this tutorial will still give you the basic idea of how to add Adsense.
- Head to adsense.google.com, sign up if you need to and create a banner ad.
Once you have created the ad, it will give you the script that we are going to want to insert into our theme.
To add the code to each post, we are going to need to edit the
post.hbs. This is located at (we are using Casper theme):
Since I want this banner ad to be below the title of each post, I am going to put it right below this part of the
- Restart Ghost
Thats all you need to do! Now depending on where and how you want your ad to display, the placement could vary, but the principles should stay the same.
Check out our next section on how to add Google Webmaster Tools!
Add Google Webmaster Tools