> 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.md).

# How it works

There are several ways in which AlgoWIFI works.&#x20;

If installed on an access point, during the access phase an image is displayed in the captive portal.

Each transaction is then recorded in real time on the blockchain and at the same time the revenues and charges are sent to the various stakeholders.

**Example of a transaction from an access point:**

```json
{
  "Mac": "B0:73:5D:6A:EC:3A",
  "Location": "Torre WIFI - MetroWimax",
  "CampaignName": "MetroWimax",
  "CampaignId": "5",
  "referer": "http://172.0.0.1/"
}
```

**Example of a transaction from a web site:**

```json
{
  "CampaignName": "Turning Based Lovers",
  "CampaignId": "19",
  "referer": "https://turnbasedlovers.com/",
  "remote": "66.249.70.53"
}
```
