Monetization

Updated: 2021-10-10

Monetization of this site

  • Google AdSense
  • Amazon Associates

Add Google AdSense to Gatsby site

Install react-adsense

$ npm install react-adsense

Add to template.js:

<script
  data-ad-client="ca-pub-xxxxxxxx"
  async
  src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
></script>

Add to page.js:

import AdSense from 'react-adsense';

<AdSense.Google client="ca-pub-xxxxxxxx" slot="xxxxxx" />;

Other options to try

Ads

Affiliate Marketing

From wiki:

Affiliate marketing is a type of performance-based marketing in which a business rewards one or more affiliates for each visitor or customer brought by the affiliate's own marketing efforts.

Affiliate Marketing pay publishers on a pay-for-performance basis. You don’t earn anything for clicks or impressions. Only get paid for a sale or a user registration.

How Does Affiliate Marketing Work

  • sign up for an advertiser’s affiliate program
  • get an affiliate link (a special URL so the advertiser can track the referral source).
  • embed the affiliate links to your site
  • a visitor clicks on the affiliate link, and hop to advertiser’s website.
  • a cookie is added to the visitor's browser.
  • the visitor makes a transaction(a sale) or perform some actions like registration(a lead)
  • the advertiser associate the sale to your account via cookie's info
  • commissions are paid out, may on a monthly basis

Affiliate Networks / Programs

eBook

From Supporters

Sell Tutorials

  • tutsplus.com