AlgoWIFI
  • What is AlgoWIFI
  • How it works
    • AlgoWifi for HotSpot
    • AlgoWIFI for Home
    • AlgoWifi for Web 3.0
    • 🧰AlgoWIFI Counter
  • StakeHolders
    • Publisher
    • HotSpotter
  • Economic Model
    • Algorand Blockchain
    • User Address
    • Reserve Address
    • Revenues / Payment
    • Token
  • Campaign
    • Active Campaign
    • Default Campaign
    • Reserve Account
  • Technical Note
    • Atomic Transfer
    • Hardware Compatible list
    • Web Site integration
  • Installation
    • Server
    • Basic Request
    • Php Sdk
  • Configurations
    • Install on Fritz!Box
    • Install on Joomla
    • Install on WordPress
    • Install on PrestaShop
  • FAQ
  • TODO
    • AlgoWIFI for QR-Code
    • AlgoWIFI for Metaverse
Powered by GitBook
On this page
  1. How it works

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:

 <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

PreviousAlgoWIFI for HomeNextAlgoWIFI Counter

Last updated 3 years ago