Skip to content
Web Monetization logo Web Monetization
GitHub

Probabalistic revshare generator

Probabilistic revenue sharing (revshare) is a way to share a portion of a web monetized page’s earnings between multiple recipients.

The probabalistic revshare generator allows you to define a list of recipient wallet addresses and set their weights. The probability of one recipient’s wallet address being chosen over the others each time the page loads is based on weight.

The revshare generator creates a link tag with a URL that’s hosted on webmonetization.org. If you’d rather use a script that you host yourself, check out the revshare tutorial.

  1. Enter the first two recipients’ wallet addresses. Each address is assigned a weight of 1 by default. A Web Monetization link tag is generated automatically.
    Revshare generator with two wallet addresses, each assigned a weight of 1, meaning each should receive 50% of payments
  2. Click Add recipient if you have more wallet addresses to add.
  3. Adjust the weights as needed. The percentage field calculates automatically and reflects the percentage of total revenue a recipient should receive over time. A new Web Monetization link tag is created each time you make a change.
    Revshare generator with three wallet addresses, with weights 2, 1, and 1. The address with 2 will receive 50% of payments while the other addresses will each receive 25%.
  4. When you’re finished, copy the link tag and place it on your HTML page.
  1. Click Import.
    Revshare generator with no information filled in and the import button in the bottom right corner
  2. Enter the Web Monetization link tag that references your revshare configuration.
    Import existing revshare config screen with a test link tag entered and the import revshare button active
  3. Click Import revshare, then make your changes. Each change you make will result in a new link tag.
    Revshare generator with three wallet addresses, with weights 2, 1, and 1. The address with 2 will receive 50% of payments while the other addresses will each receive 25%.
  4. When you’re finished, copy the new link tag and place it on your HTML page.
Revshare generator