Getting started

Quickstart

Five steps from a new site to its traffic on your dashboard. Plan on fifteen minutes, most of it in your own deployment.

  1. Add your site

    In the dashboard, open Sites and add one. Name it for what it is, such as Production.

    Awenen shows the site’s first key once. Copy it now: it starts with awn_, and only its first characters are shown again. If you lose it, create a new key on the same page and revoke the old one.

  2. List its hostnames

    On the same site, add every hostname it answers on, such as www.example.com and example.com. Make one an alias of the other when they serve the same site, so their traffic is counted together.

    Proving you own a hostname with a DNS record is optional for now; the Sites page shows the record to add.

  3. Run the proxy in front of your site

    Add the proxy beside your site and send your visitors to it instead of to the site. It needs three settings: where your site is, your key, and where to send events.

    The three settings
    Awenen__Upstream=http://localhost:3000Awenen__Key=awn_…Awenen__IngestUrl=https://ingest.awenen.com/v1/events

    Install the proxy has the steps for Azure Container Apps, Kubernetes, Docker Compose and plain Docker. The image is awenen/proxy:0.1.0.

  4. Point your traffic at the proxy

    Whatever receives your visitors today (your platform’s ingress, a load balancer, a reverse proxy) now sends them to the proxy on port 8080. The proxy passes each request on to your site with its original hostname, so your site sees no difference.

  5. Check that it works

    Open your site in a browser. Within a minute:

    • Proxies lists your proxy as running.
    • Ingestion shows events arriving for your hostnames.

    Nothing there? Troubleshooting goes through the usual causes.

Trying it out first

To load-test the proxy or try Awenen without filling your history, tick Test site when you add the site. A test site’s events go through the whole pipeline and are counted, but never stored, and its hostnames aren’t checked.