Skip to content
Web Monetization logo Web Monetization
GitHub

Web monetize a page

Prerequisites

  • You must have a wallet address or payment pointer assigned to you by your wallet provider.
  • Each page you want to monetize must served over HTTPS.

Step 1 - Get your payment URL

Payment pointer

If you have a payment pointer that starts with $, visit paymentpointers.org. Enter your payment pointer into the Payment Pointer field. Take note of the URL that automatically generates in the adjacent field. This is your payment URL. You’ll need it in the next step.

$wallet.example.com/alice

Wallet address

If you have a wallet address that starts with https://, then you have your payment URL. Proceed to the next step.

https://wallet.example.com/alice

Step 2 - Web monetize your page

  1. Create your Web Monetization link tag using the format below. Add your payment URL as the href value.

    <link rel="monetization" href="your_url">

    For example:

    <link rel="monetization" href="https://wallet.example.com/alice">
  2. Add the <link> to the <head> section of your page.

    Example
    <html>
    <head>
    <title>My Site</title>
    <link rel="monetization" href="https://wallet.example.com/alice">
    </head>
    </html>

Congratulations! Your page is now web monetized. Add the <link> to any page of your site you want to monetize.

For more information, visit the Monetization link element page.