Welcome to part-6 of the series. You can find part-5 here.
As, you might know from earlier part that i am upgrading by personal blog site https://nabendu.blog/
One of the main task remaining from last post was to add advertisements to the site.
In part-5 i had applied for google adsense account, but as my content is on three sites(even though i had canonical links to my primary domain https://nabendu.blog/ from dev and medium) it was rejected.
After searching the internet i found this useful article containing the details of other popular ad networks.
I applied for Media.net, InfoLinks and RevenueHits and got approval from all of them. I also applied for Carbon Ads, which is nowadays very popular with developers but didn’t got the approval yet.
I decided to add Media.net ads to my site as they serve ads from yahoo network. Once you login to media.net dashboard, you need to add a file Ads.txt in your site root directory.
Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook.
Next to show the Subscribe component in the Sidebar, i had updated the Social.js file. I had included it in the file, followed by adding a React fragment and added it with passing the props heading as false.
And it is showing the mini Subscribe component in the Sidebar. Please do subscribe to my weekly newsletter, which will contain the updates on my posts.
You can find the code till this at my github repo here.
Hope to see you in this series again, when i make some more changes to my blog site.