Skip to content
Web Monetization logo Web Monetization
GitHub

Banner tool

Create a banner that appears when your visitors don’t have the Web Monetization extension or have the extension turned off. The banner includes a link to download the extension from your visitor’s browser store.

All pages that include the banner script are automatically web monetized with your wallet address. This means you can exclude the monetization link tag from your site’s code unless you want your pages monetized with additional wallet addresses.

  1. Enter your wallet address.
    Blank wallet address field and continue button
  2. Click Continue. A confirmation prompt appears.
    Confirmation prompt showing wallet address and confirm button
  3. Click Confirm. You’re directed to your wallet provider to sign in and confirm your ownership of the wallet address.
  1. Optionally change the label of a configuration by selecting the pencil icon and typing over the default.
    Screen with three tabs, all with default labels, and a pencil icon appearing next to the first label
  2. Expand the Content drop-down menu. Enter a title for the banner or choose from the suggested options.
    Panel showing suggested titles and a field to enter a custom title
  3. Enter the message to show to your visitors or use the default text. We suggest changing the message so that it’s tailored specifically to your audience.
    Panel with a checkbox to mark the message as visible and a blank field to enter a custom message
  4. Review your changes in the preview panel.
    Preview panel showing how the banner will appear with a custom title and message
  5. Click Done to collapse the Content section.
  1. Select the font and font size to use in the banner.
    Panel showing the font family drop-down menu and a size slider
  2. Select the background and text colors to use.
    Panel showing background and text color previews. Selecting a preview opens a menu with a paint can icon and a set of preselected colors to choose fromClick the paint can icon to enter a hex value or use the color picker.
    The color picker tool with a field for the hex value at the bottom
  3. Select the banner’s corner radius and position.
    Panel showing container corner radius options of no, light, and pill rounding and position options of bottom and top
  4. Select whether the banner should slide or fade-in to view. You can also disable animation.
    Panel with the animated option selected and a drop-down menu expanded showing the slide and fade-in options
  5. Select whether to show the Web Monetization thumbnail in your banner.
    Panel with the visible option selected and a preview of the Web Monetization thumbnail
  6. Review your changes in the preview panel. Click Preview to try out your selected animation.
    Preview panel showing how the banner will appear with pill-rounded corners and a top position
  1. Click Save and generate script.
    The save edits only and the save and generate script buttons side by side
  2. Add the script to your site.
    Example script
    <script id="wmt-banner-init-script"
    type="module"
    src="https://tools-cdn.webmonetization.org/banner.js"
    data-wallet-address="https://sandbox.ilp.link/rabeb"
    data-tag="version1">
    </script>
  3. Go to your site and check that the banner appears correctly. If you have the Web Monetization extension installed, you might need to disable it for the banner to appear.
  1. Enter your wallet address.
    Blank wallet address field and continue button
  2. Click Continue. If the confirmation prompt appears, you must first confirm your ownership of the wallet address.
  3. Make your changes, then click Save edits only. Your script remains the same. There’s no need to update your site’s code.
  4. Refresh a page on your site that uses the configuration’s script to verify your changes are live.
  1. Enter your current wallet address.
    Blank wallet address field and continue button
  2. Click Continue to connect to your wallet. A list of your saved configurations appears.
  3. Select the configuration that you want to connect to a new wallet address.
    Panel listing previously saved configurations with the first configuration selected and the Add another wallet address button available
  4. Click Add another wallet address.
  5. Enter the new address in the wallet address field.
    Blank wallet address field and continue button
  6. Click Continue. A confirmation prompt appears.
    Confirmation prompt showing wallet address and confirm button
  7. Click Confirm. You’re directed to your wallet provider to sign in and confirm your ownership of the new wallet address.
  8. Click Save and generate script.
  9. Replace the existing script on your site with the newly generated script.

All pages that include the script are now web monetized with the new wallet address.

Banner tool