View Source Plausible.Purge (Plausible v0.0.1)
Deletes data from a site.
Stats are stored on Clickhouse, and unlike other databases data deletion is done asynchronously.
Summary
Functions
Deletes imported stats from Google Analytics, and clears the
stats_start_date
field.
Move stats pointers so that no historical stats are available.
Functions
@spec delete_imported_stats!(Plausible.Site.t()) :: :ok
Deletes imported stats from Google Analytics, and clears the
stats_start_date
field.
@spec delete_native_stats!(Plausible.Site.t()) :: :ok
Move stats pointers so that no historical stats are available.