View Source Plausible.Imported.UniversalAnalytics (Plausible v0.0.1)
Import implementation for Universal Analytics.
Summary
Functions
Imports stats from a Google Analytics UA view to a Plausible site.
Functions
Imports stats from a Google Analytics UA view to a Plausible site.
This function fetches Google Analytics reports which are then passed in batches
to Clickhouse by the Plausible.Imported.Buffer
process.
@spec new_import(Plausible.Site.t(), Plausible.Auth.User.t(), Keyword.t()) :: {:ok, Oban.Job.t()} | {:error, Ecto.Changeset.t() | :import_in_progress}