> For the complete documentation index, see [llms.txt](https://doc.algowifi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.algowifi.com/how-it-works/algowifi-for-web-3.0.md).

# AlgoWifi for Web 3.0

Earn money from your site or blog by showing premium advertising campaigns.

Thanks to a small script to be inserted on your web pages, you will be able to access the premium circuit of AlgoWIFI and monetize your views immediately and clearly.

**Here is an example script:**

```html
 <script type="text/javascript" crossorigin="anonymous">
        var code = 0000000; //YOUR NFT!!
        const xhttp = new XMLHttpRequest();
        xhttp.onreadystatechange = function() {
            if (this.readyState == 4 && this.status == 200) {
                const obj = JSON.parse(this.responseText);
                document.getElementById("campaignImage").src = obj['image'];
            }
        };
        xhttp.open("POST", "algowifiRest.php", true);
        xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        xhttp.send("identity="+code);
    </script>

<body>
    <img id="campaignImage" />
</body>

```

Activating AlgoWIFI on your web site is very simple:

1. Register on AlgoWIFI as a HotSpotter
2. Copy the generated code to your web site
