This Astro component makes it easy to add monetization tag that is used to monetize your web pages.
Pull requests and/or feature requests are very welcome!
- Clone the repository
- Run
npm install
- Run
npm run dev
- Open the url
http://localhost:3000/monetizationTags
To install Astro Monetization, run the following command in your terminal:
npm install astro-monetization
or if you use yarn:
yarn add astro-monetization
In any of your Astro pages, import Astro SEO and then use the component inside
the <head>
section of your HTML:
---
import { MONETIZATION } from "astro-monetization";
---
<html lang="en">
<head>
<MONETIZATION pointer="$ilp.rafiki.money/isantoshv" />
// ... rest of
</head>
<body> // ... body</body>
</html>
Propname | Type | Description |
---|---|---|
pointer | string | Your payment pointer |
Astro Monetization is heavily inspired by Astro SEO