View Source Plausible.Stats.Util (Plausible v0.0.1)

Utilities for modifying stat results

Summary

Functions

This function adds the visitors metric into the list of given metrics if it's not already there and if it is needed for any of the other metrics to be calculated.

Functions

Link to this function

maybe_add_visitors_metric(metrics)

View Source

This function adds the visitors metric into the list of given metrics if it's not already there and if it is needed for any of the other metrics to be calculated.

Link to this function

shortname(query, metric)

View Source