Skip to main content


Utilities for server side processing of Google Analytics in Deno CLI and Deploy
import * as gA from "";


Create and return a function which will dispatch messages to Google Analytics.

Creates and returns a reporting measurement middleware for oak, which will generate and send to Google Analytics measurements for each request handled by an oak application.


A narrowed down version of Deno.Conn which only contains the information which the library usages.

Specialized data fields that are supported being set via a callback.

The interface returned from createReporter() that is then called to enqueue measurement messages to be sent to Google Analytics.

Options which can be supplied to the createReporter() factory function.

Options which can be supplied to the createReporterMiddleware() factory function.