Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/plausible/index.ts>default#getRealtime

A zero-dependency, TypeScript library for interacting with the Plausible Analytics API, written in Deno!
Latest
method default.prototype.getRealtime
import { default } from "https://deno.land/x/plausible@v2.2.1/index.ts";

This function returns the number of current visitors on your site. A current visitor is defined as a visitor who triggered a pageview on your site in the last 5 minutes.

Returns

Promise<number>