Guides & Tutorials
Add Web Monetization to your sites with Snippet Injection
Welcome to Blogvent, day 14!
I want that!
If you want to enable Web Monetization in your websites, you first set up a web monetized wallet, and a payment pointer. Right now you'll want to use one of these Interledger-protocol-enabled providers to do so:
Your payment pointer will be something that looks like a URL but starts with a
$ sign, like
Now, with that payment pointer, you can use the
monetization meta tag!
<meta name="monetization" content="$wallet.example.com/something">
Where do I put this tag?
You can add it into the
<head> of your website, and it's done! But, if you don't want to make code changes in your repo, there's an even simpler way with Snippet Injection.
Head do your Site Settings on Netlify, then Build & Deploy, then down to Snippet Injection. Make a new snippet, make it "Insert before ", and add your tag in the HTML, like so:
Now, your web monetization will be automatically added into your site's build, without you having to update your
<head> across your codebase.