From 6b9128889147002b365241363364a4491eea3d2e Mon Sep 17 00:00:00 2001 From: aerosol Date: Mon, 12 Feb 2024 09:45:09 +0000 Subject: [PATCH] deploy: 6a2d7fc0f5ff73383840f9a1effba1fb5a1d9306 --- .build | 6 +- 404.html | 2 +- Mix.Tasks.CancelSubscription.html | 2 +- Mix.Tasks.CleanClickhouse.html | 2 +- Mix.Tasks.CreateFreeSubscription.html | 2 +- Mix.Tasks.DownloadCountryDatabase.html | 2 +- Mix.Tasks.GenerateReferrerFavicons.html | 2 +- Mix.Tasks.PullSandboxSubscription.html | 2 +- Mix.Tasks.SendPageview.html | 2 +- ObanErrorReporter.html | 2 +- Plausible.AsyncInsertRepo.html | 18 +- Plausible.Auth.ApiKey.html | 2 +- Plausible.Auth.ApiKeyAdmin.html | 2 +- Plausible.Auth.EmailActivationCode.html | 2 +- Plausible.Auth.EmailVerification.html | 2 +- Plausible.Auth.GracePeriod.html | 2 +- Plausible.Auth.Invitation.html | 2 +- Plausible.Auth.Password.html | 2 +- Plausible.Auth.TOTP.EncryptedBinary.html | 2 +- Plausible.Auth.TOTP.RecoveryCode.html | 2 +- Plausible.Auth.TOTP.Vault.html | 2 +- Plausible.Auth.TOTP.html | 2 +- Plausible.Auth.Token.html | 2 +- Plausible.Auth.User.html | 2 +- Plausible.Auth.UserAdmin.html | 2 +- Plausible.Auth.html | 2 +- Plausible.Billing.Ecto.Feature.html | 2 +- Plausible.Billing.Ecto.FeatureList.html | 2 +- Plausible.Billing.Ecto.Limit.html | 2 +- Plausible.Billing.EnterprisePlan.html | 2 +- Plausible.Billing.EnterprisePlanAdmin.html | 2 +- Plausible.Billing.Feature.html | 2 +- Plausible.Billing.PaddleApi.html | 2 +- Plausible.Billing.Plans.html | 2 +- Plausible.Billing.Quota.html | 14 +- Plausible.Billing.SiteLocker.html | 2 +- Plausible.Billing.Subscription.Status.html | 2 +- Plausible.Billing.html | 2 +- Plausible.Cache.Warmer.html | 2 +- Plausible.Cache.html | 2 +- Plausible.ChangesetHelpers.html | 2 +- Plausible.Cldr.AcceptLanguage.html | 258 +++++++------- Plausible.Cldr.Currency.html | 162 ++++----- Plausible.Cldr.Locale.html | 50 +-- Plausible.Cldr.Number.Cardinal.html | 20 +- Plausible.Cldr.Number.Format.html | 50 +-- Plausible.Cldr.Number.Formatter.Decimal.html | 2 +- Plausible.Cldr.Number.Ordinal.html | 20 +- Plausible.Cldr.Number.PluralRule.Range.html | 2 +- Plausible.Cldr.Number.Symbol.html | 16 +- Plausible.Cldr.Number.System.html | 56 +-- Plausible.Cldr.Number.Transliterate.html | 22 +- Plausible.Cldr.Number.html | 178 +++++----- Plausible.Cldr.Rbnf.NumberSystem.html | 14 +- Plausible.Cldr.Rbnf.Ordinal.html | 18 +- Plausible.Cldr.Rbnf.Spellout.html | 14 +- Plausible.Cldr.html | 182 +++++----- Plausible.ClickhouseEventV2.html | 2 +- Plausible.ClickhouseRepo.html | 18 +- Plausible.ClickhouseSessionV2.BoolUInt8.html | 2 +- Plausible.ClickhouseSessionV2.html | 2 +- Plausible.ConfigHelpers.html | 2 +- Plausible.DataCase.html | 2 +- Plausible.DataMigration.NumericIDs.html | 2 +- Plausible.DataMigration.Repo.html | 18 +- Plausible.DataMigration.html | 2 +- Plausible.DebugReplayInfo.html | 2 +- Plausible.Ecto.EventName.html | 2 +- Plausible.Factory.html | 2 +- Plausible.Funnel.Const.html | 2 +- Plausible.Funnel.Step.html | 2 +- Plausible.Funnel.html | 2 +- Plausible.Funnels.html | 2 +- Plausible.Geo.html | 66 ++-- Plausible.Goal.Revenue.html | 2 +- Plausible.Goal.html | 2 +- Plausible.Goals.html | 2 +- Plausible.Google.Api.Mock.html | 2 +- Plausible.Google.Api.html | 2 +- Plausible.Google.HTTP.html | 2 +- Plausible.Google.ReportRequest.html | 2 +- Plausible.HTTPClient.Interface.html | 2 +- Plausible.HTTPClient.Non200Error.html | 2 +- Plausible.HTTPClient.html | 2 +- Plausible.Helpers.JSON.html | 2 +- Plausible.ImportDeletionRepo.html | 18 +- Plausible.Imported.Buffer.html | 2 +- Plausible.Imported.ImportSources.html | 2 +- Plausible.Imported.NoopImporter.html | 2 +- Plausible.Imported.UniversalAnalytics.html | 2 +- Plausible.Imported.html | 2 +- Plausible.IngestRepo.html | 18 +- Plausible.Ingestion.Counters.Buffer.html | 2 +- Plausible.Ingestion.Counters.Record.html | 2 +- ...e.Ingestion.Counters.TelemetryHandler.html | 2 +- Plausible.Ingestion.Counters.html | 2 +- Plausible.Ingestion.Event.Revenue.html | 2 +- Plausible.Ingestion.Event.html | 2 +- Plausible.Ingestion.Request.Revenue.html | 2 +- Plausible.Ingestion.Request.html | 2 +- Plausible.Mailer.html | 2 +- Plausible.OpenTelemetry.Sampler.html | 2 +- Plausible.PaddleApi.Mock.html | 2 +- Plausible.Pagination.html | 2 +- Plausible.Plugins.API.CustomProps.html | 2 +- Plausible.Plugins.API.Goals.html | 2 +- Plausible.Plugins.API.SharedLinks.html | 2 +- Plausible.Plugins.API.Token.html | 2 +- Plausible.Plugins.API.Tokens.html | 2 +- ...sible.PromEx.Plugins.PlausibleMetrics.html | 2 +- Plausible.PromEx.html | 2 +- Plausible.Props.html | 2 +- Plausible.Purge.html | 2 +- Plausible.RateLimit.html | 2 +- Plausible.Release.html | 2 +- Plausible.Repo.html | 2 +- Plausible.Sentry.Client.html | 2 +- Plausible.SentryFilter.html | 2 +- Plausible.Session.CacheStore.html | 2 +- Plausible.Session.Salts.html | 2 +- Plausible.Site.Cache.html | 2 +- Plausible.Site.Domain.html | 2 +- Plausible.Site.GateKeeper.html | 2 +- Plausible.Site.GoogleAuth.html | 2 +- Plausible.Site.ImportedData.html | 2 +- Plausible.Site.Membership.html | 2 +- ...ble.Site.Memberships.AcceptInvitation.html | 2 +- ...ble.Site.Memberships.CreateInvitation.html | 2 +- ...ble.Site.Memberships.RejectInvitation.html | 2 +- ...ble.Site.Memberships.RemoveInvitation.html | 2 +- Plausible.Site.Memberships.html | 2 +- Plausible.Site.MonthlyReport.html | 2 +- Plausible.Site.Removal.html | 2 +- Plausible.Site.SharedLink.html | 2 +- Plausible.Site.SpikeNotification.html | 2 +- Plausible.Site.UserPreference.html | 2 +- Plausible.Site.WeeklyReport.html | 2 +- Plausible.Site.html | 2 +- Plausible.SiteAdmin.html | 2 +- Plausible.Sites.html | 2 +- Plausible.Stats.Aggregate.html | 2 +- Plausible.Stats.Base.html | 2 +- Plausible.Stats.Breakdown.html | 2 +- Plausible.Stats.Clickhouse.html | 2 +- Plausible.Stats.Compare.html | 2 +- Plausible.Stats.Comparisons.html | 2 +- Plausible.Stats.CurrentVisitors.html | 2 +- Plausible.Stats.CustomProps.html | 2 +- Plausible.Stats.EmailReport.html | 2 +- Plausible.Stats.FilterSuggestions.html | 2 +- Plausible.Stats.Filters.Utils.html | 2 +- Plausible.Stats.Filters.html | 14 +- Plausible.Stats.Fragments.html | 2 +- Plausible.Stats.Funnel.html | 2 +- Plausible.Stats.Goal.Revenue.html | 2 +- Plausible.Stats.Imported.html | 2 +- Plausible.Stats.Interval.html | 2 +- Plausible.Stats.Props.html | 2 +- Plausible.Stats.Query.html | 2 +- Plausible.Stats.Sampling.html | 2 +- Plausible.Stats.Timeseries.html | 2 +- Plausible.Stats.Util.html | 2 +- Plausible.Stats.html | 2 +- Plausible.Test.Support.HTML.html | 2 +- Plausible.Test.Support.HTTPMocker.html | 2 +- Plausible.TestUtils.html | 2 +- Plausible.Themes.html | 2 +- Plausible.Timezones.html | 2 +- Plausible.Users.html | 2 +- Plausible.Workers.AcceptTrafficUntil.html | 2 +- Plausible.Workers.CheckUsage.html | 2 +- Plausible.Workers.CleanInvitations.html | 2 +- ...Workers.ExpireDomainChangeTransitions.html | 2 +- Plausible.Workers.ImportAnalytics.html | 2 +- Plausible.Workers.LockSites.html | 2 +- Plausible.Workers.NotifyAnnualRenewal.html | 2 +- Plausible.Workers.RotateSalts.html | 2 +- Plausible.Workers.ScheduleEmailReports.html | 2 +- Plausible.Workers.SendCheckStatsEmails.html | 2 +- Plausible.Workers.SendEmailReport.html | 2 +- Plausible.Workers.SendSiteSetupEmails.html | 2 +- Plausible.Workers.SendTrialNotifications.html | 2 +- Plausible.Workers.SpikeNotifier.html | 2 +- Plausible.epub | Bin 607476 -> 605344 bytes Plausible.html | 2 +- PlausibleWeb.AdminController.html | 2 +- PlausibleWeb.Api.ExternalController.html | 2 +- PlausibleWeb.Api.ExternalSitesController.html | 2 +- PlausibleWeb.Api.ExternalStatsController.html | 2 +- PlausibleWeb.Api.Helpers.html | 2 +- PlausibleWeb.Api.InternalController.html | 2 +- PlausibleWeb.Api.PaddleController.html | 2 +- PlausibleWeb.Api.StatsController.html | 18 +- PlausibleWeb.AuthController.html | 2 +- PlausibleWeb.AuthPlug.html | 2 +- PlausibleWeb.AuthView.html | 2 +- PlausibleWeb.AuthorizeSiteAccess.html | 2 +- PlausibleWeb.AuthorizeSitesApiPlug.html | 2 +- PlausibleWeb.AuthorizeStatsApiPlug.html | 2 +- PlausibleWeb.AvatarController.html | 2 +- PlausibleWeb.BillingController.html | 2 +- PlausibleWeb.BillingView.html | 2 +- PlausibleWeb.CRMAuthPlug.html | 2 +- PlausibleWeb.Captcha.html | 2 +- ...leWeb.Components.Billing.PlanBenefits.html | 2 +- PlausibleWeb.Components.Generic.html | 2 +- PlausibleWeb.Components.Google.html | 2 +- PlausibleWeb.Components.Settings.html | 2 +- PlausibleWeb.Components.Site.Feature.html | 2 +- PlausibleWeb.Components.TwoFactor.html | 2 +- PlausibleWeb.ConnCase.html | 2 +- PlausibleWeb.ControllerHelpers.html | 2 +- PlausibleWeb.Controllers.API.Revenue.html | 2 +- PlausibleWeb.Dogfood.html | 2 +- PlausibleWeb.Email.html | 2 +- PlausibleWeb.EmailView.html | 2 +- PlausibleWeb.Endpoint.html | 2 +- PlausibleWeb.ErrorHelpers.html | 2 +- PlausibleWeb.ErrorReportController.html | 2 +- PlausibleWeb.ErrorView.html | 2 +- PlausibleWeb.Favicon.html | 2 +- PlausibleWeb.FirstLaunchPlug.Test.html | 2 +- PlausibleWeb.FirstLaunchPlug.html | 2 +- PlausibleWeb.FormHelpers.html | 2 +- PlausibleWeb.InvitationController.html | 2 +- PlausibleWeb.LastSeenPlug.html | 2 +- PlausibleWeb.LayoutView.JWT.html | 2 +- PlausibleWeb.LayoutView.html | 2 +- PlausibleWeb.Live.ChoosePlan.html | 2 +- ...Live.Components.ComboBox.StaticSearch.html | 2 +- PlausibleWeb.Live.Components.ComboBox.html | 2 +- PlausibleWeb.Live.Components.Form.html | 2 +- PlausibleWeb.Live.Components.Modal.html | 42 +-- PlausibleWeb.Live.Components.Pagination.html | 2 +- PlausibleWeb.Live.Components.Visitors.html | 2 +- PlausibleWeb.Live.Flash.html | 2 +- PlausibleWeb.Live.FunnelSettings.Form.html | 2 +- PlausibleWeb.Live.FunnelSettings.List.html | 2 +- PlausibleWeb.Live.FunnelSettings.html | 2 +- PlausibleWeb.Live.GoalSettings.Form.html | 2 +- PlausibleWeb.Live.GoalSettings.List.html | 2 +- PlausibleWeb.Live.GoalSettings.html | 2 +- PlausibleWeb.Live.Plugins.API.Settings.html | 2 +- PlausibleWeb.Live.Plugins.API.TokenForm.html | 2 +- PlausibleWeb.Live.PropsSettings.Form.html | 2 +- PlausibleWeb.Live.PropsSettings.List.html | 2 +- PlausibleWeb.Live.PropsSettings.html | 2 +- PlausibleWeb.Live.RegisterForm.html | 2 +- PlausibleWeb.Live.ResetPasswordForm.html | 2 +- PlausibleWeb.Live.SentryContext.html | 2 +- PlausibleWeb.Live.Sites.html | 2 +- PlausibleWeb.MJML.StatsReport.html | 2 +- PlausibleWeb.PageController.html | 2 +- PlausibleWeb.PageView.html | 2 +- ...b.Plugins.API.Controllers.CustomProps.html | 2 +- ...ibleWeb.Plugins.API.Controllers.Goals.html | 10 +- ...b.Plugins.API.Controllers.SharedLinks.html | 2 +- PlausibleWeb.Plugins.API.Errors.html | 2 +- PlausibleWeb.Plugins.API.Router.html | 333 ------------------ ...API.Schemas.CustomProp.DisableRequest.html | 2 +- ....API.Schemas.CustomProp.EnableRequest.html | 2 +- ...s.API.Schemas.CustomProp.ListResponse.html | 2 +- ...bleWeb.Plugins.API.Schemas.CustomProp.html | 2 +- PlausibleWeb.Plugins.API.Schemas.Error.html | 2 +- ...chemas.Goal.CreateRequest.CustomEvent.html | 2 +- ...I.Schemas.Goal.CreateRequest.Pageview.html | 2 +- ...PI.Schemas.Goal.CreateRequest.Revenue.html | 2 +- ...lugins.API.Schemas.Goal.CreateRequest.html | 2 +- ....Plugins.API.Schemas.Goal.CustomEvent.html | 2 +- ...ns.API.Schemas.Goal.DeleteBulkRequest.html | 2 +- ...Plugins.API.Schemas.Goal.ListResponse.html | 2 +- ...Web.Plugins.API.Schemas.Goal.Pageview.html | 2 +- ...eWeb.Plugins.API.Schemas.Goal.Revenue.html | 2 +- ...ibleWeb.Plugins.API.Schemas.Goal.Type.html | 2 +- PlausibleWeb.Plugins.API.Schemas.Goal.html | 2 +- PlausibleWeb.Plugins.API.Schemas.Link.html | 2 +- ...sibleWeb.Plugins.API.Schemas.NotFound.html | 2 +- ...lugins.API.Schemas.PaginationMetadata.html | 2 +- ...b.Plugins.API.Schemas.PaymentRequired.html | 2 +- ....API.Schemas.SharedLink.CreateRequest.html | 2 +- ...s.API.Schemas.SharedLink.ListResponse.html | 2 +- ...bleWeb.Plugins.API.Schemas.SharedLink.html | 2 +- ...eWeb.Plugins.API.Schemas.Unauthorized.html | 2 +- ...ugins.API.Schemas.UnprocessableEntity.html | 2 +- PlausibleWeb.Plugins.API.Spec.html | 2 +- ...sibleWeb.Plugins.API.Views.CustomProp.html | 2 +- PlausibleWeb.Plugins.API.Views.Error.html | 2 +- PlausibleWeb.Plugins.API.Views.Goal.html | 2 +- ...sibleWeb.Plugins.API.Views.Pagination.html | 2 +- ...sibleWeb.Plugins.API.Views.SharedLink.html | 2 +- PlausibleWeb.Plugins.API.html | 251 ------------- PlausibleWeb.PluginsAPICase.html | 2 +- PlausibleWeb.Plugs.AuthorizePluginsAPI.html | 2 +- PlausibleWeb.Plugs.ErrorHandler.html | 2 +- ...bleWeb.Plugs.MaybeDisableRegistration.html | 2 +- PlausibleWeb.Plugs.NoRobots.html | 2 +- PlausibleWeb.RefInspector.html | 2 +- PlausibleWeb.RemoteIp.html | 2 +- PlausibleWeb.RequireAccountPlug.html | 2 +- PlausibleWeb.RequireLoggedOutPlug.html | 2 +- PlausibleWeb.Router.html | 62 +++- PlausibleWeb.SessionTimeoutPlug.html | 2 +- PlausibleWeb.Site.MembershipController.html | 2 +- PlausibleWeb.Site.MembershipView.html | 2 +- PlausibleWeb.SiteController.html | 2 +- PlausibleWeb.SiteView.html | 2 +- PlausibleWeb.StatsController.html | 2 +- PlausibleWeb.StatsView.html | 2 +- PlausibleWeb.Tracker.html | 2 +- PlausibleWeb.TwoFactor.Session.html | 2 +- PlausibleWeb.UnsubscribeController.html | 2 +- PlausibleWeb.UnsubscribeView.html | 2 +- PlausibleWeb.html | 8 +- api-reference.html | 18 +- contributing.html | 2 +- ...ta-E7363DA5.js => search_data-08A278DA.js} | 2 +- ...-D48A0781.js => sidebar_items-C805698E.js} | 2 +- readme.html | 2 +- search.html | 4 +- 319 files changed, 1013 insertions(+), 1555 deletions(-) delete mode 100644 PlausibleWeb.Plugins.API.Router.html delete mode 100644 PlausibleWeb.Plugins.API.html rename dist/{search_data-E7363DA5.js => search_data-08A278DA.js} (86%) rename dist/{sidebar_items-D48A0781.js => sidebar_items-C805698E.js} (85%) diff --git a/.build b/.build index 24a0bc2d5..f63577897 100644 --- a/.build +++ b/.build @@ -254,7 +254,6 @@ PlausibleWeb.Plugins.API.Controllers.CustomProps.html PlausibleWeb.Plugins.API.Controllers.Goals.html PlausibleWeb.Plugins.API.Controllers.SharedLinks.html PlausibleWeb.Plugins.API.Errors.html -PlausibleWeb.Plugins.API.Router.html PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html @@ -286,7 +285,6 @@ PlausibleWeb.Plugins.API.Views.Error.html PlausibleWeb.Plugins.API.Views.Goal.html PlausibleWeb.Plugins.API.Views.Pagination.html PlausibleWeb.Plugins.API.Views.SharedLink.html -PlausibleWeb.Plugins.API.html PlausibleWeb.PluginsAPICase.html PlausibleWeb.Plugs.AuthorizePluginsAPI.html PlausibleWeb.Plugs.ErrorHandler.html @@ -339,8 +337,8 @@ dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2 dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2 dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2 dist/remixicon-NKANDIL5.woff2 -dist/search_data-E7363DA5.js -dist/sidebar_items-D48A0781.js +dist/search_data-08A278DA.js +dist/sidebar_items-C805698E.js index.html readme.html search.html diff --git a/404.html b/404.html index 8b9d952a9..cb131b583 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - + diff --git a/Mix.Tasks.CancelSubscription.html b/Mix.Tasks.CancelSubscription.html index aa0052f92..e0bbfa416 100644 --- a/Mix.Tasks.CancelSubscription.html +++ b/Mix.Tasks.CancelSubscription.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.CleanClickhouse.html b/Mix.Tasks.CleanClickhouse.html index 7db517d6e..04424ca8c 100644 --- a/Mix.Tasks.CleanClickhouse.html +++ b/Mix.Tasks.CleanClickhouse.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.CreateFreeSubscription.html b/Mix.Tasks.CreateFreeSubscription.html index cc8b279ce..fffe35d9e 100644 --- a/Mix.Tasks.CreateFreeSubscription.html +++ b/Mix.Tasks.CreateFreeSubscription.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.DownloadCountryDatabase.html b/Mix.Tasks.DownloadCountryDatabase.html index 626e4148d..b214c1d6a 100644 --- a/Mix.Tasks.DownloadCountryDatabase.html +++ b/Mix.Tasks.DownloadCountryDatabase.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.GenerateReferrerFavicons.html b/Mix.Tasks.GenerateReferrerFavicons.html index 021b14edf..89461c940 100644 --- a/Mix.Tasks.GenerateReferrerFavicons.html +++ b/Mix.Tasks.GenerateReferrerFavicons.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.PullSandboxSubscription.html b/Mix.Tasks.PullSandboxSubscription.html index 2aa8a0f94..c1fc402e2 100644 --- a/Mix.Tasks.PullSandboxSubscription.html +++ b/Mix.Tasks.PullSandboxSubscription.html @@ -14,7 +14,7 @@ - + diff --git a/Mix.Tasks.SendPageview.html b/Mix.Tasks.SendPageview.html index 998d12ca6..66213e804 100644 --- a/Mix.Tasks.SendPageview.html +++ b/Mix.Tasks.SendPageview.html @@ -14,7 +14,7 @@ - + diff --git a/ObanErrorReporter.html b/ObanErrorReporter.html index 36d17c15d..07f924912 100644 --- a/ObanErrorReporter.html +++ b/ObanErrorReporter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.AsyncInsertRepo.html b/Plausible.AsyncInsertRepo.html index 85491faee..599e45a58 100644 --- a/Plausible.AsyncInsertRepo.html +++ b/Plausible.AsyncInsertRepo.html @@ -14,7 +14,7 @@ - + @@ -1143,23 +1143,23 @@ pool to disconnect within the given interval.

See -

Similar to insert_all/2 but with the following differences:

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
 
-defmodule Demo do
+defmodule Demo do
   use Ecto.Schema
 
   @primary_key false
-  schema "ecto_ch_demo" do
+  schema "ecto_ch_demo" do
     field :a, Ch, type: "UInt64"
     field :b, :string
-  end
-end
+  end
+end
 
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
 
 # schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+
{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Auth.ApiKey.html b/Plausible.Auth.ApiKey.html index 7409cfa84..159bddf44 100644 --- a/Plausible.Auth.ApiKey.html +++ b/Plausible.Auth.ApiKey.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.ApiKeyAdmin.html b/Plausible.Auth.ApiKeyAdmin.html index b388e1daf..7e7a5aa2a 100644 --- a/Plausible.Auth.ApiKeyAdmin.html +++ b/Plausible.Auth.ApiKeyAdmin.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.EmailActivationCode.html b/Plausible.Auth.EmailActivationCode.html index 0a4bcbb7a..93ccb5609 100644 --- a/Plausible.Auth.EmailActivationCode.html +++ b/Plausible.Auth.EmailActivationCode.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.EmailVerification.html b/Plausible.Auth.EmailVerification.html index c1d3786ff..a4204db32 100644 --- a/Plausible.Auth.EmailVerification.html +++ b/Plausible.Auth.EmailVerification.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.GracePeriod.html b/Plausible.Auth.GracePeriod.html index 7e0edb7b5..64a7aa44b 100644 --- a/Plausible.Auth.GracePeriod.html +++ b/Plausible.Auth.GracePeriod.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.Invitation.html b/Plausible.Auth.Invitation.html index 6d2b7344a..def9d3ec4 100644 --- a/Plausible.Auth.Invitation.html +++ b/Plausible.Auth.Invitation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.Password.html b/Plausible.Auth.Password.html index 0f506cd63..dd42b4d86 100644 --- a/Plausible.Auth.Password.html +++ b/Plausible.Auth.Password.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.TOTP.EncryptedBinary.html b/Plausible.Auth.TOTP.EncryptedBinary.html index a74958467..e4a867bdf 100644 --- a/Plausible.Auth.TOTP.EncryptedBinary.html +++ b/Plausible.Auth.TOTP.EncryptedBinary.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.TOTP.RecoveryCode.html b/Plausible.Auth.TOTP.RecoveryCode.html index 6de80b25c..fec8931df 100644 --- a/Plausible.Auth.TOTP.RecoveryCode.html +++ b/Plausible.Auth.TOTP.RecoveryCode.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.TOTP.Vault.html b/Plausible.Auth.TOTP.Vault.html index 757d99ff6..b7a3861b2 100644 --- a/Plausible.Auth.TOTP.Vault.html +++ b/Plausible.Auth.TOTP.Vault.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.TOTP.html b/Plausible.Auth.TOTP.html index b929590a4..0efd333da 100644 --- a/Plausible.Auth.TOTP.html +++ b/Plausible.Auth.TOTP.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.Token.html b/Plausible.Auth.Token.html index d83acd1ce..3e100d269 100644 --- a/Plausible.Auth.Token.html +++ b/Plausible.Auth.Token.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.User.html b/Plausible.Auth.User.html index 3c561110a..d4931f50c 100644 --- a/Plausible.Auth.User.html +++ b/Plausible.Auth.User.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.UserAdmin.html b/Plausible.Auth.UserAdmin.html index 810d32636..cd8eb5447 100644 --- a/Plausible.Auth.UserAdmin.html +++ b/Plausible.Auth.UserAdmin.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Auth.html b/Plausible.Auth.html index d7cc4ad95..cb77e1a72 100644 --- a/Plausible.Auth.html +++ b/Plausible.Auth.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Ecto.Feature.html b/Plausible.Billing.Ecto.Feature.html index a19c0986c..7ea32a55b 100644 --- a/Plausible.Billing.Ecto.Feature.html +++ b/Plausible.Billing.Ecto.Feature.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Ecto.FeatureList.html b/Plausible.Billing.Ecto.FeatureList.html index afc4c94b8..78f9c7998 100644 --- a/Plausible.Billing.Ecto.FeatureList.html +++ b/Plausible.Billing.Ecto.FeatureList.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Ecto.Limit.html b/Plausible.Billing.Ecto.Limit.html index 91f08e805..fafc14735 100644 --- a/Plausible.Billing.Ecto.Limit.html +++ b/Plausible.Billing.Ecto.Limit.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.EnterprisePlan.html b/Plausible.Billing.EnterprisePlan.html index dddb1f164..5562ecb9b 100644 --- a/Plausible.Billing.EnterprisePlan.html +++ b/Plausible.Billing.EnterprisePlan.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.EnterprisePlanAdmin.html b/Plausible.Billing.EnterprisePlanAdmin.html index dd1fcd8e1..253f14ed1 100644 --- a/Plausible.Billing.EnterprisePlanAdmin.html +++ b/Plausible.Billing.EnterprisePlanAdmin.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Feature.html b/Plausible.Billing.Feature.html index d14981f39..e3ca38d65 100644 --- a/Plausible.Billing.Feature.html +++ b/Plausible.Billing.Feature.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.PaddleApi.html b/Plausible.Billing.PaddleApi.html index f4da3c763..981ef32c4 100644 --- a/Plausible.Billing.PaddleApi.html +++ b/Plausible.Billing.PaddleApi.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Plans.html b/Plausible.Billing.Plans.html index 296af6fa5..6d9e0409b 100644 --- a/Plausible.Billing.Plans.html +++ b/Plausible.Billing.Plans.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Quota.html b/Plausible.Billing.Quota.html index 238cbedef..0b7d19908 100644 --- a/Plausible.Billing.Quota.html +++ b/Plausible.Billing.Quota.html @@ -14,7 +14,7 @@ - + @@ -727,12 +727,12 @@ this user owns + StatsAPI if the user has a configured Stats API key.

Give

Queries the ClickHouse database for the monthly pageview usage. If the given user's subscription is active, past_due, or a deleted (but not yet expired), a map -with the following structure is returned:

%{
-  current_cycle: usage_cycle(),
-  last_cycle: usage_cycle(),
-  penultimate_cycle: usage_cycle()
-}

In all other cases of the subscription status (or a free_10k subscription which -does not have a last_bill_date defined) - the following structure is returned:

%{last_30_days: usage_cycle()}

Given only a user as input, the usage is queried from across all the sites that the +with the following structure is returned:

%{
+  current_cycle: usage_cycle(),
+  last_cycle: usage_cycle(),
+  penultimate_cycle: usage_cycle()
+}

In all other cases of the subscription status (or a free_10k subscription which +does not have a last_bill_date defined) - the following structure is returned:

%{last_30_days: usage_cycle()}

Given only a user as input, the usage is queried from across all the sites that the user owns. Alternatively, given an optional argument of site_ids, the usage from across all those sites is queried instead.

diff --git a/Plausible.Billing.SiteLocker.html b/Plausible.Billing.SiteLocker.html index b1f4066e2..92cc92cc5 100644 --- a/Plausible.Billing.SiteLocker.html +++ b/Plausible.Billing.SiteLocker.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.Subscription.Status.html b/Plausible.Billing.Subscription.Status.html index 4703af47d..b65a422bc 100644 --- a/Plausible.Billing.Subscription.Status.html +++ b/Plausible.Billing.Subscription.Status.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.html b/Plausible.Billing.html index 7a662c90f..c6cb25b47 100644 --- a/Plausible.Billing.html +++ b/Plausible.Billing.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cache.Warmer.html b/Plausible.Cache.Warmer.html index 5acad7863..6ffea0fd1 100644 --- a/Plausible.Cache.Warmer.html +++ b/Plausible.Cache.Warmer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cache.html b/Plausible.Cache.html index d093526a7..0f710c682 100644 --- a/Plausible.Cache.html +++ b/Plausible.Cache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ChangesetHelpers.html b/Plausible.ChangesetHelpers.html index cf45be153..e4d4f5775 100644 --- a/Plausible.ChangesetHelpers.html +++ b/Plausible.ChangesetHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cldr.AcceptLanguage.html b/Plausible.Cldr.AcceptLanguage.html index 181bff69f..8ecc1b3b0 100644 --- a/Plausible.Cldr.AcceptLanguage.html +++ b/Plausible.Cldr.AcceptLanguage.html @@ -14,7 +14,7 @@ - + @@ -148,7 +148,7 @@ Pages the set of natural languages that are preferred as a response to the request. Language tags function are provided in Cldr.LanguageTag.

The format of an Accept-Language header is as follows in ABNF format:

   Accept-Language = "Accept-Language" ":"
                      1#( language-range [ ";" "q" "=" qvalue ] )
-   language-range  = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )

Each language-range MAY be given an associated quality value which represents an + language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )

Each language-range MAY be given an associated quality value which represents an estimate of the user's preference for the languages specified by that range. The quality value defaults to "q=1". For example,

   Accept-Language: da, en-gb;q=0.8, en;q=0.7

would mean: "I prefer Danish, but will accept British English and other types of English."

@@ -261,54 +261,54 @@ a configured Examples -
iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- %Cldr.LanguageTag{
+
iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ %Cldr.LanguageTag{
    backend: TestBackend.Cldr,
    canonical_locale_name: "zh-TW",
    cldr_locale_name: :"zh-Hant",
-   language_subtags: [],
-   extensions: %{},
+   language_subtags: [],
+   extensions: %{},
    gettext_locale_name: nil,
    language: "zh",
-   locale: %{},
-   private_use: [],
+   locale: %{},
+   private_use: [],
    rbnf_locale_name: :"zh-Hant",
    requested_locale_name: "zh-TW",
    script: :Hant,
    territory: :TW,
-   transform: %{},
-   language_variants: []
- }}
+   transform: %{},
+   language_variants: []
+ }}
 
-iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ %Cldr.LanguageTag{
    backend: TestBackend.Cldr,
    canonical_locale_name: "zh-TW",
    cldr_locale_name: :"zh-Hant",
-   language_subtags: [],
-   extensions: %{},
+   language_subtags: [],
+   extensions: %{},
    gettext_locale_name: nil,
    language: "zh",
-   locale: %{},
-   private_use: [],
+   locale: %{},
+   private_use: [],
    rbnf_locale_name: :"zh-Hant",
    requested_locale_name: "zh-TW",
    script: :Hant,
    territory: :TW,
-   transform: %{},
-   language_variants: []
- }}
-
-iex> Plausible.Cldr.AcceptLanguage.best_match("xx,yy;q=0.3")
-{:error,
- {Cldr.NoMatchingLocale,
-  "No configured locale could be matched to \"xx,yy;q=0.3\""}}
-
-iex> Plausible.Cldr.AcceptLanguage.best_match("invalid_tag")
-{:error, {Cldr.LanguageTag.ParseError,
-  "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+
transform: %{}, + language_variants: [] + }} + +iex> Plausible.Cldr.AcceptLanguage.best_match("xx,yy;q=0.3") +{:error, + {Cldr.NoMatchingLocale, + "No configured locale could be matched to \"xx,yy;q=0.3\""}} + +iex> Plausible.Cldr.AcceptLanguage.best_match("invalid_tag") +{:error, {Cldr.LanguageTag.ParseError, + "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
@@ -369,95 +369,95 @@ wuth an error tuple for each invalid tag added at the end of the list.

Example

-
iex> Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- [
-   {1.0,
-    %Cldr.LanguageTag{
+
iex> Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ [
+   {1.0,
+    %Cldr.LanguageTag{
       backend: TestBackend.Cldr,
       canonical_locale_name: "da",
       cldr_locale_name: :da,
-      language_subtags: [],
-      extensions: %{},
+      language_subtags: [],
+      extensions: %{},
       gettext_locale_name: nil,
       language: "da",
-      locale: %{},
-      private_use: [],
+      locale: %{},
+      private_use: [],
       rbnf_locale_name: :da,
       requested_locale_name: "da",
       script: :Latn,
       territory: :DK,
-      transform: %{},
-      language_variants: []
-    }},
-   {0.3,
-    %Cldr.LanguageTag{
+      transform: %{},
+      language_variants: []
+    }},
+   {0.3,
+    %Cldr.LanguageTag{
       backend: TestBackend.Cldr,
       canonical_locale_name: "zh-TW",
       cldr_locale_name: :"zh-Hant",
-      language_subtags: [],
-      extensions: %{},
+      language_subtags: [],
+      extensions: %{},
       gettext_locale_name: nil,
       language: "zh",
-      locale: %{},
-      private_use: [],
+      locale: %{},
+      private_use: [],
       rbnf_locale_name: :"zh-Hant",
       requested_locale_name: "zh-TW",
       script: :Hant,
       territory: :TW,
-      transform: %{},
-      language_variants: []
-    }}
- ]}
-
-iex> Plausible.Cldr.AcceptLanguage.parse("invalid_tag")
-{:error,
- {Cldr.LanguageTag.ParseError,
-  "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
-
-iex> Plausible.Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3,invalid_tag")
-{:ok,
- [
-   {1.0,
-    %Cldr.LanguageTag{
+      transform: %{},
+      language_variants: []
+    }}
+ ]}
+
+iex> Plausible.Cldr.AcceptLanguage.parse("invalid_tag")
+{:error,
+ {Cldr.LanguageTag.ParseError,
+  "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+
+iex> Plausible.Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3,invalid_tag")
+{:ok,
+ [
+   {1.0,
+    %Cldr.LanguageTag{
       backend: TestBackend.Cldr,
       canonical_locale_name: "da",
       cldr_locale_name: :da,
-      language_subtags: [],
-      extensions: %{},
+      language_subtags: [],
+      extensions: %{},
       gettext_locale_name: nil,
       language: "da",
-      locale: %{},
-      private_use: [],
+      locale: %{},
+      private_use: [],
       rbnf_locale_name: :da,
       requested_locale_name: "da",
       script: :Latn,
       territory: :DK,
-      transform: %{},
-      language_variants: []
-    }},
-   {0.3,
-    %Cldr.LanguageTag{
+      transform: %{},
+      language_variants: []
+    }},
+   {0.3,
+    %Cldr.LanguageTag{
       backend: TestBackend.Cldr,
       canonical_locale_name: "zh-TW",
       cldr_locale_name: :"zh-Hant",
-      language_subtags: [],
-      extensions: %{},
+      language_subtags: [],
+      extensions: %{},
       gettext_locale_name: nil,
       language: "zh",
-      locale: %{},
-      private_use: [],
+      locale: %{},
+      private_use: [],
       rbnf_locale_name: :"zh-Hant",
       requested_locale_name: "zh-TW",
       script: :Hant,
       territory: :TW,
-      transform: %{},
-      language_variants: []
-    }},
-   {:error,
-    {Cldr.LanguageTag.ParseError,
-     "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
- ]}
+
transform: %{}, + language_variants: [] + }}, + {:error, + {Cldr.LanguageTag.ParseError, + "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}} + ]}
@@ -502,92 +502,92 @@ wuth an error tuple for each invalid tag added at the end of the list.

Example

-
iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3")
-[
-  {1.0,
-   %Cldr.LanguageTag{
+
iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3")
+[
+  {1.0,
+   %Cldr.LanguageTag{
      backend: TestBackend.Cldr,
      canonical_locale_name: "da",
      cldr_locale_name: :da,
-     language_subtags: [],
-     extensions: %{},
+     language_subtags: [],
+     extensions: %{},
      gettext_locale_name: nil,
      language: "da",
-     locale: %{},
-     private_use: [],
+     locale: %{},
+     private_use: [],
      rbnf_locale_name: :da,
      requested_locale_name: "da",
      script: :Latn,
      territory: :DK,
-     transform: %{},
-     language_variants: []
-   }},
-  {0.3,
-   %Cldr.LanguageTag{
+     transform: %{},
+     language_variants: []
+   }},
+  {0.3,
+   %Cldr.LanguageTag{
      backend: TestBackend.Cldr,
      canonical_locale_name: "zh-TW",
      cldr_locale_name: :"zh-Hant",
-     language_subtags: [],
-     extensions: %{},
+     language_subtags: [],
+     extensions: %{},
      gettext_locale_name: nil,
      language: "zh",
-     locale: %{},
-     private_use: [],
+     locale: %{},
+     private_use: [],
      rbnf_locale_name: :"zh-Hant",
      requested_locale_name: "zh-TW",
      script: :Hant,
      territory: :TW,
-     transform: %{},
-     language_variants: []
-   }}
-]
+     transform: %{},
+     language_variants: []
+   }}
+]
 
 Plausible.Cldr.AcceptLanguage.parse! "invalid_tag"
 ** (Cldr.AcceptLanguageError) "Expected a BCP47 language tag. Could not parse the remaining "g" starting at position 11
     (ex_cldr) lib/cldr/accept_language.ex:304: Cldr.AcceptLanguage.parse!/1
 
-iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3,invalid_tag")
-[
-  {1.0,
-   %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3,invalid_tag")
+[
+  {1.0,
+   %Cldr.LanguageTag{
      backend: TestBackend.Cldr,
      canonical_locale_name: "da",
      cldr_locale_name: :da,
-     language_subtags: [],
-     extensions: %{},
+     language_subtags: [],
+     extensions: %{},
      gettext_locale_name: nil,
      language: "da",
-     locale: %{},
-     private_use: [],
+     locale: %{},
+     private_use: [],
      rbnf_locale_name: :da,
      requested_locale_name: "da",
      script: :Latn,
      territory: :DK,
-     transform: %{},
-     language_variants: []
-   }},
-  {0.3,
-   %Cldr.LanguageTag{
+     transform: %{},
+     language_variants: []
+   }},
+  {0.3,
+   %Cldr.LanguageTag{
      backend: TestBackend.Cldr,
      canonical_locale_name: "zh-TW",
      cldr_locale_name: :"zh-Hant",
-     language_subtags: [],
-     extensions: %{},
+     language_subtags: [],
+     extensions: %{},
      gettext_locale_name: nil,
      language: "zh",
-     locale: %{},
-     private_use: [],
+     locale: %{},
+     private_use: [],
      rbnf_locale_name: :"zh-Hant",
      requested_locale_name: "zh-TW",
      script: :Hant,
      territory: :TW,
-     transform: %{},
-     language_variants: []
-   }},
-  {:error,
-   {Cldr.LanguageTag.ParseError,
-    "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
-]
+
transform: %{}, + language_variants: [] + }}, + {:error, + {Cldr.LanguageTag.ParseError, + "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}} +]
diff --git a/Plausible.Cldr.Currency.html b/Plausible.Cldr.Currency.html index 92cd4433e..fca8ccd3a 100644 --- a/Plausible.Cldr.Currency.html +++ b/Plausible.Cldr.Currency.html @@ -14,7 +14,7 @@ - + @@ -419,11 +419,11 @@ The default is :all. See
FJD: %Cldr.Currency{ + %{

 FJD: %Cldr.Currency{
    cash_digits: 2,
    cash_rounding: 0,
    code: "FJD",
-   count: %{one: "Fijian dollar", other: "Fijian dollars"},
+   count: %{one: "Fijian dollar", other: "Fijian dollars"},
    digits: 2,
    from: nil,
    iso_digits: 2,
@@ -433,12 +433,12 @@ The default is :all. See symbol: "FJD",
    tender: true,
    to: nil
- },
- SUR: %Cldr.Currency{
+ },
+ SUR: %Cldr.Currency{
    cash_digits: 2,
    cash_rounding: 0,
    code: "SUR",
-   count: %{one: "Soviet rouble", other: "Soviet roubles"},
+   count: %{one: "Soviet rouble", other: "Soviet roubles"},
    digits: 2,
    from: nil,
    iso_digits: nil,
@@ -448,7 +448,7 @@ The default is :all. See symbol: "SUR",
    tender: true,
    to: nil
- },
+ },
  ...
 }}
@@ -499,11 +499,11 @@ The default is :all. See Example

MyApp.Cldr.Currency.currencies_for_locale!("en") - => %{

FJD: %Cldr.Currency{
+  => %{

FJD: %Cldr.Currency{
   cash_digits: 2,
   cash_rounding: 0,
   code: "FJD",
-  count: %{one: "Fijian dollar", other: "Fijian dollars"},
+  count: %{one: "Fijian dollar", other: "Fijian dollars"},
   digits: 2,
   from: nil,
   iso_digits: 2,
@@ -513,12 +513,12 @@ The default is :all. See symbol: "FJD",
   tender: true,
   to: nil
-},
-SUR: %Cldr.Currency{
+},
+SUR: %Cldr.Currency{
   cash_digits: 2,
   cash_rounding: 0,
   code: "SUR",
-  count: %{one: "Soviet rouble", other: "Soviet roubles"},
+  count: %{one: "Soviet rouble", other: "Soviet roubles"},
   digits: 2,
   from: nil,
   iso_digits: nil,
@@ -528,7 +528,7 @@ The default is :all. See symbol: "SUR",
   tender: true,
   to: nil
-},
+},
 ...

}

@@ -586,13 +586,13 @@ or a Examples -
iex> Plausible.Cldr.Currency.currency_for_code("AUD")
-{:ok,
-  %Cldr.Currency{
+
iex> Plausible.Cldr.Currency.currency_for_code("AUD")
+{:ok,
+  %Cldr.Currency{
     cash_digits: 2,
     cash_rounding: 0,
     code: "AUD",
-    count: %{one: "Australian dollar", other: "Australian dollars"},
+    count: %{one: "Australian dollar", other: "Australian dollars"},
     digits: 2,
     iso_digits: 2,
     name: "Australian Dollar",
@@ -600,15 +600,15 @@ or a rounding: 0,
     symbol: "A$",
     tender: true
-}}
+}}
 
-iex> Plausible.Cldr.Currency.currency_for_code("THB")
-{:ok,
-  %Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code("THB")
+{:ok,
+  %Cldr.Currency{
     cash_digits: 2,
     cash_rounding: 0,
     code: "THB",
-    count: %{one: "Thai baht", other: "Thai baht"},
+    count: %{one: "Thai baht", other: "Thai baht"},
     digits: 2,
     iso_digits: 2,
     name: "Thai Baht",
@@ -616,7 +616,7 @@ or a rounding: 0,
     symbol: "THB",
     tender: true
-}}
+}}
@@ -675,12 +675,12 @@ or a Examples -
iex> Plausible.Cldr.Currency.currency_for_code!("AUD")
-%Cldr.Currency{
+
iex> Plausible.Cldr.Currency.currency_for_code!("AUD")
+%Cldr.Currency{
   cash_digits: 2,
   cash_rounding: 0,
   code: "AUD",
-  count: %{one: "Australian dollar", other: "Australian dollars"},
+  count: %{one: "Australian dollar", other: "Australian dollars"},
   digits: 2,
   iso_digits: 2,
   name: "Australian Dollar",
@@ -688,14 +688,14 @@ or a rounding: 0,
   symbol: "A$",
   tender: true
-}
+}
 
-iex> Plausible.Cldr.Currency.currency_for_code!("THB")
-%Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code!("THB")
+%Cldr.Currency{
   cash_digits: 2,
   cash_rounding: 0,
   code: "THB",
-  count: %{one: "Thai baht", other: "Thai baht"},
+  count: %{one: "Thai baht", other: "Thai baht"},
   digits: 2,
   iso_digits: 2,
   name: "Thai Baht",
@@ -703,7 +703,7 @@ or a rounding: 0,
   symbol: "THB",
   tender: true
-}
+}
@@ -744,15 +744,15 @@ or a Examples -
iex> {:ok, locale} = Plausible.Cldr.validate_locale("en")
+
iex> {:ok, locale} = Plausible.Cldr.validate_locale("en")
 iex> Plausible.Cldr.Currency.currency_from_locale locale
 :USD
 
-iex> {:ok, locale} = Plausible.Cldr.validate_locale("en-AU")
+iex> {:ok, locale} = Plausible.Cldr.validate_locale("en-AU")
 iex> Plausible.Cldr.Currency.currency_from_locale locale
 :AUD
 
-iex> Plausible.Cldr.Currency.currency_from_locale("en-GB")
+iex> Plausible.Cldr.Currency.currency_from_locale("en-GB")
 :GBP
@@ -796,14 +796,14 @@ or a Example -
iex> MyApp.Cldr.Currency.currency_history_for_locale("en")
-{:ok,
-    %{
-    USD: %{from: ~D[1792-01-01], to: nil},
-    USN: %{tender: false},
-    USS: %{from: nil, tender: false, to: ~D[2014-03-01]}
-  }
-}
+
iex> MyApp.Cldr.Currency.currency_history_for_locale("en")
+{:ok,
+    %{
+    USD: %{from: ~D[1792-01-01], to: nil},
+    USN: %{tender: false},
+    USS: %{from: nil, tender: false, to: ~D[2014-03-01]}
+  }
+}
@@ -862,9 +862,9 @@ The default is :all. See Example -
MyApp.Cldr.Currency.currency_strings("en")
-=> {:ok,
- %{
+
MyApp.Cldr.Currency.currency_strings("en")
+=> {:ok,
+ %{
    "mexican silver pesos" => :MXP,
    "sudanese dinar" => :SDD,
    "bad" => :BAD,
@@ -874,7 +874,7 @@ The default is :all. See "guyanaese dollars" => :GYD,
    "equatorial guinean ekwele" => :GQE,
    ...
-  }}
+ }}
@@ -933,8 +933,8 @@ The default is :all. See Example -
MyApp.Cldr.Currency.currency_strings!("en")
-=> %{
+
MyApp.Cldr.Currency.currency_strings!("en")
+=> %{
   "mexican silver pesos" => :MXP,
   "sudanese dinar" => :SDD,
   "bad" => :BAD,
@@ -944,7 +944,7 @@ The default is :all. See "guyanaese dollars" => :GYD,
   "equatorial guinean ekwele" => :GQE,
   ...
- }
+ }
@@ -982,10 +982,10 @@ or a Example -
iex> MyApp.Cldr.Currency.current_currency_from_locale("en")
+
iex> MyApp.Cldr.Currency.current_currency_from_locale("en")
 :USD
 
-iex> MyApp.Cldr.Currency.current_currency_from_locale("en-AU")
+iex> MyApp.Cldr.Currency.current_currency_from_locale("en-AU")
 :AUD
@@ -1033,7 +1033,7 @@ mapping is returned for that territory.

Example

-
iex> Plausible.Cldr.Currency.current_territory_currencies()
+
iex> Plausible.Cldr.Currency.current_territory_currencies()
@@ -1125,11 +1125,11 @@ currency code

Examples

-
iex> Plausible.Cldr.Currency.known_currency_code("AUD")
-{:ok, :AUD}
+
iex> Plausible.Cldr.Currency.known_currency_code("AUD")
+{:ok, :AUD}
 
-iex> Plausible.Cldr.Currency.known_currency_code("GGG")
-{:error, {Cldr.UnknownCurrencyError, "The currency \"GGG\" is invalid"}}
+
iex> Plausible.Cldr.Currency.known_currency_code("GGG") +{:error, {Cldr.UnknownCurrencyError, "The currency \"GGG\" is invalid"}}
@@ -1176,13 +1176,13 @@ currency code

Examples

-
iex> Plausible.Cldr.Currency.known_currency_code?("AUD")
+
iex> Plausible.Cldr.Currency.known_currency_code?("AUD")
 true
 
-iex> Plausible.Cldr.Currency.known_currency_code?("GGG")
+iex> Plausible.Cldr.Currency.known_currency_code?("GGG")
 false
 
-iex> Plausible.Cldr.Currency.known_currency_code?(:XCV)
+iex> Plausible.Cldr.Currency.known_currency_code?(:XCV)
 false
@@ -1217,7 +1217,7 @@ currency code

Example

-
iex> Plausible.Cldr.Currency.known_currency_codes()
+
iex> Plausible.Cldr.Currency.known_currency_codes()
@@ -1276,14 +1276,14 @@ such as 0.05. Optional.

Example

-
iex> Plausible.Cldr.Currency.new(:XAE, name: "Custom Name", digits: 0)
-{:ok,
- %Cldr.Currency{
+
iex> Plausible.Cldr.Currency.new(:XAE, name: "Custom Name", digits: 0)
+{:ok,
+ %Cldr.Currency{
    alt_code: :XAE,
    cash_digits: 0,
    cash_rounding: nil,
    code: :XAE,
-   count: %{other: "Custom Name"},
+   count: %{other: "Custom Name"},
    digits: 0,
    from: nil,
    iso_digits: 0,
@@ -1293,11 +1293,11 @@ such as 0.05. Optional.

symbol: "XAE", tender: false, to: nil - }} -iex> MyApp.Cldr.Currency.new(:XAH, name: "Custom Name") -{:error, "Required options are missing. Required options are [:name, :digits]"} -iex> Plausible.Cldr.Currency.new(:XAE, name: "XAE", digits: 0) -{:error, {Cldr.CurrencyAlreadyDefined, "Currency :XAE is already defined."}}

+
}} +iex> MyApp.Cldr.Currency.new(:XAH, name: "Custom Name") +{:error, "Required options are missing. Required options are [:name, :digits]"} +iex> Plausible.Cldr.Currency.new(:XAE, name: "XAE", digits: 0) +{:error, {Cldr.CurrencyAlreadyDefined, "Currency :XAE is already defined."}}
@@ -1355,20 +1355,20 @@ default is Plaus Examples -
iex> Plausible.Cldr.Currency.pluralize(1, :USD)
-{:ok, "US dollar"}
+
iex> Plausible.Cldr.Currency.pluralize(1, :USD)
+{:ok, "US dollar"}
 
-iex> Plausible.Cldr.Currency.pluralize(3, :USD)
-{:ok, "US dollars"}
+iex> Plausible.Cldr.Currency.pluralize(3, :USD)
+{:ok, "US dollars"}
 
-iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: "zh")
-{:ok, "美元"}
+iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: "zh")
+{:ok, "美元"}
 
-iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: "fr")
-{:ok, "dollars des États-Unis"}
+iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: "fr")
+{:ok, "dollars des États-Unis"}
 
-iex> Plausible.Cldr.Currency.pluralize(1, :USD, locale: "fr")
-{:ok, "dollar des États-Unis"}
+
iex> Plausible.Cldr.Currency.pluralize(1, :USD, locale: "fr") +{:ok, "dollar des États-Unis"}
@@ -1410,8 +1410,8 @@ or a Example -
iex> MyApp.Cldr.Currency.strings_for_currency(:AUD, "en")
-["a$", "australian dollars", "aud", "australian dollar"]
+
iex> MyApp.Cldr.Currency.strings_for_currency(:AUD, "en")
+["a$", "australian dollars", "aud", "australian dollar"]
diff --git a/Plausible.Cldr.Locale.html b/Plausible.Cldr.Locale.html index 3256edf4c..0cdfbee57 100644 --- a/Plausible.Cldr.Locale.html +++ b/Plausible.Cldr.Locale.html @@ -14,7 +14,7 @@ - + @@ -326,16 +326,16 @@ this specific locale..

Examples

-
iex> Plausible.Cldr.Locale.fallback_locale_names(:"fr-CA")
-{:ok, [:"fr-CA", :fr, :und]}
+
iex> Plausible.Cldr.Locale.fallback_locale_names(:"fr-CA")
+{:ok, [:"fr-CA", :fr, :und]}
 
 # Fallbacks are typically formed by progressively
 # stripping variant, territory and script from the
 # given locale name. But not always - there are
 # certain fallbacks that take a different path.
 
-iex> Plausible.Cldr.Locale.fallback_locale_names(:nb)
-{:ok, [:nb, :no, :und]}
+
iex> Plausible.Cldr.Locale.fallback_locale_names(:nb) +{:ok, [:nb, :no, :und]}
@@ -389,20 +389,20 @@ this specific locale.

Examples

-
Plausible.Cldr.Locale.fallback_locales(:"fr-CA")
-=> {:ok,
-     [#Cldr.LanguageTag<fr-CA [validated]>, #Cldr.LanguageTag<fr [validated]>,
-      #Cldr.LanguageTag<und [validated]>]}
+
Plausible.Cldr.Locale.fallback_locales(:"fr-CA")
+=> {:ok,
+     [#Cldr.LanguageTag<fr-CA [validated]>, #Cldr.LanguageTag<fr [validated]>,
+      #Cldr.LanguageTag<und [validated]>]}
 
 # Fallbacks are typically formed by progressively
 # stripping variant, territory and script from the
 # given locale name. But not always - there are
 # certain fallbacks that take a different path.
 
-Plausible.Cldr.Locale.fallback_locales(:nb))
-=> {:ok,
-     [#Cldr.LanguageTag<nb [validated]>, #Cldr.LanguageTag<no [validated]>,
-      #Cldr.LanguageTag<und [validated]>]}
+
Plausible.Cldr.Locale.fallback_locales(:nb)) +=> {:ok, + [#Cldr.LanguageTag<nb [validated]>, #Cldr.LanguageTag<no [validated]>, + #Cldr.LanguageTag<und [validated]>]}
@@ -533,15 +533,15 @@ generic top-level domain names.

Examples

iex> Plausible.Cldr.Locale.locale_from_host "a.b.com.au"
-Elixir.Plausible.Cldr.validate_locale(:"en-AU")
+Elixir.Plausible.Cldr.validate_locale(:"en-AU")
 
-iex> Plausible.Cldr.Locale.locale_from_host("a.b.com.tv")
-{:error,
- {Cldr.UnknownLocaleError, "No locale was identified for territory \"tv\""}}
+iex> Plausible.Cldr.Locale.locale_from_host("a.b.com.tv")
+{:error,
+ {Cldr.UnknownLocaleError, "No locale was identified for territory \"tv\""}}
 
-iex> Plausible.Cldr.Locale.locale_from_host("a.b.com")
-{:error,
- {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
+iex> Plausible.Cldr.Locale.locale_from_host("a.b.com") +{:error, + {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
@@ -683,12 +683,12 @@ be a territory.

Examples

-
iex> Cldr.Locale.territory_from_host("a.b.com.au")
-{:ok, :AU}
+
iex> Cldr.Locale.territory_from_host("a.b.com.au")
+{:ok, :AU}
 
-iex> Cldr.Locale.territory_from_host("a.b.com")
-{:error,
- {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
+
iex> Cldr.Locale.territory_from_host("a.b.com") +{:error, + {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
diff --git a/Plausible.Cldr.Number.Cardinal.html b/Plausible.Cldr.Number.Cardinal.html index 444b94ce6..d9b57a508 100644 --- a/Plausible.Cldr.Number.Cardinal.html +++ b/Plausible.Cldr.Number.Cardinal.html @@ -14,7 +14,7 @@ - + @@ -455,31 +455,31 @@ The valid substitution keys are :zero, Examples -
iex> Plausible.Cldr.Number.Cardinal.pluralize 1, "en", %{one: "one"}
+
iex> Plausible.Cldr.Number.Cardinal.pluralize 1, "en", %{one: "one"}
 "one"
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one"}
 nil
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one", two: "two", other: "other"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one", two: "two", other: "other"}
 "other"
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize 22, "en", %{one: "one", two: "two", other: "other"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize 22, "en", %{one: "one", two: "two", other: "other"}
 "other"
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), "en", %{one: "one"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), "en", %{one: "one"}
 "one"
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one"}
 nil
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one", two: "two"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one", two: "two"}
 nil
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
 "few"
 
-iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
 "other"
diff --git a/Plausible.Cldr.Number.Format.html b/Plausible.Cldr.Number.Format.html index 97e7996cf..1b475674d 100644 --- a/Plausible.Cldr.Number.Format.html +++ b/Plausible.Cldr.Number.Format.html @@ -14,7 +14,7 @@ - + @@ -468,7 +468,7 @@ to precompile all the known formats at compile time.

Example

#=> Plausible.Cldr.Number.Format.Format.decimal_format_list
-["#", "#,##,##0%",
+["#", "#,##,##0%",
 "#,##,##0.###", "#,##,##0.00¤", "#,##,##0.00¤;(#,##,##0.00¤)",
 "#,##,##0 %", "#,##0%", "#,##0.###", "#,##0.00 ¤",
 "#,##0.00 ¤;(#,##0.00 ¤)", "#,##0.00¤", "#,##0.00¤;(#,##0.00¤)",
@@ -478,7 +478,7 @@ to precompile all the known formats at compile time.

"000 B ¤", "000 E ¤", "000 K ¤", "000 MRD ¤", "000 Md ¤", "000 Mio'.' ¤", "000 Mio ¤", "000 Mld ¤", "000 Mln ¤", "000 Mn ¤", "000 Mrd'.' ¤", "000 Mrd ¤", "000 Mr ¤", "000 M ¤", "000 NT ¤", "000 N ¤", "000 Tn ¤", -"000 Tr ¤", ...]

+"000 Tr ¤", ...]
@@ -526,8 +526,8 @@ the known formats at compile time. Its use is not otherwise recommended.

Example

-
iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en)
-{:ok, ["#,##0%", "#,##0.###", "#,##0.00", "#,##0.00;(#,##0.00)","#E0",
+
iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en)
+{:ok, ["#,##0%", "#,##0.###", "#,##0.00", "#,##0.00;(#,##0.00)","#E0",
  "0 billion", "0 million", "0 thousand",
  "0 trillion", "00 billion", "00 million", "00 thousand", "00 trillion",
  "000 billion", "000 million", "000 thousand", "000 trillion", "000B", "000K",
@@ -535,7 +535,7 @@ the known formats at compile time. Its use is not otherwise recommended.

"¤#,##0.00", "¤#,##0.00;(¤#,##0.00)", "¤000B", "¤000K", "¤000M", "¤000T", "¤00B", "¤00K", "¤00M", "¤00T", "¤0B", "¤0K", "¤0M", "¤0T", "¤ #,##0.00", "¤ #,##0.00;(¤ #,##0.00)", "¤ 000B", "¤ 000K", "¤ 000M", - "¤ 000T", "¤ 00B", "¤ 00K", "¤ 00M", "¤ 00T", "¤ 0B", "¤ 0K", "¤ 0M", "¤ 0T"]}

+
"¤ 000T", "¤ 00B", "¤ 00K", "¤ 00M", "¤ 00T", "¤ 0B", "¤ 0K", "¤ 0M", "¤ 0T"]}
@@ -588,8 +588,8 @@ is Plausible.Cld Examples -
iex> Plausible.Cldr.Number.Format.default_grouping_for(:en)
-{:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}
+
iex> Plausible.Cldr.Number.Format.default_grouping_for(:en)
+{:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}
@@ -641,8 +641,8 @@ is Plausible.Cld Examples -
iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)
-%{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}
+
iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)
+%{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}
@@ -699,18 +699,18 @@ by percent: "#,##0 %", scientific: "#E0", standard: "#,##0.###" - currency_short: [{"1000", [one: "0 k ¤", other: "0 k ¤"]}, - {"10000", [one: "00 k ¤", other: "00 k ¤"]}, - {"100000", [one: "000 k ¤", other: "000 k ¤"]}, - {"1000000", [one: "0 M ¤", other: "0 M ¤"]}, - {"10000000", [one: "00 M ¤", other: "00 M ¤"]}, - {"100000000", [one: "000 M ¤", other: "000 M ¤"]}, - {"1000000000", [one: "0 Md ¤", other: "0 Md ¤"]}, - {"10000000000", [one: "00 Md ¤", other: "00 Md ¤"]}, - {"100000000000", [one: "000 Md ¤", other: "000 Md ¤"]}, - {"1000000000000", [one: "0 Bn ¤", other: "0 Bn ¤"]}, - {"10000000000000", [one: "00 Bn ¤", other: "00 Bn ¤"]}, - {"100000000000000", [one: "000 Bn ¤", other: "000 Bn ¤"]}], + currency_short: [{"1000", [one: "0 k ¤", other: "0 k ¤"]}, + {"10000", [one: "00 k ¤", other: "00 k ¤"]}, + {"100000", [one: "000 k ¤", other: "000 k ¤"]}, + {"1000000", [one: "0 M ¤", other: "0 M ¤"]}, + {"10000000", [one: "00 M ¤", other: "00 M ¤"]}, + {"100000000", [one: "000 M ¤", other: "000 M ¤"]}, + {"1000000000", [one: "0 Md ¤", other: "0 Md ¤"]}, + {"10000000000", [one: "00 Md ¤", other: "00 Md ¤"]}, + {"100000000000", [one: "000 Md ¤", other: "000 Md ¤"]}, + {"1000000000000", [one: "0 Bn ¤", other: "0 Bn ¤"]}, + {"10000000000000", [one: "00 Bn ¤", other: "00 Bn ¤"]}, + {"100000000000000", [one: "000 Bn ¤", other: "000 Bn ¤"]}], ... }
@@ -801,8 +801,8 @@ is Plausible.Cld Examples -
iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for("en")
-{:ok, 1}
+
iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for("en")
+{:ok, 1}
@@ -854,7 +854,7 @@ is Plausible.Cld Examples -
iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!("en")
+
iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!("en")
 1
diff --git a/Plausible.Cldr.Number.Formatter.Decimal.html b/Plausible.Cldr.Number.Formatter.Decimal.html index 64c731578..5a4dab3ea 100644 --- a/Plausible.Cldr.Number.Formatter.Decimal.html +++ b/Plausible.Cldr.Number.Formatter.Decimal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cldr.Number.Ordinal.html b/Plausible.Cldr.Number.Ordinal.html index 4bf3111be..fe45b01e1 100644 --- a/Plausible.Cldr.Number.Ordinal.html +++ b/Plausible.Cldr.Number.Ordinal.html @@ -14,7 +14,7 @@ - + @@ -458,31 +458,31 @@ The valid substitution keys are :zero, Examples -
iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: "one"}
+
iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: "one"}
 "one"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one"}
 nil
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one", two: "two"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one", two: "two"}
 "two"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: "one", two: "two", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: "one", two: "two", other: "other"}
 "two"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: "one"}
 "one"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one"}
 nil
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one", two: "two"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one", two: "two"}
 "two"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
 "other"
 
-iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
 "other"
diff --git a/Plausible.Cldr.Number.PluralRule.Range.html b/Plausible.Cldr.Number.PluralRule.Range.html index 8eaeac12c..2d294f715 100644 --- a/Plausible.Cldr.Number.PluralRule.Range.html +++ b/Plausible.Cldr.Number.PluralRule.Range.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cldr.Number.Symbol.html b/Plausible.Cldr.Number.Symbol.html index 798131478..4922f7277 100644 --- a/Plausible.Cldr.Number.Symbol.html +++ b/Plausible.Cldr.Number.Symbol.html @@ -14,7 +14,7 @@ - + @@ -378,9 +378,9 @@ is Plausible.Cld Example: -
iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)
-{:ok, %{
-   latn: %Cldr.Number.Symbol{
+
iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)
+{:ok, %{
+   latn: %Cldr.Number.Symbol{
      decimal: ".",
      exponential: "E",
      group: ",",
@@ -393,8 +393,8 @@ is Plausible.Cld
      plus_sign: "+",
      superscripting_exponent: "×",
      time_separator: ":"
-   },
-   thai: %Cldr.Number.Symbol{
+   },
+   thai: %Cldr.Number.Symbol{
      decimal: ".",
      exponential: "E",
      group: ",",
@@ -407,8 +407,8 @@ is Plausible.Cld
      plus_sign: "+",
      superscripting_exponent: "×",
      time_separator: ":"
-   }
- }}
+
} + }}
diff --git a/Plausible.Cldr.Number.System.html b/Plausible.Cldr.Number.System.html index 8c99c204d..4fcf6c33b 100644 --- a/Plausible.Cldr.Number.System.html +++ b/Plausible.Cldr.Number.System.html @@ -14,7 +14,7 @@ - + @@ -317,23 +317,23 @@ it is returned as is.

Examples

iex> Plausible.Cldr.Number.System.number_system_for "th", :latn
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
 
 iex> Plausible.Cldr.Number.System.number_system_for "en", :default
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
 
 iex> Plausible.Cldr.Number.System.number_system_for "he", :traditional
-{:ok, %{rules: "hebrew", type: :algorithmic}}
+{:ok, %{rules: "hebrew", type: :algorithmic}}
 
 iex> Plausible.Cldr.Number.System.number_system_for "en", :native
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
 
 iex> Plausible.Cldr.Number.System.number_system_for "en", :finance
-{
+{
   :error,
-  {Cldr.UnknownNumberSystemError,
-    "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}"}
-}
+ {Cldr.UnknownNumberSystemError, + "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}"} +}
@@ -424,10 +424,10 @@ or a Examples
iex> Plausible.Cldr.Number.System.number_system_names_for "en"
-{:ok, [:latn]}
+{:ok, [:latn]}
 
 iex> Plausible.Cldr.Number.System.number_system_names_for "zz"
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
@@ -509,13 +509,13 @@ or a Examples
iex> Plausible.Cldr.Number.System.number_systems_for "en"
-{:ok, %{default: :latn, native: :latn}}
+{:ok, %{default: :latn, native: :latn}}
 
 iex> Plausible.Cldr.Number.System.number_systems_for "th"
-{:ok, %{default: :latn, native: :thai}}
+{:ok, %{default: :latn, native: :thai}}
 
 iex> Plausible.Cldr.Number.System.number_systems_for "zz"
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
@@ -613,20 +613,20 @@ actual system name.

Examples

-
ex> Plausible.Cldr.Number.System.system_name_from(:default, "en")
-{:ok, :latn}
+
ex> Plausible.Cldr.Number.System.system_name_from(:default, "en")
+{:ok, :latn}
 
-iex> Plausible.Cldr.Number.System.system_name_from("latn", "en")
-{:ok, :latn}
+iex> Plausible.Cldr.Number.System.system_name_from("latn", "en")
+{:ok, :latn}
 
-iex> Plausible.Cldr.Number.System.system_name_from(:native, "en")
-{:ok, :latn}
+iex> Plausible.Cldr.Number.System.system_name_from(:native, "en")
+{:ok, :latn}
 
-iex> Plausible.Cldr.Number.System.system_name_from(:nope, "en")
-{
+iex> Plausible.Cldr.Number.System.system_name_from(:nope, "en")
+{
   :error,
-  {Cldr.UnknownNumberSystemError, "The number system :nope is unknown"}
-}

Note that return value is not guaranteed to be a valid + {Cldr.UnknownNumberSystemError, "The number system :nope is unknown"} +}

Note that return value is not guaranteed to be a valid number system for the given locale as demonstrated in the third example.

@@ -673,16 +673,16 @@ is recommended.

Examples

iex> Plausible.Cldr.Number.System.to_system 123456, :hebr
-{:ok, "קכ״ג׳תנ״ו"}
+{:ok, "קכ״ג׳תנ״ו"}
 
 iex> Plausible.Cldr.Number.System.to_system 123, :hans
-{:ok, "一百二十三"}
+{:ok, "一百二十三"}
 
 iex> Plausible.Cldr.Number.System.to_system 123, :hant
-{:ok, "一百二十三"}
+{:ok, "一百二十三"}
 
 iex> Plausible.Cldr.Number.System.to_system 123, :hansfin
-{:ok, "壹佰贰拾叁"}
+{:ok, "壹佰贰拾叁"}
diff --git a/Plausible.Cldr.Number.Transliterate.html b/Plausible.Cldr.Number.Transliterate.html index 405412639..07db80c14 100644 --- a/Plausible.Cldr.Number.Transliterate.html +++ b/Plausible.Cldr.Number.Transliterate.html @@ -14,7 +14,7 @@ - + @@ -162,12 +162,12 @@ digits between number systems. For example from :arabic to :latn. Since genera transliteration map is slow, pairs of transliterations can be configured so that the transliteration map is created at compile time and therefore speeding up transliteration at run time.

To configure these transliteration pairs, add the to the use Cldr configuration -in a backend module:

defmodule MyApp.Cldr do
+in a backend module:

defmodule MyApp.Cldr do
   use Cldr,
-  locale: ["en", "fr", "th"],
+  locale: ["en", "fr", "th"],
   default_locale: "en",
-  precompile_transliterations: [{:latn, :thai}, {:arab, :thai}]
-end

Where each tuple in the list configures one transliteration map. In this example, two maps are + precompile_transliterations: [{:latn, :thai}, {:arab, :thai}] +end

Where each tuple in the list configures one transliteration map. In this example, two maps are configured: from :latn to :thai and from :arab to :thai.

A list of configurable number systems is returned by Cldr.Number.System.numeric_systems/0.

If a transliteration is requested between two number pairs that have not been configured for precompilation, a warning is logged.

@@ -281,22 +281,22 @@ and Examples -
iex> Plausible.Cldr.Number.Transliterate.transliterate("123556")
+
iex> Plausible.Cldr.Number.Transliterate.transliterate("123556")
 "123556"
 
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123,556.000", "fr", :default)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123,556.000", "fr", :default)
 "123 556,000"
 
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :default)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :default)
 "123556"
 
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", "thai")
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", "thai")
 "๑๒๓๕๕๖"
 
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :native)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :native)
 "๑๒๓๕๕๖"
 
-iex> Plausible.Cldr.Number.Transliterate.transliterate("Some number is: 123556", "th", "thai")
+iex> Plausible.Cldr.Number.Transliterate.transliterate("Some number is: 123556", "th", "thai")
 "Some number is: ๑๒๓๕๕๖"
diff --git a/Plausible.Cldr.Number.html b/Plausible.Cldr.Number.html index 8f4896e93..c96347e03 100644 --- a/Plausible.Cldr.Number.html +++ b/Plausible.Cldr.Number.html @@ -14,7 +14,7 @@ - + @@ -441,19 +441,19 @@ using the Elixir standard library functions.

Examples

-
iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de")
-{:ok, 1000.34}
+
iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de")
+{:ok, 1000.34}
 
-iex> Plausible.Cldr.Number.parse("-1_000_000.34")
-{:ok, -1000000.34}
+iex> Plausible.Cldr.Number.parse("-1_000_000.34")
+{:ok, -1000000.34}
 
-iex> Plausible.Cldr.Number.parse("1.000", locale: "de", number: :integer)
-{:ok, 1000}
+iex> Plausible.Cldr.Number.parse("1.000", locale: "de", number: :integer)
+{:ok, 1000}
 
-iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de", number: :integer)
-{:error,
-  {Cldr.Number.ParseError,
-   "The string \"+1.000,34\" could not be parsed as a number"}}
+
iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de", number: :integer) +{:error, + {Cldr.Number.ParseError, + "The string \"+1.000,34\" could not be parsed as a number"}}
@@ -525,17 +525,17 @@ financial instruments.

Examples

-
iex> Plausible.Cldr.Number.scan("100 US dollars")
+
iex> Plausible.Cldr.Number.scan("100 US dollars")
 ...> |> Plausible.Cldr.Number.resolve_currencies
-[100, :USD]
+[100, :USD]
 
-iex> Plausible.Cldr.Number.scan("100 eurosports")
-...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)
-[100, :EUR]
+iex> Plausible.Cldr.Number.scan("100 eurosports")
+...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)
+[100, :EUR]
 
-iex> Plausible.Cldr.Number.scan("100 dollars des États-Unis")
-...> |> Plausible.Cldr.Number.resolve_currencies(locale: "fr")
-[100, :USD]
+
iex> Plausible.Cldr.Number.scan("100 dollars des États-Unis") +...> |> Plausible.Cldr.Number.resolve_currencies(locale: "fr") +[100, :USD]
@@ -612,19 +612,19 @@ financial instruments.

Examples

-
iex> Plausible.Cldr.Number.resolve_currency("US dollars")
-[:USD]
+
iex> Plausible.Cldr.Number.resolve_currency("US dollars")
+[:USD]
 
-iex> Plausible.Cldr.Number.resolve_currency("100 eurosports", fuzzy: 0.75)
-[:EUR]
+iex> Plausible.Cldr.Number.resolve_currency("100 eurosports", fuzzy: 0.75)
+[:EUR]
 
-iex> Plausible.Cldr.Number.resolve_currency("dollars des États-Unis", locale: "fr")
-[:USD]
+iex> Plausible.Cldr.Number.resolve_currency("dollars des États-Unis", locale: "fr")
+[:USD]
 
-iex> Plausible.Cldr.Number.resolve_currency("not a known currency", locale: "fr")
-{:error,
- {Cldr.UnknownCurrencyError,
-  "The currency \"not a known currency\" is unknown or not supported"}}
+
iex> Plausible.Cldr.Number.resolve_currency("not a known currency", locale: "fr") +{:error, + {Cldr.UnknownCurrencyError, + "The currency \"not a known currency\" is unknown or not supported"}}
@@ -688,13 +688,13 @@ The default is options[:backend].get_locale()Examples
iex> Plausible.Cldr.Number.resolve_per "11%"
-["11", :percent]
+["11", :percent]
 
 iex> Plausible.Cldr.Number.resolve_per "% of linguists"
-[:percent, " of linguists"]
+[:percent, " of linguists"]
 
 iex> Plausible.Cldr.Number.resolve_per "% of linguists %"
-[:percent, " of linguists ", :percent]
+[:percent, " of linguists ", :percent]
@@ -751,9 +751,9 @@ The default is options[:backend].get_locale() Examples -
iex> Plausible.Cldr.Number.scan("100%")
-...> |> Plausible.Cldr.Number.resolve_pers()
-[100, :percent]
+
iex> Plausible.Cldr.Number.scan("100%")
+...> |> Plausible.Cldr.Number.resolve_pers()
+[100, :percent]
@@ -813,20 +813,20 @@ and any options provided are passed to that function.

Examples

-
iex> Plausible.Cldr.Number.scan("£1_000_000.34")
-["£", 1000000.34]
+
iex> Plausible.Cldr.Number.scan("£1_000_000.34")
+["£", 1000000.34]
 
-iex> Plausible.Cldr.Number.scan("I want £1_000_000 dollars")
-["I want £", 1000000, " dollars"]
+iex> Plausible.Cldr.Number.scan("I want £1_000_000 dollars")
+["I want £", 1000000, " dollars"]
 
-iex> Plausible.Cldr.Number.scan("The prize is 23")
-["The prize is ", 23]
+iex> Plausible.Cldr.Number.scan("The prize is 23")
+["The prize is ", 23]
 
-iex> Plausible.Cldr.Number.scan("The lottery number is 23 for the next draw")
-["The lottery number is ", 23, " for the next draw"]
+iex> Plausible.Cldr.Number.scan("The lottery number is 23 for the next draw")
+["The lottery number is ", 23, " for the next draw"]
 
-iex> Plausible.Cldr.Number.scan("The loss is -1.000 euros", locale: "de", number: :integer)
-["The loss is ", -1000, " euros"]
+
iex> Plausible.Cldr.Number.scan("The loss is -1.000 euros", locale: "de", number: :integer) +["The loss is ", -1000, " euros"]
@@ -873,7 +873,7 @@ options.

Example

iex> Plausible.Cldr.Number.to_approx_string 1234
-{:ok, "~1,234"}
+{:ok, "~1,234"}
@@ -920,7 +920,7 @@ options.

Example

iex> Plausible.Cldr.Number.to_at_least_string 1234
-{:ok, "1,234+"}
+{:ok, "1,234+"}
@@ -967,7 +967,7 @@ options.

Example

iex> Plausible.Cldr.Number.to_at_most_string 1234
-{:ok, "≤1,234"}
+{:ok, "≤1,234"}
@@ -1014,7 +1014,7 @@ options.

Example

iex> Plausible.Cldr.Number.to_range_string 1234..5678
-{:ok, "1,234–5,678"}
+{:ok, "1,234–5,678"}
@@ -1133,21 +1133,21 @@ extensions.

iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn +applied to the symbol than the number. For example:

iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
 ...>   string, :currency_symbol -> "<span class=\"symbol\">" <> string <> "</span>"
 ...>   string, :number -> "<span class=\"number\">" <> string <> "</span>"
 ...>   string, :currency_space -> "<span>" <> string <> "</span>"
 ...>   string, _other -> string
-...> end)
-{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}

It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3 +...> end) +{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}

It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3 function if wrapping HTML tags since these will ensure HTML entities are -correctly encoded. For example:

iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
-...>   string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: "symbol")
-...>   string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: "number")
-...>   string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)
+correctly encoded.  For example:

iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
+...>   string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: "symbol")
+...>   string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: "number")
+...>   string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)
 ...>   string, _other -> string
-...> end)
-{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}

When formatting a number the format is parsed into format elements that might include +...> end) +{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}

When formatting a number the format is parsed into format elements that might include a currency symbol, a literal string, inserted text between a currency symbol and the currency amount, a percent sign, the number itself and several other elements. In some cases it is helpful to be apply specific formatting to each element. @@ -1168,80 +1168,80 @@ inserted in the final formatted number.

Examples

iex> Plausible.Cldr.Number.to_string 12345
-{:ok, "12,345"}
+{:ok, "12,345"}
 
 iex> Plausible.Cldr.Number.to_string 12345, locale: "fr"
-{:ok, "12 345"}
+{:ok, "12 345"}
 
 iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: "es", minimum_grouping_digits: 1
-{:ok, "1.345,32 €"}
+{:ok, "1.345,32 €"}
 
 iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: "es"
-{:ok, "1345,32 €"}
+{:ok, "1345,32 €"}
 
 iex> Plausible.Cldr.Number.to_string 12345, locale: "fr", currency: "USD"
-{:ok, "12 345,00 $US"}
+{:ok, "12 345,00 $US"}
 
 iex> Plausible.Cldr.Number.to_string 12345, format: "#E0"
-{:ok, "1.2345E4"}
+{:ok, "1.2345E4"}
 
 iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: "THB"
-{:ok, "THB 12,345.00"}
+{:ok, "THB 12,345.00"}
 
 iex> Plausible.Cldr.Number.to_string -12345, format: :accounting, currency: "THB"
-{:ok, "(THB 12,345.00)"}
+{:ok, "(THB 12,345.00)"}
 
 iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: "THB",
 ...> locale: "th"
-{:ok, "฿12,345.00"}
+{:ok, "฿12,345.00"}
 
 iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: "THB",
 ...> locale: "th", number_system: :native
-{:ok, "฿๑๒,๓๔๕.๐๐"}
+{:ok, "฿๑๒,๓๔๕.๐๐"}
 
 iex> Plausible.Cldr.Number.to_string 1244.30, format: :long
-{:ok, "1 thousand"}
+{:ok, "1 thousand"}
 
 iex> Plausible.Cldr.Number.to_string 1244.30, format: :long, currency: "USD"
-{:ok, "1,244 US dollars"}
+{:ok, "1,244 US dollars"}
 
 iex> Plausible.Cldr.Number.to_string 1244.30, format: :short
-{:ok, "1K"}
+{:ok, "1K"}
 
 iex> Plausible.Cldr.Number.to_string 1244.30, format: :short, currency: "EUR"
-{:ok, "€1K"}
+{:ok, "€1K"}
 
 iex> Plausible.Cldr.Number.to_string 1234, format: :spellout
-{:ok, "one thousand two hundred thirty-four"}
+{:ok, "one thousand two hundred thirty-four"}
 
 iex> Plausible.Cldr.Number.to_string 1234, format: :spellout_verbose
-{:ok, "one thousand two hundred and thirty-four"}
+{:ok, "one thousand two hundred and thirty-four"}
 
 iex> Plausible.Cldr.Number.to_string 1989, format: :spellout_year
-{:ok, "nineteen eighty-nine"}
+{:ok, "nineteen eighty-nine"}
 
 iex> Plausible.Cldr.Number.to_string 123, format: :ordinal
-{:ok, "123rd"}
+{:ok, "123rd"}
 
 iex> Plausible.Cldr.Number.to_string 123, format: :roman
-{:ok, "CXXIII"}
+{:ok, "CXXIII"}
 
 iex> Plausible.Cldr.Number.to_string 123, locale: "th-u-nu-thai"
-{:ok, "๑๒๓"}

+{:ok, "๑๒๓"}

Errors

An error tuple {:error, reason} will be returned if an error is detected. -The two most likely causes of an error return are:

  • A format cannot be compiled. In this case the error tuple will look like:
    iex> Plausible.Cldr.Number.to_string(12345, format: "0#")
-    {:error, {Cldr.FormatCompileError,
-      "Decimal format compiler: syntax error before: \"#\""}}
  • The format style requested is not defined for the locale and +The two most likely causes of an error return are:

    • A format cannot be compiled. In this case the error tuple will look like:
        iex> Plausible.Cldr.Number.to_string(12345, format: "0#")
    +    {:error, {Cldr.FormatCompileError,
    +      "Decimal format compiler: syntax error before: \"#\""}}
    • The format style requested is not defined for the locale and number_system. This happens typically when the number system is :algorithmic rather than the more common :numeric. In this case the error -return looks like:
        iex> Plausible.Cldr.Number.to_string(1234, locale: "he", number_system: "hebr", format: :percent)
    -    {:error, {Cldr.UnknownFormatError,
    -      "The locale :he with number system :hebr does not define a format :percent"}}
    +return looks like:
    iex> Plausible.Cldr.Number.to_string(1234, locale: "he", number_system: "hebr", format: :percent)
+    {:error, {Cldr.UnknownFormatError,
+      "The locale :he with number system :hebr does not define a format :percent"}}
@@ -1346,17 +1346,17 @@ returned by Examples
iex> Plausible.Cldr.Number.validate_number_system "en", :latn
-{:ok, :latn}
+{:ok, :latn}
 
 iex> Plausible.Cldr.Number.validate_number_system "en", :default
-{:ok, :latn}
+{:ok, :latn}
 
 iex> Plausible.Cldr.Number.validate_number_system "en", :unknown
-{:error,
- {Cldr.UnknownNumberSystemError, "The number system :unknown is unknown"}}
+{:error,
+ {Cldr.UnknownNumberSystemError, "The number system :unknown is unknown"}}
 
 iex> Plausible.Cldr.Number.validate_number_system "zz", :default
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
diff --git a/Plausible.Cldr.Rbnf.NumberSystem.html b/Plausible.Cldr.Rbnf.NumberSystem.html index d3ae2215f..306791a1a 100644 --- a/Plausible.Cldr.Rbnf.NumberSystem.html +++ b/Plausible.Cldr.Rbnf.NumberSystem.html @@ -14,7 +14,7 @@ - + @@ -145,9 +145,9 @@ Pages

Functions to implement the number system rule-based-number-format rules of CLDR.

These rules are defined only on the "und" locale and represent specialised number formatting.

The standard public API for RBNF is via the Cldr.Number.to_string/2 function.

The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:

iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)
-...> |> Enum.sort()
-[
+defined in the Unicode CLDR data repository.  Available rules are identified by:

iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)
+...> |> Enum.sort()
+[
   :armenian_lower,
   :armenian_upper,
   :cyrillic_lower,
@@ -161,9 +161,9 @@ defined in the Unicode CLDR data repository.  Available rules are identified by:
   :roman_upper,
   :tamil,
   :zz_default
-]

A rule can then be invoked on an available rule_set. For example

iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)
-"CXXIII"

This particular call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :roman)
-{:ok, "CXXIII"}
+
]

A rule can then be invoked on an available rule_set. For example

iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)
+"CXXIII"

This particular call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :roman)
+{:ok, "CXXIII"}
diff --git a/Plausible.Cldr.Rbnf.Ordinal.html b/Plausible.Cldr.Rbnf.Ordinal.html index f0829bc4d..deaa5af54 100644 --- a/Plausible.Cldr.Rbnf.Ordinal.html +++ b/Plausible.Cldr.Rbnf.Ordinal.html @@ -14,7 +14,7 @@ - + @@ -145,20 +145,20 @@ Pages

Functions to implement the ordinal rule-based-number-format rules of CLDR.

As CLDR notes, the data is incomplete or non-existent for many languages. It is considered complete for English however.

The standard public API for RBNF is via the Cldr.Number.to_string/2 function.

The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:

iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)
-[:digits_ordinal]
+defined in the Unicode CLDR data repository.  Available rules are identified by:

iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)
+[:digits_ordinal]
 
-iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets("fr")
-...> |> Enum.sort()
-[
+iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets("fr")
+...> |> Enum.sort()
+[
   :digits_ordinal,
   :digits_ordinal_feminine,
   :digits_ordinal_feminine_plural,
   :digits_ordinal_masculine,
   :digits_ordinal_masculine_plural
-]

A rule can then be invoked on an available rule_set. For example

iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)
-"123rd"

This call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)
-{:ok, "123rd"}
+
]

A rule can then be invoked on an available rule_set. For example

iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)
+"123rd"

This call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)
+{:ok, "123rd"}
diff --git a/Plausible.Cldr.Rbnf.Spellout.html b/Plausible.Cldr.Rbnf.Spellout.html index 1284b9b2e..e520cd63d 100644 --- a/Plausible.Cldr.Rbnf.Spellout.html +++ b/Plausible.Cldr.Rbnf.Spellout.html @@ -14,7 +14,7 @@ - + @@ -145,9 +145,9 @@ Pages

Functions to implement the spellout rule-based-number-format rules of CLDR.

As CLDR notes, the data is incomplete or non-existent for many languages. It is considered complete for English however.

The standard public API for RBNF is via the Cldr.Number.to_string/2 function.

The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:

iex> Plausible.Cldr.Rbnf.Spellout.rule_sets("en")
-...> |> Enum.sort()
-[
+defined in the Unicode CLDR data repository.  Available rules are identified by:

iex> Plausible.Cldr.Rbnf.Spellout.rule_sets("en")
+...> |> Enum.sort()
+[
   :spellout_cardinal,
   :spellout_cardinal_verbose,
   :spellout_numbering,
@@ -155,9 +155,9 @@ defined in the Unicode CLDR data repository.  Available rules are identified by:
   :spellout_numbering_year,
   :spellout_ordinal,
   :spellout_ordinal_verbose
-]

A rule can then be invoked on an available rule_set. For example:

iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, "en")
-"one hundred twenty-third"

This call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :spellout)
-{:ok, "one hundred twenty-three"}
+
]

A rule can then be invoked on an available rule_set. For example:

iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, "en")
+"one hundred twenty-third"

This call is equivalent to the call through the public API of:

iex> Plausible.Cldr.Number.to_string(123, format: :spellout)
+{:ok, "one hundred twenty-three"}
diff --git a/Plausible.Cldr.html b/Plausible.Cldr.html index 5a5266fce..3cfede021 100644 --- a/Plausible.Cldr.html +++ b/Plausible.Cldr.html @@ -14,7 +14,7 @@ - + @@ -558,24 +558,24 @@ current locale is restored after the function.

Example -
iex> Plausible.Cldr.default_locale()
-%Cldr.LanguageTag{
+
iex> Plausible.Cldr.default_locale()
+%Cldr.LanguageTag{
   backend: Plausible.Cldr,
   canonical_locale_name: "en-001",
   cldr_locale_name: :"en-001",
-  language_subtags: [],
-  extensions: %{},
+  language_subtags: [],
+  extensions: %{},
   gettext_locale_name: "en",
   language: "en",
-  locale: %{},
-  private_use: [],
+  locale: %{},
+  private_use: [],
   rbnf_locale_name: :en,
   requested_locale_name: "en-001",
   script: :Latn,
   territory: :"001",
-  transform: %{},
-  language_variants: []
-}
+
transform: %{}, + language_variants: [] +}
@@ -610,7 +610,7 @@ does not specify one and none can be inferred.

Example

-
iex> Plausible.Cldr.default_territory()
+
iex> Plausible.Cldr.default_territory()
 :"001"
@@ -670,16 +670,16 @@ is inserted between words or sentences. The valid options are Examples -
iex> Plausible.Cldr.ellipsis("And furthermore")
+
iex> Plausible.Cldr.ellipsis("And furthermore")
 "And furthermore…"
 
-iex> Plausible.Cldr.ellipsis(["And furthermore", "there is much to be done"], locale: :ja)
+iex> Plausible.Cldr.ellipsis(["And furthermore", "there is much to be done"], locale: :ja)
 "And furthermore…there is much to be done"
 
-iex> Plausible.Cldr.ellipsis("And furthermore", format: :word)
+iex> Plausible.Cldr.ellipsis("And furthermore", format: :word)
 "And furthermore …"
 
-iex> Plausible.Cldr.ellipsis(["And furthermore", "there is much to be done"], locale: :ja, format: :word)
+iex> Plausible.Cldr.ellipsis(["And furthermore", "there is much to be done"], locale: :ja, format: :word)
 "And furthermore … there is much to be done"
@@ -715,23 +715,23 @@ take an optional locale parameter for which a locale is not supplied.

Example

-
iex> Plausible.Cldr.put_locale("pl")
-iex> Plausible.Cldr.get_locale()
-%Cldr.LanguageTag{
+
iex> Plausible.Cldr.put_locale("pl")
+iex> Plausible.Cldr.get_locale()
+%Cldr.LanguageTag{
    backend: Elixir.Plausible.Cldr,
    canonical_locale_name: "pl",
    cldr_locale_name: :pl,
-   extensions: %{},
+   extensions: %{},
    language: "pl",
-   locale: %{},
-   private_use: [],
+   locale: %{},
+   private_use: [],
    rbnf_locale_name: :pl,
    territory: :PL,
    requested_locale_name: "pl",
    script: :Latn,
-   transform: %{},
-   language_variants: []
- }
+
transform: %{}, + language_variants: [] + }
@@ -818,10 +818,10 @@ take an optional locale parameter for which a locale is not supplied.

Examples

-
iex> Plausible.Cldr.known_gettext_locale_name("en")
+
iex> Plausible.Cldr.known_gettext_locale_name("en")
 "en"
 
-iex> Plausible.Cldr.known_gettext_locale_name("en-SA")
+iex> Plausible.Cldr.known_gettext_locale_name("en-SA")
 false
@@ -864,10 +864,10 @@ name is configured and available in Gettext.

Examples

-
iex> Plausible.Cldr.known_gettext_locale_name?("en")
+
iex> Plausible.Cldr.known_gettext_locale_name?("en")
 true
 
-iex> Plausible.Cldr.known_gettext_locale_name?("!!")
+iex> Plausible.Cldr.known_gettext_locale_name?("!!")
 false
@@ -941,10 +941,10 @@ to return the first known locale name from a list.

Examples

-
iex> Plausible.Cldr.known_locale_name(:"en-AU")
+
iex> Plausible.Cldr.known_locale_name(:"en-AU")
 :"en-AU"
 
-iex> Plausible.Cldr.known_locale_name(:"en-SA")
+iex> Plausible.Cldr.known_locale_name(:"en-SA")
 false
@@ -986,10 +986,10 @@ name is configured and available in Cldr.

Examples

-
iex> Plausible.Cldr.known_locale_name?(:en)
+
iex> Plausible.Cldr.known_locale_name?(:en)
 true
 
-iex> Plausible.Cldr.known_locale_name?(:"!!")
+iex> Plausible.Cldr.known_locale_name?(:"!!")
 false
@@ -1043,8 +1043,8 @@ in this module or in Example -
iex> Plausible.Cldr.known_number_system_types()
-[:default, :finance, :native, :traditional]
+
iex> Plausible.Cldr.known_number_system_types()
+[:default, :finance, :native, :traditional]
@@ -1109,10 +1109,10 @@ and has RBNF rules defined.

Examples

-
iex> Plausible.Cldr.known_rbnf_locale_name(:en)
+
iex> Plausible.Cldr.known_rbnf_locale_name(:en)
 :en
 
-iex> Plausible.Cldr.known_rbnf_locale_name(:"en-SA")
+iex> Plausible.Cldr.known_rbnf_locale_name(:"en-SA")
 false
@@ -1155,10 +1155,10 @@ rules based number formats (RBNF).

Examples

-
iex> Plausible.Cldr.known_rbnf_locale_name?(:en)
+
iex> Plausible.Cldr.known_rbnf_locale_name?(:en)
 true
 
-iex> Plausible.Cldr.known_rbnf_locale_name?(:"!!")
+iex> Plausible.Cldr.known_rbnf_locale_name?(:"!!")
 false
@@ -1294,14 +1294,14 @@ CLDR backend defined by the t:Cldr.LanguageTag is se Examples
iex> import Cldr.LanguageTag.Sigil
-iex> Plausible.Cldr.put_gettext_locale(~l"en")
-{:ok, "en"}
+iex> Plausible.Cldr.put_gettext_locale(~l"en")
+{:ok, "en"}
 
 iex> import Cldr.LanguageTag.Sigil
-iex> Plausible.Cldr.put_gettext_locale(~l"de")
-{:error,
-  {Cldr.UnknownLocaleError,
-    "Locale #Cldr.LanguageTag<de [validated]> does not map to a known gettext locale name"}}
+
iex> Plausible.Cldr.put_gettext_locale(~l"de") +{:error, + {Cldr.UnknownLocaleError, + "Locale #Cldr.LanguageTag<de [validated]> does not map to a known gettext locale name"}}
@@ -1345,29 +1345,29 @@ of a language tag.

Examples

-
iex> Plausible.Cldr.put_locale("en")
-{:ok,
- %Cldr.LanguageTag{
+
iex> Plausible.Cldr.put_locale("en")
+{:ok,
+ %Cldr.LanguageTag{
    backend: Plausible.Cldr,
    canonical_locale_name: "en",
    cldr_locale_name: :en,
-   language_subtags: [],
-   extensions: %{},
+   language_subtags: [],
+   extensions: %{},
    gettext_locale_name: "en",
    language: "en",
-   locale: %{},
-   private_use: [],
+   locale: %{},
+   private_use: [],
    rbnf_locale_name: :en,
    requested_locale_name: "en",
    script: :Latn,
    territory: :US,
-   transform: %{},
-   language_variants: []
- }}
+   transform: %{},
+   language_variants: []
+ }}
 
-iex> Plausible.Cldr.put_locale("invalid-locale!")
-{:error, {Cldr.LanguageTag.ParseError,
-  "Expected a BCP47 language tag. Could not parse the remaining \"!\" starting at position 15"}}
+
iex> Plausible.Cldr.put_locale("invalid-locale!") +{:error, {Cldr.LanguageTag.ParseError, + "Expected a BCP47 language tag. Could not parse the remaining \"!\" starting at position 15"}}
@@ -1416,10 +1416,10 @@ The default is Examples -
iex> Plausible.Cldr.quote("Quoted String")
+
iex> Plausible.Cldr.quote("Quoted String")
 "“Quoted String”"
 
-iex> Plausible.Cldr.quote("Quoted String", locale: :ja)
+iex> Plausible.Cldr.quote("Quoted String", locale: :ja)
 "「Quoted String」"
@@ -1550,47 +1550,47 @@ of a language tag.

Examples

-
iex> Plausible.Cldr.validate_locale(:en)
-{:ok,
-%Cldr.LanguageTag{
+
iex> Plausible.Cldr.validate_locale(:en)
+{:ok,
+%Cldr.LanguageTag{
   backend: Plausible.Cldr,
   canonical_locale_name: "en",
   cldr_locale_name: :en,
-  extensions: %{},
+  extensions: %{},
   gettext_locale_name: "en",
   language: "en",
-  locale: %{},
-  private_use: [],
+  locale: %{},
+  private_use: [],
   rbnf_locale_name: :en,
   requested_locale_name: "en",
   script: :Latn,
   territory: :US,
-  transform: %{},
-  language_variants: []
-}}
+  transform: %{},
+  language_variants: []
+}}
 
 
-iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()
-{:ok,
-%Cldr.LanguageTag{
+iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()
+{:ok,
+%Cldr.LanguageTag{
   backend: Plausible.Cldr,
   canonical_locale_name: "en-001",
   cldr_locale_name: :"en-001",
-  extensions: %{},
+  extensions: %{},
   gettext_locale_name: "en",
   language: "en",
-  locale: %{},
-  private_use: [],
+  locale: %{},
+  private_use: [],
   rbnf_locale_name: :en,
   requested_locale_name: "en-001",
   script: :Latn,
   territory: :"001",
-  transform: %{},
-  language_variants: []
-}}
+  transform: %{},
+  language_variants: []
+}}
 
-iex> Plausible.Cldr.validate_locale("zzz")
-{:error, {Cldr.InvalidLanguageError, "The language \"zzz\" is invalid"}}
+
iex> Plausible.Cldr.validate_locale("zzz") +{:error, {Cldr.InvalidLanguageError, "The language \"zzz\" is invalid"}}
@@ -1660,23 +1660,23 @@ of a language tag.

Examples

-
iex> Plausible.Cldr.validate_number_system_type(:default)
-{:ok, :default}
+
iex> Plausible.Cldr.validate_number_system_type(:default)
+{:ok, :default}
 
-iex> Plausible.Cldr.validate_number_system_type(:traditional)
-{:ok, :traditional}
+iex> Plausible.Cldr.validate_number_system_type(:traditional)
+{:ok, :traditional}
 
-iex> Plausible.Cldr.validate_number_system_type(:latn)
-{
+iex> Plausible.Cldr.validate_number_system_type(:latn)
+{
   :error,
-  {Cldr.UnknownNumberSystemTypeError, "The number system type :latn is unknown"}
-}
+  {Cldr.UnknownNumberSystemTypeError, "The number system type :latn is unknown"}
+}
 
-iex> Plausible.Cldr.validate_number_system_type("bork")
-{
+iex> Plausible.Cldr.validate_number_system_type("bork")
+{
   :error,
-  {Cldr.UnknownNumberSystemTypeError, "The number system type \"bork\" is invalid"}
-}
+
{Cldr.UnknownNumberSystemTypeError, "The number system type \"bork\" is invalid"} +}
diff --git a/Plausible.ClickhouseEventV2.html b/Plausible.ClickhouseEventV2.html index 6fabfefed..3c7a05912 100644 --- a/Plausible.ClickhouseEventV2.html +++ b/Plausible.ClickhouseEventV2.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ClickhouseRepo.html b/Plausible.ClickhouseRepo.html index 7587c272f..77e07f973 100644 --- a/Plausible.ClickhouseRepo.html +++ b/Plausible.ClickhouseRepo.html @@ -14,7 +14,7 @@ - + @@ -845,23 +845,23 @@ pool to disconnect within the given interval.

See -

Similar to insert_all/2 but with the following differences:

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
 
-defmodule Demo do
+defmodule Demo do
   use Ecto.Schema
 
   @primary_key false
-  schema "ecto_ch_demo" do
+  schema "ecto_ch_demo" do
     field :a, Ch, type: "UInt64"
     field :b, :string
-  end
-end
+  end
+end
 
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
 
 # schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+
{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.ClickhouseSessionV2.BoolUInt8.html b/Plausible.ClickhouseSessionV2.BoolUInt8.html index 9bde6e0fd..f876ab3b2 100644 --- a/Plausible.ClickhouseSessionV2.BoolUInt8.html +++ b/Plausible.ClickhouseSessionV2.BoolUInt8.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ClickhouseSessionV2.html b/Plausible.ClickhouseSessionV2.html index 58cf7001e..0af60d46c 100644 --- a/Plausible.ClickhouseSessionV2.html +++ b/Plausible.ClickhouseSessionV2.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ConfigHelpers.html b/Plausible.ConfigHelpers.html index c1a17820a..d58ad1147 100644 --- a/Plausible.ConfigHelpers.html +++ b/Plausible.ConfigHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataCase.html b/Plausible.DataCase.html index 3ad6bc1ed..a5ba89e7f 100644 --- a/Plausible.DataCase.html +++ b/Plausible.DataCase.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.NumericIDs.html b/Plausible.DataMigration.NumericIDs.html index 63e0e2f97..e3f821d14 100644 --- a/Plausible.DataMigration.NumericIDs.html +++ b/Plausible.DataMigration.NumericIDs.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.Repo.html b/Plausible.DataMigration.Repo.html index 3b50527eb..56b4cc02a 100644 --- a/Plausible.DataMigration.Repo.html +++ b/Plausible.DataMigration.Repo.html @@ -14,7 +14,7 @@ - + @@ -1152,23 +1152,23 @@ pool to disconnect within the given interval.

See -

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
 
-defmodule Demo do
+defmodule Demo do
   use Ecto.Schema
 
   @primary_key false
-  schema "ecto_ch_demo" do
+  schema "ecto_ch_demo" do
     field :a, Ch, type: "UInt64"
     field :b, :string
-  end
-end
+  end
+end
 
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
 
 # schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+
{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.DataMigration.html b/Plausible.DataMigration.html index e79abd275..670263b1d 100644 --- a/Plausible.DataMigration.html +++ b/Plausible.DataMigration.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DebugReplayInfo.html b/Plausible.DebugReplayInfo.html index f1b0f8c68..c247e7ae0 100644 --- a/Plausible.DebugReplayInfo.html +++ b/Plausible.DebugReplayInfo.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ecto.EventName.html b/Plausible.Ecto.EventName.html index 85771ecaa..3b45ef1fd 100644 --- a/Plausible.Ecto.EventName.html +++ b/Plausible.Ecto.EventName.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Factory.html b/Plausible.Factory.html index 3871112df..ee643b76d 100644 --- a/Plausible.Factory.html +++ b/Plausible.Factory.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Funnel.Const.html b/Plausible.Funnel.Const.html index 7fb492de9..e653599e0 100644 --- a/Plausible.Funnel.Const.html +++ b/Plausible.Funnel.Const.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Funnel.Step.html b/Plausible.Funnel.Step.html index 527fb22cd..4a2b1096f 100644 --- a/Plausible.Funnel.Step.html +++ b/Plausible.Funnel.Step.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Funnel.html b/Plausible.Funnel.html index 16e4d85f3..8218b3ab0 100644 --- a/Plausible.Funnel.html +++ b/Plausible.Funnel.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Funnels.html b/Plausible.Funnels.html index 8bc02808c..cfb23a666 100644 --- a/Plausible.Funnels.html +++ b/Plausible.Funnels.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Geo.html b/Plausible.Geo.html index 37337bc7c..39dc7bb4e 100644 --- a/Plausible.Geo.html +++ b/Plausible.Geo.html @@ -14,7 +14,7 @@ - + @@ -260,8 +260,8 @@ and MaxMind license key.

Examples -

In the case of a DB-IP database:

iex> database_type()
-"DBIP-City-Lite"

In the case of a MaxMind database:

iex> database_type()
+

In the case of a DB-IP database:

iex> database_type()
+"DBIP-City-Lite"

In the case of a MaxMind database:

iex> database_type()
 "GeoLite2-City"
@@ -301,8 +301,8 @@ asynchronously.

Examples

-

Loading from a local file:

iex> load_db(path: "/etc/plausible/dbip-city.mmdb")
-:ok

Downloading a MaxMind DB (this license key is no longer active):

iex> load_db(license_key: "LNpsJCCKPis6XvBP", edition: "GeoLite2-City", async: true)
+

Loading from a local file:

iex> load_db(path: "/etc/plausible/dbip-city.mmdb")
+:ok

Downloading a MaxMind DB (this license key is no longer active):

iex> load_db(license_key: "LNpsJCCKPis6XvBP", edition: "GeoLite2-City", async: true)
 :ok
@@ -331,21 +331,21 @@ asynchronously.

Examples

-
iex> lookup("8.7.6.5")
-%{
-  "city" => %{
+
iex> lookup("8.7.6.5")
+%{
+  "city" => %{
     "geoname_id" => 5349755,
-    "names" => %{
+    "names" => %{
       "de" => "Fontana",
       "en" => "Fontana",
       "ja" => "フォンタナ",
       "ru" => "Фонтана"
-    }
-  },
-  "continent" => %{
+    }
+  },
+  "continent" => %{
     "code" => "NA",
     "geoname_id" => 6255149,
-    "names" => %{
+    "names" => %{
       "de" => "Nordamerika",
       "en" => "North America",
       "es" => "Norteamérica",
@@ -354,12 +354,12 @@ asynchronously.

"pt-BR" => "América do Norte", "ru" => "Северная Америка", "zh-CN" => "北美洲" - } - }, - "country" => %{ + } + }, + "country" => %{ "geoname_id" => 6252001, "iso_code" => "US", - "names" => %{ + "names" => %{ "de" => "Vereinigte Staaten", "en" => "United States", "es" => "Estados Unidos", @@ -368,20 +368,20 @@ asynchronously.

"pt-BR" => "EUA", "ru" => "США", "zh-CN" => "美国" - } - }, - "location" => %{ + } + }, + "location" => %{ "accuracy_radius" => 50, "latitude" => 34.1211, "longitude" => -117.4362, "metro_code" => 803, "time_zone" => "America/Los_Angeles" - }, - "postal" => %{"code" => "92336"}, - "registered_country" => %{ + }, + "postal" => %{"code" => "92336"}, + "registered_country" => %{ "geoname_id" => 6252001, "iso_code" => "US", - "names" => %{ + "names" => %{ "de" => "Vereinigte Staaten", "en" => "United States", "es" => "Estados Unidos", @@ -390,13 +390,13 @@ asynchronously.

"pt-BR" => "EUA", "ru" => "США", "zh-CN" => "美国" - } - }, - "subdivisions" => [ - %{ + } + }, + "subdivisions" => [ + %{ "geoname_id" => 5332921, "iso_code" => "CA", - "names" => %{ + "names" => %{ "de" => "Kalifornien", "en" => "California", "es" => "California", @@ -405,10 +405,10 @@ asynchronously.

"pt-BR" => "Califórnia", "ru" => "Калифорния", "zh-CN" => "加州" - } - } - ] -}

+
} + } + ] +}
diff --git a/Plausible.Goal.Revenue.html b/Plausible.Goal.Revenue.html index 29b3e4033..e903ce569 100644 --- a/Plausible.Goal.Revenue.html +++ b/Plausible.Goal.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Goal.html b/Plausible.Goal.html index 080eed271..72ece74dd 100644 --- a/Plausible.Goal.html +++ b/Plausible.Goal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Goals.html b/Plausible.Goals.html index 7b8df33cb..dc6eba207 100644 --- a/Plausible.Goals.html +++ b/Plausible.Goals.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.Api.Mock.html b/Plausible.Google.Api.Mock.html index 2ff8f1f31..fd2f4bb92 100644 --- a/Plausible.Google.Api.Mock.html +++ b/Plausible.Google.Api.Mock.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.Api.html b/Plausible.Google.Api.html index d7f5b028a..98380de73 100644 --- a/Plausible.Google.Api.html +++ b/Plausible.Google.Api.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.HTTP.html b/Plausible.Google.HTTP.html index 651b522e3..af540b08f 100644 --- a/Plausible.Google.HTTP.html +++ b/Plausible.Google.HTTP.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.ReportRequest.html b/Plausible.Google.ReportRequest.html index 4f5b66618..e17544516 100644 --- a/Plausible.Google.ReportRequest.html +++ b/Plausible.Google.ReportRequest.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HTTPClient.Interface.html b/Plausible.HTTPClient.Interface.html index b0050755f..b23028edc 100644 --- a/Plausible.HTTPClient.Interface.html +++ b/Plausible.HTTPClient.Interface.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HTTPClient.Non200Error.html b/Plausible.HTTPClient.Non200Error.html index a73889b21..7cf50d550 100644 --- a/Plausible.HTTPClient.Non200Error.html +++ b/Plausible.HTTPClient.Non200Error.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HTTPClient.html b/Plausible.HTTPClient.html index 53762eaf9..66072a908 100644 --- a/Plausible.HTTPClient.html +++ b/Plausible.HTTPClient.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Helpers.JSON.html b/Plausible.Helpers.JSON.html index f28055536..1bca904ee 100644 --- a/Plausible.Helpers.JSON.html +++ b/Plausible.Helpers.JSON.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ImportDeletionRepo.html b/Plausible.ImportDeletionRepo.html index 7d8f17943..cfa316f07 100644 --- a/Plausible.ImportDeletionRepo.html +++ b/Plausible.ImportDeletionRepo.html @@ -14,7 +14,7 @@ - + @@ -1143,23 +1143,23 @@ pool to disconnect within the given interval.

See -

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
 
-defmodule Demo do
+defmodule Demo do
   use Ecto.Schema
 
   @primary_key false
-  schema "ecto_ch_demo" do
+  schema "ecto_ch_demo" do
     field :a, Ch, type: "UInt64"
     field :b, :string
-  end
-end
+  end
+end
 
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
 
 # schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+
{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Imported.Buffer.html b/Plausible.Imported.Buffer.html index 79ef3af47..04ed73607 100644 --- a/Plausible.Imported.Buffer.html +++ b/Plausible.Imported.Buffer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.ImportSources.html b/Plausible.Imported.ImportSources.html index 07ddbc14f..e64c80331 100644 --- a/Plausible.Imported.ImportSources.html +++ b/Plausible.Imported.ImportSources.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.NoopImporter.html b/Plausible.Imported.NoopImporter.html index b62987fb0..9267dda68 100644 --- a/Plausible.Imported.NoopImporter.html +++ b/Plausible.Imported.NoopImporter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.UniversalAnalytics.html b/Plausible.Imported.UniversalAnalytics.html index af6d2d154..ed96a6fef 100644 --- a/Plausible.Imported.UniversalAnalytics.html +++ b/Plausible.Imported.UniversalAnalytics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.html b/Plausible.Imported.html index efde3bd07..937bfe721 100644 --- a/Plausible.Imported.html +++ b/Plausible.Imported.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.IngestRepo.html b/Plausible.IngestRepo.html index b0e045d18..2b42c9a92 100644 --- a/Plausible.IngestRepo.html +++ b/Plausible.IngestRepo.html @@ -14,7 +14,7 @@ - + @@ -1143,23 +1143,23 @@ pool to disconnect within the given interval.

See -

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+

Similar to insert_all/2 but with the following differences:

  • accepts rows as streams or lists
  • sends rows as a chunked request
  • doesn't autogenerate ids or does any other preprocessing

Example:

Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
 
-defmodule Demo do
+defmodule Demo do
   use Ecto.Schema
 
   @primary_key false
-  schema "ecto_ch_demo" do
+  schema "ecto_ch_demo" do
     field :a, Ch, type: "UInt64"
     field :b, :string
-  end
-end
+  end
+end
 
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
 
 # schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+
{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Ingestion.Counters.Buffer.html b/Plausible.Ingestion.Counters.Buffer.html index e62d8685b..de6ca06be 100644 --- a/Plausible.Ingestion.Counters.Buffer.html +++ b/Plausible.Ingestion.Counters.Buffer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Counters.Record.html b/Plausible.Ingestion.Counters.Record.html index 134344296..7c531343b 100644 --- a/Plausible.Ingestion.Counters.Record.html +++ b/Plausible.Ingestion.Counters.Record.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Counters.TelemetryHandler.html b/Plausible.Ingestion.Counters.TelemetryHandler.html index 19469757c..97477d8b5 100644 --- a/Plausible.Ingestion.Counters.TelemetryHandler.html +++ b/Plausible.Ingestion.Counters.TelemetryHandler.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Counters.html b/Plausible.Ingestion.Counters.html index b4443c81d..921488233 100644 --- a/Plausible.Ingestion.Counters.html +++ b/Plausible.Ingestion.Counters.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Event.Revenue.html b/Plausible.Ingestion.Event.Revenue.html index c55fac605..929b9d668 100644 --- a/Plausible.Ingestion.Event.Revenue.html +++ b/Plausible.Ingestion.Event.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Event.html b/Plausible.Ingestion.Event.html index 959395358..272991be2 100644 --- a/Plausible.Ingestion.Event.html +++ b/Plausible.Ingestion.Event.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Request.Revenue.html b/Plausible.Ingestion.Request.Revenue.html index 289e6868f..eba171e9a 100644 --- a/Plausible.Ingestion.Request.Revenue.html +++ b/Plausible.Ingestion.Request.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ingestion.Request.html b/Plausible.Ingestion.Request.html index 7dfc9159d..10a25e1a2 100644 --- a/Plausible.Ingestion.Request.html +++ b/Plausible.Ingestion.Request.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Mailer.html b/Plausible.Mailer.html index 9361b7b73..be6a9023a 100644 --- a/Plausible.Mailer.html +++ b/Plausible.Mailer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.OpenTelemetry.Sampler.html b/Plausible.OpenTelemetry.Sampler.html index c0999ebe9..338459514 100644 --- a/Plausible.OpenTelemetry.Sampler.html +++ b/Plausible.OpenTelemetry.Sampler.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.PaddleApi.Mock.html b/Plausible.PaddleApi.Mock.html index 88f4587f8..4e8de2d7f 100644 --- a/Plausible.PaddleApi.Mock.html +++ b/Plausible.PaddleApi.Mock.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Pagination.html b/Plausible.Pagination.html index 17b7ece1d..a47e8528f 100644 --- a/Plausible.Pagination.html +++ b/Plausible.Pagination.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.CustomProps.html b/Plausible.Plugins.API.CustomProps.html index a1635ac23..a41240b87 100644 --- a/Plausible.Plugins.API.CustomProps.html +++ b/Plausible.Plugins.API.CustomProps.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Goals.html b/Plausible.Plugins.API.Goals.html index 3c4d26c6d..1ae469def 100644 --- a/Plausible.Plugins.API.Goals.html +++ b/Plausible.Plugins.API.Goals.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.SharedLinks.html b/Plausible.Plugins.API.SharedLinks.html index 33af2d75c..a99f50f71 100644 --- a/Plausible.Plugins.API.SharedLinks.html +++ b/Plausible.Plugins.API.SharedLinks.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Token.html b/Plausible.Plugins.API.Token.html index 33a4b15d3..021adb9d9 100644 --- a/Plausible.Plugins.API.Token.html +++ b/Plausible.Plugins.API.Token.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Tokens.html b/Plausible.Plugins.API.Tokens.html index 537f69113..c356e625b 100644 --- a/Plausible.Plugins.API.Tokens.html +++ b/Plausible.Plugins.API.Tokens.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.PromEx.Plugins.PlausibleMetrics.html b/Plausible.PromEx.Plugins.PlausibleMetrics.html index 9249b72ee..caae687b0 100644 --- a/Plausible.PromEx.Plugins.PlausibleMetrics.html +++ b/Plausible.PromEx.Plugins.PlausibleMetrics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.PromEx.html b/Plausible.PromEx.html index 172a55db2..565bbc6ff 100644 --- a/Plausible.PromEx.html +++ b/Plausible.PromEx.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Props.html b/Plausible.Props.html index d5e259080..00e850408 100644 --- a/Plausible.Props.html +++ b/Plausible.Props.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Purge.html b/Plausible.Purge.html index 2b28e5090..be99840e3 100644 --- a/Plausible.Purge.html +++ b/Plausible.Purge.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.RateLimit.html b/Plausible.RateLimit.html index f8bb77def..59b940ba7 100644 --- a/Plausible.RateLimit.html +++ b/Plausible.RateLimit.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Release.html b/Plausible.Release.html index 7c1a9983e..b8e96dac8 100644 --- a/Plausible.Release.html +++ b/Plausible.Release.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Repo.html b/Plausible.Repo.html index c4bbd7d0b..e9a34b01c 100644 --- a/Plausible.Repo.html +++ b/Plausible.Repo.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Sentry.Client.html b/Plausible.Sentry.Client.html index f6bc9928c..383a3b1c7 100644 --- a/Plausible.Sentry.Client.html +++ b/Plausible.Sentry.Client.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.SentryFilter.html b/Plausible.SentryFilter.html index 26fd0b86a..62ddf5ec7 100644 --- a/Plausible.SentryFilter.html +++ b/Plausible.SentryFilter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Session.CacheStore.html b/Plausible.Session.CacheStore.html index 091c2ee7b..6a70413a0 100644 --- a/Plausible.Session.CacheStore.html +++ b/Plausible.Session.CacheStore.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Session.Salts.html b/Plausible.Session.Salts.html index b0189f601..511196356 100644 --- a/Plausible.Session.Salts.html +++ b/Plausible.Session.Salts.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Cache.html b/Plausible.Site.Cache.html index e7f0dae62..9473457de 100644 --- a/Plausible.Site.Cache.html +++ b/Plausible.Site.Cache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Domain.html b/Plausible.Site.Domain.html index e676d4b8e..04bdff6ea 100644 --- a/Plausible.Site.Domain.html +++ b/Plausible.Site.Domain.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.GateKeeper.html b/Plausible.Site.GateKeeper.html index 74033b37d..a6b7aa180 100644 --- a/Plausible.Site.GateKeeper.html +++ b/Plausible.Site.GateKeeper.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.GoogleAuth.html b/Plausible.Site.GoogleAuth.html index 29c3a7320..45cc28e75 100644 --- a/Plausible.Site.GoogleAuth.html +++ b/Plausible.Site.GoogleAuth.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.ImportedData.html b/Plausible.Site.ImportedData.html index b5f66d11e..52c2e8f66 100644 --- a/Plausible.Site.ImportedData.html +++ b/Plausible.Site.ImportedData.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Membership.html b/Plausible.Site.Membership.html index df9cc4768..388d415dc 100644 --- a/Plausible.Site.Membership.html +++ b/Plausible.Site.Membership.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Memberships.AcceptInvitation.html b/Plausible.Site.Memberships.AcceptInvitation.html index 7ab3b0995..f71b13a5c 100644 --- a/Plausible.Site.Memberships.AcceptInvitation.html +++ b/Plausible.Site.Memberships.AcceptInvitation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Memberships.CreateInvitation.html b/Plausible.Site.Memberships.CreateInvitation.html index 12427279b..df20dd784 100644 --- a/Plausible.Site.Memberships.CreateInvitation.html +++ b/Plausible.Site.Memberships.CreateInvitation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Memberships.RejectInvitation.html b/Plausible.Site.Memberships.RejectInvitation.html index 68fcceac6..5b183da3f 100644 --- a/Plausible.Site.Memberships.RejectInvitation.html +++ b/Plausible.Site.Memberships.RejectInvitation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Memberships.RemoveInvitation.html b/Plausible.Site.Memberships.RemoveInvitation.html index 0b675d71d..57ed1b371 100644 --- a/Plausible.Site.Memberships.RemoveInvitation.html +++ b/Plausible.Site.Memberships.RemoveInvitation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Memberships.html b/Plausible.Site.Memberships.html index 7926c0633..f4b69a262 100644 --- a/Plausible.Site.Memberships.html +++ b/Plausible.Site.Memberships.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.MonthlyReport.html b/Plausible.Site.MonthlyReport.html index d7e5c2e06..9a53f5a5b 100644 --- a/Plausible.Site.MonthlyReport.html +++ b/Plausible.Site.MonthlyReport.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Removal.html b/Plausible.Site.Removal.html index 20d609e14..61b92f636 100644 --- a/Plausible.Site.Removal.html +++ b/Plausible.Site.Removal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.SharedLink.html b/Plausible.Site.SharedLink.html index 6d2fdaada..ce2caf165 100644 --- a/Plausible.Site.SharedLink.html +++ b/Plausible.Site.SharedLink.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.SpikeNotification.html b/Plausible.Site.SpikeNotification.html index 317be56fb..4f4d30d9f 100644 --- a/Plausible.Site.SpikeNotification.html +++ b/Plausible.Site.SpikeNotification.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.UserPreference.html b/Plausible.Site.UserPreference.html index 667a40947..7d26022d4 100644 --- a/Plausible.Site.UserPreference.html +++ b/Plausible.Site.UserPreference.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.WeeklyReport.html b/Plausible.Site.WeeklyReport.html index 2a975a83c..6563e7d98 100644 --- a/Plausible.Site.WeeklyReport.html +++ b/Plausible.Site.WeeklyReport.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.html b/Plausible.Site.html index d9c40a6c5..f86ece60d 100644 --- a/Plausible.Site.html +++ b/Plausible.Site.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.SiteAdmin.html b/Plausible.SiteAdmin.html index 22c737372..27d825221 100644 --- a/Plausible.SiteAdmin.html +++ b/Plausible.SiteAdmin.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Sites.html b/Plausible.Sites.html index 87bc65225..1502b4899 100644 --- a/Plausible.Sites.html +++ b/Plausible.Sites.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Aggregate.html b/Plausible.Stats.Aggregate.html index 2b7ae8307..579afa1de 100644 --- a/Plausible.Stats.Aggregate.html +++ b/Plausible.Stats.Aggregate.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Base.html b/Plausible.Stats.Base.html index 3feade99d..08cfa2dab 100644 --- a/Plausible.Stats.Base.html +++ b/Plausible.Stats.Base.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Breakdown.html b/Plausible.Stats.Breakdown.html index b03d53191..c4e10eeec 100644 --- a/Plausible.Stats.Breakdown.html +++ b/Plausible.Stats.Breakdown.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Clickhouse.html b/Plausible.Stats.Clickhouse.html index a631ed8fa..c6ed5ef09 100644 --- a/Plausible.Stats.Clickhouse.html +++ b/Plausible.Stats.Clickhouse.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Compare.html b/Plausible.Stats.Compare.html index b46069f1e..90885591e 100644 --- a/Plausible.Stats.Compare.html +++ b/Plausible.Stats.Compare.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Comparisons.html b/Plausible.Stats.Comparisons.html index fe35b93c9..2eddd0cb0 100644 --- a/Plausible.Stats.Comparisons.html +++ b/Plausible.Stats.Comparisons.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.CurrentVisitors.html b/Plausible.Stats.CurrentVisitors.html index cf09f737e..3a6c04ace 100644 --- a/Plausible.Stats.CurrentVisitors.html +++ b/Plausible.Stats.CurrentVisitors.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.CustomProps.html b/Plausible.Stats.CustomProps.html index 2c7bceebd..208914e8a 100644 --- a/Plausible.Stats.CustomProps.html +++ b/Plausible.Stats.CustomProps.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.EmailReport.html b/Plausible.Stats.EmailReport.html index b58e5ea41..92ac81efb 100644 --- a/Plausible.Stats.EmailReport.html +++ b/Plausible.Stats.EmailReport.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.FilterSuggestions.html b/Plausible.Stats.FilterSuggestions.html index 0c6d293ea..f8260e03a 100644 --- a/Plausible.Stats.FilterSuggestions.html +++ b/Plausible.Stats.FilterSuggestions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Filters.Utils.html b/Plausible.Stats.Filters.Utils.html index 7f15671da..18b475ef5 100644 --- a/Plausible.Stats.Filters.Utils.html +++ b/Plausible.Stats.Filters.Utils.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Filters.html b/Plausible.Stats.Filters.html index 32e503c08..692b29717 100644 --- a/Plausible.Stats.Filters.html +++ b/Plausible.Stats.Filters.html @@ -14,7 +14,7 @@ - + @@ -245,14 +245,14 @@ Pages Examples: -
iex> Filters.parse("{\"page\":\"/blog/**\"}")
-%{"event:page" => {:matches, "/blog/**"}}
+
iex> Filters.parse("{\"page\":\"/blog/**\"}")
+%{"event:page" => {:matches, "/blog/**"}}
 
-iex> Filters.parse("visit:browser!=Chrome")
-%{"visit:browser" => {:is_not, "Chrome"}}
+iex> Filters.parse("visit:browser!=Chrome")
+%{"visit:browser" => {:is_not, "Chrome"}}
 
-iex> Filters.parse(nil)
-%{}
+
iex> Filters.parse(nil) +%{}
diff --git a/Plausible.Stats.Fragments.html b/Plausible.Stats.Fragments.html index f6ae2980e..4070a3ff3 100644 --- a/Plausible.Stats.Fragments.html +++ b/Plausible.Stats.Fragments.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Funnel.html b/Plausible.Stats.Funnel.html index 554ad277e..338c9c7d0 100644 --- a/Plausible.Stats.Funnel.html +++ b/Plausible.Stats.Funnel.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Goal.Revenue.html b/Plausible.Stats.Goal.Revenue.html index 5e35ecc70..b43d96914 100644 --- a/Plausible.Stats.Goal.Revenue.html +++ b/Plausible.Stats.Goal.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Imported.html b/Plausible.Stats.Imported.html index d88cdce82..85b0b7efa 100644 --- a/Plausible.Stats.Imported.html +++ b/Plausible.Stats.Imported.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Interval.html b/Plausible.Stats.Interval.html index 348c9d72a..f6d6b35d5 100644 --- a/Plausible.Stats.Interval.html +++ b/Plausible.Stats.Interval.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Props.html b/Plausible.Stats.Props.html index 4fde93c94..48c753faa 100644 --- a/Plausible.Stats.Props.html +++ b/Plausible.Stats.Props.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Query.html b/Plausible.Stats.Query.html index e3edd8548..8fd9a1eef 100644 --- a/Plausible.Stats.Query.html +++ b/Plausible.Stats.Query.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Sampling.html b/Plausible.Stats.Sampling.html index 8697dddf3..0b9e08641 100644 --- a/Plausible.Stats.Sampling.html +++ b/Plausible.Stats.Sampling.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Timeseries.html b/Plausible.Stats.Timeseries.html index 104fdff3c..0a6782df3 100644 --- a/Plausible.Stats.Timeseries.html +++ b/Plausible.Stats.Timeseries.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Util.html b/Plausible.Stats.Util.html index 7cb650492..25d187702 100644 --- a/Plausible.Stats.Util.html +++ b/Plausible.Stats.Util.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.html b/Plausible.Stats.html index 42d32a728..fe2b0f368 100644 --- a/Plausible.Stats.html +++ b/Plausible.Stats.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Test.Support.HTML.html b/Plausible.Test.Support.HTML.html index 580352238..d4d4efb11 100644 --- a/Plausible.Test.Support.HTML.html +++ b/Plausible.Test.Support.HTML.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Test.Support.HTTPMocker.html b/Plausible.Test.Support.HTTPMocker.html index 18f2e358e..29ffa94f9 100644 --- a/Plausible.Test.Support.HTTPMocker.html +++ b/Plausible.Test.Support.HTTPMocker.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.TestUtils.html b/Plausible.TestUtils.html index c68e893f0..2329d2a84 100644 --- a/Plausible.TestUtils.html +++ b/Plausible.TestUtils.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Themes.html b/Plausible.Themes.html index 09fbfa352..3407f9bf1 100644 --- a/Plausible.Themes.html +++ b/Plausible.Themes.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Timezones.html b/Plausible.Timezones.html index d045b0299..e1f3c7063 100644 --- a/Plausible.Timezones.html +++ b/Plausible.Timezones.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Users.html b/Plausible.Users.html index 13e1c83cd..0ddc59bdd 100644 --- a/Plausible.Users.html +++ b/Plausible.Users.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.AcceptTrafficUntil.html b/Plausible.Workers.AcceptTrafficUntil.html index ad0cd44a6..220abe56f 100644 --- a/Plausible.Workers.AcceptTrafficUntil.html +++ b/Plausible.Workers.AcceptTrafficUntil.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.CheckUsage.html b/Plausible.Workers.CheckUsage.html index f94aa7004..3eb4b4958 100644 --- a/Plausible.Workers.CheckUsage.html +++ b/Plausible.Workers.CheckUsage.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.CleanInvitations.html b/Plausible.Workers.CleanInvitations.html index 3ca8e59b8..727219959 100644 --- a/Plausible.Workers.CleanInvitations.html +++ b/Plausible.Workers.CleanInvitations.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ExpireDomainChangeTransitions.html b/Plausible.Workers.ExpireDomainChangeTransitions.html index dfed7cc20..a4d896a0c 100644 --- a/Plausible.Workers.ExpireDomainChangeTransitions.html +++ b/Plausible.Workers.ExpireDomainChangeTransitions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ImportAnalytics.html b/Plausible.Workers.ImportAnalytics.html index d8dbe3d62..91741306d 100644 --- a/Plausible.Workers.ImportAnalytics.html +++ b/Plausible.Workers.ImportAnalytics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.LockSites.html b/Plausible.Workers.LockSites.html index 2699d78be..2941546ff 100644 --- a/Plausible.Workers.LockSites.html +++ b/Plausible.Workers.LockSites.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.NotifyAnnualRenewal.html b/Plausible.Workers.NotifyAnnualRenewal.html index 7d6e3c44a..e5937eba7 100644 --- a/Plausible.Workers.NotifyAnnualRenewal.html +++ b/Plausible.Workers.NotifyAnnualRenewal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.RotateSalts.html b/Plausible.Workers.RotateSalts.html index 376d578fc..21cd94940 100644 --- a/Plausible.Workers.RotateSalts.html +++ b/Plausible.Workers.RotateSalts.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ScheduleEmailReports.html b/Plausible.Workers.ScheduleEmailReports.html index 4019c6224..b8c0650a8 100644 --- a/Plausible.Workers.ScheduleEmailReports.html +++ b/Plausible.Workers.ScheduleEmailReports.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.SendCheckStatsEmails.html b/Plausible.Workers.SendCheckStatsEmails.html index d7f3f1572..459406863 100644 --- a/Plausible.Workers.SendCheckStatsEmails.html +++ b/Plausible.Workers.SendCheckStatsEmails.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.SendEmailReport.html b/Plausible.Workers.SendEmailReport.html index d574bd3a0..c31db338e 100644 --- a/Plausible.Workers.SendEmailReport.html +++ b/Plausible.Workers.SendEmailReport.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.SendSiteSetupEmails.html b/Plausible.Workers.SendSiteSetupEmails.html index 84fda67d1..52fe5fad9 100644 --- a/Plausible.Workers.SendSiteSetupEmails.html +++ b/Plausible.Workers.SendSiteSetupEmails.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.SendTrialNotifications.html b/Plausible.Workers.SendTrialNotifications.html index 228c79679..764c4cb52 100644 --- a/Plausible.Workers.SendTrialNotifications.html +++ b/Plausible.Workers.SendTrialNotifications.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.SpikeNotifier.html b/Plausible.Workers.SpikeNotifier.html index 3e6ed4e89..3f3b4143e 100644 --- a/Plausible.Workers.SpikeNotifier.html +++ b/Plausible.Workers.SpikeNotifier.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.epub b/Plausible.epub index 9c2a361d28274d61ab732c45f8c31df8b1c46000..1c1eebc03c01fa7fb9cc5d2f5c4d21ed2f581f83 100644 GIT binary patch delta 133479 zcmYhBb8sck7wB_iI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!aDxCtduBk7FLZG@X+-8A%oxL|VS_Wwwx4u9(h(VA|9u;O?t!snWX2$Qg3dYX z^FAiLV~pXHY7B;&ViK^=nB2u8CKygp7GYr~CNl@ptw-3@(>MXhH=Da|e3W2G&zX=r z3npP+qfB6u@Rk-T1}99&+M}jKS!#a?Zn)AE6Ch*7WMlr(BkTb5E6fcrM2paq>5(w6 z&?8=D;Ks!$9cG)M9Aw%ieYA)D=o+R0;4M2h-VU4oHR6VwSQ~jiGYqHZTB2}xCn^HZ z*`REi|9;F%>><`_>|c@;HAfTeq8%GR3 z3xj4D@#84}oM`z
diff --git a/PlausibleWeb.AuthController.html b/PlausibleWeb.AuthController.html index 7ce774ac9..eefb506b4 100644 --- a/PlausibleWeb.AuthController.html +++ b/PlausibleWeb.AuthController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthPlug.html b/PlausibleWeb.AuthPlug.html index dbdd5ed4d..19ee94ffb 100644 --- a/PlausibleWeb.AuthPlug.html +++ b/PlausibleWeb.AuthPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthView.html b/PlausibleWeb.AuthView.html index 0e176f052..499ac5605 100644 --- a/PlausibleWeb.AuthView.html +++ b/PlausibleWeb.AuthView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthorizeSiteAccess.html b/PlausibleWeb.AuthorizeSiteAccess.html index 4b9dd750e..98990a389 100644 --- a/PlausibleWeb.AuthorizeSiteAccess.html +++ b/PlausibleWeb.AuthorizeSiteAccess.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthorizeSitesApiPlug.html b/PlausibleWeb.AuthorizeSitesApiPlug.html index e4481f2d0..767fdbbf5 100644 --- a/PlausibleWeb.AuthorizeSitesApiPlug.html +++ b/PlausibleWeb.AuthorizeSitesApiPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthorizeStatsApiPlug.html b/PlausibleWeb.AuthorizeStatsApiPlug.html index 49147cb4e..f3c0a0c1b 100644 --- a/PlausibleWeb.AuthorizeStatsApiPlug.html +++ b/PlausibleWeb.AuthorizeStatsApiPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AvatarController.html b/PlausibleWeb.AvatarController.html index a5cd9a19e..bc459d710 100644 --- a/PlausibleWeb.AvatarController.html +++ b/PlausibleWeb.AvatarController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.BillingController.html b/PlausibleWeb.BillingController.html index 7eaf3baf3..e3e51ef83 100644 --- a/PlausibleWeb.BillingController.html +++ b/PlausibleWeb.BillingController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.BillingView.html b/PlausibleWeb.BillingView.html index ee9fae611..ed1de9d3c 100644 --- a/PlausibleWeb.BillingView.html +++ b/PlausibleWeb.BillingView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.CRMAuthPlug.html b/PlausibleWeb.CRMAuthPlug.html index cd7f5b8bb..da31da77c 100644 --- a/PlausibleWeb.CRMAuthPlug.html +++ b/PlausibleWeb.CRMAuthPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Captcha.html b/PlausibleWeb.Captcha.html index ff33b6e9d..2830f3638 100644 --- a/PlausibleWeb.Captcha.html +++ b/PlausibleWeb.Captcha.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Billing.PlanBenefits.html b/PlausibleWeb.Components.Billing.PlanBenefits.html index 0991d507f..813bf93fc 100644 --- a/PlausibleWeb.Components.Billing.PlanBenefits.html +++ b/PlausibleWeb.Components.Billing.PlanBenefits.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Generic.html b/PlausibleWeb.Components.Generic.html index de84ac248..4d5d2bd8e 100644 --- a/PlausibleWeb.Components.Generic.html +++ b/PlausibleWeb.Components.Generic.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Google.html b/PlausibleWeb.Components.Google.html index d6c85b29a..8a2f69c87 100644 --- a/PlausibleWeb.Components.Google.html +++ b/PlausibleWeb.Components.Google.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Settings.html b/PlausibleWeb.Components.Settings.html index 858b777dc..2757a1b82 100644 --- a/PlausibleWeb.Components.Settings.html +++ b/PlausibleWeb.Components.Settings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Site.Feature.html b/PlausibleWeb.Components.Site.Feature.html index 3c99f3cae..e01db5d5f 100644 --- a/PlausibleWeb.Components.Site.Feature.html +++ b/PlausibleWeb.Components.Site.Feature.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.TwoFactor.html b/PlausibleWeb.Components.TwoFactor.html index cb305d69b..6e1a2ffe1 100644 --- a/PlausibleWeb.Components.TwoFactor.html +++ b/PlausibleWeb.Components.TwoFactor.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ConnCase.html b/PlausibleWeb.ConnCase.html index f30f4348d..39bc6b089 100644 --- a/PlausibleWeb.ConnCase.html +++ b/PlausibleWeb.ConnCase.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ControllerHelpers.html b/PlausibleWeb.ControllerHelpers.html index c3ccb0d77..2b86b6ad4 100644 --- a/PlausibleWeb.ControllerHelpers.html +++ b/PlausibleWeb.ControllerHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Controllers.API.Revenue.html b/PlausibleWeb.Controllers.API.Revenue.html index 847a58edd..b8fce075e 100644 --- a/PlausibleWeb.Controllers.API.Revenue.html +++ b/PlausibleWeb.Controllers.API.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Dogfood.html b/PlausibleWeb.Dogfood.html index 615695b43..a5a5519ae 100644 --- a/PlausibleWeb.Dogfood.html +++ b/PlausibleWeb.Dogfood.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Email.html b/PlausibleWeb.Email.html index 4c0d9ca9f..4613008c5 100644 --- a/PlausibleWeb.Email.html +++ b/PlausibleWeb.Email.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.EmailView.html b/PlausibleWeb.EmailView.html index 0f783fd5a..d5e517c16 100644 --- a/PlausibleWeb.EmailView.html +++ b/PlausibleWeb.EmailView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Endpoint.html b/PlausibleWeb.Endpoint.html index 6d308062f..671fa9236 100644 --- a/PlausibleWeb.Endpoint.html +++ b/PlausibleWeb.Endpoint.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorHelpers.html b/PlausibleWeb.ErrorHelpers.html index 1871aafb9..1ebf0feed 100644 --- a/PlausibleWeb.ErrorHelpers.html +++ b/PlausibleWeb.ErrorHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorReportController.html b/PlausibleWeb.ErrorReportController.html index a167fe583..2d6a1ab66 100644 --- a/PlausibleWeb.ErrorReportController.html +++ b/PlausibleWeb.ErrorReportController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorView.html b/PlausibleWeb.ErrorView.html index 2fc0c1150..5c0765f22 100644 --- a/PlausibleWeb.ErrorView.html +++ b/PlausibleWeb.ErrorView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Favicon.html b/PlausibleWeb.Favicon.html index 26a9e9652..865a6c245 100644 --- a/PlausibleWeb.Favicon.html +++ b/PlausibleWeb.Favicon.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.FirstLaunchPlug.Test.html b/PlausibleWeb.FirstLaunchPlug.Test.html index 576db0a04..c8227fe8d 100644 --- a/PlausibleWeb.FirstLaunchPlug.Test.html +++ b/PlausibleWeb.FirstLaunchPlug.Test.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.FirstLaunchPlug.html b/PlausibleWeb.FirstLaunchPlug.html index 4d4c4e263..8d4a89f0b 100644 --- a/PlausibleWeb.FirstLaunchPlug.html +++ b/PlausibleWeb.FirstLaunchPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.FormHelpers.html b/PlausibleWeb.FormHelpers.html index 816d5edeb..380be040f 100644 --- a/PlausibleWeb.FormHelpers.html +++ b/PlausibleWeb.FormHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.InvitationController.html b/PlausibleWeb.InvitationController.html index ec4e6635d..030bf243d 100644 --- a/PlausibleWeb.InvitationController.html +++ b/PlausibleWeb.InvitationController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.LastSeenPlug.html b/PlausibleWeb.LastSeenPlug.html index 49e2541a0..c8a704ebb 100644 --- a/PlausibleWeb.LastSeenPlug.html +++ b/PlausibleWeb.LastSeenPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.LayoutView.JWT.html b/PlausibleWeb.LayoutView.JWT.html index 3c5e4d3a0..85f1d0927 100644 --- a/PlausibleWeb.LayoutView.JWT.html +++ b/PlausibleWeb.LayoutView.JWT.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.LayoutView.html b/PlausibleWeb.LayoutView.html index 5d35e249c..a5aeed5f9 100644 --- a/PlausibleWeb.LayoutView.html +++ b/PlausibleWeb.LayoutView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.ChoosePlan.html b/PlausibleWeb.Live.ChoosePlan.html index 9c1342bf0..c68cf56ae 100644 --- a/PlausibleWeb.Live.ChoosePlan.html +++ b/PlausibleWeb.Live.ChoosePlan.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.ComboBox.StaticSearch.html b/PlausibleWeb.Live.Components.ComboBox.StaticSearch.html index 3edf0857d..48643d0d7 100644 --- a/PlausibleWeb.Live.Components.ComboBox.StaticSearch.html +++ b/PlausibleWeb.Live.Components.ComboBox.StaticSearch.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.ComboBox.html b/PlausibleWeb.Live.Components.ComboBox.html index 1cd62de01..436e79e7f 100644 --- a/PlausibleWeb.Live.Components.ComboBox.html +++ b/PlausibleWeb.Live.Components.ComboBox.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.Form.html b/PlausibleWeb.Live.Components.Form.html index 798a0f292..13590dcb2 100644 --- a/PlausibleWeb.Live.Components.Form.html +++ b/PlausibleWeb.Live.Components.Form.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.Modal.html b/PlausibleWeb.Live.Components.Modal.html index 0d4e38191..5724495f5 100644 --- a/PlausibleWeb.Live.Components.Modal.html +++ b/PlausibleWeb.Live.Components.Modal.html @@ -14,7 +14,7 @@ - + @@ -153,18 +153,18 @@ on connections with high latency.

Usage

An example use case for a modal is embedding a form inside -existing live view which allows adding new entries of some kind:

<.live_component module={Modal} id="some-form-modal">
+existing live view which allows adding new entries of some kind:

<.live_component module={Modal} id="some-form-modal">
   <.live_component
-    module={SomeForm}
+    module={SomeForm}
     id="some-form"
-    on_save_form={
-      fn entry, socket ->
-        send(self(), {:entry_added, entry})
-        Modal.close(socket, "some-form-modal")
-      end
-    }
+    on_save_form={
+      fn entry, socket ->
+        send(self(), {:entry_added, entry})
+        Modal.close(socket, "some-form-modal")
+      end
+    }
   />
-</.live_component>

Then somewhere in the same live view the modal is rendered in:

<.button x-data x-on:click={Modal.JS.open("goals-form-modal")}>
+</.live_component>

Then somewhere in the same live view the modal is rendered in:

<.button x-data x-on:click={Modal.JS.open("goals-form-modal")}>
   + Add Entry
 </.button>

@@ -184,26 +184,26 @@ itself - adding x-data attribute without any value i to ensure that.

  • Modal.close/2 - to close the modal from the backend; usually done inside wrapped component's handle_event/2. The example qouted above shows one way to implement this, under that assumption -that the component exposes a callback, like this:

    defmodule SomeForm do
    +that the component exposes a callback, like this:

    defmodule SomeForm do
       use Phoenix.LiveComponent
     
    -  def update(assigns, socket) do
    +  def update(assigns, socket) do
         # ...
     
    -    {:ok, assign(socket, :on_save_form, assigns.on_save_form)}
    -  end
    +    {:ok, assign(socket, :on_save_form, assigns.on_save_form)}
    +  end
     
       #...
     
    -  def handle_event("save-form", %{"form" => form}, socket) do
    -    case save_entry(form) do
    -      {:ok, entry} ->
    -        {:noreply, socket.assigns.on_save_form(entry, socket)}
    +  def handle_event("save-form", %{"form" => form}, socket) do
    +    case save_entry(form) do
    +      {:ok, entry} ->
    +        {:noreply, socket.assigns.on_save_form(entry, socket)}
     
           # error case handling ...
    -    end
    -  end
    -end

    Using callback approach has an added benefit of making the + end + end +end

    Using callback approach has an added benefit of making the component more flexible.

  • diff --git a/PlausibleWeb.Live.Components.Pagination.html b/PlausibleWeb.Live.Components.Pagination.html index e6096da1c..c9b287581 100644 --- a/PlausibleWeb.Live.Components.Pagination.html +++ b/PlausibleWeb.Live.Components.Pagination.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.Visitors.html b/PlausibleWeb.Live.Components.Visitors.html index 67e2a38e6..16562ff29 100644 --- a/PlausibleWeb.Live.Components.Visitors.html +++ b/PlausibleWeb.Live.Components.Visitors.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Flash.html b/PlausibleWeb.Live.Flash.html index 1e1de1ff4..1bcc3d336 100644 --- a/PlausibleWeb.Live.Flash.html +++ b/PlausibleWeb.Live.Flash.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.FunnelSettings.Form.html b/PlausibleWeb.Live.FunnelSettings.Form.html index 5a1652f33..b3736cb51 100644 --- a/PlausibleWeb.Live.FunnelSettings.Form.html +++ b/PlausibleWeb.Live.FunnelSettings.Form.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.FunnelSettings.List.html b/PlausibleWeb.Live.FunnelSettings.List.html index 6903db56e..3859c9cd7 100644 --- a/PlausibleWeb.Live.FunnelSettings.List.html +++ b/PlausibleWeb.Live.FunnelSettings.List.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.FunnelSettings.html b/PlausibleWeb.Live.FunnelSettings.html index 8b56f4890..b3d92f204 100644 --- a/PlausibleWeb.Live.FunnelSettings.html +++ b/PlausibleWeb.Live.FunnelSettings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.GoalSettings.Form.html b/PlausibleWeb.Live.GoalSettings.Form.html index 89e182854..665cc1e41 100644 --- a/PlausibleWeb.Live.GoalSettings.Form.html +++ b/PlausibleWeb.Live.GoalSettings.Form.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.GoalSettings.List.html b/PlausibleWeb.Live.GoalSettings.List.html index a1226ed4c..2b3826704 100644 --- a/PlausibleWeb.Live.GoalSettings.List.html +++ b/PlausibleWeb.Live.GoalSettings.List.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.GoalSettings.html b/PlausibleWeb.Live.GoalSettings.html index 36d7d89b8..b6cc2e556 100644 --- a/PlausibleWeb.Live.GoalSettings.html +++ b/PlausibleWeb.Live.GoalSettings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Plugins.API.Settings.html b/PlausibleWeb.Live.Plugins.API.Settings.html index 518ec9e55..8b3757903 100644 --- a/PlausibleWeb.Live.Plugins.API.Settings.html +++ b/PlausibleWeb.Live.Plugins.API.Settings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Plugins.API.TokenForm.html b/PlausibleWeb.Live.Plugins.API.TokenForm.html index a83fe3a5e..450b4f8d0 100644 --- a/PlausibleWeb.Live.Plugins.API.TokenForm.html +++ b/PlausibleWeb.Live.Plugins.API.TokenForm.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.PropsSettings.Form.html b/PlausibleWeb.Live.PropsSettings.Form.html index ad6dc80cd..57aa9887f 100644 --- a/PlausibleWeb.Live.PropsSettings.Form.html +++ b/PlausibleWeb.Live.PropsSettings.Form.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.PropsSettings.List.html b/PlausibleWeb.Live.PropsSettings.List.html index a3ca2c05f..37f7e31a8 100644 --- a/PlausibleWeb.Live.PropsSettings.List.html +++ b/PlausibleWeb.Live.PropsSettings.List.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.PropsSettings.html b/PlausibleWeb.Live.PropsSettings.html index 7893df9f0..7c69d3ed9 100644 --- a/PlausibleWeb.Live.PropsSettings.html +++ b/PlausibleWeb.Live.PropsSettings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.RegisterForm.html b/PlausibleWeb.Live.RegisterForm.html index 055560952..f366f031e 100644 --- a/PlausibleWeb.Live.RegisterForm.html +++ b/PlausibleWeb.Live.RegisterForm.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.ResetPasswordForm.html b/PlausibleWeb.Live.ResetPasswordForm.html index d7a03d032..797010985 100644 --- a/PlausibleWeb.Live.ResetPasswordForm.html +++ b/PlausibleWeb.Live.ResetPasswordForm.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.SentryContext.html b/PlausibleWeb.Live.SentryContext.html index 9dd6f559b..de7188ab7 100644 --- a/PlausibleWeb.Live.SentryContext.html +++ b/PlausibleWeb.Live.SentryContext.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Sites.html b/PlausibleWeb.Live.Sites.html index f2ecd203c..9593d1569 100644 --- a/PlausibleWeb.Live.Sites.html +++ b/PlausibleWeb.Live.Sites.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.MJML.StatsReport.html b/PlausibleWeb.MJML.StatsReport.html index 839a8c66c..d387c4c56 100644 --- a/PlausibleWeb.MJML.StatsReport.html +++ b/PlausibleWeb.MJML.StatsReport.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.PageController.html b/PlausibleWeb.PageController.html index 688ddb9f5..87d16d9df 100644 --- a/PlausibleWeb.PageController.html +++ b/PlausibleWeb.PageController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.PageView.html b/PlausibleWeb.PageView.html index 27937afc4..ab1d86256 100644 --- a/PlausibleWeb.PageView.html +++ b/PlausibleWeb.PageView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.CustomProps.html b/PlausibleWeb.Plugins.API.Controllers.CustomProps.html index 8a670eaf8..bd373aafa 100644 --- a/PlausibleWeb.Plugins.API.Controllers.CustomProps.html +++ b/PlausibleWeb.Plugins.API.Controllers.CustomProps.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.Goals.html b/PlausibleWeb.Plugins.API.Controllers.Goals.html index 25f431e03..ae585b835 100644 --- a/PlausibleWeb.Plugins.API.Controllers.Goals.html +++ b/PlausibleWeb.Plugins.API.Controllers.Goals.html @@ -14,7 +14,7 @@ - + @@ -267,7 +267,7 @@ Pages

    delete(conn, params)

    - + View Source @@ -295,7 +295,7 @@ Pages

    delete_bulk(conn, params)

    - + View Source @@ -323,7 +323,7 @@ Pages

    get(conn, params)

    - + View Source @@ -351,7 +351,7 @@ Pages

    index(conn, params)

    - + View Source diff --git a/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html b/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html index 4001c4642..51763ed71 100644 --- a/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html +++ b/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Errors.html b/PlausibleWeb.Plugins.API.Errors.html index 978d9dddb..dd8899b97 100644 --- a/PlausibleWeb.Plugins.API.Errors.html +++ b/PlausibleWeb.Plugins.API.Errors.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Router.html b/PlausibleWeb.Plugins.API.Router.html deleted file mode 100644 index c1d199150..000000000 --- a/PlausibleWeb.Plugins.API.Router.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - PlausibleWeb.Plugins.API.Router — Plausible v0.0.1 - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    - -
    -
    - - -

    - - - - View Source - - - PlausibleWeb.Plugins.API.Router - (Plausible v0.0.1) - -

    - - - -
    -

    - - - - Summary -

    -
    -

    - Functions -

    - -
    -
    - api(conn, _) - -
    - -
    - -
    - - -
    - -
    - - -

    Callback invoked by Plug on every request.

    - -
    - -
    -
    - init(opts) - -
    - -

    Callback required by Plug that initializes the router -for serving web requests.

    - -
    - -
    - -
    - - -
    -

    - - - - Functions -

    -
    -
    - - - -
    - - -
    -
    -
    - - - -
    - - -
    -
    -
    - - - -
    - -

    Callback invoked by Plug on every request.

    -
    -
    -
    - - - -
    - -

    Callback required by Plug that initializes the router -for serving web requests.

    -
    -
    - -
    -
    - - -
    -
    -
    -
    - - - - - - diff --git a/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html b/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html index b90e05ef5..bbe535fe2 100644 --- a/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html b/PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html index 3076ae09d..ea57a81ab 100644 --- a/PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html b/PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html index ab38c0562..8b2e9337f 100644 --- a/PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html +++ b/PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.CustomProp.html b/PlausibleWeb.Plugins.API.Schemas.CustomProp.html index 581825354..0bc2a1ea1 100644 --- a/PlausibleWeb.Plugins.API.Schemas.CustomProp.html +++ b/PlausibleWeb.Plugins.API.Schemas.CustomProp.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Error.html b/PlausibleWeb.Plugins.API.Schemas.Error.html index 598613759..ba79eec98 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Error.html +++ b/PlausibleWeb.Plugins.API.Schemas.Error.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html index 25e3931e1..2097c2e9c 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html index 70f876370..66c0ec826 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html index cf873be2d..5aede5cf1 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html index 5f325f5a1..f2598b833 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html b/PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html index 4b706feb9..7c5801d33 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html b/PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html index e6611a0dd..34b823c9a 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html b/PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html index 967bdc865..ef207167c 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html b/PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html index 98f43175d..2f74623b8 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html b/PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html index 32d9e4f6c..8e18a6468 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.Type.html b/PlausibleWeb.Plugins.API.Schemas.Goal.Type.html index fba4c3533..7ee0941c3 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.Type.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.Type.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Goal.html b/PlausibleWeb.Plugins.API.Schemas.Goal.html index 747083dbb..f9a662830 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Goal.html +++ b/PlausibleWeb.Plugins.API.Schemas.Goal.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Link.html b/PlausibleWeb.Plugins.API.Schemas.Link.html index 82d6273b4..64cbce78d 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Link.html +++ b/PlausibleWeb.Plugins.API.Schemas.Link.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.NotFound.html b/PlausibleWeb.Plugins.API.Schemas.NotFound.html index d6e893efb..398b2fd96 100644 --- a/PlausibleWeb.Plugins.API.Schemas.NotFound.html +++ b/PlausibleWeb.Plugins.API.Schemas.NotFound.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html b/PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html index 40c3ada86..6f57a558e 100644 --- a/PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html +++ b/PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html b/PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html index 63be2f7d4..b50008206 100644 --- a/PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html +++ b/PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html b/PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html index b380eb374..429d8ab4a 100644 --- a/PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html b/PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html index 1f73276c0..fda41521e 100644 --- a/PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html +++ b/PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.SharedLink.html b/PlausibleWeb.Plugins.API.Schemas.SharedLink.html index c0ffca3e1..720598171 100644 --- a/PlausibleWeb.Plugins.API.Schemas.SharedLink.html +++ b/PlausibleWeb.Plugins.API.Schemas.SharedLink.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Unauthorized.html b/PlausibleWeb.Plugins.API.Schemas.Unauthorized.html index ddf93e8fd..43b14a79c 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Unauthorized.html +++ b/PlausibleWeb.Plugins.API.Schemas.Unauthorized.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html b/PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html index f57f35ea8..4265f4a36 100644 --- a/PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html +++ b/PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Spec.html b/PlausibleWeb.Plugins.API.Spec.html index a12ffc516..006e02db8 100644 --- a/PlausibleWeb.Plugins.API.Spec.html +++ b/PlausibleWeb.Plugins.API.Spec.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.CustomProp.html b/PlausibleWeb.Plugins.API.Views.CustomProp.html index 7331a0442..288f7b35a 100644 --- a/PlausibleWeb.Plugins.API.Views.CustomProp.html +++ b/PlausibleWeb.Plugins.API.Views.CustomProp.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.Error.html b/PlausibleWeb.Plugins.API.Views.Error.html index 41efa6bcc..c76b93698 100644 --- a/PlausibleWeb.Plugins.API.Views.Error.html +++ b/PlausibleWeb.Plugins.API.Views.Error.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.Goal.html b/PlausibleWeb.Plugins.API.Views.Goal.html index 3fd355acc..e7a071a7d 100644 --- a/PlausibleWeb.Plugins.API.Views.Goal.html +++ b/PlausibleWeb.Plugins.API.Views.Goal.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.Pagination.html b/PlausibleWeb.Plugins.API.Views.Pagination.html index 0b53b348e..0bb99bd79 100644 --- a/PlausibleWeb.Plugins.API.Views.Pagination.html +++ b/PlausibleWeb.Plugins.API.Views.Pagination.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.SharedLink.html b/PlausibleWeb.Plugins.API.Views.SharedLink.html index c08200ad7..82f0b80d7 100644 --- a/PlausibleWeb.Plugins.API.Views.SharedLink.html +++ b/PlausibleWeb.Plugins.API.Views.SharedLink.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.html b/PlausibleWeb.Plugins.API.html deleted file mode 100644 index 49be9d863..000000000 --- a/PlausibleWeb.Plugins.API.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - PlausibleWeb.Plugins.API — Plausible v0.0.1 - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    - -
    -
    - - -

    - - - - View Source - - - PlausibleWeb.Plugins.API - (Plausible v0.0.1) - -

    - - -
    -

    Plausible Plugins API

    -
    - - -
    -

    - - - - Summary -

    -
    -

    - Functions -

    - -
    -
    - base_uri() - -
    - -

    Returns the API base URI, so that complete URLs can -be generated from forwared Router helpers.

    - -
    - -
    - -
    - - -
    -

    - - - - Functions -

    -
    -
    - - - -
    - -
    - -
    @spec base_uri() :: URI.t()
    - -
    - -

    Returns the API base URI, so that complete URLs can -be generated from forwared Router helpers.

    -
    -
    - -
    -
    - - -
    -
    -
    -
    - - - - - - diff --git a/PlausibleWeb.PluginsAPICase.html b/PlausibleWeb.PluginsAPICase.html index 0c0a3e160..8892e0b9a 100644 --- a/PlausibleWeb.PluginsAPICase.html +++ b/PlausibleWeb.PluginsAPICase.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugs.AuthorizePluginsAPI.html b/PlausibleWeb.Plugs.AuthorizePluginsAPI.html index d204f973f..db143fd59 100644 --- a/PlausibleWeb.Plugs.AuthorizePluginsAPI.html +++ b/PlausibleWeb.Plugs.AuthorizePluginsAPI.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugs.ErrorHandler.html b/PlausibleWeb.Plugs.ErrorHandler.html index 3b0d51447..54a49b916 100644 --- a/PlausibleWeb.Plugs.ErrorHandler.html +++ b/PlausibleWeb.Plugs.ErrorHandler.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugs.MaybeDisableRegistration.html b/PlausibleWeb.Plugs.MaybeDisableRegistration.html index 30400e555..c476ca992 100644 --- a/PlausibleWeb.Plugs.MaybeDisableRegistration.html +++ b/PlausibleWeb.Plugs.MaybeDisableRegistration.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugs.NoRobots.html b/PlausibleWeb.Plugs.NoRobots.html index d218ba260..38daf7d6b 100644 --- a/PlausibleWeb.Plugs.NoRobots.html +++ b/PlausibleWeb.Plugs.NoRobots.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RefInspector.html b/PlausibleWeb.RefInspector.html index cb4f6b89e..5d4cc3894 100644 --- a/PlausibleWeb.RefInspector.html +++ b/PlausibleWeb.RefInspector.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RemoteIp.html b/PlausibleWeb.RemoteIp.html index ddae872d7..8f1cd8506 100644 --- a/PlausibleWeb.RemoteIp.html +++ b/PlausibleWeb.RemoteIp.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RequireAccountPlug.html b/PlausibleWeb.RequireAccountPlug.html index c08477435..9c57fc45b 100644 --- a/PlausibleWeb.RequireAccountPlug.html +++ b/PlausibleWeb.RequireAccountPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RequireLoggedOutPlug.html b/PlausibleWeb.RequireLoggedOutPlug.html index ff722d671..0d22beca8 100644 --- a/PlausibleWeb.RequireLoggedOutPlug.html +++ b/PlausibleWeb.RequireLoggedOutPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Router.html b/PlausibleWeb.Router.html index cb3c91685..59f3a573b 100644 --- a/PlausibleWeb.Router.html +++ b/PlausibleWeb.Router.html @@ -14,7 +14,7 @@ - + @@ -240,6 +240,22 @@ for serving web requests.

    +
    + + +
    + + +
    public_api(conn, _) @@ -488,6 +504,50 @@ for serving web requests.

    +
    + +
    + +
    + + + Link to this function + +

    plugins_api(conn, _)

    + + + + View Source + + + +
    + +
    + + +
    +
    +
    + +
    + + + Link to this function + +

    plugins_api_auth(conn, _)

    + + + + View Source + + + +
    + +
    + +
    diff --git a/PlausibleWeb.SessionTimeoutPlug.html b/PlausibleWeb.SessionTimeoutPlug.html index 1eaa48281..579d3c486 100644 --- a/PlausibleWeb.SessionTimeoutPlug.html +++ b/PlausibleWeb.SessionTimeoutPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Site.MembershipController.html b/PlausibleWeb.Site.MembershipController.html index 425239763..2b1113f37 100644 --- a/PlausibleWeb.Site.MembershipController.html +++ b/PlausibleWeb.Site.MembershipController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Site.MembershipView.html b/PlausibleWeb.Site.MembershipView.html index 9e4fdcdcc..509fbc46c 100644 --- a/PlausibleWeb.Site.MembershipView.html +++ b/PlausibleWeb.Site.MembershipView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.SiteController.html b/PlausibleWeb.SiteController.html index 71c285c57..cd94ee991 100644 --- a/PlausibleWeb.SiteController.html +++ b/PlausibleWeb.SiteController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.SiteView.html b/PlausibleWeb.SiteView.html index 97ba199f8..9fdad2689 100644 --- a/PlausibleWeb.SiteView.html +++ b/PlausibleWeb.SiteView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.StatsController.html b/PlausibleWeb.StatsController.html index 591166869..3f8830c47 100644 --- a/PlausibleWeb.StatsController.html +++ b/PlausibleWeb.StatsController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.StatsView.html b/PlausibleWeb.StatsView.html index dedd26bd2..ee6e194dd 100644 --- a/PlausibleWeb.StatsView.html +++ b/PlausibleWeb.StatsView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Tracker.html b/PlausibleWeb.Tracker.html index f7456d432..32417154a 100644 --- a/PlausibleWeb.Tracker.html +++ b/PlausibleWeb.Tracker.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.TwoFactor.Session.html b/PlausibleWeb.TwoFactor.Session.html index f1121b466..324b570fd 100644 --- a/PlausibleWeb.TwoFactor.Session.html +++ b/PlausibleWeb.TwoFactor.Session.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.UnsubscribeController.html b/PlausibleWeb.UnsubscribeController.html index aacade86b..22d5bf7ba 100644 --- a/PlausibleWeb.UnsubscribeController.html +++ b/PlausibleWeb.UnsubscribeController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.UnsubscribeView.html b/PlausibleWeb.UnsubscribeView.html index 811f2c940..7fe90df21 100644 --- a/PlausibleWeb.UnsubscribeView.html +++ b/PlausibleWeb.UnsubscribeView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.html b/PlausibleWeb.html index aadcbbe4b..ed8510f3f 100644 --- a/PlausibleWeb.html +++ b/PlausibleWeb.html @@ -14,7 +14,7 @@ - + @@ -251,7 +251,7 @@ Pages

    __using__(which)

    - + View Source @@ -343,7 +343,7 @@ Pages

    open_api_schema()

    - + View Source @@ -387,7 +387,7 @@ Pages

    plugins_api_view()

    - + View Source diff --git a/api-reference.html b/api-reference.html index b039f3769..72a476384 100644 --- a/api-reference.html +++ b/api-reference.html @@ -14,7 +14,7 @@ - + @@ -2210,15 +2210,6 @@ and the number of steps they have.

    - -
    - - -

    Plausible Plugins API

    -
    @@ -2255,13 +2246,6 @@ and the number of steps they have.

    Common responses for Plugins API

    -
    -
    diff --git a/contributing.html b/contributing.html index 99a24130b..9ac3528a6 100644 --- a/contributing.html +++ b/contributing.html @@ -14,7 +14,7 @@ - + diff --git a/dist/search_data-E7363DA5.js b/dist/search_data-08A278DA.js similarity index 86% rename from dist/search_data-E7363DA5.js rename to dist/search_data-08A278DA.js index 2cc2e8be5..c0ea5ec13 100644 --- a/dist/search_data-E7363DA5.js +++ b/dist/search_data-08A278DA.js @@ -1 +1 @@ -searchData={"items":[{"type":"task","title":"mix cancel_subscription","doc":"This task is meant to replicate the behavior of cancelling\na subscription. On production, this action is initiated by\na Paddle webhook. Currently, only the subscription status\nis changed with that action.","ref":"Mix.Tasks.CancelSubscription.html"},{"type":"function","title":"Mix.Tasks.CancelSubscription.run/1","doc":"","ref":"Mix.Tasks.CancelSubscription.html#run/1"},{"type":"task","title":"mix clean_clickhouse","doc":"","ref":"Mix.Tasks.CleanClickhouse.html"},{"type":"function","title":"Mix.Tasks.CleanClickhouse.run/1","doc":"","ref":"Mix.Tasks.CleanClickhouse.html#run/1"},{"type":"task","title":"mix create_free_subscription","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html"},{"type":"function","title":"Mix.Tasks.CreateFreeSubscription.execute/1","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html#execute/1"},{"type":"function","title":"Mix.Tasks.CreateFreeSubscription.run/1","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html#run/1"},{"type":"task","title":"mix download_country_database","doc":"This task downloads the Country Lite database from DB-IP for self-hosted or development purposes.\nPlausible Cloud runs a paid version of DB-IP with more detailed geolocation data.","ref":"Mix.Tasks.DownloadCountryDatabase.html"},{"type":"function","title":"Mix.Tasks.DownloadCountryDatabase.run/1","doc":"","ref":"Mix.Tasks.DownloadCountryDatabase.html#run/1"},{"type":"task","title":"mix generate_referrer_favicons","doc":"","ref":"Mix.Tasks.GenerateReferrerFavicons.html"},{"type":"function","title":"Mix.Tasks.GenerateReferrerFavicons.run/1","doc":"","ref":"Mix.Tasks.GenerateReferrerFavicons.html#run/1"},{"type":"task","title":"mix pull_sandbox_subscription","doc":"","ref":"Mix.Tasks.PullSandboxSubscription.html"},{"type":"function","title":"Mix.Tasks.PullSandboxSubscription.run/1","doc":"","ref":"Mix.Tasks.PullSandboxSubscription.html#run/1"},{"type":"task","title":"mix send_pageview","doc":"It's often necessary to generate fake events for development and testing purposes. This Mix Task provides a quick and easy\nway to generate a pageview or custom event, either in your development environment or a remote Plausible instance.\n\nSee Mix.Tasks.SendPageview.usage/1 for more detailed documentation.","ref":"Mix.Tasks.SendPageview.html"},{"type":"function","title":"Mix.Tasks.SendPageview.run/1","doc":"","ref":"Mix.Tasks.SendPageview.html#run/1"},{"type":"module","title":"ObanErrorReporter","doc":"","ref":"ObanErrorReporter.html"},{"type":"function","title":"ObanErrorReporter.handle_event/4","doc":"","ref":"ObanErrorReporter.html#handle_event/4"},{"type":"module","title":"Plausible","doc":"Build-related macros","ref":"Plausible.html"},{"type":"function","title":"Plausible.do_on_full_build/1","doc":"","ref":"Plausible.html#do_on_full_build/1"},{"type":"macro","title":"Plausible.full_build?/0","doc":"","ref":"Plausible.html#full_build?/0"},{"type":"macro","title":"Plausible.on_full_build/1","doc":"","ref":"Plausible.html#on_full_build/1"},{"type":"macro","title":"Plausible.small_build?/0","doc":"","ref":"Plausible.html#small_build?/0"},{"type":"module","title":"Plausible.AsyncInsertRepo","doc":"Clickhouse access with async inserts enabled","ref":"Plausible.AsyncInsertRepo.html"},{"type":"function","title":"Plausible.AsyncInsertRepo.aggregate/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#aggregate/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.aggregate/4","doc":"","ref":"Plausible.AsyncInsertRepo.html#aggregate/4"},{"type":"function","title":"Plausible.AsyncInsertRepo.all/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.checked_out?/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.checkout/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#checkout/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.child_spec/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#child_spec/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.config/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#config/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.default_options/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#default_options/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete_all/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete_all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.AsyncInsertRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.exists?/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#exists?/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.get/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get!/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_by/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_by/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_by!/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_by!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_all/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_all/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_or_update/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_or_update!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.AsyncInsertRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.load/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#load/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.one/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#one/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.one!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#one!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.preload/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#preload/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.prepare_query/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.AsyncInsertRepo.html#query/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.AsyncInsertRepo.html#query!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.reload/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#reload/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.reload!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#reload!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.start_link/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#start_link/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.stop/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#stop/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.stream/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#stream/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.AsyncInsertRepo.html#to_sql/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#update/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#update!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update_all/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#update_all/3"},{"type":"module","title":"Plausible.Auth","doc":"","ref":"Plausible.Auth.html"},{"type":"function","title":"Plausible.Auth.create_api_key/3","doc":"","ref":"Plausible.Auth.html#create_api_key/3"},{"type":"function","title":"Plausible.Auth.create_user/3","doc":"","ref":"Plausible.Auth.html#create_user/3"},{"type":"function","title":"Plausible.Auth.delete_api_key/2","doc":"","ref":"Plausible.Auth.html#delete_api_key/2"},{"type":"function","title":"Plausible.Auth.delete_user/1","doc":"","ref":"Plausible.Auth.html#delete_user/1"},{"type":"function","title":"Plausible.Auth.enterprise_configured?/1","doc":"","ref":"Plausible.Auth.html#enterprise_configured?/1"},{"type":"function","title":"Plausible.Auth.find_api_key/1","doc":"","ref":"Plausible.Auth.html#find_api_key/1"},{"type":"function","title":"Plausible.Auth.find_user_by/1","doc":"","ref":"Plausible.Auth.html#find_user_by/1"},{"type":"function","title":"Plausible.Auth.has_active_sites?/2","doc":"","ref":"Plausible.Auth.html#has_active_sites?/2"},{"type":"function","title":"Plausible.Auth.is_super_admin?/1","doc":"","ref":"Plausible.Auth.html#is_super_admin?/1"},{"type":"function","title":"Plausible.Auth.user_owns_sites?/1","doc":"","ref":"Plausible.Auth.html#user_owns_sites?/1"},{"type":"module","title":"Plausible.Auth.ApiKey","doc":"","ref":"Plausible.Auth.ApiKey.html"},{"type":"function","title":"Plausible.Auth.ApiKey.changeset/2","doc":"","ref":"Plausible.Auth.ApiKey.html#changeset/2"},{"type":"function","title":"Plausible.Auth.ApiKey.do_hash/1","doc":"","ref":"Plausible.Auth.ApiKey.html#do_hash/1"},{"type":"function","title":"Plausible.Auth.ApiKey.process_key/1","doc":"","ref":"Plausible.Auth.ApiKey.html#process_key/1"},{"type":"function","title":"Plausible.Auth.ApiKey.update/2","doc":"","ref":"Plausible.Auth.ApiKey.html#update/2"},{"type":"type","title":"Plausible.Auth.ApiKey.t/0","doc":"","ref":"Plausible.Auth.ApiKey.html#t:t/0"},{"type":"module","title":"Plausible.Auth.ApiKeyAdmin","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.create_changeset/2","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#create_changeset/2"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.custom_index_query/3","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.form_fields/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.index/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#index/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.search_fields/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.update_changeset/2","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#update_changeset/2"},{"type":"module","title":"Plausible.Auth.EmailActivationCode","doc":"Schema for email activation codes.","ref":"Plausible.Auth.EmailActivationCode.html"},{"type":"function","title":"Plausible.Auth.EmailActivationCode.generate_code/0","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#generate_code/0"},{"type":"function","title":"Plausible.Auth.EmailActivationCode.new/2","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#new/2"},{"type":"type","title":"Plausible.Auth.EmailActivationCode.t/0","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#t:t/0"},{"type":"module","title":"Plausible.Auth.EmailVerification","doc":"API for verifying emails.","ref":"Plausible.Auth.EmailVerification.html"},{"type":"function","title":"Plausible.Auth.EmailVerification.any?/1","doc":"","ref":"Plausible.Auth.EmailVerification.html#any?/1"},{"type":"function","title":"Plausible.Auth.EmailVerification.expired?/1","doc":"","ref":"Plausible.Auth.EmailVerification.html#expired?/1"},{"type":"function","title":"Plausible.Auth.EmailVerification.issue_code/2","doc":"","ref":"Plausible.Auth.EmailVerification.html#issue_code/2"},{"type":"function","title":"Plausible.Auth.EmailVerification.verify_code/2","doc":"","ref":"Plausible.Auth.EmailVerification.html#verify_code/2"},{"type":"module","title":"Plausible.Auth.GracePeriod","doc":"This embedded schema stores information about the account locking grace\nperiod.\n\nUsers are given this 7-day grace period to upgrade their account after\noutgrowing their subscriptions. The actual account locking happens in\nbackground with `Plausible.Workers.LockSites`.\n\nThe grace period can also be manual, without an end date, being controlled\nmanually from the CRM, and not by the background site locker job. This is\nuseful for enterprise subscriptions.","ref":"Plausible.Auth.GracePeriod.html"},{"type":"function","title":"Plausible.Auth.GracePeriod.active?/1","doc":"Returns whether the grace period is still active for a User. Defaults to\nfalse if the user is nil or there is no grace period.","ref":"Plausible.Auth.GracePeriod.html#active?/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.end_changeset/1","doc":"Ends an existing grace period by `setting users.grace_period.is_over` to true.\nThis means the grace period has expired.","ref":"Plausible.Auth.GracePeriod.html#end_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.expired?/1","doc":"Returns whether the grace period has already expired for a User. Defaults to\nfalse if the user is nil or there is no grace period.","ref":"Plausible.Auth.GracePeriod.html#expired?/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.remove_changeset/1","doc":"Removes the grace period from the User completely.","ref":"Plausible.Auth.GracePeriod.html#remove_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.start_changeset/1","doc":"Starts a account locking grace period of 7 days by changing the User struct.","ref":"Plausible.Auth.GracePeriod.html#start_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.start_manual_lock_changeset/1","doc":"Starts a manual account locking grace period by changing the User struct.\nManual locking means the grace period can only be removed manually from the\nCRM.","ref":"Plausible.Auth.GracePeriod.html#start_manual_lock_changeset/1"},{"type":"type","title":"Plausible.Auth.GracePeriod.t/0","doc":"","ref":"Plausible.Auth.GracePeriod.html#t:t/0"},{"type":"module","title":"Plausible.Auth.Invitation","doc":"","ref":"Plausible.Auth.Invitation.html"},{"type":"function","title":"Plausible.Auth.Invitation.new/1","doc":"","ref":"Plausible.Auth.Invitation.html#new/1"},{"type":"type","title":"Plausible.Auth.Invitation.t/0","doc":"","ref":"Plausible.Auth.Invitation.html#t:t/0"},{"type":"module","title":"Plausible.Auth.Password","doc":"","ref":"Plausible.Auth.Password.html"},{"type":"function","title":"Plausible.Auth.Password.dummy_calculation/0","doc":"","ref":"Plausible.Auth.Password.html#dummy_calculation/0"},{"type":"function","title":"Plausible.Auth.Password.hash/1","doc":"","ref":"Plausible.Auth.Password.html#hash/1"},{"type":"function","title":"Plausible.Auth.Password.match?/2","doc":"","ref":"Plausible.Auth.Password.html#match?/2"},{"type":"module","title":"Plausible.Auth.TOTP","doc":"TOTP auth context\n\nHandles all the aspects of TOTP setup, management and validation for users.","ref":"Plausible.Auth.TOTP.html"},{"type":"module","title":"Setup - Plausible.Auth.TOTP","doc":"TOTP setup is started with `initiate/1`. At this stage, a random secret\nbinary is generated for user and stored under `User.totp_secret`. The secret\nis additionally encrypted while stored in the database using `Cloak`. The\nvault for safe storage is configured in `Plausible.Auth.TOTP.Vault` via\na dedicated `Ecto` type defined in `Plausible.Auth.TOTP.EncryptedBinary`.\nThe function returns updated user along with TOTP URI and a readable form\nof secret. Both - the URI and readable secret - are meant for exposure \nin the user's setup screen. The URI should be encoded as a QR code.\n\nAfter initiation, user is expected to confirm valid setup with `enable/2`,\nproviding TOTP code from their authenticator app. After code validation \npasses successfully, the `User.totp_enabled` flag is set to `true`.\nFinally, the user must be immediately presented with a list of recovery codes\nreturned by the same call of `enable/2`. The codes should be presented\nin copy/paste friendly form, ideally also with a print-friendly view option.\n\nThe `initiate/1` and `enable/1` functions can be safely called multiple\ntimes, allowing user to abort and restart setup up to these stages.","ref":"Plausible.Auth.TOTP.html#module-setup"},{"type":"module","title":"Management - Plausible.Auth.TOTP","doc":"The state of TOTP for a particular user can be chcecked by calling\n`enabled?/1` or `initiated?/1`.\n\nTOTP can be disabled with `disable/2`. User is expected to provide their\ncurrent password for safety. Once disabled, all TOTP user settings are\ncleared and any remaining generated recovery codes are removed. The function\ncan be safely run more than once.\n\nIf the user needs to regenerate the recovery codes outside of setup procedure,\nthey must do it via `generate_recovery_codes/2`, providing their current\npassword for safety. They must be warned that any existing recovery codes\nwill be invalidated.","ref":"Plausible.Auth.TOTP.html#module-management"},{"type":"module","title":"Validation - Plausible.Auth.TOTP","doc":"After logging in, user's TOTP state must be checked with `enabled?/1`.\n\nIf enabled, user must be presented with TOTP code input form accepting\n6 digit characters. The code must be checked using `validate_code/2`.\n\nUser must have an option to alternatively input one of their recovery\ncodes. Those codes must be checked with `use_recovery_code/2`.","ref":"Plausible.Auth.TOTP.html#module-validation"},{"type":"module","title":"Code validity - Plausible.Auth.TOTP","doc":"In case of TOTP codes, a grace period of 30 seconds is applied, which\nallows user to use their current and previous TOTP code, assuming 30\nsecond validity window of each. This allows user to use code that was \nabout to expire before the submission. Regardless of that, each TOTP\ncode can be used only once. Validation procedure rejects repeat use\nof the same code for safety. It's done by tracking last time a TOTP\ncode was used successfully, stored under `User.totp_last_used_at`.\n\nIn case of recovery codes, each code is deleted immediately after use.\nThey are strictly one-time use only.","ref":"Plausible.Auth.TOTP.html#module-code-validity"},{"type":"module","title":"TOTP Token - Plausible.Auth.TOTP","doc":"TOTP token is an alternate method of authenticating user session.\nIt's main use case is \"trust this device\" functionality, where user\ncan decide to skip 2FA verification for a particular browser session \nfor next N days. The token should then be stored in an encrypted,\nsigned cookie with a proper expiration timestamp.\n\nThe token should be reset each time it either fails to match\nor when other credentials (like password) are reset. This should\neffectively invalidate all trusted devices for a given user.","ref":"Plausible.Auth.TOTP.html#module-totp-token"},{"type":"function","title":"Plausible.Auth.TOTP.disable/2","doc":"","ref":"Plausible.Auth.TOTP.html#disable/2"},{"type":"function","title":"Plausible.Auth.TOTP.enable/3","doc":"","ref":"Plausible.Auth.TOTP.html#enable/3"},{"type":"function","title":"Plausible.Auth.TOTP.enabled?/1","doc":"","ref":"Plausible.Auth.TOTP.html#enabled?/1"},{"type":"function","title":"Plausible.Auth.TOTP.generate_recovery_codes/1","doc":"","ref":"Plausible.Auth.TOTP.html#generate_recovery_codes/1"},{"type":"function","title":"Plausible.Auth.TOTP.generate_recovery_codes/2","doc":"","ref":"Plausible.Auth.TOTP.html#generate_recovery_codes/2"},{"type":"function","title":"Plausible.Auth.TOTP.initiate/1","doc":"","ref":"Plausible.Auth.TOTP.html#initiate/1"},{"type":"function","title":"Plausible.Auth.TOTP.initiated?/1","doc":"","ref":"Plausible.Auth.TOTP.html#initiated?/1"},{"type":"function","title":"Plausible.Auth.TOTP.reset_token/1","doc":"","ref":"Plausible.Auth.TOTP.html#reset_token/1"},{"type":"function","title":"Plausible.Auth.TOTP.use_recovery_code/2","doc":"","ref":"Plausible.Auth.TOTP.html#use_recovery_code/2"},{"type":"function","title":"Plausible.Auth.TOTP.validate_code/3","doc":"","ref":"Plausible.Auth.TOTP.html#validate_code/3"},{"type":"module","title":"Plausible.Auth.TOTP.EncryptedBinary","doc":"Defines an Ecto type so Cloak.Ecto can encrypt/decrypt a binary field.","ref":"Plausible.Auth.TOTP.EncryptedBinary.html"},{"type":"module","title":"Plausible.Auth.TOTP.RecoveryCode","doc":"Schema for TOTP recovery codes.","ref":"Plausible.Auth.TOTP.RecoveryCode.html"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.changeset/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#changeset/2"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.changeset_to_map/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#changeset_to_map/2"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.generate_codes/1","doc":"Generates `count` unique recovery codes, each alphanumeric\nand 10 characters long.","ref":"Plausible.Auth.TOTP.RecoveryCode.html#generate_codes/1"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.match?/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#match?/2"},{"type":"type","title":"Plausible.Auth.TOTP.RecoveryCode.t/0","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#t:t/0"},{"type":"module","title":"Plausible.Auth.TOTP.Vault","doc":"Provides a vault that will be used to encrypt/decrypt the TOTP secrets of users who enable it.","ref":"Plausible.Auth.TOTP.Vault.html"},{"type":"function","title":"Plausible.Auth.TOTP.Vault.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Auth.TOTP.Vault.html#child_spec/1"},{"type":"function","title":"Plausible.Auth.TOTP.Vault.start_link/1","doc":"","ref":"Plausible.Auth.TOTP.Vault.html#start_link/1"},{"type":"module","title":"Plausible.Auth.Token","doc":"","ref":"Plausible.Auth.Token.html"},{"type":"function","title":"Plausible.Auth.Token.sign_password_reset/1","doc":"","ref":"Plausible.Auth.Token.html#sign_password_reset/1"},{"type":"function","title":"Plausible.Auth.Token.sign_shared_link/1","doc":"","ref":"Plausible.Auth.Token.html#sign_shared_link/1"},{"type":"function","title":"Plausible.Auth.Token.verify_password_reset/1","doc":"","ref":"Plausible.Auth.Token.html#verify_password_reset/1"},{"type":"function","title":"Plausible.Auth.Token.verify_shared_link/1","doc":"","ref":"Plausible.Auth.Token.html#verify_shared_link/1"},{"type":"module","title":"Plausible.Auth.User","doc":"","ref":"Plausible.Auth.User.html"},{"type":"function","title":"Plausible.Auth.User.cancel_email_changeset/1","doc":"","ref":"Plausible.Auth.User.html#cancel_email_changeset/1"},{"type":"function","title":"Plausible.Auth.User.changeset/2","doc":"","ref":"Plausible.Auth.User.html#changeset/2"},{"type":"function","title":"Plausible.Auth.User.email_changeset/2","doc":"","ref":"Plausible.Auth.User.html#email_changeset/2"},{"type":"function","title":"Plausible.Auth.User.end_trial/1","doc":"","ref":"Plausible.Auth.User.html#end_trial/1"},{"type":"function","title":"Plausible.Auth.User.hash_password/1","doc":"","ref":"Plausible.Auth.User.html#hash_password/1"},{"type":"function","title":"Plausible.Auth.User.new/1","doc":"","ref":"Plausible.Auth.User.html#new/1"},{"type":"function","title":"Plausible.Auth.User.password_strength/1","doc":"","ref":"Plausible.Auth.User.html#password_strength/1"},{"type":"function","title":"Plausible.Auth.User.profile_img_url/1","doc":"","ref":"Plausible.Auth.User.html#profile_img_url/1"},{"type":"function","title":"Plausible.Auth.User.remove_trial_expiry/1","doc":"","ref":"Plausible.Auth.User.html#remove_trial_expiry/1"},{"type":"function","title":"Plausible.Auth.User.set_password/2","doc":"","ref":"Plausible.Auth.User.html#set_password/2"},{"type":"function","title":"Plausible.Auth.User.settings_changeset/2","doc":"","ref":"Plausible.Auth.User.html#settings_changeset/2"},{"type":"function","title":"Plausible.Auth.User.start_trial/1","doc":"","ref":"Plausible.Auth.User.html#start_trial/1"},{"type":"function","title":"Plausible.Auth.User.subscription_accept_traffic_until_offset_days/0","doc":"","ref":"Plausible.Auth.User.html#subscription_accept_traffic_until_offset_days/0"},{"type":"function","title":"Plausible.Auth.User.trial_accept_traffic_until_offset_days/0","doc":"","ref":"Plausible.Auth.User.html#trial_accept_traffic_until_offset_days/0"},{"type":"type","title":"Plausible.Auth.User.t/0","doc":"","ref":"Plausible.Auth.User.html#t:t/0"},{"type":"module","title":"Plausible.Auth.UserAdmin","doc":"","ref":"Plausible.Auth.UserAdmin.html"},{"type":"function","title":"Plausible.Auth.UserAdmin.custom_index_query/3","doc":"","ref":"Plausible.Auth.UserAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Auth.UserAdmin.delete/2","doc":"","ref":"Plausible.Auth.UserAdmin.html#delete/2"},{"type":"function","title":"Plausible.Auth.UserAdmin.form_fields/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Auth.UserAdmin.index/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#index/1"},{"type":"function","title":"Plausible.Auth.UserAdmin.resource_actions/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#resource_actions/1"},{"type":"module","title":"Plausible.Billing","doc":"","ref":"Plausible.Billing.html"},{"type":"function","title":"Plausible.Billing.active_subscription_for/1","doc":"","ref":"Plausible.Billing.html#active_subscription_for/1"},{"type":"function","title":"Plausible.Billing.cancelled_subscription_notice_dismiss_id/1","doc":"","ref":"Plausible.Billing.html#cancelled_subscription_notice_dismiss_id/1"},{"type":"function","title":"Plausible.Billing.change_plan/2","doc":"","ref":"Plausible.Billing.html#change_plan/2"},{"type":"function","title":"Plausible.Billing.change_plan_preview/2","doc":"","ref":"Plausible.Billing.html#change_plan_preview/2"},{"type":"function","title":"Plausible.Billing.check_needs_to_upgrade/1","doc":"","ref":"Plausible.Billing.html#check_needs_to_upgrade/1"},{"type":"function","title":"Plausible.Billing.format_price/1","doc":"","ref":"Plausible.Billing.html#format_price/1"},{"type":"function","title":"Plausible.Billing.has_active_subscription?/1","doc":"","ref":"Plausible.Billing.html#has_active_subscription?/1"},{"type":"function","title":"Plausible.Billing.paddle_api/0","doc":"","ref":"Plausible.Billing.html#paddle_api/0"},{"type":"function","title":"Plausible.Billing.subscription_cancelled/1","doc":"","ref":"Plausible.Billing.html#subscription_cancelled/1"},{"type":"function","title":"Plausible.Billing.subscription_created/1","doc":"","ref":"Plausible.Billing.html#subscription_created/1"},{"type":"function","title":"Plausible.Billing.subscription_payment_succeeded/1","doc":"","ref":"Plausible.Billing.html#subscription_payment_succeeded/1"},{"type":"function","title":"Plausible.Billing.subscription_updated/1","doc":"","ref":"Plausible.Billing.html#subscription_updated/1"},{"type":"module","title":"Plausible.Billing.Ecto.Feature","doc":"Ecto type representing a feature. Features are cast and stored in the\ndatabase as strings and loaded as modules, for example: `\"props\"` is loaded\nas `Plausible.Billing.Feature.Props`.","ref":"Plausible.Billing.Ecto.Feature.html"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.cast/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.dump/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.load/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.type/0","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#type/0"},{"type":"module","title":"Plausible.Billing.Ecto.FeatureList","doc":"Ecto type representing a list of features. This is a proxy for \n`{:array, Plausible.Billing.Ecto.Feature}` and is required for Kaffy to\nrender the HTML input correctly.","ref":"Plausible.Billing.Ecto.FeatureList.html"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.cast/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.dump/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.load/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.render_form/5","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#render_form/5"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.type/0","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#type/0"},{"type":"module","title":"Plausible.Billing.Ecto.Limit","doc":"Ecto type representing a limit, that can be either a number or unlimited.\nUnlimited is dumped to the database as `-1` and loaded as `:unlimited` to\nkeep compatibility with the rest of the codebase.","ref":"Plausible.Billing.Ecto.Limit.html"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.cast/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.dump/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.load/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.render_form/5","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#render_form/5"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.type/0","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#type/0"},{"type":"module","title":"Plausible.Billing.EnterprisePlan","doc":"","ref":"Plausible.Billing.EnterprisePlan.html"},{"type":"function","title":"Plausible.Billing.EnterprisePlan.changeset/2","doc":"","ref":"Plausible.Billing.EnterprisePlan.html#changeset/2"},{"type":"module","title":"Plausible.Billing.EnterprisePlanAdmin","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.custom_index_query/3","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.form_fields/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.index/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#index/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.search_fields/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.update_changeset/2","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#update_changeset/2"},{"type":"behaviour","title":"Plausible.Billing.Feature","doc":"This module provides an interface for managing features, e.g. Revenue Goals,\nFunnels and Custom Properties.\n\nFeature modules have functions for toggling the feature on/off and checking\nwhether the feature is available for a site/user.\n\nWhen defining new features, the following options are expected by the\n`__using__` macro:\n\n * `:name` - an atom representing the feature name in the plan JSON\n file (see also Plausible.Billing.Plan).\n\n * `:display_name` - human-readable display name of the feature\n\n * `:toggle_field` - the field in the %Plausible.Site{} schema that toggles\n the feature. If `nil` or not set, toggle/2 silently returns `:ok`\n\n * `:free` - if set to `true`, makes the `check_availability/1` function\n always return `:ok` (no matter the user's subscription status)\n\nFunctions defined by `__using__` can be overridden if needed.","ref":"Plausible.Billing.Feature.html"},{"type":"callback","title":"Plausible.Billing.Feature.check_availability/1","doc":"Checks whether the site owner or the user plan includes the given feature.","ref":"Plausible.Billing.Feature.html#c:check_availability/1"},{"type":"callback","title":"Plausible.Billing.Feature.display_name/0","doc":"Returns the human-readable display name of the feature.","ref":"Plausible.Billing.Feature.html#c:display_name/0"},{"type":"callback","title":"Plausible.Billing.Feature.enabled?/1","doc":"Checks whether a feature is enabled or not. Returns false when the feature is\ndisabled or the user does not have access to it.","ref":"Plausible.Billing.Feature.html#c:enabled?/1"},{"type":"callback","title":"Plausible.Billing.Feature.free?/0","doc":"Returns whether the feature is free to use or not.","ref":"Plausible.Billing.Feature.html#c:free?/0"},{"type":"function","title":"Plausible.Billing.Feature.list/0","doc":"Lists all available feature modules.","ref":"Plausible.Billing.Feature.html#list/0"},{"type":"callback","title":"Plausible.Billing.Feature.name/0","doc":"Returns the atom representing the feature name in the plan JSON file.","ref":"Plausible.Billing.Feature.html#c:name/0"},{"type":"callback","title":"Plausible.Billing.Feature.opted_out?/1","doc":"Returns whether the site explicitly opted out of the feature. This function\nis different from enabled/1, because enabled/1 returns false when the site\nowner does not have access to the feature.","ref":"Plausible.Billing.Feature.html#c:opted_out?/1"},{"type":"callback","title":"Plausible.Billing.Feature.toggle/2","doc":"Toggles the feature on and off for a site. Returns\n`{:error, :upgrade_required}` when toggling a feature the site owner does not\nhave access to.","ref":"Plausible.Billing.Feature.html#c:toggle/2"},{"type":"callback","title":"Plausible.Billing.Feature.toggle_field/0","doc":"Returns the %Plausible.Site{} field that toggles the feature on and off.","ref":"Plausible.Billing.Feature.html#c:toggle_field/0"},{"type":"type","title":"Plausible.Billing.Feature.t/0","doc":"","ref":"Plausible.Billing.Feature.html#t:t/0"},{"type":"module","title":"Plausible.Billing.PaddleApi","doc":"","ref":"Plausible.Billing.PaddleApi.html"},{"type":"function","title":"Plausible.Billing.PaddleApi.checkout_domain/0","doc":"","ref":"Plausible.Billing.PaddleApi.html#checkout_domain/0"},{"type":"function","title":"Plausible.Billing.PaddleApi.fetch_prices/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#fetch_prices/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.get_invoices/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#get_invoices/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.get_subscription/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#get_subscription/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.update_subscription/2","doc":"","ref":"Plausible.Billing.PaddleApi.html#update_subscription/2"},{"type":"function","title":"Plausible.Billing.PaddleApi.update_subscription_preview/2","doc":"","ref":"Plausible.Billing.PaddleApi.html#update_subscription_preview/2"},{"type":"function","title":"Plausible.Billing.PaddleApi.vendors_domain/0","doc":"","ref":"Plausible.Billing.PaddleApi.html#vendors_domain/0"},{"type":"module","title":"Plausible.Billing.Plans","doc":"","ref":"Plausible.Billing.Plans.html"},{"type":"function","title":"Plausible.Billing.Plans.all/0","doc":"","ref":"Plausible.Billing.Plans.html#all/0"},{"type":"function","title":"Plausible.Billing.Plans.available_plans_for/2","doc":"","ref":"Plausible.Billing.Plans.html#available_plans_for/2"},{"type":"function","title":"Plausible.Billing.Plans.business_plans_for/1","doc":"","ref":"Plausible.Billing.Plans.html#business_plans_for/1"},{"type":"function","title":"Plausible.Billing.Plans.business_tier?/1","doc":"","ref":"Plausible.Billing.Plans.html#business_tier?/1"},{"type":"function","title":"Plausible.Billing.Plans.business_tier_launch/0","doc":"","ref":"Plausible.Billing.Plans.html#business_tier_launch/0"},{"type":"function","title":"Plausible.Billing.Plans.find/1","doc":"","ref":"Plausible.Billing.Plans.html#find/1"},{"type":"function","title":"Plausible.Billing.Plans.get_price_for/1","doc":"","ref":"Plausible.Billing.Plans.html#get_price_for/1"},{"type":"function","title":"Plausible.Billing.Plans.get_regular_plan/2","doc":"","ref":"Plausible.Billing.Plans.html#get_regular_plan/2"},{"type":"function","title":"Plausible.Billing.Plans.get_subscription_plan/1","doc":"","ref":"Plausible.Billing.Plans.html#get_subscription_plan/1"},{"type":"function","title":"Plausible.Billing.Plans.growth_plans_for/1","doc":"Returns a list of growth plans available for the user to choose.\n\nAs new versions of plans are introduced, users who were on old plans can\nstill choose from old plans.","ref":"Plausible.Billing.Plans.html#growth_plans_for/1"},{"type":"function","title":"Plausible.Billing.Plans.latest_enterprise_plan_with_price/1","doc":"","ref":"Plausible.Billing.Plans.html#latest_enterprise_plan_with_price/1"},{"type":"function","title":"Plausible.Billing.Plans.subscription_interval/1","doc":"","ref":"Plausible.Billing.Plans.html#subscription_interval/1"},{"type":"function","title":"Plausible.Billing.Plans.suggest/2","doc":"Returns the most appropriate plan for a user based on their usage during a\ngiven cycle.\n\nIf the usage during the cycle exceeds the enterprise-level threshold, or if\nthe user already belongs to an enterprise plan, it suggests the :enterprise\nplan.\n\nOtherwise, it recommends the plan where the cycle usage falls just under the\nplan's limit from the available options for the user.","ref":"Plausible.Billing.Plans.html#suggest/2"},{"type":"function","title":"Plausible.Billing.Plans.suggest_tier/1","doc":"","ref":"Plausible.Billing.Plans.html#suggest_tier/1"},{"type":"function","title":"Plausible.Billing.Plans.with_prices/1","doc":"This function takes a list of plans as an argument, gathers all product\nIDs in a single list, and makes an API call to Paddle. After a successful\nresponse, fills in the `monthly_cost` and `yearly_cost` fields for each\ngiven plan and returns the new list of plans with completed information.","ref":"Plausible.Billing.Plans.html#with_prices/1"},{"type":"function","title":"Plausible.Billing.Plans.yearly_product_ids/0","doc":"List yearly plans product IDs.","ref":"Plausible.Billing.Plans.html#yearly_product_ids/0"},{"type":"module","title":"Plausible.Billing.Quota","doc":"This module provides functions to work with plans usage and limits.","ref":"Plausible.Billing.Quota.html"},{"type":"function","title":"Plausible.Billing.Quota.allowed_features_for/1","doc":"Returns a list of features the user can use. Trial users have the\nability to use all features during their trial.","ref":"Plausible.Billing.Quota.html#allowed_features_for/1"},{"type":"function","title":"Plausible.Billing.Quota.below_limit?/2","doc":"Returns whether the usage is below the limit or not.\nReturns false if usage is equal to the limit.","ref":"Plausible.Billing.Quota.html#below_limit?/2"},{"type":"function","title":"Plausible.Billing.Quota.ensure_can_add_new_site/1","doc":"Enterprise plans are always allowed to add more sites (even when\nover limit) to avoid service disruption. Their usage is checked\nin a background job instead (see `check_usage.ex`).","ref":"Plausible.Billing.Quota.html#ensure_can_add_new_site/1"},{"type":"function","title":"Plausible.Billing.Quota.ensure_within_plan_limits/3","doc":"Ensures that the given user (or the usage map) is within the limits\nof the given plan.\n\nAn `opts` argument can be passed with `ignore_pageview_limit: true`\nwhich bypasses the pageview limit check and returns `:ok` as long as\nthe other limits are not exceeded.","ref":"Plausible.Billing.Quota.html#ensure_within_plan_limits/3"},{"type":"function","title":"Plausible.Billing.Quota.features_usage/1","doc":"Given a user, this function returns the features used across all the sites\nthis user owns + StatsAPI if the user has a configured Stats API key.\n\nGiven a site, returns the features used by the site.","ref":"Plausible.Billing.Quota.html#features_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.monthly_pageview_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#monthly_pageview_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.monthly_pageview_usage/2","doc":"Queries the ClickHouse database for the monthly pageview usage. If the given user's\nsubscription is `active`, `past_due`, or a `deleted` (but not yet expired), a map\nwith the following structure is returned:\n\n```elixir\n%{\n current_cycle: usage_cycle(),\n last_cycle: usage_cycle(),\n penultimate_cycle: usage_cycle()\n}\n```\n\nIn all other cases of the subscription status (or a `free_10k` subscription which\ndoes not have a `last_bill_date` defined) - the following structure is returned:\n\n```elixir\n%{last_30_days: usage_cycle()}\n```\n\nGiven only a user as input, the usage is queried from across all the sites that the\nuser owns. Alternatively, given an optional argument of `site_ids`, the usage from\nacross all those sites is queried instead.","ref":"Plausible.Billing.Quota.html#monthly_pageview_usage/2"},{"type":"function","title":"Plausible.Billing.Quota.pageview_allowance_margin/0","doc":"","ref":"Plausible.Billing.Quota.html#pageview_allowance_margin/0"},{"type":"function","title":"Plausible.Billing.Quota.site_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#site_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.site_usage/1","doc":"Returns the number of sites the given user owns.","ref":"Plausible.Billing.Quota.html#site_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.team_member_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#team_member_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.team_member_usage/1","doc":"Returns the total count of team members associated with the user's sites.\n\n* The given user (i.e. the owner) is not counted as a team member.\n\n* Pending invitations are counted as team members even before accepted.\n\n* Users are counted uniquely - i.e. even if an account is associated with\n many sites owned by the given user, they still count as one team member.","ref":"Plausible.Billing.Quota.html#team_member_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.usage/2","doc":"","ref":"Plausible.Billing.Quota.html#usage/2"},{"type":"function","title":"Plausible.Billing.Quota.usage_cycle/4","doc":"","ref":"Plausible.Billing.Quota.html#usage_cycle/4"},{"type":"function","title":"Plausible.Billing.Quota.within_limit?/2","doc":"Returns whether the usage is within the limit or not.\nReturns true if usage is equal to the limit.","ref":"Plausible.Billing.Quota.html#within_limit?/2"},{"type":"type","title":"Plausible.Billing.Quota.limit/0","doc":"","ref":"Plausible.Billing.Quota.html#t:limit/0"},{"type":"type","title":"Plausible.Billing.Quota.monthly_pageview_usage/0","doc":"","ref":"Plausible.Billing.Quota.html#t:monthly_pageview_usage/0"},{"type":"type","title":"Plausible.Billing.Quota.over_limits_error/0","doc":"","ref":"Plausible.Billing.Quota.html#t:over_limits_error/0"},{"type":"type","title":"Plausible.Billing.Quota.period/0","doc":"","ref":"Plausible.Billing.Quota.html#t:period/0"},{"type":"type","title":"Plausible.Billing.Quota.usage_cycle/0","doc":"","ref":"Plausible.Billing.Quota.html#t:usage_cycle/0"},{"type":"module","title":"Plausible.Billing.SiteLocker","doc":"","ref":"Plausible.Billing.SiteLocker.html"},{"type":"function","title":"Plausible.Billing.SiteLocker.send_grace_period_end_email/1","doc":"","ref":"Plausible.Billing.SiteLocker.html#send_grace_period_end_email/1"},{"type":"function","title":"Plausible.Billing.SiteLocker.set_lock_status_for/2","doc":"","ref":"Plausible.Billing.SiteLocker.html#set_lock_status_for/2"},{"type":"function","title":"Plausible.Billing.SiteLocker.update_sites_for/2","doc":"","ref":"Plausible.Billing.SiteLocker.html#update_sites_for/2"},{"type":"type","title":"Plausible.Billing.SiteLocker.lock_reason/0","doc":"","ref":"Plausible.Billing.SiteLocker.html#t:lock_reason/0"},{"type":"type","title":"Plausible.Billing.SiteLocker.update_opt/0","doc":"","ref":"Plausible.Billing.SiteLocker.html#t:update_opt/0"},{"type":"module","title":"Plausible.Billing.Subscription.Status","doc":"The subscription statuses are stored in Paddle. They can only be changed\nthrough Paddle webhooks, which always send the current subscription status\nvia the payload.\n\n* `active` - All good with the payments. Can access stats.\n\n* `past_due` - The payment has failed, but we're trying to charge the customer\n again. Access to stats is still granted. There will be three retries - after\n 3, 5, and 7 days have passed from the first failure. After a failure on the\n final retry, the subscription status will change to `paused`. As soon as the\n customer updates their billing details, Paddle will charge them again, and\n after a successful payment, the subscription will become `active` again.\n\n* `paused` - we've tried to charge the customer but all the retries have failed.\n Stats access restricted. As soon as the customer updates their billing details,\n Paddle will charge them again, and after a successful payment, the subscription\n will become `active` again.\n\n* `deleted` - The customer has triggered the cancel subscription action. Access\n to stats should be granted for the time the customer has already paid for. If\n they want to upgrade again, new billing details have to be provided.\n\nPaddle documentation links for reference:\n\n* Subscription statuses -\n https://developer.paddle.com/classic/reference/zg9joji1mzu0mdi2-subscription-status-reference\n\n* Payment failures -\n https://developer.paddle.com/classic/guides/zg9joji1mzu0mduy-payment-failures","ref":"Plausible.Billing.Subscription.Status.html"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.active/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#active/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.active?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#active?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.deleted/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#deleted/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.deleted?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#deleted?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.in?/2","doc":"","ref":"Plausible.Billing.Subscription.Status.html#in?/2"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.past_due/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#past_due/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.past_due?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#past_due?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.paused/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#paused/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.paused?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#paused?/1"},{"type":"function","title":"Plausible.Billing.Subscription.Status.valid_statuses/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#valid_statuses/0"},{"type":"type","title":"Plausible.Billing.Subscription.Status.status/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#t:status/0"},{"type":"behaviour","title":"Plausible.Cache","doc":"Caching interface specific for Plausible. Usage:\n\n use Plausible.Cache\n\n # - Implement the callbacks required\n # - Optionally override `unwrap_cache_keys/1`\n # - Populate the cache with `Plausible.Cache.Warmer`\n\nServes as a thin wrapper around Cachex, but the underlying\nimplementation can be transparently swapped.\n\nEven though the Cachex process is started, cache access is disabled\nduring tests via the `:plausible, Elixir.Plausible.Cache, enabled: bool()` application env key.\nThis can be overridden on case by case basis, using the child specs options.\n\nThe `base_db_query/0` callback is used to generate the base query that is \nexecuted on every cache refresh. \n\nThere are two modes of refresh operation: `:all` and `:updated_recently`;\nthe former will invoke the query as is and clear all the existing entries,\nwhile the latter will attempt to limit the query to only the records that \nhave been updated in the last 15 minutes and try to merge the new results with\nexisting cache entries.\n\nBoth refresh modes are normally executed periodically from within a warmer process;\nsee: `Plausible.Cache.Warmer`. The reason for two modes is that the latter is lighter \non the database and can be executed more frequently.\n\nWhen Cache is disabled via application env, the `get/1` function\nfalls back to pure database lookups (implemented via `get_from_source/1` callback. \nThis should help with introducing cached lookups in existing code, \nso that no existing tests should break.\n\nRefreshing the cache emits telemetry event defined as per `telemetry_event_refresh/2`.","ref":"Plausible.Cache.html"},{"type":"callback","title":"Plausible.Cache.base_db_query/0","doc":"Returns the base Ecto query used to refresh the cache","ref":"Plausible.Cache.html#c:base_db_query/0"},{"type":"callback","title":"Plausible.Cache.child_id/0","doc":"Supervisor child id, must be unique within the supervision tree","ref":"Plausible.Cache.html#c:child_id/0"},{"type":"callback","title":"Plausible.Cache.count_all/0","doc":"Counts all items at the source, an aggregate query most likely","ref":"Plausible.Cache.html#c:count_all/0"},{"type":"function","title":"Plausible.Cache.enabled?/0","doc":"Looks for application env value at `:plausible, Elixir.Plausible.Cache, enabled: bool()`","ref":"Plausible.Cache.html#enabled?/0"},{"type":"callback","title":"Plausible.Cache.get_from_source/1","doc":"Retrieves the item from the source, in case the cache is disabled","ref":"Plausible.Cache.html#c:get_from_source/1"},{"type":"callback","title":"Plausible.Cache.name/0","doc":"Unique cache name, used by underlying implementation","ref":"Plausible.Cache.html#c:name/0"},{"type":"callback","title":"Plausible.Cache.unwrap_cache_keys/1","doc":"Optionally unwraps the keys of the cache items, in case one item is stored under multiple keys","ref":"Plausible.Cache.html#c:unwrap_cache_keys/1"},{"type":"module","title":"Plausible.Cache.Warmer","doc":"A periodic cache warmer.\n\nChild specification options available:\n\n * `cache_impl` - module expected to implement `Plausible.Cache` behaviour\n * `interval` - the number of milliseconds for each warm-up cycle\n * `cache_name` - defaults to cache_impl.name() but can be overridden for testing\n * `force_start?` - enforcess process startup for testing, even if it's barred\n by `Plausible.Cache.enabled?`. This is useful for avoiding issues with DB ownership\n and async tests.\n * `warmer_fn` - by convention, either `:refresh_all` or `:refresh_updated_recently`,\n both are automatically provided by `cache_impl` module. Technically any exported\n or captured function will work, if need be.\n\nSee tests for more comprehensive examples.","ref":"Plausible.Cache.Warmer.html"},{"type":"function","title":"Plausible.Cache.Warmer.child_spec/1","doc":"","ref":"Plausible.Cache.Warmer.html#child_spec/1"},{"type":"module","title":"Plausible.ChangesetHelpers","doc":"Helper function for working with Ecto changesets","ref":"Plausible.ChangesetHelpers.html"},{"type":"function","title":"Plausible.ChangesetHelpers.traverse_errors/1","doc":"","ref":"Plausible.ChangesetHelpers.html#traverse_errors/1"},{"type":"module","title":"Plausible.Cldr","doc":"Provides the core functions to retrieve and manage\nthe CLDR data that supports formatting and localisation.\n\nIt provides the core functions to access formatted\nCLDR data, set and retrieve a current locale and validate\ncertain core data types such as locales, currencies and\nterritories.","ref":"Plausible.Cldr.html"},{"type":"function","title":"Plausible.Cldr.available_locale_name?/1","doc":"","ref":"Plausible.Cldr.html#available_locale_name?/1"},{"type":"function","title":"Plausible.Cldr.default_locale/0","doc":"Returns the default `locale`.","ref":"Plausible.Cldr.html#default_locale/0"},{"type":"function","title":"Example - Plausible.Cldr.default_locale/0","doc":"iex> Plausible.Cldr.default_locale()\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en-001\",\n cldr_locale_name: :\"en-001\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en-001\",\n script: :Latn,\n territory: :\"001\",\n transform: %{},\n language_variants: []\n }","ref":"Plausible.Cldr.html#default_locale/0-example"},{"type":"function","title":"Plausible.Cldr.default_territory/0","doc":"Returns the default territory when a locale\ndoes not specify one and none can be inferred.","ref":"Plausible.Cldr.html#default_territory/0"},{"type":"function","title":"Example - Plausible.Cldr.default_territory/0","doc":"iex> Plausible.Cldr.default_territory()\n :\"001\"","ref":"Plausible.Cldr.html#default_territory/0-example"},{"type":"function","title":"Plausible.Cldr.ellipsis/2","doc":"Add locale-specific ellipsis to a string.","ref":"Plausible.Cldr.html#ellipsis/2"},{"type":"function","title":"Arguments - Plausible.Cldr.ellipsis/2","doc":"* `string` is any `String.t` or a 2-element list\n of `String.t` between which the ellipsis is inserted.\n\n* `backend` is any module that includes `use Cldr` and therefore\n is a `Cldr` backend module. The default is `Cldr.default_backend!/0`.\n Note that `Cldr.default_backend!/0` will raise an exception if\n no `:default_backend` is configured under the `:ex_cldr` key in\n `config.exs`.\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.html#ellipsis/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.ellipsis/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n The default is `Cldr.get_locale/0`.\n\n* `:location` determines where to place the ellipsis. The options are\n `:after` (the default for a single string argument), `:between`\n (the default and only valid location for an argument that is a list\n of two strings) and `:before`.\n\n* `:format` formats based upon whether the ellipsis\n is inserted between words or sentences. The valid options are\n `:word` or `:sentence`. The default is `:sentence`.","ref":"Plausible.Cldr.html#ellipsis/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.ellipsis/2","doc":"iex> Plausible.Cldr.ellipsis(\"And furthermore\")\n \"And furthermore…\"\n\n iex> Plausible.Cldr.ellipsis([\"And furthermore\", \"there is much to be done\"], locale: :ja)\n \"And furthermore…there is much to be done\"\n\n iex> Plausible.Cldr.ellipsis(\"And furthermore\", format: :word)\n \"And furthermore …\"\n\n iex> Plausible.Cldr.ellipsis([\"And furthermore\", \"there is much to be done\"], locale: :ja, format: :word)\n \"And furthermore … there is much to be done\"","ref":"Plausible.Cldr.html#ellipsis/2-examples"},{"type":"function","title":"Plausible.Cldr.get_locale/0","doc":"Return the current locale to be used for `Cldr` functions that\ntake an optional locale parameter for which a locale is not supplied.","ref":"Plausible.Cldr.html#get_locale/0"},{"type":"function","title":"Example - Plausible.Cldr.get_locale/0","doc":"iex> Plausible.Cldr.put_locale(\"pl\")\n iex> Plausible.Cldr.get_locale()\n %Cldr.LanguageTag{\n backend: Elixir.Plausible.Cldr,\n canonical_locale_name: \"pl\",\n cldr_locale_name: :pl,\n extensions: %{},\n language: \"pl\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :pl,\n territory: :PL,\n requested_locale_name: \"pl\",\n script: :Latn,\n transform: %{},\n language_variants: []\n }","ref":"Plausible.Cldr.html#get_locale/0-example"},{"type":"function","title":"Plausible.Cldr.known_calendars/0","doc":"","ref":"Plausible.Cldr.html#known_calendars/0"},{"type":"function","title":"Plausible.Cldr.known_currencies/0","doc":"","ref":"Plausible.Cldr.html#known_currencies/0"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_name/1","doc":"Returns either the Gettext `locale_name` in Cldr format or\n`false` based upon whether the locale name is configured in\n`Gettext`.","ref":"Plausible.Cldr.html#known_gettext_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_gettext_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_gettext_locale_names/0`","ref":"Plausible.Cldr.html#known_gettext_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_gettext_locale_name/1","doc":"iex> Plausible.Cldr.known_gettext_locale_name(\"en\")\n \"en\"\n\n iex> Plausible.Cldr.known_gettext_locale_name(\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_gettext_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Gettext.","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_gettext_locale_name?/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_gettext_locale_name?/1","doc":"iex> Plausible.Cldr.known_gettext_locale_name?(\"en\")\n true\n\n iex> Plausible.Cldr.known_gettext_locale_name?(\"!!\")\n false","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_names/0","doc":"Returns a list of Gettext locale names but in CLDR format with\nunderscore replaced by hyphen in order to facilitate comparisons\nwith `Cldr` locale names.","ref":"Plausible.Cldr.html#known_gettext_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_locale_name/1","doc":"Returns either the `locale_name` or `false` based upon\nwhether the locale name is configured in `Cldr`.\n\nThis is helpful when building a list of `or` expressions\nto return the first known locale name from a list.","ref":"Plausible.Cldr.html#known_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_locale_name/1","doc":"iex> Plausible.Cldr.known_locale_name(:\"en-AU\")\n :\"en-AU\"\n\n iex> Plausible.Cldr.known_locale_name(:\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Cldr.","ref":"Plausible.Cldr.html#known_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_locale_name?/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_locale_name?/1","doc":"iex> Plausible.Cldr.known_locale_name?(:en)\n true\n\n iex> Plausible.Cldr.known_locale_name?(:\"!!\")\n false","ref":"Plausible.Cldr.html#known_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_locale_names/0","doc":"Returns a list of the known locale names.\n\nKnown locales are those locales which\nare the subset of all CLDR locales that\nhave been configured for use either\nin this module or in `Gettext`.","ref":"Plausible.Cldr.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_number_system_types/0","doc":"Returns a list of atoms representing the number systems types known to `Cldr`.","ref":"Plausible.Cldr.html#known_number_system_types/0"},{"type":"function","title":"Example - Plausible.Cldr.known_number_system_types/0","doc":"iex> Plausible.Cldr.known_number_system_types()\n [:default, :finance, :native, :traditional]","ref":"Plausible.Cldr.html#known_number_system_types/0-example"},{"type":"function","title":"Plausible.Cldr.known_number_systems/0","doc":"","ref":"Plausible.Cldr.html#known_number_systems/0"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_name/1","doc":"Returns either the RBNF `locale_name` or `false` based upon\nwhether the locale name is configured in `Cldr`\nand has RBNF rules defined.","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_rbnf_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_rbnf_locale_name/1","doc":"iex> Plausible.Cldr.known_rbnf_locale_name(:en)\n :en\n\n iex> Plausible.Cldr.known_rbnf_locale_name(:\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Cldr and supports\nrules based number formats (RBNF).","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_rbnf_locale_name?/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_rbnf_locale_name?/1","doc":"iex> Plausible.Cldr.known_rbnf_locale_name?(:en)\n true\n\n iex> Plausible.Cldr.known_rbnf_locale_name?(:\"!!\")\n false","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_names/0","doc":"Returns a list of locale names which have rules-based number\nformats (RBNF).","ref":"Plausible.Cldr.html#known_rbnf_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_territories/0","doc":"","ref":"Plausible.Cldr.html#known_territories/0"},{"type":"function","title":"Plausible.Cldr.normalize_lenient_parse/3","doc":"Normalizes a string by applying transliteration\nof common symbols in numbers, currencies and dates","ref":"Plausible.Cldr.html#normalize_lenient_parse/3"},{"type":"function","title":"Plausible.Cldr.put_gettext_locale/1","doc":"Set the current process's Gettext locale from a\n`t:Cldr.LanguageTag`.","ref":"Plausible.Cldr.html#put_gettext_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.put_gettext_locale/1","doc":"* `locale` is a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`.","ref":"Plausible.Cldr.html#put_gettext_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.put_gettext_locale/1","doc":"* `{:ok, gettext_locale_name}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.html#put_gettext_locale/1-returns"},{"type":"function","title":"Behaviour - Plausible.Cldr.put_gettext_locale/1","doc":"1. If the `locale.gettext_locale_name` is `nil` then an error\n is returned.\n\n2. The `gettext` locale for the `gettext_backend` configured for the\n CLDR backend defined by the `t:Cldr.LanguageTag` is set.","ref":"Plausible.Cldr.html#put_gettext_locale/1-behaviour"},{"type":"function","title":"Examples - Plausible.Cldr.put_gettext_locale/1","doc":"iex> import Cldr.LanguageTag.Sigil\n iex> Plausible.Cldr.put_gettext_locale(~l\"en\")\n {:ok, \"en\"}\n\n iex> import Cldr.LanguageTag.Sigil\n iex> Plausible.Cldr.put_gettext_locale(~l\"de\")\n {:error,\n {Cldr.UnknownLocaleError,\n \"Locale #Cldr.LanguageTag does not map to a known gettext locale name\"}}","ref":"Plausible.Cldr.html#put_gettext_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.put_locale/1","doc":"Set the current locale to be used for `Cldr` functions that\ntake an optional locale parameter for which a locale is not supplied.","ref":"Plausible.Cldr.html#put_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.put_locale/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `t:Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`\n\nSee [rfc5646](https://tools.ietf.org/html/rfc5646) for the specification\nof a language tag.","ref":"Plausible.Cldr.html#put_locale/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.put_locale/1","doc":"iex> Plausible.Cldr.put_locale(\"en\")\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en\",\n cldr_locale_name: :en,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en\",\n script: :Latn,\n territory: :US,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.put_locale(\"invalid-locale!\")\n {:error, {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"!\\\" starting at position 15\"}}","ref":"Plausible.Cldr.html#put_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.quote/2","doc":"Add locale-specific quotation marks around a string.","ref":"Plausible.Cldr.html#quote/2"},{"type":"function","title":"Arguments - Plausible.Cldr.quote/2","doc":"* `string` is any valid Elixir string\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.html#quote/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.quote/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n The default is `Cldr.get_locale/0`","ref":"Plausible.Cldr.html#quote/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.quote/2","doc":"iex> Plausible.Cldr.quote(\"Quoted String\")\n \"“Quoted String”\"\n\n iex> Plausible.Cldr.quote(\"Quoted String\", locale: :ja)\n \"「Quoted String」\"","ref":"Plausible.Cldr.html#quote/2-examples"},{"type":"function","title":"Plausible.Cldr.unknown_locale_names/0","doc":"Returns a list of the locales names that are configured,\nbut not known in CLDR.\n\nSince there is a compile-time exception raised if there are\nany unknown locales this function should always\nreturn an empty list.","ref":"Plausible.Cldr.html#unknown_locale_names/0"},{"type":"function","title":"Plausible.Cldr.validate_calendar/1","doc":"","ref":"Plausible.Cldr.html#validate_calendar/1"},{"type":"function","title":"Plausible.Cldr.validate_currency/1","doc":"","ref":"Plausible.Cldr.html#validate_currency/1"},{"type":"function","title":"Plausible.Cldr.validate_locale/1","doc":"Normalise and validate a locale name.","ref":"Plausible.Cldr.html#validate_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.validate_locale/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.html#validate_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.validate_locale/1","doc":"* `{:ok, language_tag}`\n\n* `{:error, reason}`","ref":"Plausible.Cldr.html#validate_locale/1-returns"},{"type":"function","title":"Notes - Plausible.Cldr.validate_locale/1","doc":"See [rfc5646](https://tools.ietf.org/html/rfc5646) for the specification\nof a language tag.","ref":"Plausible.Cldr.html#validate_locale/1-notes"},{"type":"function","title":"Examples - Plausible.Cldr.validate_locale/1","doc":"iex> Plausible.Cldr.validate_locale(:en)\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en\",\n cldr_locale_name: :en,\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en\",\n script: :Latn,\n territory: :US,\n transform: %{},\n language_variants: []\n }}\n\n\n iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en-001\",\n cldr_locale_name: :\"en-001\",\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en-001\",\n script: :Latn,\n territory: :\"001\",\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.validate_locale(\"zzz\")\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zzz\\\" is invalid\"}}","ref":"Plausible.Cldr.html#validate_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.validate_number_system/1","doc":"","ref":"Plausible.Cldr.html#validate_number_system/1"},{"type":"function","title":"Plausible.Cldr.validate_number_system_type/1","doc":"Normalise and validate a number system type.","ref":"Plausible.Cldr.html#validate_number_system_type/1"},{"type":"function","title":"Arguments - Plausible.Cldr.validate_number_system_type/1","doc":"* `number_system_type` is any number system type returned by\n `Cldr.known_number_system_types/1`","ref":"Plausible.Cldr.html#validate_number_system_type/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.validate_number_system_type/1","doc":"* `{:ok, normalized_number_system_type}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.html#validate_number_system_type/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.validate_number_system_type/1","doc":"iex> Plausible.Cldr.validate_number_system_type(:default)\n {:ok, :default}\n\n iex> Plausible.Cldr.validate_number_system_type(:traditional)\n {:ok, :traditional}\n\n iex> Plausible.Cldr.validate_number_system_type(:latn)\n {\n :error,\n {Cldr.UnknownNumberSystemTypeError, \"The number system type :latn is unknown\"}\n }\n\n iex> Plausible.Cldr.validate_number_system_type(\"bork\")\n {\n :error,\n {Cldr.UnknownNumberSystemTypeError, \"The number system type \\\"bork\\\" is invalid\"}\n }","ref":"Plausible.Cldr.html#validate_number_system_type/1-examples"},{"type":"function","title":"Plausible.Cldr.validate_territory/1","doc":"","ref":"Plausible.Cldr.html#validate_territory/1"},{"type":"function","title":"Plausible.Cldr.with_locale/2","doc":"Execute a function with a locale ensuring that the\ncurrent locale is restored after the function.","ref":"Plausible.Cldr.html#with_locale/2"},{"type":"function","title":"Arguments - Plausible.Cldr.with_locale/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n\n* `fun` is any 0-arity function or function capture.","ref":"Plausible.Cldr.html#with_locale/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.with_locale/2","doc":"* The value returned by the function `fun/0` or\n\n* `{:error, {exception, reason}}` if the locale is invalid or\n\n* raises an exception if the current locale cannot be\n identified.","ref":"Plausible.Cldr.html#with_locale/2-returns"},{"type":"module","title":"Plausible.Cldr.AcceptLanguage","doc":"Parses HTTP `Accept-Language` header values as defined in\n[rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4).\n\nThe Accept-Language request-header field is similar to Accept, but restricts\nthe set of natural languages that are preferred as a response to the request.\nLanguage tags function are provided in `Cldr.LanguageTag`.\n\nThe format of an `Accept-Language` header is as follows in `ABNF` format:\n\n Accept-Language = \"Accept-Language\" \":\"\n 1#( language-range [ \";\" \"q\" \"=\" qvalue ] )\n language-range = ( ( 1*8ALPHA *( \"-\" 1*8ALPHA ) ) | \"*\" )\n\nEach language-range MAY be given an associated quality value which represents an\nestimate of the user's preference for the languages specified by that range. The\nquality value defaults to \"q=1\". For example,\n\n Accept-Language: da, en-gb;q=0.8, en;q=0.7\n\nwould mean: \"I prefer Danish, but will accept British English and other types of English.\"","ref":"Plausible.Cldr.AcceptLanguage.html"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.best_match/1","doc":"Parse an `Accept-Language` string and return the best match for\na configured `Cldr` locale.","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"* `accept_langauge` is a string representing an accept language header","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"* `{:ok, language_tag}` or\n\n* `{:error, reason}`","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"iex> Plausible.Cldr.AcceptLanguage.best_match(\"da;q=0.1,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"da;q=0.1,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"xx,yy;q=0.3\")\n {:error,\n {Cldr.NoMatchingLocale,\n \"No configured locale could be matched to \\\"xx,yy;q=0.3\\\"\"}}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"invalid_tag\")\n {:error, {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-examples"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.parse/1","doc":"Parses an `Accept-Language` header value in its string\nor tokenized form to return a tuple of the form\n`{:ok, [{quality, %Cldr.LanguageTag{}}, ...]}` sorted by quality.","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.parse/1","doc":"* `accept-language` is any string in the format defined by\n [rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4)\n\n* `backend` is any module that includes `use Cldr` and therefore\n is a `Cldr` backend module","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.parse/1","doc":"* `{:ok, [{quality, language_tag}, ...]}` or\n\n* `{:error, {Cldr.AcceptLanguageError, String.t}}`\n\nIf at least one valid language tag is found but errors are also\ndetected on one more more tags, an `{ok, list}` tuple is returned\nwuth an error tuple for each invalid tag added at the end of the list.","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-returns"},{"type":"function","title":"Example - Plausible.Cldr.AcceptLanguage.parse/1","doc":"iex> Cldr.AcceptLanguage.parse(\"da,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n ]}\n\n iex> Plausible.Cldr.AcceptLanguage.parse(\"invalid_tag\")\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n\n iex> Plausible.Cldr.AcceptLanguage.parse(\"da,zh-TW;q=0.3,invalid_tag\")\n {:ok,\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }},\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n ]}","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-example"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.parse!/1","doc":"Parses an `Accept-Language` header value in its string\nor tokenized form to produce a list of tuples of the form\n`[{quality, %Cldr.LanguageTag{}}, ...]` sorted by quality\nin descending order.","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"* `accept-language` is any string in the format defined by [rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4)","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"* `{:ok, [{quality, language_tag}, ...]}` or\n\n* raises a `Cldr.AcceptLanguageError` exception\n\nIf at least one valid language tag is found but errors are also\ndetected on one more more tags, an `{ok, list}` tuple is returned\nwuth an error tuple for each invalid tag added at the end of the list.","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-returns"},{"type":"function","title":"Example - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"iex> Plausible.Cldr.AcceptLanguage.parse!(\"da,zh-TW;q=0.3\")\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n ]\n\n Plausible.Cldr.AcceptLanguage.parse! \"invalid_tag\"\n ** (Cldr.AcceptLanguageError) \"Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11\n (ex_cldr) lib/cldr/accept_language.ex:304: Cldr.AcceptLanguage.parse!/1\n\n iex> Plausible.Cldr.AcceptLanguage.parse!(\"da,zh-TW;q=0.3,invalid_tag\")\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }},\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n ]","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-example"},{"type":"module","title":"Plausible.Cldr.Currency","doc":"","ref":"Plausible.Cldr.Currency.html"},{"type":"function","title":"Plausible.Cldr.Currency.currencies_for_locale/3","doc":"Returns a map of the metadata for all currencies for\na given locale.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"* `{:ok, currency_map}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"MyApp.Cldr.Currency.currencies_for_locale(\"en\")\n => {:ok,\n %{\n FJD: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"FJD\",\n count: %{one: \"Fijian dollar\", other: \"Fijian dollars\"},\n digits: 2,\n from: nil,\n iso_digits: 2,\n name: \"Fijian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"FJD\",\n tender: true,\n to: nil\n },\n SUR: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"SUR\",\n count: %{one: \"Soviet rouble\", other: \"Soviet roubles\"},\n digits: 2,\n from: nil,\n iso_digits: nil,\n name: \"Soviet Rouble\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"SUR\",\n tender: true,\n to: nil\n },\n ...\n }}","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"Returns a map of the metadata for all currencies for\na given locale and raises on error.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"* `{:ok, currency_map}` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"MyApp.Cldr.Currency.currencies_for_locale!(\"en\")\n => %{\n FJD: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"FJD\",\n count: %{one: \"Fijian dollar\", other: \"Fijian dollars\"},\n digits: 2,\n from: nil,\n iso_digits: 2,\n name: \"Fijian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"FJD\",\n tender: true,\n to: nil\n },\n SUR: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"SUR\",\n count: %{one: \"Soviet rouble\", other: \"Soviet roubles\"},\n digits: 2,\n from: nil,\n iso_digits: nil,\n name: \"Soviet Rouble\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"SUR\",\n tender: true,\n to: nil\n },\n ...\n }","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_for_code/2","doc":"Returns the currency metadata for the requested currency code.","ref":"Plausible.Cldr.Currency.html#currency_for_code/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_for_code/2","doc":"* `currency_or_currency_code` is a `binary` or `atom` representation\n of an ISO 4217 currency code, or a `%Cldr.Currency{}` struct.","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.currency_for_code/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_for_code/2","doc":"* A `{:ok, currency}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_for_code/2","doc":"iex> Plausible.Cldr.Currency.currency_for_code(\"AUD\")\n {:ok,\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"AUD\",\n count: %{one: \"Australian dollar\", other: \"Australian dollars\"},\n digits: 2,\n iso_digits: 2,\n name: \"Australian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"A$\",\n tender: true\n }}\n\n iex> Plausible.Cldr.Currency.currency_for_code(\"THB\")\n {:ok,\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"THB\",\n count: %{one: \"Thai baht\", other: \"Thai baht\"},\n digits: 2,\n iso_digits: 2,\n name: \"Thai Baht\",\n narrow_symbol: \"฿\",\n rounding: 0,\n symbol: \"THB\",\n tender: true\n }}","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_for_code!/2","doc":"Returns the currency metadata for the requested currency code.","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* `currency_or_currency_code` is a `binary` or `atom` representation\n of an ISO 4217 currency code, or a `%Cldr.Currency{}` struct.","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* A `t:Cldr.Current.t/0` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_for_code!/2","doc":"iex> Plausible.Cldr.Currency.currency_for_code!(\"AUD\")\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"AUD\",\n count: %{one: \"Australian dollar\", other: \"Australian dollars\"},\n digits: 2,\n iso_digits: 2,\n name: \"Australian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"A$\",\n tender: true\n }\n\n iex> Plausible.Cldr.Currency.currency_for_code!(\"THB\")\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"THB\",\n count: %{one: \"Thai baht\", other: \"Thai baht\"},\n digits: 2,\n iso_digits: 2,\n name: \"Thai Baht\",\n narrow_symbol: \"฿\",\n rounding: 0,\n symbol: \"THB\",\n tender: true\n }","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_from_locale/1","doc":"Returns the effective currency for a given locale","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_from_locale/1","doc":"* `locale` is a `Cldr.LanguageTag` struct returned by\n `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_from_locale/1","doc":"* A ISO 4217 currency code as an upcased atom","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_from_locale/1","doc":"iex> {:ok, locale} = Plausible.Cldr.validate_locale(\"en\")\n iex> Plausible.Cldr.Currency.currency_from_locale locale\n :USD\n\n iex> {:ok, locale} = Plausible.Cldr.validate_locale(\"en-AU\")\n iex> Plausible.Cldr.Currency.currency_from_locale locale\n :AUD\n\n iex> Plausible.Cldr.Currency.currency_from_locale(\"en-GB\")\n :GBP","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"Returns a list of historic and the current\ncurrency for a given locale.","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"iex> MyApp.Cldr.Currency.currency_history_for_locale(\"en\")\n {:ok,\n %{\n USD: %{from: ~D[1792-01-01], to: nil},\n USN: %{tender: false},\n USS: %{from: nil, tender: false, to: ~D[2014-03-01]}\n }\n }","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_strings/3","doc":"Returns a map that matches a currency string to a\ncurrency code.\n\nA currency string is a localised name or symbol\nrepresenting a currency in a locale-specific manner.","ref":"Plausible.Cldr.Currency.html#currency_strings/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_strings/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currency_strings/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_strings/3","doc":"* `{:ok, currency_string_map}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currency_strings/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_strings/3","doc":"MyApp.Cldr.Currency.currency_strings(\"en\")\n => {:ok,\n %{\n \"mexican silver pesos\" => :MXP,\n \"sudanese dinar\" => :SDD,\n \"bad\" => :BAD,\n \"rsd\" => :RSD,\n \"swazi lilangeni\" => :SZL,\n \"zairean new zaire\" => :ZRN,\n \"guyanaese dollars\" => :GYD,\n \"equatorial guinean ekwele\" => :GQE,\n ...\n }}","ref":"Plausible.Cldr.Currency.html#currency_strings/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_strings!/3","doc":"Returns a map that matches a currency string to a\ncurrency code or raises an exception.\n\nA currency string is a localised name or symbol\nrepresenting a currency in a locale-specific manner.","ref":"Plausible.Cldr.Currency.html#currency_strings!/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_strings!/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_strings!/3","doc":"* `{:ok, currency_string_map}` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_strings!/3","doc":"MyApp.Cldr.Currency.currency_strings!(\"en\")\n => %{\n \"mexican silver pesos\" => :MXP,\n \"sudanese dinar\" => :SDD,\n \"bad\" => :BAD,\n \"rsd\" => :RSD,\n \"swazi lilangeni\" => :SZL,\n \"zairean new zaire\" => :ZRN,\n \"guyanaese dollars\" => :GYD,\n \"equatorial guinean ekwele\" => :GQE,\n ...\n }","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"Returns the current currency for a given locale.\n\nThis function does not consider the `U` extenion\nparameters `cu` or `rg`. It is recommended to us\n`Cldr.Currency.currency_from_locale/1` in most\ncircumstances.","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"iex> MyApp.Cldr.Currency.current_currency_from_locale(\"en\")\n :USD\n\n iex> MyApp.Cldr.Currency.current_currency_from_locale(\"en-AU\")\n :AUD","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1-example"},{"type":"function","title":"Plausible.Cldr.Currency.current_territory_currencies/0","doc":"Returns a mapping from a territory code to its\ncurrent currency code.\n\nIf a territory has no current currency (like\nAntartica, territory code `:AQ`) then no\nmapping is returned for that territory.","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.current_territory_currencies/0","doc":"* A map of `{territory_code => Cldr.Currency.t}`","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.current_territory_currencies/0","doc":"iex> Plausible.Cldr.Currency.current_territory_currencies()","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0-example"},{"type":"function","title":"Plausible.Cldr.Currency.known_currencies/0","doc":"","ref":"Plausible.Cldr.Currency.html#known_currencies/0"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency?/1","doc":"","ref":"Plausible.Cldr.Currency.html#known_currency?/1"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_code/1","doc":"Returns a 2-tuple indicating if the supplied currency code is known.","ref":"Plausible.Cldr.Currency.html#known_currency_code/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.known_currency_code/1","doc":"* `currency_code` is a `binary` or `atom` representing an ISO4217\n currency code","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.known_currency_code/1","doc":"* `{:ok, currency_code}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.known_currency_code/1","doc":"iex> Plausible.Cldr.Currency.known_currency_code(\"AUD\")\n {:ok, :AUD}\n\n iex> Plausible.Cldr.Currency.known_currency_code(\"GGG\")\n {:error, {Cldr.UnknownCurrencyError, \"The currency \\\"GGG\\\" is invalid\"}}","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_code?/1","doc":"Returns a boolean indicating if the supplied currency code is known.","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.known_currency_code?/1","doc":"* `currency_code` is a `binary` or `atom` representing an ISO4217\n currency code","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.known_currency_code?/1","doc":"* `true` or `false`","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.known_currency_code?/1","doc":"iex> Plausible.Cldr.Currency.known_currency_code?(\"AUD\")\n true\n\n iex> Plausible.Cldr.Currency.known_currency_code?(\"GGG\")\n false\n\n iex> Plausible.Cldr.Currency.known_currency_code?(:XCV)\n false","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_codes/0","doc":"Returns a list of all known currency codes.","ref":"Plausible.Cldr.Currency.html#known_currency_codes/0"},{"type":"function","title":"Example - Plausible.Cldr.Currency.known_currency_codes/0","doc":"iex> Plausible.Cldr.Currency.known_currency_codes()","ref":"Plausible.Cldr.Currency.html#known_currency_codes/0-example"},{"type":"function","title":"Plausible.Cldr.Currency.new/2","doc":"Returns a `Currency` struct created from the arguments.","ref":"Plausible.Cldr.Currency.html#new/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.new/2","doc":"* `currency` is a private use currency code in a format defined by\n [ISO4217](https://en.wikipedia.org/wiki/ISO_4217)\n which is `X` followed by two alphanumeric characters.\n\n* `options` is a map of options representing the optional elements of\n the `Cldr.Currency.t` struct.","ref":"Plausible.Cldr.Currency.html#new/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.new/2","doc":"* `:name` is the name of the currency. Required.\n* `:digits` is the precision of the currency. Required.\n* `:symbol` is the currency symbol. Optional.\n* `:narrow_symbol` is an alternative narrow symbol. Optional.\n* `:round_nearest` is the rounding precision such as `0.05`. Optional.\n* `:alt_code` is an alternative currency code for application use.\n* `:cash_digits` is the precision of the currency when used as cash. Optional.\n* `:cash_rounding_nearest` is the rounding precision when used as cash\n such as `0.05`. Optional.","ref":"Plausible.Cldr.Currency.html#new/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.new/2","doc":"* `{:ok, Cldr.Currency.t}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Currency.html#new/2-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.new/2","doc":"iex> Plausible.Cldr.Currency.new(:XAE, name: \"Custom Name\", digits: 0)\n {:ok,\n %Cldr.Currency{\n alt_code: :XAE,\n cash_digits: 0,\n cash_rounding: nil,\n code: :XAE,\n count: %{other: \"Custom Name\"},\n digits: 0,\n from: nil,\n iso_digits: 0,\n name: \"Custom Name\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"XAE\",\n tender: false,\n to: nil\n }}\n iex> MyApp.Cldr.Currency.new(:XAH, name: \"Custom Name\")\n {:error, \"Required options are missing. Required options are [:name, :digits]\"}\n iex> Plausible.Cldr.Currency.new(:XAE, name: \"XAE\", digits: 0)\n {:error, {Cldr.CurrencyAlreadyDefined, \"Currency :XAE is already defined.\"}}","ref":"Plausible.Cldr.Currency.html#new/2-example"},{"type":"function","title":"Plausible.Cldr.Currency.pluralize/3","doc":"Returns the appropriate currency display name for the `currency`, based\non the plural rules in effect for the `locale`.","ref":"Plausible.Cldr.Currency.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.pluralize/3","doc":"* `number` is an integer, float or `Decimal`\n\n* `currency` is any currency returned by `Cldr.Currency.known_currencies/0`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Currency.html#pluralize/3-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.pluralize/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`. The\n default is `Plausible.Cldr.get_locale/0`","ref":"Plausible.Cldr.Currency.html#pluralize/3-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.pluralize/3","doc":"* `{:ok, plural_string}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Currency.html#pluralize/3-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.pluralize/3","doc":"iex> Plausible.Cldr.Currency.pluralize(1, :USD)\n {:ok, \"US dollar\"}\n\n iex> Plausible.Cldr.Currency.pluralize(3, :USD)\n {:ok, \"US dollars\"}\n\n iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: \"zh\")\n {:ok, \"美元\"}\n\n iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: \"fr\")\n {:ok, \"dollars des États-Unis\"}\n\n iex> Plausible.Cldr.Currency.pluralize(1, :USD, locale: \"fr\")\n {:ok, \"dollar des États-Unis\"}","ref":"Plausible.Cldr.Currency.html#pluralize/3-examples"},{"type":"function","title":"Plausible.Cldr.Currency.strings_for_currency/2","doc":"Returns the strings associated with a currency\nin a given locale.","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.strings_for_currency/2","doc":"* `currency` is an ISO4217 currency code\n\n* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.strings_for_currency/2","doc":"* A list of strings or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.strings_for_currency/2","doc":"iex> MyApp.Cldr.Currency.strings_for_currency(:AUD, \"en\")\n [\"a$\", \"australian dollars\", \"aud\", \"australian dollar\"]","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-example"},{"type":"module","title":"Plausible.Cldr.Locale","doc":"Backend module that provides functions\nto define new locales and display human-readable\nlocale names for presentation purposes.","ref":"Plausible.Cldr.Locale.html"},{"type":"function","title":"Plausible.Cldr.Locale.fallback_locale_names/1","doc":"Returns the list of fallback locale names, starting\nwith the provided locale name.\n\nFallbacks are a list of locate names which can\nbe used to resolve translation or other localization\ndata if such localised data does not exist for\nthis specific locale..","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"* `locale_name` is any locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"* `{:ok, list_of_locale_names}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"iex> Plausible.Cldr.Locale.fallback_locale_names(:\"fr-CA\")\n {:ok, [:\"fr-CA\", :fr, :und]}\n\n # Fallbacks are typically formed by progressively\n # stripping variant, territory and script from the\n # given locale name. But not always - there are\n # certain fallbacks that take a different path.\n\n iex> Plausible.Cldr.Locale.fallback_locale_names(:nb)\n {:ok, [:nb, :no, :und]}","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.fallback_locales/1","doc":"Returns the list of fallback locales, starting\nwith the provided locale name.\n\nFallbacks are a list of locate names which can\nbe used to resolve translation or other localization\ndata if such localised data does not exist for\nthis specific locale.","ref":"Plausible.Cldr.Locale.html#fallback_locales/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.fallback_locales/1","doc":"* `locale_name` is any locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.fallback_locales/1","doc":"* `{:ok, list_of_locales}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.fallback_locales/1","doc":"Plausible.Cldr.Locale.fallback_locales(:\"fr-CA\")\n => {:ok,\n [#Cldr.LanguageTag , #Cldr.LanguageTag ,\n #Cldr.LanguageTag ]}\n\n # Fallbacks are typically formed by progressively\n # stripping variant, territory and script from the\n # given locale name. But not always - there are\n # certain fallbacks that take a different path.\n\n Plausible.Cldr.Locale.fallback_locales(:nb))\n => {:ok,\n [#Cldr.LanguageTag , #Cldr.LanguageTag ,\n #Cldr.LanguageTag ]}","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.locale_for_territory/1","doc":"Returns the \"best fit\" locale for a given territory.\n\nUsing the population percentage data from CLDR, the\nlanguage most commonly spoken in the given territory\nis used to form a locale name which is then validated\nagainst the given backend.\n\nFirst a territory-specific locale is validated and if\nthat fails, the base language only is validate.\n\nFor example, if the territory is `AU` then then the\nlanguage most spoken is \"en\". First, the locale \"en-AU\"\nis validated and if that fails, \"en\" is validated.","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.locale_for_territory/1","doc":"* `territory` is any ISO 3166 Alpha-2 territory\n code that can be validated by `Cldr.validate_territory/1`","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.locale_for_territory/1","doc":"* `{:ok, language_tag}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.locale_for_territory/1","doc":"iex> Plausible.Cldr.Locale.locale_for_territory(:AU)\n Elixir.Plausible.Cldr.validate_locale(:\"en-AU\")\n\n iex> Plausible.Cldr.Locale.locale_for_territory(:US)\n Elixir.Plausible.Cldr.validate_locale(:\"en-US\")\n\n iex> Plausible.Cldr.Locale.locale_for_territory(:ZZ)\n {:error, {Cldr.UnknownTerritoryError, \"The territory :ZZ is unknown\"}}","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.locale_from_host/2","doc":"Returns a \"best fit\" locale for a host name.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `host` is any valid host name\n\n* `options` is a keyword list of options. The default\n is `[]`.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `:tlds` is a list of territory codes as upper-cased\n atoms that are to be considered as top-level domains.\n See `Cldr.Locale.locale_from_host/2` for the default\n list.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `{:ok, langauge_tag}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Locale.locale_from_host/2","doc":"Certain top-level domains have become associated with content\nunderlated to the territory for who the domain is registered.\nTherefore Google (and perhaps others) do not associate these\nTLDs as belonging to the territory but rather are considered\ngeneric top-level domain names.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.locale_from_host/2","doc":"iex> Plausible.Cldr.Locale.locale_from_host \"a.b.com.au\"\n Elixir.Plausible.Cldr.validate_locale(:\"en-AU\")\n\n iex> Plausible.Cldr.Locale.locale_from_host(\"a.b.com.tv\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"tv\\\"\"}}\n\n iex> Plausible.Cldr.Locale.locale_from_host(\"a.b.com\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"com\\\"\"}}","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-examples"},{"type":"function","title":"Plausible.Cldr.Locale.new/1","doc":"","ref":"Plausible.Cldr.Locale.html#new/1"},{"type":"function","title":"Plausible.Cldr.Locale.new!/1","doc":"","ref":"Plausible.Cldr.Locale.html#new!/1"},{"type":"function","title":"Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"Returns the script direction for a locale.","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"* `language_tag` is any language tag returned by `Cldr.Locale.new/2`\n or any `locale_name` returned by `Cldr.known_locale_names/1`.","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"* The script direction which is either `:ltr` (for left-to-right\n scripts) or `:rtl` (for right-to-left scripts).","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"iex> Plausible.Cldr.Locale.script_direction_from_locale \"en-US\"\n :ltr\n\n iex> Plausible.Cldr.Locale.script_direction_from_locale :ar\n :rtl","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.territory_from_host/1","doc":"Returns the last segment of a host that might\nbe a territory.","ref":"Plausible.Cldr.Locale.html#territory_from_host/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.territory_from_host/1","doc":"* `host` is any valid host name","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.territory_from_host/1","doc":"* `{:ok, territory}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.territory_from_host/1","doc":"iex> Cldr.Locale.territory_from_host(\"a.b.com.au\")\n {:ok, :AU}\n\n iex> Cldr.Locale.territory_from_host(\"a.b.com\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"com\\\"\"}}","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.territory_from_locale/1","doc":"Returns the territory from a language tag or\nlocale name.","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.territory_from_locale/1","doc":"* `locale` is any language tag returned by\n `Plausible.Cldr.Locale.new/1`\n or a locale name in the list returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.territory_from_locale/1","doc":"* A territory code as an atom","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.territory_from_locale/1","doc":"iex> Plausible.Cldr.Locale.territory_from_locale \"en-US\"\n :US\n\n iex> Plausible.Cldr.Locale.territory_from_locale \"en-US-u-rg-GBzzzz\"\n :GB","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.timezone_from_locale/1","doc":"Returns the time zone from a language tag or\nlocale name.","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"* `locale` is any language tag returned by\n `Plausible.Cldr.Locale.new/1`\n or a locale name in the list returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"* A time zone ID as a string or\n\n* `:error` if no time zone can be determined","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"iex> Plausible.Cldr.Locale.timezone_from_locale \"en-US-u-tz-ausyd\"\n \"Australia/Sydney\"","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-examples"},{"type":"module","title":"Plausible.Cldr.Number","doc":"Formats numbers and currencies based upon CLDR's decimal formats specification.\n\nThe format specification is documentated in [Unicode TR35](http://unicode.org/reports/tr35/tr35-numbers.html#Number_Formats).\nThere are several classes of formatting including non-scientific, scientific,\nrules based (for spelling and ordinal formats), compact formats that display `1k`\nrather than `1,000` and so on. See `Cldr.Number.to_string/2` for specific formatting\noptions.\n\n#","ref":"Plausible.Cldr.Number.html"},{"type":"module","title":"Non-Scientific Notation Formatting - Plausible.Cldr.Number","doc":"The following description applies to formats that do not use scientific\nnotation or significant digits:\n\n* If the number of actual integer digits exceeds the maximum integer digits,\n then only the least significant digits are shown. For example, 1997 is\n formatted as \"97\" if the maximum integer digits is set to 2.\n\n* If the number of actual integer digits is less than the minimum integer\n digits, then leading zeros are added. For example, 1997 is formatted as\n \"01997\" if the minimum integer digits is set to 5.\n\n* If the number of actual fraction digits exceeds the maximum fraction\n digits, then half-even rounding it performed to the maximum fraction\n digits. For example, 0.125 is formatted as \"0.12\" if the maximum fraction\n digits is 2. This behavior can be changed by specifying a rounding\n increment and a rounding mode.\n\n* If the number of actual fraction digits is less than the minimum fraction\n digits, then trailing zeros are added. For example, 0.125 is formatted as\n \"0.1250\" if the minimum fraction digits is set to 4.\n\n* Trailing fractional zeros are not displayed if they occur j positions after\n the decimal, where j is less than the maximum fraction digits. For example,\n 0.10004 is formatted as \"0.1\" if the maximum fraction digits is four or\n less.\n\n#","ref":"Plausible.Cldr.Number.html#module-non-scientific-notation-formatting"},{"type":"module","title":"Scientific Notation Formatting - Plausible.Cldr.Number","doc":"Numbers in scientific notation are expressed as the product of a mantissa and\na power of ten, for example, 1234 can be expressed as 1.234 x 10^3. The\nmantissa is typically in the half-open interval [1.0, 10.0) or sometimes\n[0.0, 1.0), but it need not be. In a pattern, the exponent character\nimmediately followed by one or more digit characters indicates scientific\nnotation. Example: \"0.###E0\" formats the number 1234 as \"1.234E3\".\n\n* The number of digit characters after the exponent character gives the\n minimum exponent digit count. There is no maximum. Negative exponents are\n formatted using the localized minus sign, not the prefix and suffix from\n the pattern. This allows patterns such as \"0.###E0 m/s\". To prefix positive\n exponents with a localized plus sign, specify '+' between the exponent and\n the digits: \"0.###E+0\" will produce formats \"1E+1\", \"1E+0\", \"1E-1\", and so\n on. (In localized patterns, use the localized plus sign rather than '+'.)\n\n* The minimum number of integer digits is achieved by adjusting the exponent.\n Example: 0.00123 formatted with \"00.###E0\" yields \"12.3E-4\". This only\n happens if there is no maximum number of integer digits. If there is a\n maximum, then the minimum number of integer digits is fixed at one.\n\n* The maximum number of integer digits, if present, specifies the exponent\n grouping. The most common use of this is to generate engineering notation,\n in which the exponent is a multiple of three, for example, \"##0.###E0\". The\n number 12345 is formatted using \"##0.####E0\" as \"12.345E3\".\n\n* When using scientific notation, the formatter controls the digit counts\n using significant digits logic. The maximum number of significant digits\n limits the total number of integer and fraction digits that will be shown\n in the mantissa; it does not affect parsing. For example, 12345 formatted\n with \"##0.##E0\" is \"12.3E3\". Exponential patterns may not contain grouping\n separators.\n\n#","ref":"Plausible.Cldr.Number.html#module-scientific-notation-formatting"},{"type":"module","title":"Significant Digits - Plausible.Cldr.Number","doc":"There are two ways of controlling how many digits are shows: (a)\nsignificant digits counts, or (b) integer and fraction digit counts. Integer\nand fraction digit counts are described above. When a formatter is using\nsignificant digits counts, it uses however many integer and fraction digits\nare required to display the specified number of significant digits. It may\nignore min/max integer/fraction digits, or it may use them to the extent\npossible.","ref":"Plausible.Cldr.Number.html#module-significant-digits"},{"type":"function","title":"Plausible.Cldr.Number.parse/2","doc":"Parse a string locale-aware manner and return\na number.","ref":"Plausible.Cldr.Number.html#parse/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.parse/2","doc":"* `string` is any `String.t`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#parse/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.parse/2","doc":"* `:number` is one of `:integer`, `:float`,\n `:decimal` or `nil`. The default is `nil`\n meaning that the type auto-detected as either\n an `integer` or a `float`.\n\n* `:locale` is any locale returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag.t`. The default is\n `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.html#parse/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.parse/2","doc":"* A number of the requested or default type or\n\n* `{:error, {exception, error}}` if no number could be determined","ref":"Plausible.Cldr.Number.html#parse/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.parse/2","doc":"This function parses a string to return a number but\nin a locale-aware manner. It will normalise grouping\ncharacters and decimal separators, different forms of\nthe `+` and `-` symbols that appear in Unicode and\nstrips any `_` characters that might be used for\nformatting in a string. It then parses the number\nusing the Elixir standard library functions.","ref":"Plausible.Cldr.Number.html#parse/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.parse/2","doc":"iex> Plausible.Cldr.Number.parse(\"+1.000,34\", locale: \"de\")\n {:ok, 1000.34}\n\n iex> Plausible.Cldr.Number.parse(\"-1_000_000.34\")\n {:ok, -1000000.34}\n\n iex> Plausible.Cldr.Number.parse(\"1.000\", locale: \"de\", number: :integer)\n {:ok, 1000}\n\n iex> Plausible.Cldr.Number.parse(\"+1.000,34\", locale: \"de\", number: :integer)\n {:error,\n {Cldr.Number.ParseError,\n \"The string \\\"+1.000,34\\\" could not be parsed as a number\"}}","ref":"Plausible.Cldr.Number.html#parse/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_currencies/2","doc":"Resolve curencies from strings within\na list.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_currencies/2","doc":"* `list` is any list in which currency\n names and symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_currencies/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `Plausible.Cldr.get_locale()`\n\n* `:only` is an `atom` or list of `atoms` representing the\n currencies or currency types to be considered for a match.\n The equates to a list of acceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:except` is an `atom` or list of `atoms` representing the\n currencies or currency types to be not considered for a match.\n This equates to a list of unacceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:fuzzy` is a float greater than `0.0` and less than or\n equal to `1.0` which is used as input to\n `String.jaro_distance/2` to determine is the provided\n currency string is *close enough* to a known currency\n string for it to identify definitively a currency code.\n It is recommended to use numbers greater than `0.8` in\n order to reduce false positives.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-options"},{"type":"function","title":"Notes - Plausible.Cldr.Number.resolve_currencies/2","doc":"The `:only` and `:except` options accept a list of\ncurrency codes and/or currency types. The following\ntypes are recognised.\n\nIf both `:only` and `:except` are specified,\nthe `:except` entries take priority - that means\nany entries in `:except` are removed from the `:only`\nentries.\n\n * `:all`, the default, considers all currencies\n\n * `:current` considers those currencies that have a `:to`\n date of nil and which also is a known ISO4217 currency\n\n * `:historic` is the opposite of `:current`\n\n * `:tender` considers currencies that are legal tender\n\n * `:unannotated` considers currencies that don't have\n \"(some string)\" in their names. These are usually\n financial instruments.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_currencies/2","doc":"iex> Plausible.Cldr.Number.scan(\"100 US dollars\")\n ...> |> Plausible.Cldr.Number.resolve_currencies\n [100, :USD]\n\n iex> Plausible.Cldr.Number.scan(\"100 eurosports\")\n ...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)\n [100, :EUR]\n\n iex> Plausible.Cldr.Number.scan(\"100 dollars des États-Unis\")\n ...> |> Plausible.Cldr.Number.resolve_currencies(locale: \"fr\")\n [100, :USD]","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_currency/2","doc":"Resolve a currency from a string","ref":"Plausible.Cldr.Number.html#resolve_currency/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_currency/2","doc":"* `list` is any list in which currency\n names and symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_currency/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_currency/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `Plausible.Cldr.get_locale()`\n\n* `:only` is an `atom` or list of `atoms` representing the\n currencies or currency types to be considered for a match.\n The equates to a list of acceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:except` is an `atom` or list of `atoms` representing the\n currencies or currency types to be not considered for a match.\n This equates to a list of unacceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:fuzzy` is a float greater than `0.0` and less than or\n equal to `1.0` which is used as input to\n `String.jaro_distance/2` to determine is the provided\n currency string is *close enough* to a known currency\n string for it to identify definitively a currency code.\n It is recommended to use numbers greater than `0.8` in\n order to reduce false positives.","ref":"Plausible.Cldr.Number.html#resolve_currency/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.resolve_currency/2","doc":"* An ISO4217 currency code as an atom or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#resolve_currency/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.resolve_currency/2","doc":"The `:only` and `:except` options accept a list of\ncurrency codes and/or currency types. The following\ntypes are recognised.\n\nIf both `:only` and `:except` are specified,\nthe `:except` entries take priority - that means\nany entries in `:except` are removed from the `:only`\nentries.\n\n * `:all`, the default, considers all currencies\n\n * `:current` considers those currencies that have a `:to`\n date of nil and which also is a known ISO4217 currency\n\n * `:historic` is the opposite of `:current`\n\n * `:tender` considers currencies that are legal tender\n\n * `:unannotated` considers currencies that don't have\n \"(some string)\" in their names. These are usually\n financial instruments.","ref":"Plausible.Cldr.Number.html#resolve_currency/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_currency/2","doc":"iex> Plausible.Cldr.Number.resolve_currency(\"US dollars\")\n [:USD]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"100 eurosports\", fuzzy: 0.75)\n [:EUR]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"dollars des États-Unis\", locale: \"fr\")\n [:USD]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"not a known currency\", locale: \"fr\")\n {:error,\n {Cldr.UnknownCurrencyError,\n \"The currency \\\"not a known currency\\\" is unknown or not supported\"}}","ref":"Plausible.Cldr.Number.html#resolve_currency/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_per/2","doc":"Resolve and tokenize percent or permille\nfrom the beginning and/or the end of a string","ref":"Plausible.Cldr.Number.html#resolve_per/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_per/2","doc":"* `list` is any list in which percent\n and permille symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_per/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_per/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `options[:backend].get_locale()`","ref":"Plausible.Cldr.Number.html#resolve_per/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.resolve_per/2","doc":"* An `:percent` or `permille` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#resolve_per/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_per/2","doc":"iex> Plausible.Cldr.Number.resolve_per \"11%\"\n [\"11\", :percent]\n\n iex> Plausible.Cldr.Number.resolve_per \"% of linguists\"\n [:percent, \" of linguists\"]\n\n iex> Plausible.Cldr.Number.resolve_per \"% of linguists %\"\n [:percent, \" of linguists \", :percent]","ref":"Plausible.Cldr.Number.html#resolve_per/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_pers/2","doc":"Resolve and tokenize percent and permille\nsybols from strings within a list.\n\nPercent and permille symbols can be identified\nat the beginning and/or the end of a string.","ref":"Plausible.Cldr.Number.html#resolve_pers/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_pers/2","doc":"* `list` is any list in which percent and\n permille symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_pers/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_pers/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `t:Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `options[:backend].get_locale()`","ref":"Plausible.Cldr.Number.html#resolve_pers/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_pers/2","doc":"iex> Plausible.Cldr.Number.scan(\"100%\")\n ...> |> Plausible.Cldr.Number.resolve_pers()\n [100, :percent]","ref":"Plausible.Cldr.Number.html#resolve_pers/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.scan/2","doc":"Scans a string locale-aware manner and returns\na list of strings and numbers.","ref":"Plausible.Cldr.Number.html#scan/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.scan/2","doc":"* `string` is any `String.t`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#scan/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.scan/2","doc":"* `:number` is one of `:integer`, `:float`,\n `:decimal` or `nil`. The default is `nil`\n meaning that the type auto-detected as either\n an `integer` or a `float`.\n\n* `:locale` is any locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag.t`. The default is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.html#scan/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.scan/2","doc":"* A list of strings and numbers","ref":"Plausible.Cldr.Number.html#scan/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.scan/2","doc":"Number parsing is performed by `Cldr.Number.Parser.parse/2`\nand any options provided are passed to that function.","ref":"Plausible.Cldr.Number.html#scan/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.scan/2","doc":"iex> Plausible.Cldr.Number.scan(\"£1_000_000.34\")\n [\"£\", 1000000.34]\n\n iex> Plausible.Cldr.Number.scan(\"I want £1_000_000 dollars\")\n [\"I want £\", 1000000, \" dollars\"]\n\n iex> Plausible.Cldr.Number.scan(\"The prize is 23\")\n [\"The prize is \", 23]\n\n iex> Plausible.Cldr.Number.scan(\"The lottery number is 23 for the next draw\")\n [\"The lottery number is \", 23, \" for the next draw\"]\n\n iex> Plausible.Cldr.Number.scan(\"The loss is -1.000 euros\", locale: \"de\", number: :integer)\n [\"The loss is \", -1000, \" euros\"]","ref":"Plausible.Cldr.Number.html#scan/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.to_approx_string/2","doc":"Formats a number and applies the `:approximately` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_approx_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_approx_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_approx_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_approx_string/2","doc":"iex> Plausible.Cldr.Number.to_approx_string 1234\n {:ok, \"~1,234\"}","ref":"Plausible.Cldr.Number.html#to_approx_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_at_least_string/2","doc":"Formats a number and applies the `:at_least` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_at_least_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_at_least_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Plausible.Cldr.Number.to_string/2` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_at_least_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_at_least_string/2","doc":"iex> Plausible.Cldr.Number.to_at_least_string 1234\n {:ok, \"1,234+\"}","ref":"Plausible.Cldr.Number.html#to_at_least_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_at_most_string/2","doc":"Formats a number and applies the `:at_most` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_at_most_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_at_most_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_at_most_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_at_most_string/2","doc":"iex> Plausible.Cldr.Number.to_at_most_string 1234\n {:ok, \"≤1,234\"}","ref":"Plausible.Cldr.Number.html#to_at_most_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_range_string/2","doc":"Formats the first and last numbers of a range and applies\nthe `:range` format for a locale and number system.","ref":"Plausible.Cldr.Number.html#to_range_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_range_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_range_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_range_string/2","doc":"iex> Plausible.Cldr.Number.to_range_string 1234..5678\n {:ok, \"1,234–5,678\"}","ref":"Plausible.Cldr.Number.html#to_range_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_string/2","doc":"Returns a number formatted into a string according to a format pattern and options.","ref":"Plausible.Cldr.Number.html#to_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.","ref":"Plausible.Cldr.Number.html#to_string/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.to_string/2","doc":"* `format`: the format style or a format string defining how the number is\n formatted. See `Cldr.Number.Format` for how format strings can be constructed.\n See `Cldr.Number.Format.format_styles_for/3` to return available format styles\n for a locale. The default `format` is `:standard`.\n\n* If `:format` is set to `:long` or `:short` then the formatting depends on\n whether `:currency` is specified. If not specified then the number is\n formatted as `:decimal_long` or `:decimal_short`. If `:currency` is\n specified the number is formatted as `:currency_long` or\n `:currency_short` and `:fractional_digits` is set to 0 as a default.\n\n* `:format` may also be a format defined by CLDR's Rules Based Number\n Formats (RBNF). Further information is found in the module `Cldr.Rbnf`.\n The most commonly used formats in this category are to spell out the\n number in a the locales language. The applicable formats are `:spellout`,\n `:spellout_year`, `:ordinal`. A number can also be formatted as roman\n numbers by using the format `:roman` or `:roman_lower`.\n\n* `currency`: is the currency for which the number is formatted. For\n available currencies see `Cldr.Currency.known_currencies/0`. This option\n is required if `:format` is set to `:currency`. If `currency` is set\n and no `:format` is set, `:format` will be set to `:currency` as well.\n\n* `currency_symbol`: Allows overriding a currency symbol. The alternatives\n are:\n * `:iso` the ISO currency code will be used instead of the default\n currency symbol.\n * `:narrow` uses the narrow symbol defined for the locale. The same\n narrow symbol can be defined for more than one currency and therefore this\n should be used with care. If no narrow symbol is defined, the standard\n symbol is used.\n * `:symbol` uses the standard symbol defined in CLDR. A symbol is unique\n for each currency and can be safely used.\n * \"string\" uses `string` as the currency symbol\n * `:standard` (the default and recommended) uses the CLDR-defined symbol\n based upon the currency format for the locale.\n\n* `:cash`: a boolean which indicates whether a number being formatted as a\n `:currency` is to be considered a cash value or not. Currencies can be\n rounded differently depending on whether `:cash` is `true` or `false`.\n *This option is deprecated in favour of `currency_digits: :cash`.\n\n* `:currency_digits` indicates which of the rounding and digits should be\n used. The options are `:accounting` which is the default, `:cash` or\n `:iso`\n\n* `:rounding_mode`: determines how a number is rounded to meet the precision\n of the format requested. The available rounding modes are `:down`,\n :half_up, :half_even, :ceiling, :floor, :half_down, :up. The default is\n `:half_even`.\n\n* `:number_system`: determines which of the number systems for a locale\n should be used to define the separators and digits for the formatted\n number. If `number_system` is an `atom` then `number_system` is\n interpreted as a number system. If the `:number_system` is\n `binary` then it is interpreted as a number system name. See\n `Cldr.Number.System.number_system_names_for/2`. The default is `:default`.\n\n* `:locale`: determines the locale in which the number is formatted. See\n `Cldr.known_locale_names/0`. The default is`Cldr.get_locale/0` which is the\n locale currently in affect for this `Process` and which is set by\n `Cldr.put_locale/1`.\n\n* If `:fractional_digits` is set to a positive integer value then the number\n will be rounded to that number of digits and displayed accordingly - overriding\n settings that would be applied by default. For example, currencies have\n fractional digits defined reflecting each currencies minor unit. Setting\n `:fractional_digits` will override that setting.\n\n* If `:maximum_integer_digits` is set to a positive integer value then the\n number is left truncated before formatting. For example if the number `1234`\n is formatted with the option `maximum_integer_digits: 2`, the number is\n truncated to `34` and formatted.\n\n* If `:round_nearest` is set to a positive integer value then the number\n will be rounded to nearest increment of that value - overriding\n settings that would be applied by default.\n\n* `:minimum_grouping_digits` overrides the CLDR definition of minimum grouping\n digits. For example in the locale `es` the number `1234` is formatted by default\n as `1345` because the locale defines the `minimium_grouping_digits` as `2`. If\n `minimum_grouping_digits: 1` is set as an option the number is formatting as\n `1.345`. The `:minimum_grouping_digits` is added to the grouping defined by\n the number format. If the sum of these two digits is greater than the number\n of digits in the integer (or fractional) part of the number then no grouping\n is performed.\n\n* `:wrapper` is a 2-arity function that will be called for each number component\n with parameters `string` and `tag` where `tag` is one of `:number`,\n `:currency_symbol`, `:currency_space`, `:literal`, `:quote`, `:percent`,\n `:permille`, `:minus` or `:plus`. The function must return a string. The\n function can be used to wrap format elements in HTML or other tags.","ref":"Plausible.Cldr.Number.html#to_string/2-options"},{"type":"function","title":"Locale extensions affecting formatting - Plausible.Cldr.Number.to_string/2","doc":"A locale identifier can specify options that affect number formatting.\nThese options are:\n\n* `nu`: defines the number system to be used if none is specified by the `:number_system`\n option to `to_string/2`\n\nThis key is part of the [u extension](https://unicode.org/reports/tr35/#u_Extension) and\nthat document should be consulted for details on how to construct a locale identifier with these\nextensions.","ref":"Plausible.Cldr.Number.html#to_string/2-locale-extensions-affecting-formatting"},{"type":"function","title":"Wrapping format elements - Plausible.Cldr.Number.to_string/2","doc":"Wrapping elements is particularly useful when formatting a number with a\ncurrency symbol and the requirement is to have different HTML formatting\napplied to the symbol than the number. For example:\n\n iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn\n ...> string, :currency_symbol -> \" \" <> string <> \" \"\n ...> string, :number -> \" \" <> string <> \" \"\n ...> string, :currency_space -> \" \" <> string <> \" \"\n ...> string, _other -> string\n ...> end)\n {:ok, \" $ 100.00 \"}\n\nIt is also possible and recommended to use the `Phoenix.HTML.Tag.content_tag/3`\nfunction if wrapping HTML tags since these will ensure HTML entities are\ncorrectly encoded. For example:\n\n iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn\n ...> string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: \"symbol\")\n ...> string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: \"number\")\n ...> string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)\n ...> string, _other -> string\n ...> end)\n {:ok, \" $ 100.00 \"}\n\nWhen formatting a number the format is parsed into format elements that might include\na currency symbol, a literal string, inserted text between a currency symbol and the\ncurrency amount, a percent sign, the number itself and several other elements. In\nsome cases it is helpful to be apply specific formatting to each element.\nThis can be achieved by specifying a `:wrapper` option. This option takes a 2-arity\nfunction as an argument. For each element of the format the wrapper function is called\nwith two parameters: the format element as a string and an atom representing the\nelement type. The wrapper function is required to return a string that is then\ninserted in the final formatted number.","ref":"Plausible.Cldr.Number.html#to_string/2-wrapping-format-elements"},{"type":"function","title":"Returns - Plausible.Cldr.Number.to_string/2","doc":"* `{:ok, string}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#to_string/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.to_string/2","doc":"iex> Plausible.Cldr.Number.to_string 12345\n {:ok, \"12,345\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, locale: \"fr\"\n {:ok, \"12 345\"}\n\n iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: \"es\", minimum_grouping_digits: 1\n {:ok, \"1.345,32 €\"}\n\n iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: \"es\"\n {:ok, \"1345,32 €\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, locale: \"fr\", currency: \"USD\"\n {:ok, \"12 345,00 $US\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: \"#E0\"\n {:ok, \"1.2345E4\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\"\n {:ok, \"THB 12,345.00\"}\n\n iex> Plausible.Cldr.Number.to_string -12345, format: :accounting, currency: \"THB\"\n {:ok, \"(THB 12,345.00)\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\",\n ...> locale: \"th\"\n {:ok, \"฿12,345.00\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\",\n ...> locale: \"th\", number_system: :native\n {:ok, \"฿๑๒,๓๔๕.๐๐\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :long\n {:ok, \"1 thousand\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :long, currency: \"USD\"\n {:ok, \"1,244 US dollars\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :short\n {:ok, \"1K\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :short, currency: \"EUR\"\n {:ok, \"€1K\"}\n\n iex> Plausible.Cldr.Number.to_string 1234, format: :spellout\n {:ok, \"one thousand two hundred thirty-four\"}\n\n iex> Plausible.Cldr.Number.to_string 1234, format: :spellout_verbose\n {:ok, \"one thousand two hundred and thirty-four\"}\n\n iex> Plausible.Cldr.Number.to_string 1989, format: :spellout_year\n {:ok, \"nineteen eighty-nine\"}\n\n iex> Plausible.Cldr.Number.to_string 123, format: :ordinal\n {:ok, \"123rd\"}\n\n iex> Plausible.Cldr.Number.to_string 123, format: :roman\n {:ok, \"CXXIII\"}\n\n iex> Plausible.Cldr.Number.to_string 123, locale: \"th-u-nu-thai\"\n {:ok, \"๑๒๓\"}","ref":"Plausible.Cldr.Number.html#to_string/2-examples"},{"type":"function","title":"Errors - Plausible.Cldr.Number.to_string/2","doc":"An error tuple `{:error, reason}` will be returned if an error is detected.\nThe two most likely causes of an error return are:\n\n * A format cannot be compiled. In this case the error tuple will look like:\n\n```\n iex> Plausible.Cldr.Number.to_string(12345, format: \"0#\")\n {:error, {Cldr.FormatCompileError,\n \"Decimal format compiler: syntax error before: \\\"#\\\"\"}}\n```\n\n * The format style requested is not defined for the `locale` and\n `number_system`. This happens typically when the number system is\n `:algorithmic` rather than the more common `:numeric`. In this case the error\n return looks like:\n\n```\n iex> Plausible.Cldr.Number.to_string(1234, locale: \"he\", number_system: \"hebr\", format: :percent)\n {:error, {Cldr.UnknownFormatError,\n \"The locale :he with number system :hebr does not define a format :percent\"}}\n```","ref":"Plausible.Cldr.Number.html#to_string/2-errors"},{"type":"function","title":"Plausible.Cldr.Number.to_string!/2","doc":"Same as the execution of `to_string/2` but raises an exception if an error would be\nreturned.","ref":"Plausible.Cldr.Number.html#to_string!/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_string!/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted. See\n `Plausible.Cldr.Number.to_string/2`","ref":"Plausible.Cldr.Number.html#to_string!/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.to_string!/2","doc":"* a formatted number as a string or\n\n* raises an exception","ref":"Plausible.Cldr.Number.html#to_string!/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.to_string!/2","doc":"iex> Plausible.Cldr.Number.to_string! 12345\n \"12,345\"\n\n iex> Plausible.Cldr.Number.to_string! 12345, locale: \"fr\"\n \"12 345\"","ref":"Plausible.Cldr.Number.html#to_string!/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.validate_number_system/2","doc":"Return a valid number system from a provided locale and number\nsystem name or type.\n\nThe number system or number system type must be valid for the\ngiven locale. If a number system type is provided, the\nunderlying number system is returned.","ref":"Plausible.Cldr.Number.html#validate_number_system/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.validate_number_system/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`","ref":"Plausible.Cldr.Number.html#validate_number_system/2-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.validate_number_system/2","doc":"iex> Plausible.Cldr.Number.validate_number_system \"en\", :latn\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.validate_number_system \"en\", :default\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.validate_number_system \"en\", :unknown\n {:error,\n {Cldr.UnknownNumberSystemError, \"The number system :unknown is unknown\"}}\n\n iex> Plausible.Cldr.Number.validate_number_system \"zz\", :default\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.html#validate_number_system/2-examples"},{"type":"module","title":"Plausible.Cldr.Number.Cardinal","doc":"Implements cardinal plural rules for numbers.","ref":"Plausible.Cldr.Number.Cardinal.html"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.available_locale_names/0","doc":"The locale names for which plural rules are defined.","ref":"Plausible.Cldr.Number.Cardinal.html#available_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.known_locale_names/0","doc":"The configured locales for which plural rules are defined.\n\nReturns the intersection of `Plausible.Cldr.known_locale_names/0` and\nthe locales for which Cardinal plural rules are defined.\n\nThere are many `Cldr` locales which don't have their own plural\nrules so this list is the intersection of `Cldr`'s configured\nlocales and those that have rules.","ref":"Plausible.Cldr.Number.Cardinal.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"Return the plural key for a given number in a given locale\n\nReturns which plural key (`:zero`, `:one`, `:two`, `:few`,\n`:many` or `:other`) a given number fits into within the\ncontext of a given locale.\n\nNote that these key names should not be interpreted\nliterally. For example, the key returned from\n`Cldr.Number.Ordinal.plural_rule(0, \"en\")` is actually\n`:other`, not `:zero`.\n\nThis key can then be used to format a number, date, time, unit,\nlist or other content in a plural-sensitive way.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"* `number` is any `integer`, `float` or `Decimal`\n\n* `locale` is any locale returned by `Cldr.Locale.new!/2` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `rounding` is one of `[:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]`. The\n default is `:half_even`.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"iex> Plausible.Cldr.Number.Cardinal.plural_rule 0, \"fr\"\n :one\n\n iex> Plausible.Cldr.Number.Cardinal.plural_rule 0, \"en\"\n :other","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rules/0","doc":"Returns all the plural rules defined in CLDR.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rules_for/1","doc":"Return the plural rules for a locale.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.plural_rules_for/1","doc":"* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\nThe rules are returned in AST form after parsing.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules_for/1-arguments"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"Pluralize a number using cardinal plural rules\nand a substitution map.","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"* `number` is an integer, float or Decimal\n\n* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `substitutions` is a map that maps plural keys to a string.\n The valid substitution keys are `:zero`, `:one`, `:two`,\n `:few`, `:many` and `:other`.\n\nSee also `Plausible.Cldr.Number.Cardinal.Cardinal.plural_rule/3`.","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"iex> Plausible.Cldr.Number.Cardinal.pluralize 1, \"en\", %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 2, \"en\", %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 2, \"en\", %{one: \"one\", two: \"two\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 22, \"en\", %{one: \"one\", two: \"two\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), \"en\", %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), \"en\", %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), \"en\", %{one: \"one\", two: \"two\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, \"ar\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"few\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, \"en\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3-examples"},{"type":"module","title":"Plausible.Cldr.Number.Format","doc":"Functions to manage the collection of number patterns defined in Cldr.\n\nNumber patterns affect how numbers are interpreted in a localized context.\nHere are some examples, based on the French locale. The \".\" shows where the\ndecimal point should go. The \",\" shows where the thousands separator should\ngo. A \"0\" indicates zero-padding: if the number is too short, a zero (in the\nlocale's numeric set) will go there. A \"#\" indicates no padding: if the\nnumber is too short, nothing goes there. A \"¤\" shows where the currency sign\nwill go. The following illustrates the effects of different patterns for the\nFrench locale, with the number \"1234.567\". Notice how the pattern characters\n',' and '.' are replaced by the characters appropriate for the locale.","ref":"Plausible.Cldr.Number.Format.html"},{"type":"module","title":"Number Pattern Examples - Plausible.Cldr.Number.Format","doc":"| Pattern\t | Currency\t | Text |\n| ------------- | :-------------: | ----------: |\n| #,##0.##\t | n/a\t | 1 234,57 |\n| #,##0.###\t | n/a\t | 1 234,567 |\n| ###0.#####\t | n/a\t | 1234,567 |\n| ###0.0000#\t | n/a\t | 1234,5670 |\n| 00000.0000\t | n/a\t | 01234,5670 |\n| #,##0.00 ¤\t | EUR\t | 1 234,57 € |\n\nThe number of # placeholder characters before the decimal do not matter,\nsince no limit is placed on the maximum number of digits. There should,\nhowever, be at least one zero some place in the pattern. In currency formats,\nthe number of digits after the decimal also do not matter, since the\ninformation in the supplemental data (see Supplemental Currency Data) is used\nto override the number of decimal places — and the rounding — according to\nthe currency that is being formatted. That can be seen in the above chart,\nwith the difference between Yen and Euro formatting.\n\nDetails of the number formats are described in the\n[Unicode documentation](http://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns)","ref":"Plausible.Cldr.Number.Format.html#module-number-pattern-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.all_formats_for/1","doc":"Returns the decimal formats defined for a given locale.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.all_formats_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.all_formats_for/1","doc":"* `{:ok, map}` where map is a map of decimal formats\n keyed by number system or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1-returns"},{"type":"function","title":"Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"Returns the decimal formats defined for a given locale.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"* `{:ok, map}` where map is a map of decimal formats\n keyed by number system or\n\n* raises an exception\n\nSee `Plausible.Cldr.Number.Format.Number.Format.all_formats_for/1` for further information.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1-returns"},{"type":"function","title":"Plausible.Cldr.Number.Format.currency_spacing/2","doc":"Returns the currency space for a given locale and\nnumber system.","ref":"Plausible.Cldr.Number.Format.html#currency_spacing/2"},{"type":"function","title":"Plausible.Cldr.Number.Format.decimal_format_list/0","doc":"Returns the list of decimal formats in the configured locales including\nthe list of locales configured for precompilation in `config.exs`.\n\nThis function exists to allow the decimal formatter\nto precompile all the known formats at compile time.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list/0"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.decimal_format_list/0","doc":"#=> Plausible.Cldr.Number.Format.Format.decimal_format_list\n [\"#\", \"#,##,##0%\",\n \"#,##,##0.###\", \"#,##,##0.00¤\", \"#,##,##0.00¤;(#,##,##0.00¤)\",\n \"#,##,##0 %\", \"#,##0%\", \"#,##0.###\", \"#,##0.00 ¤\",\n \"#,##0.00 ¤;(#,##0.00 ¤)\", \"#,##0.00¤\", \"#,##0.00¤;(#,##0.00¤)\",\n \"#,##0 %\", \"#0%\", \"#0.######\", \"#0.00 ¤\", \"#E0\", \"%#,##0\", \"% #,##0\",\n \"0\", \"0.000000E+000\", \"0000 M ¤\", \"0000¤\", \"000G ¤\", \"000K ¤\", \"000M ¤\",\n \"000T ¤\", \"000mM ¤\", \"000m ¤\", \"000 Bio'.' ¤\", \"000 Bln ¤\", \"000 Bn ¤\",\n \"000 B ¤\", \"000 E ¤\", \"000 K ¤\", \"000 MRD ¤\", \"000 Md ¤\", \"000 Mio'.' ¤\",\n \"000 Mio ¤\", \"000 Mld ¤\", \"000 Mln ¤\", \"000 Mn ¤\", \"000 Mrd'.' ¤\",\n \"000 Mrd ¤\", \"000 Mr ¤\", \"000 M ¤\", \"000 NT ¤\", \"000 N ¤\", \"000 Tn ¤\",\n \"000 Tr ¤\", ...]","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list/0-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"Returns the list of decimal formats for a configured locale.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.\n\nThis function exists to allow the decimal formatter to precompile all\nthe known formats at compile time. Its use is not otherwise recommended.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en)\n {:ok, [\"#,##0%\", \"#,##0.###\", \"#,##0.00\", \"#,##0.00;(#,##0.00)\",\"#E0\",\n \"0 billion\", \"0 million\", \"0 thousand\",\n \"0 trillion\", \"00 billion\", \"00 million\", \"00 thousand\", \"00 trillion\",\n \"000 billion\", \"000 million\", \"000 thousand\", \"000 trillion\", \"000B\", \"000K\",\n \"000M\", \"000T\", \"00B\", \"00K\", \"00M\", \"00T\", \"0B\", \"0K\", \"0M\", \"0T\",\n \"¤#,##0.00\", \"¤#,##0.00;(¤#,##0.00)\", \"¤000B\", \"¤000K\", \"¤000M\",\n \"¤000T\", \"¤00B\", \"¤00K\", \"¤00M\", \"¤00T\", \"¤0B\", \"¤0K\", \"¤0M\", \"¤0T\",\n \"¤ #,##0.00\", \"¤ #,##0.00;(¤ #,##0.00)\", \"¤ 000B\", \"¤ 000K\", \"¤ 000M\",\n \"¤ 000T\", \"¤ 00B\", \"¤ 00K\", \"¤ 00M\", \"¤ 00T\", \"¤ 0B\", \"¤ 0K\", \"¤ 0M\", \"¤ 0T\"]}","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"Returns the default grouping for a locale as a map.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"* `{:ok, grouping}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"iex> Plausible.Cldr.Number.Format.default_grouping_for(:en)\n {:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"Returns the default grouping for a locale\nor raises on error.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"* `grouping` as a map or\n\n* raises an exception","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)\n %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.formats_for/2","doc":"Return the predfined formats for a given `locale` and `number_system`.","ref":"Plausible.Cldr.Number.Format.html#formats_for/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.formats_for/2","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.\n\n* `number_system` is any valid number system or number system type returned\n by `Plausible.Cldr.Number.System.number_systems_for/1`.","ref":"Plausible.Cldr.Number.Format.html#formats_for/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.formats_for/2","doc":"Plausible.Cldr.Number.Format.formats_for :fr, :native\n #=> %Cldr.Number.Format{\n accounting: \"#,##0.00 ¤;(#,##0.00 ¤)\",\n currency: \"#,##0.00 ¤\",\n percent: \"#,##0 %\",\n scientific: \"#E0\",\n standard: \"#,##0.###\"\n currency_short: [{\"1000\", [one: \"0 k ¤\", other: \"0 k ¤\"]},\n {\"10000\", [one: \"00 k ¤\", other: \"00 k ¤\"]},\n {\"100000\", [one: \"000 k ¤\", other: \"000 k ¤\"]},\n {\"1000000\", [one: \"0 M ¤\", other: \"0 M ¤\"]},\n {\"10000000\", [one: \"00 M ¤\", other: \"00 M ¤\"]},\n {\"100000000\", [one: \"000 M ¤\", other: \"000 M ¤\"]},\n {\"1000000000\", [one: \"0 Md ¤\", other: \"0 Md ¤\"]},\n {\"10000000000\", [one: \"00 Md ¤\", other: \"00 Md ¤\"]},\n {\"100000000000\", [one: \"000 Md ¤\", other: \"000 Md ¤\"]},\n {\"1000000000000\", [one: \"0 Bn ¤\", other: \"0 Bn ¤\"]},\n {\"10000000000000\", [one: \"00 Bn ¤\", other: \"00 Bn ¤\"]},\n {\"100000000000000\", [one: \"000 Bn ¤\", other: \"000 Bn ¤\"]}],\n ...\n }","ref":"Plausible.Cldr.Number.Format.html#formats_for/2-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.formats_for!/2","doc":"","ref":"Plausible.Cldr.Number.Format.html#formats_for!/2"},{"type":"function","title":"Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"Returns the minimum grouping digits for a locale.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"* `{:ok, minumum_digits}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for(\"en\")\n {:ok, 1}","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"Returns the minimum grouping digits for a locale\nor raises on error.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"* `minumum_digits` or\n\n* raises an exception","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!(\"en\")\n 1","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-examples"},{"type":"module","title":"Plausible.Cldr.Number.Formatter.Decimal","doc":"","ref":"Plausible.Cldr.Number.Formatter.Decimal.html"},{"type":"function","title":"Plausible.Cldr.Number.Formatter.Decimal.metadata!/1","doc":"","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#metadata!/1"},{"type":"function","title":"Plausible.Cldr.Number.Formatter.Decimal.to_string/3","doc":"Formats a number according to a decimal format string.","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#to_string/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Formatter.Decimal.to_string/3","doc":"* `number` is an integer, float or Decimal\n\n* `format` is a format string. See `Plausible.Cldr.Number` for further information.\n\n* `options` is a map of options. See `Plausible.Cldr.Number.to_string/2`\n for further information.","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#to_string/3-arguments"},{"type":"module","title":"Plausible.Cldr.Number.Ordinal","doc":"Implements ordinal plural rules for numbers.","ref":"Plausible.Cldr.Number.Ordinal.html"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.available_locale_names/0","doc":"The locale names for which plural rules are defined.","ref":"Plausible.Cldr.Number.Ordinal.html#available_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.known_locale_names/0","doc":"The configured locales for which plural rules are defined.\n\nReturns the intersection of `Plausible.Cldr.known_locale_names/0` and\nthe locales for which Ordinal plural rules are defined.\n\nThere are many `Cldr` locales which don't have their own plural\nrules so this list is the intersection of `Cldr`'s configured\nlocales and those that have rules.","ref":"Plausible.Cldr.Number.Ordinal.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"Return the plural key for a given number in a given locale\n\nReturns which plural key (`:zero`, `:one`, `:two`, `:few`,\n`:many` or `:other`) a given number fits into within the\ncontext of a given locale.\n\nNote that these key names should not be interpreted\nliterally. For example, the key returned from\n`Cldr.Number.Ordinal.plural_rule(0, \"en\")` is actually\n`:other`, not `:zero`.\n\nThis key can then be used to format a number, date, time, unit,\nlist or other content in a plural-sensitive way.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"* `number` is any `integer`, `float` or `Decimal`\n\n* `locale` is any locale returned by `Cldr.Locale.new!/2` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `rounding` is one of `[:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]`. The\n default is `:half_even`.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"iex> Plausible.Cldr.Number.Ordinal.plural_rule 0, \"fr\"\n :other\n\n iex> Plausible.Cldr.Number.Ordinal.plural_rule 1, \"en\"\n :one","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rules/0","doc":"Returns all the plural rules defined in CLDR.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rules_for/1","doc":"Return the plural rules for a locale.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.plural_rules_for/1","doc":"* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\nThe rules are returned in AST form after parsing.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules_for/1-arguments"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"Pluralize a number using ordinal plural rules\nand a substitution map.","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"* `number` is an integer, float or Decimal or a `Range.t{}`. When a range, The\n is that in any usage, the start value is strictly less than the end value,\n and that no values are negative. Results for any cases that do not meet\n these criteria are undefined.\n\n* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `substitutions` is a map that maps plural keys to a string.\n The valid substitution keys are `:zero`, `:one`, `:two`,\n `:few`, `:many` and `:other`.\n\nSee also `Plausible.Cldr.Number.Ordinal.Ordinal.plural_rule/3`.","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: \"one\", two: \"two\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: \"one\", two: \"two\", other: \"other\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: \"one\", two: \"two\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, \"ar\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, \"en\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3-examples"},{"type":"module","title":"Plausible.Cldr.Number.PluralRule.Range","doc":"Implements plural rules for ranges","ref":"Plausible.Cldr.Number.PluralRule.Range.html"},{"type":"function","title":"Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"Returns a final plural type for a start-of-range plural\ntype, an end-of-range plural type and a locale.","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"* `first` is a plural type for the start of a range\n\n* `last` is a plural type for the end of a range\n\n* `locale` is any `Cldr.LanguageTag.t` or a language name\n (not locale name)","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"iex> Plausible.Cldr.Number.PluralRule.Range.plural_rule :other, :few, \"ar\"\n :few","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3-example"},{"type":"module","title":"Plausible.Cldr.Number.Symbol","doc":"","ref":"Plausible.Cldr.Number.Symbol.html"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_decimal_symbols/0","doc":"Returns a list of all decimal symbols defined\nby the locales configured in this backend as\na list.","ref":"Plausible.Cldr.Number.Symbol.html#all_decimal_symbols/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_decimal_symbols_class/0","doc":"Returns a list of all decimal symbols defined\nby the locales configured in this backend as\na string.\n\nThis string can be used as a character class\nwhen builing a regular expression.","ref":"Plausible.Cldr.Number.Symbol.html#all_decimal_symbols_class/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_grouping_symbols/0","doc":"Returns a list of all grouping symbols defined\nby the locales configured in this backend as\na list.","ref":"Plausible.Cldr.Number.Symbol.html#all_grouping_symbols/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_grouping_symbols_class/0","doc":"Returns a list of all grouping symbols defined\nby the locales configured in this backend as\na string.\n\nThis string can be used as a character class\nwhen builing a regular expression.","ref":"Plausible.Cldr.Number.Symbol.html#all_grouping_symbols_class/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"Returns a map of `Cldr.Number.Symbol.t` structs of the number symbols for each\nof the number systems of a locale.","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1"},{"type":"function","title":"Options - Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1-options"},{"type":"function","title":"Example: - Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)\n {:ok, %{\n latn: %Cldr.Number.Symbol{\n decimal: \".\",\n exponential: \"E\",\n group: \",\",\n infinity: \"∞\",\n list: \";\",\n minus_sign: \"-\",\n nan: \"NaN\",\n per_mille: \"‰\",\n percent_sign: \"%\",\n plus_sign: \"+\",\n superscripting_exponent: \"×\",\n time_separator: \":\"\n },\n thai: %Cldr.Number.Symbol{\n decimal: \".\",\n exponential: \"E\",\n group: \",\",\n infinity: \"∞\",\n list: \";\",\n minus_sign: \"-\",\n nan: \"NaN\",\n per_mille: \"‰\",\n percent_sign: \"%\",\n plus_sign: \"+\",\n superscripting_exponent: \"×\",\n time_separator: \":\"\n }\n }}","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1-example"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.number_symbols_for/2","doc":"","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/2"},{"type":"module","title":"Plausible.Cldr.Number.System","doc":"","ref":"Plausible.Cldr.Number.System.html"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_for/2","doc":"Returns the actual number system from a number system type.\n\n* `locale` is any valid locale name returned by `Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by ``Cldr.Locale.new!/2``\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`\n\nThis function will decode a number system type into the actual\nnumber system. If the number system provided can't be decoded\nit is returned as is.","ref":"Plausible.Cldr.Number.System.html#number_system_for/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_for/2","doc":"iex> Plausible.Cldr.Number.System.number_system_for \"th\", :latn\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :default\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"he\", :traditional\n {:ok, %{rules: \"hebrew\", type: :algorithmic}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :native\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :finance\n {\n :error,\n {Cldr.UnknownNumberSystemError,\n \"The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}\"}\n }","ref":"Plausible.Cldr.Number.System.html#number_system_for/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"Returns the number system from a language tag or\nlocale name.","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"* `locale` is any language tag returned be `Cldr.Locale.new/2`\n or a locale name in the list returned by `Cldr.known_locale_names/1`","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"* A number system name as an atom","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"iex> Plausible.Cldr.Number.System.number_system_from_locale \"en-US-u-nu-thai\"\n :thai\n\n iex> Plausible.Cldr.Number.System.number_system_from_locale \"en-US\"\n :latn","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_names_for/1","doc":"Returns the number systems available for a locale\nor `{:error, message}` if the locale is not known.\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Number.System.html#number_system_names_for/1"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_names_for/1","doc":"iex> Plausible.Cldr.Number.System.number_system_names_for \"en\"\n {:ok, [:latn]}\n\n iex> Plausible.Cldr.Number.System.number_system_names_for \"zz\"\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.System.html#number_system_names_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_names_for!/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_system_names_for!/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_types_for/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_system_types_for/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_for/1","doc":"Returns the number systems available for a locale\nor `{:error, message}` if the locale is not known.\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Number.System.html#number_systems_for/1"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_systems_for/1","doc":"iex> Plausible.Cldr.Number.System.number_systems_for \"en\"\n {:ok, %{default: :latn, native: :latn}}\n\n iex> Plausible.Cldr.Number.System.number_systems_for \"th\"\n {:ok, %{default: :latn, native: :thai}}\n\n iex> Plausible.Cldr.Number.System.number_systems_for \"zz\"\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.System.html#number_systems_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_for!/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_systems_for!/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_like/2","doc":"","ref":"Plausible.Cldr.Number.System.html#number_systems_like/2"},{"type":"function","title":"Plausible.Cldr.Number.System.system_name_from/2","doc":"Returns a number system name for a given locale and number system reference.\n\n* `system_name` is any number system name returned by\n `Plausible.Cldr.known_number_systems/0` or a number system type\n returned by `Plausible.Cldr.known_number_system_types/0`\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`\n\nNumber systems can be references in one of two ways:\n\n* As a number system type such as :default, :native, :traditional and\n :finance. This allows references to a number system for a locale in a\n consistent fashion for a given use\n\n* WIth the number system name directly, such as :latn, :arab or any of the\n other 70 or so\n\nThis function dereferences the supplied `system_name` and returns the\nactual system name.","ref":"Plausible.Cldr.Number.System.html#system_name_from/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.system_name_from/2","doc":"ex> Plausible.Cldr.Number.System.system_name_from(:default, \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(\"latn\", \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(:native, \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(:nope, \"en\")\n {\n :error,\n {Cldr.UnknownNumberSystemError, \"The number system :nope is unknown\"}\n }\n\nNote that return value is not guaranteed to be a valid\nnumber system for the given locale as demonstrated in the third example.","ref":"Plausible.Cldr.Number.System.html#system_name_from/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.to_system/2","doc":"Converts a number into the representation of\na non-latin number system.\n\nThis function converts numbers to a known\nnumber system only, it does not provide number\nformatting.\n\n* `number` is a `float`, `integer` or `Decimal`\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`\n\nThere are two types of number systems in CLDR:\n\n* `:numeric` in which the number system defines\n a direct mapping between the latin digits `0..9`\n into a the number system equivalent. In this case,\n` to_system/2` invokes `Cldr.Number.Transliterate.transliterate_digits/3`\n for the given number.\n\n* `:algorithmic` in which the number system\n does not have the same structure as the `:latn`\n number system and therefore the conversion is\n done algorithmically. For CLDR the algorithm\n is implemented through `Cldr.Rbnf` rulesets.\n These rulesets are considered by CLDR to be\n less rigorous than the `:numeric` number systems\n and caution and testing for a specific use case\n is recommended.","ref":"Plausible.Cldr.Number.System.html#to_system/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.to_system/2","doc":"iex> Plausible.Cldr.Number.System.to_system 123456, :hebr\n {:ok, \"קכ״ג׳תנ״ו\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hans\n {:ok, \"一百二十三\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hant\n {:ok, \"一百二十三\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hansfin\n {:ok, \"壹佰贰拾叁\"}","ref":"Plausible.Cldr.Number.System.html#to_system/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.to_system!/2","doc":"Converts a number into the representation of\na non-latin number system. Returns a converted\nstring or raises on error.\n\n* `number` is a `float`, `integer` or `Decimal`\n\n* `system_name` is any number system name returned by\n `Plausible.Cldr.known_number_systems/0` or a number system type\n returned by `Plausible.Cldr.known_number_system_types/0`\n\nSee `Plausible.Cldr.Number.System.to_system/2` for further\ninformation.","ref":"Plausible.Cldr.Number.System.html#to_system!/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.to_system!/2","doc":"iex> Plausible.Cldr.Number.System.to_system! 123, :hans\n \"一百二十三\"\n\n iex> Plausible.Cldr.Number.System.to_system! 123, :hant\n \"一百二十三\"\n\n iex> Plausible.Cldr.Number.System.to_system! 123, :hansfin\n \"壹佰贰拾叁\"","ref":"Plausible.Cldr.Number.System.html#to_system!/2-examples"},{"type":"module","title":"Plausible.Cldr.Number.Transliterate","doc":"Transliteration for digits and separators.\n\nTransliterating a string is an expensive business. First the string has to\nbe exploded into its component graphemes. Then for each grapheme we have\nto map to the equivalent in the other `{locale, number_system}`. Then we\nhave to reassemble the string.\n\nEffort is made to short circuit where possible. Transliteration is not\nrequired for any `{locale, number_system}` that is the same as `{\"en\",\n\"latn\"}` since the implementation uses this combination for the placeholders during\nformatting already. When short circuiting is possible (typically the en-*\nlocales with \"latn\" number_system - the total number of short circuited\nlocales is 211 of the 537 in CLDR) the overall number formatting is twice as\nfast than when formal transliteration is required.\n\n#","ref":"Plausible.Cldr.Number.Transliterate.html"},{"type":"module","title":"Configuring precompilation of digit transliterations - Plausible.Cldr.Number.Transliterate","doc":"This module includes `Cldr.Number.Transliterate.transliterate_digits/3` which transliterates\ndigits between number systems. For example from :arabic to :latn. Since generating a\ntransliteration map is slow, pairs of transliterations can be configured so that the\ntransliteration map is created at compile time and therefore speeding up transliteration at\nrun time.\n\nTo configure these transliteration pairs, add the to the `use Cldr` configuration\nin a backend module:\n\n defmodule MyApp.Cldr do\n use Cldr,\n locale: [\"en\", \"fr\", \"th\"],\n default_locale: \"en\",\n precompile_transliterations: [{:latn, :thai}, {:arab, :thai}]\n end\n\nWhere each tuple in the list configures one transliteration map. In this example, two maps are\nconfigured: from `:latn` to `:thai` and from `:arab` to `:thai`.\n\nA list of configurable number systems is returned by `Cldr.Number.System.numeric_systems/0`.\n\nIf a transliteration is requested between two number pairs that have not been configured for\nprecompilation, a warning is logged.","ref":"Plausible.Cldr.Number.Transliterate.html#module-configuring-precompilation-of-digit-transliterations"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"Transliterates from latin digits to another number system's digits.\n\nTransliterates the latin digits 0..9 to their equivalents in\nanother number system. Also transliterates the decimal and grouping\nseparators as well as the plus, minus and exponent symbols. Any other character\nin the string will be returned \"as is\".","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"* `sequence` is the string to be transliterated.\n\n* `locale` is any known locale, defaulting to `Plausible.Cldr.get_locale/0`.\n\n* `number_system` is any known number system. If expressed as a `string` it\n is the actual name of a known number system. If epressed as an `atom` it is\n used as a key to look up a number system for the locale (the usual keys are\n `:default` and `:native` but :traditional and :finance are also part of the\n standard). See `Plausible.Cldr.Number.System.number_systems_for/1` for a locale to\n see what number system types are defined. The default is `:default`.\n\nFor available number systems see `Cldr.Number.System.number_systems/0`\nand `Plausible.Cldr.Number.System.number_systems_for/1`. Also see\n`Plausible.Cldr.Number.Symbol.number_symbols_for/1`.","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\")\n \"123556\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123,556.000\", \"fr\", :default)\n \"123 556,000\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", :default)\n \"123556\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", \"thai\")\n \"๑๒๓๕๕๖\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", :native)\n \"๑๒๓๕๕๖\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"Some number is: 123556\", \"th\", \"thai\")\n \"Some number is: ๑๒๓๕๕๖\"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate!/3","doc":"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate!/3"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate_digits/3","doc":"Transliterates digits from one number system to another number system\n\n* `digits` is binary representation of a number\n\n* `from_system` and `to_system` are number system names in atom form. See\n`Cldr.Number.System.numeric_systems/0` for available number systems.","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate_digits/3"},{"type":"function","title":"Example - Plausible.Cldr.Number.Transliterate.transliterate_digits/3","doc":"iex> Plausible.Cldr.Number.Transliterate.transliterate_digits \"٠١٢٣٤٥٦٧٨٩\", :arab, :latn\n \"0123456789\"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate_digits/3-example"},{"type":"module","title":"Plausible.Cldr.Rbnf.NumberSystem","doc":"Functions to implement the number system rule-based-number-format rules of CLDR.\n\nThese rules are defined only on the \"und\" locale and represent specialised\nnumber formatting.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)\n ...> |> Enum.sort()\n [\n :armenian_lower,\n :armenian_upper,\n :cyrillic_lower,\n :ethiopic,\n :georgian,\n :greek_lower,\n :greek_upper,\n :hebrew,\n :hebrew_item,\n :roman_lower,\n :roman_upper,\n :tamil,\n :zz_default\n ]\n\nA rule can then be invoked on an available rule_set. For example\n\n iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)\n \"CXXIII\"\n\nThis particular call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :roman)\n {:ok, \"CXXIII\"}","ref":"Plausible.Cldr.Rbnf.NumberSystem.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_1_10/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_1_10/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_final/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_final/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_post/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_post/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p1/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p1/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p2/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p2/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p3/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p3/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.georgian/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#georgian/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.georgian/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#georgian/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_numeral_majuscules/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_numeral_majuscules/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_numeral_minuscules/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_numeral_minuscules/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_0_99/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_0_99/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item_hundreds/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item_hundreds/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#rule_sets/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.zz_default/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#zz_default/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.zz_default/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#zz_default/2"},{"type":"module","title":"Plausible.Cldr.Rbnf.Ordinal","doc":"Functions to implement the ordinal rule-based-number-format rules of CLDR.\n\nAs CLDR notes, the data is incomplete or non-existent for many languages. It\nis considered complete for English however.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)\n [:digits_ordinal]\n\n iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(\"fr\")\n ...> |> Enum.sort()\n [\n :digits_ordinal,\n :digits_ordinal_feminine,\n :digits_ordinal_feminine_plural,\n :digits_ordinal_masculine,\n :digits_ordinal_masculine_plural\n ]\n\nA rule can then be invoked on an available rule_set. For example\n\n iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)\n \"123rd\"\n\nThis call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)\n {:ok, \"123rd\"}","ref":"Plausible.Cldr.Rbnf.Ordinal.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.digits_ordinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#digits_ordinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#rule_sets/1"},{"type":"module","title":"Plausible.Cldr.Rbnf.Spellout","doc":"Functions to implement the spellout rule-based-number-format rules of CLDR.\n\nAs CLDR notes, the data is incomplete or non-existent for many languages. It\nis considered complete for English however.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.Spellout.rule_sets(\"en\")\n ...> |> Enum.sort()\n [\n :spellout_cardinal,\n :spellout_cardinal_verbose,\n :spellout_numbering,\n :spellout_numbering_verbose,\n :spellout_numbering_year,\n :spellout_ordinal,\n :spellout_ordinal_verbose\n ]\n\nA rule can then be invoked on an available rule_set. For example:\n\n iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, \"en\")\n \"one hundred twenty-third\"\n\nThis call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :spellout)\n {:ok, \"one hundred twenty-three\"}","ref":"Plausible.Cldr.Rbnf.Spellout.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.and/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#and/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.and_o/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#and_o/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.commas/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#commas/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.commas_o/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#commas_o/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.r2d_year/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#r2d_year/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#rule_sets/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_cardinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_cardinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_cardinal_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_cardinal_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering_year/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering_year/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_ordinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_ordinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_ordinal_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_ordinal_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.th/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#th/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.tieth/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#tieth/2"},{"type":"module","title":"Plausible.ClickhouseEventV2","doc":"Event schema for when NumericIDs migration is complete","ref":"Plausible.ClickhouseEventV2.html"},{"type":"function","title":"Plausible.ClickhouseEventV2.new/1","doc":"","ref":"Plausible.ClickhouseEventV2.html#new/1"},{"type":"module","title":"Plausible.ClickhouseRepo","doc":"","ref":"Plausible.ClickhouseRepo.html"},{"type":"function","title":"Plausible.ClickhouseRepo.aggregate/3","doc":"","ref":"Plausible.ClickhouseRepo.html#aggregate/3"},{"type":"function","title":"Plausible.ClickhouseRepo.aggregate/4","doc":"","ref":"Plausible.ClickhouseRepo.html#aggregate/4"},{"type":"function","title":"Plausible.ClickhouseRepo.all/2","doc":"","ref":"Plausible.ClickhouseRepo.html#all/2"},{"type":"function","title":"Plausible.ClickhouseRepo.checked_out?/0","doc":"","ref":"Plausible.ClickhouseRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.ClickhouseRepo.checkout/2","doc":"","ref":"Plausible.ClickhouseRepo.html#checkout/2"},{"type":"function","title":"Plausible.ClickhouseRepo.child_spec/1","doc":"","ref":"Plausible.ClickhouseRepo.html#child_spec/1"},{"type":"function","title":"Plausible.ClickhouseRepo.config/0","doc":"","ref":"Plausible.ClickhouseRepo.html#config/0"},{"type":"function","title":"Plausible.ClickhouseRepo.default_options/1","doc":"","ref":"Plausible.ClickhouseRepo.html#default_options/1"},{"type":"function","title":"Plausible.ClickhouseRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.ClickhouseRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.ClickhouseRepo.exists?/2","doc":"","ref":"Plausible.ClickhouseRepo.html#exists?/2"},{"type":"function","title":"Plausible.ClickhouseRepo.get/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get!/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_by/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get_by/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_by!/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get_by!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.ClickhouseRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.ClickhouseRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.ClickhouseRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.ClickhouseRepo.load/2","doc":"","ref":"Plausible.ClickhouseRepo.html#load/2"},{"type":"function","title":"Plausible.ClickhouseRepo.one/2","doc":"","ref":"Plausible.ClickhouseRepo.html#one/2"},{"type":"function","title":"Plausible.ClickhouseRepo.one!/2","doc":"","ref":"Plausible.ClickhouseRepo.html#one!/2"},{"type":"function","title":"Plausible.ClickhouseRepo.parallel_tasks/1","doc":"","ref":"Plausible.ClickhouseRepo.html#parallel_tasks/1"},{"type":"function","title":"Plausible.ClickhouseRepo.preload/3","doc":"","ref":"Plausible.ClickhouseRepo.html#preload/3"},{"type":"function","title":"Plausible.ClickhouseRepo.prepare_query/3","doc":"","ref":"Plausible.ClickhouseRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.ClickhouseRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.ClickhouseRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.ClickhouseRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.ClickhouseRepo.html#query/3"},{"type":"function","title":"Plausible.ClickhouseRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.ClickhouseRepo.html#query!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.reload/2","doc":"","ref":"Plausible.ClickhouseRepo.html#reload/2"},{"type":"function","title":"Plausible.ClickhouseRepo.reload!/2","doc":"","ref":"Plausible.ClickhouseRepo.html#reload!/2"},{"type":"function","title":"Plausible.ClickhouseRepo.start_link/1","doc":"","ref":"Plausible.ClickhouseRepo.html#start_link/1"},{"type":"function","title":"Plausible.ClickhouseRepo.stop/1","doc":"","ref":"Plausible.ClickhouseRepo.html#stop/1"},{"type":"function","title":"Plausible.ClickhouseRepo.stream/2","doc":"","ref":"Plausible.ClickhouseRepo.html#stream/2"},{"type":"function","title":"Plausible.ClickhouseRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.ClickhouseRepo.html#to_sql/2"},{"type":"module","title":"Plausible.ClickhouseSessionV2","doc":"Session schema for when NumericIDs migration is complete","ref":"Plausible.ClickhouseSessionV2.html"},{"type":"function","title":"Plausible.ClickhouseSessionV2.random_uint64/0","doc":"","ref":"Plausible.ClickhouseSessionV2.html#random_uint64/0"},{"type":"module","title":"Plausible.ClickhouseSessionV2.BoolUInt8","doc":"Custom type to cast Bool as UInt8","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html"},{"type":"function","title":"Plausible.ClickhouseSessionV2.BoolUInt8.embed_as/1","doc":"","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html#embed_as/1"},{"type":"function","title":"Plausible.ClickhouseSessionV2.BoolUInt8.equal?/2","doc":"","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html#equal?/2"},{"type":"module","title":"Plausible.ConfigHelpers","doc":"","ref":"Plausible.ConfigHelpers.html"},{"type":"function","title":"Plausible.ConfigHelpers.get_int_from_path_or_env/3","doc":"","ref":"Plausible.ConfigHelpers.html#get_int_from_path_or_env/3"},{"type":"function","title":"Plausible.ConfigHelpers.get_var_from_path_or_env/3","doc":"","ref":"Plausible.ConfigHelpers.html#get_var_from_path_or_env/3"},{"type":"module","title":"Plausible.DataCase","doc":"This module defines the setup for tests requiring\naccess to the application's data layer.\n\nYou may define functions here to be used as helpers in\nyour tests.\n\nFinally, if the test case interacts with the database,\nit cannot be async. For this reason, every test runs\ninside a transaction which is reset at the beginning\nof the test unless the test case is marked as async.","ref":"Plausible.DataCase.html"},{"type":"module","title":"Plausible.DataMigration","doc":"Base module for coordinated Clickhouse data migrations\nrun via remote shell or otherwise (TBD).","ref":"Plausible.DataMigration.html"},{"type":"module","title":"Plausible.DataMigration.NumericIDs","doc":"Numeric IDs migration, SQL files available at:\npriv/data_migrations/NumericIDs/sql","ref":"Plausible.DataMigration.NumericIDs.html"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.confirm/3","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#confirm/3"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run/1","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run/1"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run_sql/2","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run_sql/2"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run_sql_confirm/2","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run_sql_confirm/2"},{"type":"module","title":"Plausible.DataMigration.Repo","doc":"Ecto.Repo for Clickhouse data migrations, to be started manually,\noutside of the main application supervision tree.","ref":"Plausible.DataMigration.Repo.html"},{"type":"function","title":"Plausible.DataMigration.Repo.aggregate/3","doc":"","ref":"Plausible.DataMigration.Repo.html#aggregate/3"},{"type":"function","title":"Plausible.DataMigration.Repo.aggregate/4","doc":"","ref":"Plausible.DataMigration.Repo.html#aggregate/4"},{"type":"function","title":"Plausible.DataMigration.Repo.all/2","doc":"","ref":"Plausible.DataMigration.Repo.html#all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.checked_out?/0","doc":"","ref":"Plausible.DataMigration.Repo.html#checked_out?/0"},{"type":"function","title":"Plausible.DataMigration.Repo.checkout/2","doc":"","ref":"Plausible.DataMigration.Repo.html#checkout/2"},{"type":"function","title":"Plausible.DataMigration.Repo.child_spec/1","doc":"","ref":"Plausible.DataMigration.Repo.html#child_spec/1"},{"type":"function","title":"Plausible.DataMigration.Repo.config/0","doc":"","ref":"Plausible.DataMigration.Repo.html#config/0"},{"type":"function","title":"Plausible.DataMigration.Repo.default_options/1","doc":"","ref":"Plausible.DataMigration.Repo.html#default_options/1"},{"type":"function","title":"Plausible.DataMigration.Repo.delete/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete/2"},{"type":"function","title":"Plausible.DataMigration.Repo.delete!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.delete_all/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete_all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.DataMigration.Repo.html#disconnect_all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.exists?/2","doc":"","ref":"Plausible.DataMigration.Repo.html#exists?/2"},{"type":"function","title":"Plausible.DataMigration.Repo.get/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get!/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_by/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get_by/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_by!/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get_by!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_dynamic_repo/0","doc":"","ref":"Plausible.DataMigration.Repo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.DataMigration.Repo.insert/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_all/3","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_all/3"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_or_update/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_or_update/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_or_update!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.DataMigration.Repo.html#insert_stream/3"},{"type":"function","title":"Plausible.DataMigration.Repo.load/2","doc":"","ref":"Plausible.DataMigration.Repo.html#load/2"},{"type":"function","title":"Plausible.DataMigration.Repo.one/2","doc":"","ref":"Plausible.DataMigration.Repo.html#one/2"},{"type":"function","title":"Plausible.DataMigration.Repo.one!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#one!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.preload/3","doc":"","ref":"Plausible.DataMigration.Repo.html#preload/3"},{"type":"function","title":"Plausible.DataMigration.Repo.prepare_query/3","doc":"","ref":"Plausible.DataMigration.Repo.html#prepare_query/3"},{"type":"function","title":"Plausible.DataMigration.Repo.put_dynamic_repo/1","doc":"","ref":"Plausible.DataMigration.Repo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.DataMigration.Repo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.DataMigration.Repo.html#query/3"},{"type":"function","title":"Plausible.DataMigration.Repo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.DataMigration.Repo.html#query!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.reload/2","doc":"","ref":"Plausible.DataMigration.Repo.html#reload/2"},{"type":"function","title":"Plausible.DataMigration.Repo.reload!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#reload!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.start/2","doc":"","ref":"Plausible.DataMigration.Repo.html#start/2"},{"type":"function","title":"Plausible.DataMigration.Repo.start_link/1","doc":"","ref":"Plausible.DataMigration.Repo.html#start_link/1"},{"type":"function","title":"Plausible.DataMigration.Repo.stop/1","doc":"","ref":"Plausible.DataMigration.Repo.html#stop/1"},{"type":"function","title":"Plausible.DataMigration.Repo.stream/2","doc":"","ref":"Plausible.DataMigration.Repo.html#stream/2"},{"type":"function","title":"Plausible.DataMigration.Repo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.DataMigration.Repo.html#to_sql/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update/2","doc":"","ref":"Plausible.DataMigration.Repo.html#update/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#update!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update_all/3","doc":"","ref":"Plausible.DataMigration.Repo.html#update_all/3"},{"type":"module","title":"Plausible.DebugReplayInfo","doc":"Function execution context (with arguments) to Sentry reports.","ref":"Plausible.DebugReplayInfo.html"},{"type":"function","title":"Plausible.DebugReplayInfo.deserialize/1","doc":"","ref":"Plausible.DebugReplayInfo.html#deserialize/1"},{"type":"macro","title":"Plausible.DebugReplayInfo.include_sentry_replay_info/0","doc":"","ref":"Plausible.DebugReplayInfo.html#include_sentry_replay_info/0"},{"type":"module","title":"Plausible.Ecto.EventName","doc":"Custom type for event name. Accepts Strings and Integers and stores them as String. Returns\n cast error if any other type is provided. Accepting integers is important for 404 tracking.","ref":"Plausible.Ecto.EventName.html"},{"type":"function","title":"Plausible.Ecto.EventName.cast/1","doc":"","ref":"Plausible.Ecto.EventName.html#cast/1"},{"type":"function","title":"Plausible.Ecto.EventName.dump/1","doc":"","ref":"Plausible.Ecto.EventName.html#dump/1"},{"type":"function","title":"Plausible.Ecto.EventName.embed_as/1","doc":"","ref":"Plausible.Ecto.EventName.html#embed_as/1"},{"type":"function","title":"Plausible.Ecto.EventName.equal?/2","doc":"","ref":"Plausible.Ecto.EventName.html#equal?/2"},{"type":"function","title":"Plausible.Ecto.EventName.load/1","doc":"","ref":"Plausible.Ecto.EventName.html#load/1"},{"type":"function","title":"Plausible.Ecto.EventName.type/0","doc":"","ref":"Plausible.Ecto.EventName.html#type/0"},{"type":"module","title":"Plausible.Factory","doc":"","ref":"Plausible.Factory.html"},{"type":"function","title":"Plausible.Factory.api_key_factory/0","doc":"","ref":"Plausible.Factory.html#api_key_factory/0"},{"type":"function","title":"Plausible.Factory.build/2","doc":"","ref":"Plausible.Factory.html#build/2"},{"type":"function","title":"Plausible.Factory.build_list/3","doc":"","ref":"Plausible.Factory.html#build_list/3"},{"type":"function","title":"Plausible.Factory.build_pair/2","doc":"","ref":"Plausible.Factory.html#build_pair/2"},{"type":"function","title":"Plausible.Factory.business_subscription_factory/0","doc":"","ref":"Plausible.Factory.html#business_subscription_factory/0"},{"type":"function","title":"Plausible.Factory.ch_session_factory/0","doc":"","ref":"Plausible.Factory.html#ch_session_factory/0"},{"type":"function","title":"Plausible.Factory.create/1","doc":"","ref":"Plausible.Factory.html#create/1"},{"type":"function","title":"Plausible.Factory.create/2","doc":"","ref":"Plausible.Factory.html#create/2"},{"type":"function","title":"Plausible.Factory.create_list/3","doc":"","ref":"Plausible.Factory.html#create_list/3"},{"type":"function","title":"Plausible.Factory.create_pair/2","doc":"","ref":"Plausible.Factory.html#create_pair/2"},{"type":"function","title":"Plausible.Factory.enterprise_plan_factory/0","doc":"","ref":"Plausible.Factory.html#enterprise_plan_factory/0"},{"type":"function","title":"Plausible.Factory.event_factory/0","doc":"","ref":"Plausible.Factory.html#event_factory/0"},{"type":"function","title":"Plausible.Factory.factory/1","doc":"Raises a helpful error if no factory is defined.","ref":"Plausible.Factory.html#factory/1"},{"type":"function","title":"Plausible.Factory.goal_factory/0","doc":"","ref":"Plausible.Factory.html#goal_factory/0"},{"type":"function","title":"Plausible.Factory.google_auth_factory/0","doc":"","ref":"Plausible.Factory.html#google_auth_factory/0"},{"type":"function","title":"Plausible.Factory.growth_subscription_factory/0","doc":"","ref":"Plausible.Factory.html#growth_subscription_factory/0"},{"type":"function","title":"Plausible.Factory.imported_browsers_factory/0","doc":"","ref":"Plausible.Factory.html#imported_browsers_factory/0"},{"type":"function","title":"Plausible.Factory.imported_devices_factory/0","doc":"","ref":"Plausible.Factory.html#imported_devices_factory/0"},{"type":"function","title":"Plausible.Factory.imported_entry_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_entry_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_exit_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_exit_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_locations_factory/0","doc":"","ref":"Plausible.Factory.html#imported_locations_factory/0"},{"type":"function","title":"Plausible.Factory.imported_operating_systems_factory/0","doc":"","ref":"Plausible.Factory.html#imported_operating_systems_factory/0"},{"type":"function","title":"Plausible.Factory.imported_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_sources_factory/0","doc":"","ref":"Plausible.Factory.html#imported_sources_factory/0"},{"type":"function","title":"Plausible.Factory.imported_visitors_factory/0","doc":"","ref":"Plausible.Factory.html#imported_visitors_factory/0"},{"type":"function","title":"Plausible.Factory.insert/1","doc":"","ref":"Plausible.Factory.html#insert/1"},{"type":"function","title":"Plausible.Factory.insert/2","doc":"","ref":"Plausible.Factory.html#insert/2"},{"type":"function","title":"Plausible.Factory.insert/3","doc":"","ref":"Plausible.Factory.html#insert/3"},{"type":"function","title":"Plausible.Factory.insert_list/3","doc":"","ref":"Plausible.Factory.html#insert_list/3"},{"type":"function","title":"Plausible.Factory.insert_list/4","doc":"","ref":"Plausible.Factory.html#insert_list/4"},{"type":"function","title":"Plausible.Factory.insert_pair/2","doc":"","ref":"Plausible.Factory.html#insert_pair/2"},{"type":"function","title":"Plausible.Factory.insert_pair/3","doc":"","ref":"Plausible.Factory.html#insert_pair/3"},{"type":"function","title":"Plausible.Factory.invitation_factory/0","doc":"","ref":"Plausible.Factory.html#invitation_factory/0"},{"type":"function","title":"Plausible.Factory.monthly_report_factory/0","doc":"","ref":"Plausible.Factory.html#monthly_report_factory/0"},{"type":"function","title":"Plausible.Factory.pageview_factory/0","doc":"","ref":"Plausible.Factory.html#pageview_factory/0"},{"type":"function","title":"Plausible.Factory.params_for/2","doc":"","ref":"Plausible.Factory.html#params_for/2"},{"type":"function","title":"Plausible.Factory.params_with_assocs/2","doc":"","ref":"Plausible.Factory.html#params_with_assocs/2"},{"type":"function","title":"Plausible.Factory.shared_link_factory/0","doc":"","ref":"Plausible.Factory.html#shared_link_factory/0"},{"type":"function","title":"Plausible.Factory.site_factory/1","doc":"","ref":"Plausible.Factory.html#site_factory/1"},{"type":"function","title":"Plausible.Factory.site_membership_factory/0","doc":"","ref":"Plausible.Factory.html#site_membership_factory/0"},{"type":"function","title":"Plausible.Factory.spike_notification_factory/0","doc":"","ref":"Plausible.Factory.html#spike_notification_factory/0"},{"type":"function","title":"Plausible.Factory.string_params_for/2","doc":"","ref":"Plausible.Factory.html#string_params_for/2"},{"type":"function","title":"Plausible.Factory.string_params_with_assocs/2","doc":"","ref":"Plausible.Factory.html#string_params_with_assocs/2"},{"type":"function","title":"Plausible.Factory.subscription_factory/0","doc":"","ref":"Plausible.Factory.html#subscription_factory/0"},{"type":"function","title":"Plausible.Factory.user_factory/1","doc":"","ref":"Plausible.Factory.html#user_factory/1"},{"type":"function","title":"Plausible.Factory.weekly_report_factory/0","doc":"","ref":"Plausible.Factory.html#weekly_report_factory/0"},{"type":"module","title":"Plausible.Funnel","doc":"A funnel is a marketing term used to capture and describe the journey\nthat users go through, from initial step to conversion.\nA funnel consists of several steps (here: 2..8).\n\nThis module defines the database schema for storing funnels\nand changeset helpers for enumerating the steps within.\n\nEach step references a goal (either a Custom Event or Visit)\n- see: `Plausible.Goal`.","ref":"Plausible.Funnel.html"},{"type":"function","title":"Plausible.Funnel.changeset/2","doc":"","ref":"Plausible.Funnel.html#changeset/2"},{"type":"macro","title":"Plausible.Funnel.max_steps/0","doc":"","ref":"Plausible.Funnel.html#max_steps/0"},{"type":"macro","title":"Plausible.Funnel.min_steps/0","doc":"","ref":"Plausible.Funnel.html#min_steps/0"},{"type":"function","title":"Plausible.Funnel.put_step_orders/1","doc":"","ref":"Plausible.Funnel.html#put_step_orders/1"},{"type":"type","title":"Plausible.Funnel.t/0","doc":"","ref":"Plausible.Funnel.html#t:t/0"},{"type":"module","title":"Plausible.Funnel.Const","doc":"Compile-time convience constants for funnel characteristics.","ref":"Plausible.Funnel.Const.html"},{"type":"macro","title":"Plausible.Funnel.Const.max_steps/0","doc":"","ref":"Plausible.Funnel.Const.html#max_steps/0"},{"type":"macro","title":"Plausible.Funnel.Const.min_steps/0","doc":"","ref":"Plausible.Funnel.Const.html#min_steps/0"},{"type":"module","title":"Plausible.Funnel.Step","doc":"This module defines the database schema for a single Funnel step.\nSee: `Plausible.Funnel` for more information.","ref":"Plausible.Funnel.Step.html"},{"type":"function","title":"Plausible.Funnel.Step.changeset/2","doc":"","ref":"Plausible.Funnel.Step.html#changeset/2"},{"type":"type","title":"Plausible.Funnel.Step.t/0","doc":"","ref":"Plausible.Funnel.Step.html#t:t/0"},{"type":"module","title":"Plausible.Funnels","doc":"This module implements contextual Funnel interface, allowing listing,\ncreating and deleting funnel definitions.\n\nFor brief explanation of what a Funnel is, please see `Plausible.Funnel` schema.\nSee `Plausible.Stats.Funnel` for the evaluation logic.","ref":"Plausible.Funnels.html"},{"type":"function","title":"Plausible.Funnels.create/3","doc":"","ref":"Plausible.Funnels.html#create/3"},{"type":"function","title":"Plausible.Funnels.create_changeset/3","doc":"","ref":"Plausible.Funnels.html#create_changeset/3"},{"type":"function","title":"Plausible.Funnels.delete/2","doc":"","ref":"Plausible.Funnels.html#delete/2"},{"type":"function","title":"Plausible.Funnels.ephemeral_definition/3","doc":"","ref":"Plausible.Funnels.html#ephemeral_definition/3"},{"type":"function","title":"Plausible.Funnels.get/2","doc":"","ref":"Plausible.Funnels.html#get/2"},{"type":"function","title":"Plausible.Funnels.list/1","doc":"","ref":"Plausible.Funnels.html#list/1"},{"type":"module","title":"Plausible.Geo","doc":"This module provides an API for fetching IP geolocation.","ref":"Plausible.Geo.html"},{"type":"function","title":"Plausible.Geo.await_loader/0","doc":"Waits for the database to start after calling `load_db/1` with the async option.","ref":"Plausible.Geo.html#await_loader/0"},{"type":"function","title":"Plausible.Geo.database_type/0","doc":"Returns geodatabase type.\n\nUsed for deciding whether to show the DB-IP disclaimer or not.","ref":"Plausible.Geo.html#database_type/0"},{"type":"function","title":"Examples - Plausible.Geo.database_type/0","doc":"In the case of a DB-IP database:\n\n iex> database_type()\n \"DBIP-City-Lite\"\n\n In the case of a MaxMind database:\n\n iex> database_type()\n \"GeoLite2-City\"","ref":"Plausible.Geo.html#database_type/0-examples"},{"type":"function","title":"Plausible.Geo.load_db/1","doc":"Starts the geodatabase loading process. Two modes are supported: local file\nand MaxMind license key.","ref":"Plausible.Geo.html#load_db/1"},{"type":"function","title":"Options - Plausible.Geo.load_db/1","doc":"* `:path` - the path to the .mmdb database local file. When present,\n `:license_key` and `:edition` are not required.\n\n * `:license_key` - the [license key](https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key)\n from MaxMind to authenticate requests to MaxMind.\n\n * `:edition` - the name of the MaxMind database to be downloaded from MaxMind\n servers. Defaults to `GeoLite2-City`.\n\n * `:async` - when used, configures the database loading to run\n asynchronously.","ref":"Plausible.Geo.html#load_db/1-options"},{"type":"function","title":"Examples - Plausible.Geo.load_db/1","doc":"Loading from a local file:\n\n iex> load_db(path: \"/etc/plausible/dbip-city.mmdb\")\n :ok\n\n Downloading a MaxMind DB (this license key is no longer active):\n\n iex> load_db(license_key: \"LNpsJCCKPis6XvBP\", edition: \"GeoLite2-City\", async: true)\n :ok","ref":"Plausible.Geo.html#load_db/1-examples"},{"type":"function","title":"Plausible.Geo.lookup/1","doc":"Looks up geo info about an IP address.","ref":"Plausible.Geo.html#lookup/1"},{"type":"function","title":"Examples - Plausible.Geo.lookup/1","doc":"iex> lookup(\"8.7.6.5\")\n %{\n \"city\" => %{\n \"geoname_id\" => 5349755,\n \"names\" => %{\n \"de\" => \"Fontana\",\n \"en\" => \"Fontana\",\n \"ja\" => \"フォンタナ\",\n \"ru\" => \"Фонтана\"\n }\n },\n \"continent\" => %{\n \"code\" => \"NA\",\n \"geoname_id\" => 6255149,\n \"names\" => %{\n \"de\" => \"Nordamerika\",\n \"en\" => \"North America\",\n \"es\" => \"Norteamérica\",\n \"fr\" => \"Amérique du Nord\",\n \"ja\" => \"北アメリカ\",\n \"pt-BR\" => \"América do Norte\",\n \"ru\" => \"Северная Америка\",\n \"zh-CN\" => \"北美洲\"\n }\n },\n \"country\" => %{\n \"geoname_id\" => 6252001,\n \"iso_code\" => \"US\",\n \"names\" => %{\n \"de\" => \"Vereinigte Staaten\",\n \"en\" => \"United States\",\n \"es\" => \"Estados Unidos\",\n \"fr\" => \"États Unis\",\n \"ja\" => \"アメリカ\",\n \"pt-BR\" => \"EUA\",\n \"ru\" => \"США\",\n \"zh-CN\" => \"美国\"\n }\n },\n \"location\" => %{\n \"accuracy_radius\" => 50,\n \"latitude\" => 34.1211,\n \"longitude\" => -117.4362,\n \"metro_code\" => 803,\n \"time_zone\" => \"America/Los_Angeles\"\n },\n \"postal\" => %{\"code\" => \"92336\"},\n \"registered_country\" => %{\n \"geoname_id\" => 6252001,\n \"iso_code\" => \"US\",\n \"names\" => %{\n \"de\" => \"Vereinigte Staaten\",\n \"en\" => \"United States\",\n \"es\" => \"Estados Unidos\",\n \"fr\" => \"États Unis\",\n \"ja\" => \"アメリカ\",\n \"pt-BR\" => \"EUA\",\n \"ru\" => \"США\",\n \"zh-CN\" => \"美国\"\n }\n },\n \"subdivisions\" => [\n %{\n \"geoname_id\" => 5332921,\n \"iso_code\" => \"CA\",\n \"names\" => %{\n \"de\" => \"Kalifornien\",\n \"en\" => \"California\",\n \"es\" => \"California\",\n \"fr\" => \"Californie\",\n \"ja\" => \"カリフォルニア州\",\n \"pt-BR\" => \"Califórnia\",\n \"ru\" => \"Калифорния\",\n \"zh-CN\" => \"加州\"\n }\n }\n ]\n }","ref":"Plausible.Geo.html#lookup/1-examples"},{"type":"module","title":"Plausible.Goal","doc":"","ref":"Plausible.Goal.html"},{"type":"function","title":"Plausible.Goal.changeset/2","doc":"","ref":"Plausible.Goal.html#changeset/2"},{"type":"type","title":"Plausible.Goal.t/0","doc":"","ref":"Plausible.Goal.html#t:t/0"},{"type":"module","title":"Plausible.Goal.Revenue","doc":"Currency specific functions for revenue goals","ref":"Plausible.Goal.Revenue.html"},{"type":"function","title":"Plausible.Goal.Revenue.currency_options/0","doc":"","ref":"Plausible.Goal.Revenue.html#currency_options/0"},{"type":"function","title":"Plausible.Goal.Revenue.revenue?/1","doc":"","ref":"Plausible.Goal.Revenue.html#revenue?/1"},{"type":"function","title":"Plausible.Goal.Revenue.valid_currencies/0","doc":"","ref":"Plausible.Goal.Revenue.html#valid_currencies/0"},{"type":"module","title":"Plausible.Goals","doc":"","ref":"Plausible.Goals.html"},{"type":"function","title":"Plausible.Goals.count/1","doc":"","ref":"Plausible.Goals.html#count/1"},{"type":"function","title":"Plausible.Goals.create/3","doc":"Creates a Goal for a site.\n\nIf the created goal is a revenue goal, it sets site.updated_at to be\nrefreshed by the sites cache, as revenue goals are used during ingestion.","ref":"Plausible.Goals.html#create/3"},{"type":"function","title":"Plausible.Goals.delete/2","doc":"If a goal belongs to funnel(s), we need to inspect their number of steps.\n\nIf it exceeds the minimum allowed (defined via `Plausible.Funnel.min_steps/0`),\nthe funnel will be reduced (i.e. a step associated with the goal to be deleted\nis removed), so that the minimum number of steps is preserved. This is done\nimplicitly, by postgres, as per on_delete: :delete_all.\n\nOtherwise, for associated funnel(s) consisting of minimum number steps only,\nfunnel record(s) are removed completely along with the targeted goal.","ref":"Plausible.Goals.html#delete/2"},{"type":"function","title":"Plausible.Goals.find_or_create/2","doc":"","ref":"Plausible.Goals.html#find_or_create/2"},{"type":"function","title":"Plausible.Goals.for_site/2","doc":"","ref":"Plausible.Goals.html#for_site/2"},{"type":"function","title":"Plausible.Goals.for_site_query/2","doc":"","ref":"Plausible.Goals.html#for_site_query/2"},{"type":"module","title":"Plausible.Google.Api","doc":"","ref":"Plausible.Google.Api.html"},{"type":"function","title":"Plausible.Google.Api.fetch_and_persist/2","doc":"","ref":"Plausible.Google.Api.html#fetch_and_persist/2"},{"type":"function","title":"Plausible.Google.Api.fetch_stats/3","doc":"","ref":"Plausible.Google.Api.html#fetch_stats/3"},{"type":"function","title":"Plausible.Google.Api.fetch_verified_properties/1","doc":"","ref":"Plausible.Google.Api.html#fetch_verified_properties/1"},{"type":"function","title":"Plausible.Google.Api.get_view/2","doc":"Returns a single Google Analytics view if the user has access to it.","ref":"Plausible.Google.Api.html#get_view/2"},{"type":"function","title":"Plausible.Google.Api.import_analytics/4","doc":"Imports stats from a Google Analytics UA view to a Plausible site.\n\nThis function fetches Google Analytics reports in batches of 7500 per\nrequest. The batches are then passed to persist callback.\n\nRequests to Google Analytics can fail, and are retried at most\n5 times with an exponential backoff. Returns `:ok` when\nimporting has finished or `{:error, term()}` when a request to GA failed too\nmany times.\n\nUseful links:\n\n- [Feature documentation](https://plausible.io/docs/google-analytics-import)\n- [GA API reference](https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#ReportRequest)\n- [GA Dimensions reference](https://ga-dev-tools.web.app/dimensions-metrics-explorer)","ref":"Plausible.Google.Api.html#import_analytics/4"},{"type":"function","title":"Plausible.Google.Api.import_authorize_url/2","doc":"","ref":"Plausible.Google.Api.html#import_authorize_url/2"},{"type":"function","title":"Plausible.Google.Api.list_views/1","doc":"Lists Google Analytics views grouped by hostname.","ref":"Plausible.Google.Api.html#list_views/1"},{"type":"function","title":"Plausible.Google.Api.search_console_authorize_url/2","doc":"","ref":"Plausible.Google.Api.html#search_console_authorize_url/2"},{"type":"type","title":"Plausible.Google.Api.google_analytics_view/0","doc":"","ref":"Plausible.Google.Api.html#t:google_analytics_view/0"},{"type":"type","title":"Plausible.Google.Api.import_auth/0","doc":"","ref":"Plausible.Google.Api.html#t:import_auth/0"},{"type":"module","title":"Plausible.Google.Api.Mock","doc":"","ref":"Plausible.Google.Api.Mock.html"},{"type":"function","title":"Plausible.Google.Api.Mock.fetch_stats/3","doc":"","ref":"Plausible.Google.Api.Mock.html#fetch_stats/3"},{"type":"module","title":"Plausible.Google.HTTP","doc":"","ref":"Plausible.Google.HTTP.html"},{"type":"function","title":"Plausible.Google.HTTP.fetch_access_token/1","doc":"","ref":"Plausible.Google.HTTP.html#fetch_access_token/1"},{"type":"function","title":"Plausible.Google.HTTP.get_analytics_start_date/2","doc":"","ref":"Plausible.Google.HTTP.html#get_analytics_start_date/2"},{"type":"function","title":"Plausible.Google.HTTP.get_report/1","doc":"","ref":"Plausible.Google.HTTP.html#get_report/1"},{"type":"function","title":"Plausible.Google.HTTP.list_sites/1","doc":"","ref":"Plausible.Google.HTTP.html#list_sites/1"},{"type":"function","title":"Plausible.Google.HTTP.list_stats/5","doc":"","ref":"Plausible.Google.HTTP.html#list_stats/5"},{"type":"function","title":"Plausible.Google.HTTP.list_views_for_user/1","doc":"","ref":"Plausible.Google.HTTP.html#list_views_for_user/1"},{"type":"function","title":"Plausible.Google.HTTP.refresh_auth_token/1","doc":"","ref":"Plausible.Google.HTTP.html#refresh_auth_token/1"},{"type":"module","title":"Plausible.Google.ReportRequest","doc":"","ref":"Plausible.Google.ReportRequest.html"},{"type":"function","title":"Plausible.Google.ReportRequest.full_report/0","doc":"","ref":"Plausible.Google.ReportRequest.html#full_report/0"},{"type":"type","title":"Plausible.Google.ReportRequest.t/0","doc":"","ref":"Plausible.Google.ReportRequest.html#t:t/0"},{"type":"module","title":"Plausible.HTTPClient","doc":"HTTP Client built on top of Finch.\n\nBy default, request parameters are json-encoded.\n\nIf a raw binary value is supplied, no encoding is performed.\nIf x-www-form-urlencoded content-type is set in headers,\nURL encoding is invoked.","ref":"Plausible.HTTPClient.html"},{"type":"function","title":"Plausible.HTTPClient.get/3","doc":"Make a GET request","ref":"Plausible.HTTPClient.html#get/3"},{"type":"function","title":"Plausible.HTTPClient.impl/0","doc":"","ref":"Plausible.HTTPClient.html#impl/0"},{"type":"function","title":"Plausible.HTTPClient.post/4","doc":"Make a POST request","ref":"Plausible.HTTPClient.html#post/4"},{"type":"behaviour","title":"Plausible.HTTPClient.Interface","doc":"","ref":"Plausible.HTTPClient.Interface.html"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/1","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/1"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/2","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/2"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/3","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/3"},{"type":"callback","title":"Plausible.HTTPClient.Interface.post/3","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:post/3"},{"type":"callback","title":"Plausible.HTTPClient.Interface.post/4","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:post/4"},{"type":"type","title":"Plausible.HTTPClient.Interface.finch_request_opts/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:finch_request_opts/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.headers/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:headers/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.params/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:params/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.response/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:response/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.url/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:url/0"},{"type":"module","title":"Plausible.HTTPClient.Non200Error","doc":"","ref":"Plausible.HTTPClient.Non200Error.html"},{"type":"function","title":"Plausible.HTTPClient.Non200Error.new/1","doc":"","ref":"Plausible.HTTPClient.Non200Error.html#new/1"},{"type":"type","title":"Plausible.HTTPClient.Non200Error.t/0","doc":"","ref":"Plausible.HTTPClient.Non200Error.html#t:t/0"},{"type":"module","title":"Plausible.Helpers.JSON","doc":"Common helpers for JSON handling","ref":"Plausible.Helpers.JSON.html"},{"type":"function","title":"Plausible.Helpers.JSON.decode_or_fallback/1","doc":"","ref":"Plausible.Helpers.JSON.html#decode_or_fallback/1"},{"type":"module","title":"Plausible.ImportDeletionRepo","doc":"A dedicated repo for import related mutations","ref":"Plausible.ImportDeletionRepo.html"},{"type":"function","title":"Plausible.ImportDeletionRepo.aggregate/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#aggregate/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.aggregate/4","doc":"","ref":"Plausible.ImportDeletionRepo.html#aggregate/4"},{"type":"function","title":"Plausible.ImportDeletionRepo.all/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.checked_out?/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.checkout/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#checkout/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.child_spec/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#child_spec/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.config/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#config/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.default_options/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#default_options/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete_all/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete_all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.ImportDeletionRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.exists?/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#exists?/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.get/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get!/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_by/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_by/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_by!/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_by!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_all/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_all/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_or_update/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_or_update!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.ImportDeletionRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.load/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#load/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.one/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#one/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.one!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#one!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.preload/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#preload/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.prepare_query/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.ImportDeletionRepo.html#query/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.ImportDeletionRepo.html#query!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.reload/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#reload/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.reload!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#reload!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.start_link/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#start_link/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.stop/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#stop/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.stream/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#stream/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.ImportDeletionRepo.html#to_sql/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#update/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#update!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update_all/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#update_all/3"},{"type":"module","title":"Plausible.Imported","doc":"","ref":"Plausible.Imported.html"},{"type":"function","title":"Plausible.Imported.forget/1","doc":"","ref":"Plausible.Imported.html#forget/1"},{"type":"function","title":"Plausible.Imported.tables/0","doc":"","ref":"Plausible.Imported.html#tables/0"},{"type":"module","title":"Plausible.Imported.Buffer","doc":"This GenServer inserts records into Clickhouse `imported_*` tables. Multiple buffers are\nautomatically created for each table. Records are flushed when the table buffer reaches the\nmaximum size, defined by `max_buffer_size/0`.","ref":"Plausible.Imported.Buffer.html"},{"type":"function","title":"Plausible.Imported.Buffer.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Imported.Buffer.html#child_spec/1"},{"type":"function","title":"Plausible.Imported.Buffer.flush/2","doc":"Flushes all table buffers to Clickhouse.","ref":"Plausible.Imported.Buffer.html#flush/2"},{"type":"function","title":"Plausible.Imported.Buffer.handle_continue/2","doc":"","ref":"Plausible.Imported.Buffer.html#handle_continue/2"},{"type":"function","title":"Plausible.Imported.Buffer.init/1","doc":"","ref":"Plausible.Imported.Buffer.html#init/1"},{"type":"function","title":"Plausible.Imported.Buffer.insert_many/3","doc":"Puts the given records into the table buffer.","ref":"Plausible.Imported.Buffer.html#insert_many/3"},{"type":"function","title":"Plausible.Imported.Buffer.size/2","doc":"Returns the total count of items in the given table buffer.","ref":"Plausible.Imported.Buffer.html#size/2"},{"type":"function","title":"Plausible.Imported.Buffer.start_link/0","doc":"","ref":"Plausible.Imported.Buffer.html#start_link/0"},{"type":"function","title":"Plausible.Imported.Buffer.stop/1","doc":"","ref":"Plausible.Imported.Buffer.html#stop/1"},{"type":"module","title":"Plausible.Imported.ImportSources","doc":"Definitions of import sources.","ref":"Plausible.Imported.ImportSources.html"},{"type":"function","title":"Plausible.Imported.ImportSources.by_name/1","doc":"","ref":"Plausible.Imported.ImportSources.html#by_name/1"},{"type":"module","title":"Plausible.Imported.NoopImporter","doc":"Stub import implementation.","ref":"Plausible.Imported.NoopImporter.html"},{"type":"function","title":"Plausible.Imported.NoopImporter.create_job/2","doc":"","ref":"Plausible.Imported.NoopImporter.html#create_job/2"},{"type":"function","title":"Plausible.Imported.NoopImporter.import/2","doc":"","ref":"Plausible.Imported.NoopImporter.html#import/2"},{"type":"function","title":"Plausible.Imported.NoopImporter.name/0","doc":"","ref":"Plausible.Imported.NoopImporter.html#name/0"},{"type":"function","title":"Plausible.Imported.NoopImporter.parse_args/1","doc":"","ref":"Plausible.Imported.NoopImporter.html#parse_args/1"},{"type":"module","title":"Plausible.Imported.UniversalAnalytics","doc":"Import implementation for Universal Analytics.","ref":"Plausible.Imported.UniversalAnalytics.html"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.create_job/2","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#create_job/2"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.from_report/3","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#from_report/3"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.import/2","doc":"Imports stats from a Google Analytics UA view to a Plausible site.\n\nThis function fetches Google Analytics reports which are then passed in batches\nto Clickhouse by the `Plausible.Imported.Buffer` process.","ref":"Plausible.Imported.UniversalAnalytics.html#import/2"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.name/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#name/0"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.parse_args/1","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#parse_args/1"},{"type":"type","title":"Plausible.Imported.UniversalAnalytics.import_opt/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#t:import_opt/0"},{"type":"type","title":"Plausible.Imported.UniversalAnalytics.job_opt/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#t:job_opt/0"},{"type":"module","title":"Plausible.IngestRepo","doc":"Write-centric Clickhouse access interface","ref":"Plausible.IngestRepo.html"},{"type":"function","title":"Plausible.IngestRepo.aggregate/3","doc":"","ref":"Plausible.IngestRepo.html#aggregate/3"},{"type":"function","title":"Plausible.IngestRepo.aggregate/4","doc":"","ref":"Plausible.IngestRepo.html#aggregate/4"},{"type":"function","title":"Plausible.IngestRepo.all/2","doc":"","ref":"Plausible.IngestRepo.html#all/2"},{"type":"function","title":"Plausible.IngestRepo.checked_out?/0","doc":"","ref":"Plausible.IngestRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.IngestRepo.checkout/2","doc":"","ref":"Plausible.IngestRepo.html#checkout/2"},{"type":"function","title":"Plausible.IngestRepo.child_spec/1","doc":"","ref":"Plausible.IngestRepo.html#child_spec/1"},{"type":"function","title":"Plausible.IngestRepo.config/0","doc":"","ref":"Plausible.IngestRepo.html#config/0"},{"type":"function","title":"Plausible.IngestRepo.default_options/1","doc":"","ref":"Plausible.IngestRepo.html#default_options/1"},{"type":"function","title":"Plausible.IngestRepo.delete/2","doc":"","ref":"Plausible.IngestRepo.html#delete/2"},{"type":"function","title":"Plausible.IngestRepo.delete!/2","doc":"","ref":"Plausible.IngestRepo.html#delete!/2"},{"type":"function","title":"Plausible.IngestRepo.delete_all/2","doc":"","ref":"Plausible.IngestRepo.html#delete_all/2"},{"type":"function","title":"Plausible.IngestRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.IngestRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.IngestRepo.exists?/2","doc":"","ref":"Plausible.IngestRepo.html#exists?/2"},{"type":"function","title":"Plausible.IngestRepo.get/3","doc":"","ref":"Plausible.IngestRepo.html#get/3"},{"type":"function","title":"Plausible.IngestRepo.get!/3","doc":"","ref":"Plausible.IngestRepo.html#get!/3"},{"type":"function","title":"Plausible.IngestRepo.get_by/3","doc":"","ref":"Plausible.IngestRepo.html#get_by/3"},{"type":"function","title":"Plausible.IngestRepo.get_by!/3","doc":"","ref":"Plausible.IngestRepo.html#get_by!/3"},{"type":"function","title":"Plausible.IngestRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.IngestRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.IngestRepo.insert/2","doc":"","ref":"Plausible.IngestRepo.html#insert/2"},{"type":"function","title":"Plausible.IngestRepo.insert!/2","doc":"","ref":"Plausible.IngestRepo.html#insert!/2"},{"type":"function","title":"Plausible.IngestRepo.insert_all/3","doc":"","ref":"Plausible.IngestRepo.html#insert_all/3"},{"type":"function","title":"Plausible.IngestRepo.insert_or_update/2","doc":"","ref":"Plausible.IngestRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.IngestRepo.insert_or_update!/2","doc":"","ref":"Plausible.IngestRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.IngestRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.IngestRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.IngestRepo.load/2","doc":"","ref":"Plausible.IngestRepo.html#load/2"},{"type":"function","title":"Plausible.IngestRepo.one/2","doc":"","ref":"Plausible.IngestRepo.html#one/2"},{"type":"function","title":"Plausible.IngestRepo.one!/2","doc":"","ref":"Plausible.IngestRepo.html#one!/2"},{"type":"function","title":"Plausible.IngestRepo.preload/3","doc":"","ref":"Plausible.IngestRepo.html#preload/3"},{"type":"function","title":"Plausible.IngestRepo.prepare_query/3","doc":"","ref":"Plausible.IngestRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.IngestRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.IngestRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.IngestRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.IngestRepo.html#query/3"},{"type":"function","title":"Plausible.IngestRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.IngestRepo.html#query!/3"},{"type":"function","title":"Plausible.IngestRepo.reload/2","doc":"","ref":"Plausible.IngestRepo.html#reload/2"},{"type":"function","title":"Plausible.IngestRepo.reload!/2","doc":"","ref":"Plausible.IngestRepo.html#reload!/2"},{"type":"function","title":"Plausible.IngestRepo.start_link/1","doc":"","ref":"Plausible.IngestRepo.html#start_link/1"},{"type":"function","title":"Plausible.IngestRepo.stop/1","doc":"","ref":"Plausible.IngestRepo.html#stop/1"},{"type":"function","title":"Plausible.IngestRepo.stream/2","doc":"","ref":"Plausible.IngestRepo.html#stream/2"},{"type":"function","title":"Plausible.IngestRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.IngestRepo.html#to_sql/2"},{"type":"function","title":"Plausible.IngestRepo.update/2","doc":"","ref":"Plausible.IngestRepo.html#update/2"},{"type":"function","title":"Plausible.IngestRepo.update!/2","doc":"","ref":"Plausible.IngestRepo.html#update!/2"},{"type":"function","title":"Plausible.IngestRepo.update_all/3","doc":"","ref":"Plausible.IngestRepo.html#update_all/3"},{"type":"module","title":"Plausible.Ingestion.Counters","doc":"This is instrumentation necessary for keeping track of per-domain\ninternal metrics. Due to metric labels cardinality (domain x metric_name),\nthese statistics are not suitable for prometheus/grafana exposure,\nhence an internal storage is used.\n\nThe module installs `Counters.TelemetryHandler` and periodically\nflushes the internal counter aggregates via `Counters.Buffer` interface.\n\nThe underlying database schema is running `SummingMergeTree` engine.\nTo take advantage of automatic roll-ups it provides, upon dispatching the\nbuffered records to Clickhouse this module transforms each `event_timebucket`\naggregate into a 1-minute resolution.\n\nClickhouse connection is set to insert counters asynchronously every time\na pool checkout is made. Those properties are reverted once the insert is done\n(or naturally, if the connection crashes).","ref":"Plausible.Ingestion.Counters.html"},{"type":"function","title":"Plausible.Ingestion.Counters.child_spec/1","doc":"","ref":"Plausible.Ingestion.Counters.html#child_spec/1"},{"type":"function","title":"Plausible.Ingestion.Counters.enabled?/0","doc":"","ref":"Plausible.Ingestion.Counters.html#enabled?/0"},{"type":"function","title":"Plausible.Ingestion.Counters.stop/1","doc":"","ref":"Plausible.Ingestion.Counters.html#stop/1"},{"type":"module","title":"Plausible.Ingestion.Counters.Buffer","doc":"A buffer aggregating counters for internal metrics, within 10 seconds time buckets.\n\nSee `Plausible.Ingestion.Counters` for integration.\n\nFlushing is by default possible only once the 10s bucket is complete\n(its window has moved). This is to avoid race conditions \nwhen clearing up the buffer on dequeue - because there is no atomic \"get and delete\",\nand items are buffered concurrently, there is a gap between get and delete\nin which items written may disappear otherwise.\n\n`aggregate_bucket_fn` and `flush_boundary_fn` control that semantics and\nare configurable only for test purposes.","ref":"Plausible.Ingestion.Counters.Buffer.html"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.aggregate/4","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#aggregate/4"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.bucket_10s/1","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#bucket_10s/1"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.flush/2","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#flush/2"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.new/2","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#new/2"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.previous_10s/1","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#previous_10s/1"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.bucket_fn_opt/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:bucket_fn_opt/0"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.t/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:t/0"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.unix_timestamp/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:unix_timestamp/0"},{"type":"module","title":"Plausible.Ingestion.Counters.Record","doc":"Clickhouse schema for storing ingest counter metrics","ref":"Plausible.Ingestion.Counters.Record.html"},{"type":"type","title":"Plausible.Ingestion.Counters.Record.t/0","doc":"","ref":"Plausible.Ingestion.Counters.Record.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Counters.TelemetryHandler","doc":"Subscribes to telemetry events emitted by `Plausible.Ingestion.Event`.\nEvery time a request derived event is either dispatched to clickhouse or dropped,\na telemetry event is emitted respectively. That event is captured here,\nits metadata is extracted and sent for internal stats aggregation via\n`Counters.Buffer` interface.","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html"},{"type":"function","title":"Plausible.Ingestion.Counters.TelemetryHandler.handle_event/4","doc":"","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html#handle_event/4"},{"type":"function","title":"Plausible.Ingestion.Counters.TelemetryHandler.install/1","doc":"","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html#install/1"},{"type":"module","title":"Plausible.Ingestion.Event","doc":"This module exposes the `build_and_buffer/1` function capable of\nturning %Plausible.Ingestion.Request{} into a series of events that in turn\nare uniformly either buffered in batches (to Clickhouse) or dropped\n(e.g. due to spam blocklist) from the processing pipeline.","ref":"Plausible.Ingestion.Event.html"},{"type":"function","title":"Plausible.Ingestion.Event.build_and_buffer/1","doc":"","ref":"Plausible.Ingestion.Event.html#build_and_buffer/1"},{"type":"function","title":"Plausible.Ingestion.Event.emit_telemetry_buffered/1","doc":"","ref":"Plausible.Ingestion.Event.html#emit_telemetry_buffered/1"},{"type":"function","title":"Plausible.Ingestion.Event.emit_telemetry_dropped/2","doc":"","ref":"Plausible.Ingestion.Event.html#emit_telemetry_dropped/2"},{"type":"function","title":"Plausible.Ingestion.Event.telemetry_event_buffered/0","doc":"","ref":"Plausible.Ingestion.Event.html#telemetry_event_buffered/0"},{"type":"function","title":"Plausible.Ingestion.Event.telemetry_event_dropped/0","doc":"","ref":"Plausible.Ingestion.Event.html#telemetry_event_dropped/0"},{"type":"type","title":"Plausible.Ingestion.Event.drop_reason/0","doc":"","ref":"Plausible.Ingestion.Event.html#t:drop_reason/0"},{"type":"type","title":"Plausible.Ingestion.Event.t/0","doc":"","ref":"Plausible.Ingestion.Event.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Event.Revenue","doc":"Revenue specific functions for the ingestion scope","ref":"Plausible.Ingestion.Event.Revenue.html"},{"type":"function","title":"Plausible.Ingestion.Event.Revenue.get_revenue_attrs/1","doc":"","ref":"Plausible.Ingestion.Event.Revenue.html#get_revenue_attrs/1"},{"type":"module","title":"Plausible.Ingestion.Request","doc":"The %Plausible.Ingestion.Request{} struct stores all needed fields\nto create an event downstream. Pre-eliminary validation is made\nto detect user errors early.","ref":"Plausible.Ingestion.Request.html"},{"type":"function","title":"Plausible.Ingestion.Request.build/2","doc":"Builds and initially validates %Plausible.Ingestion.Request{} struct from %Plug.Conn{}.","ref":"Plausible.Ingestion.Request.html#build/2"},{"type":"function","title":"Plausible.Ingestion.Request.sanitize_hostname/1","doc":"Removes the \"www\" part of a hostname.","ref":"Plausible.Ingestion.Request.html#sanitize_hostname/1"},{"type":"type","title":"Plausible.Ingestion.Request.t/0","doc":"","ref":"Plausible.Ingestion.Request.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Request.Revenue","doc":"Revenue specific functions for the ingestion scope","ref":"Plausible.Ingestion.Request.Revenue.html"},{"type":"function","title":"Plausible.Ingestion.Request.Revenue.put_revenue_source/2","doc":"","ref":"Plausible.Ingestion.Request.Revenue.html#put_revenue_source/2"},{"type":"module","title":"Plausible.Mailer","doc":"","ref":"Plausible.Mailer.html"},{"type":"function","title":"Plausible.Mailer.deliver/1","doc":"","ref":"Plausible.Mailer.html#deliver/1"},{"type":"function","title":"Plausible.Mailer.deliver_later/2","doc":"","ref":"Plausible.Mailer.html#deliver_later/2"},{"type":"function","title":"Plausible.Mailer.deliver_later!/2","doc":"","ref":"Plausible.Mailer.html#deliver_later!/2"},{"type":"function","title":"Plausible.Mailer.deliver_now/2","doc":"","ref":"Plausible.Mailer.html#deliver_now/2"},{"type":"function","title":"Plausible.Mailer.deliver_now!/2","doc":"","ref":"Plausible.Mailer.html#deliver_now!/2"},{"type":"function","title":"Plausible.Mailer.send/1","doc":"","ref":"Plausible.Mailer.html#send/1"},{"type":"type","title":"Plausible.Mailer.result/0","doc":"","ref":"Plausible.Mailer.html#t:result/0"},{"type":"module","title":"Plausible.OpenTelemetry.Sampler","doc":"[Custom OpenTelemetry sampler](https://hexdocs.pm/opentelemetry/readme.html#samplers)\nimplementation that ignores particular traces to reduce noise. Ingestion\nHTTP requests and queries to Oban tables are ignored, for example.\n\nFor non-ignored traces, implements trace ID ratio-based sampling following the method\nfrom [built-in sampler](https://github.com/open-telemetry/opentelemetry-erlang/blob/main/apps/opentelemetry/src/otel_sampler_trace_id_ratio_based.erl).","ref":"Plausible.OpenTelemetry.Sampler.html"},{"type":"module","title":"Plausible.PaddleApi.Mock","doc":"","ref":"Plausible.PaddleApi.Mock.html"},{"type":"function","title":"Plausible.PaddleApi.Mock.fetch_prices/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#fetch_prices/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.get_invoices/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#get_invoices/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.get_subscription/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#get_subscription/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.update_subscription/2","doc":"","ref":"Plausible.PaddleApi.Mock.html#update_subscription/2"},{"type":"function","title":"Plausible.PaddleApi.Mock.update_subscription_preview/2","doc":"","ref":"Plausible.PaddleApi.Mock.html#update_subscription_preview/2"},{"type":"module","title":"Plausible.Pagination","doc":"Cursor-based pagination.","ref":"Plausible.Pagination.html"},{"type":"function","title":"Plausible.Pagination.paginate/4","doc":"","ref":"Plausible.Pagination.html#paginate/4"},{"type":"module","title":"Plausible.Plugins.API.CustomProps","doc":"Plugins API context module for Custom Props.\nAll high level Custom Props operations should be implemented here.","ref":"Plausible.Plugins.API.CustomProps.html"},{"type":"function","title":"Plausible.Plugins.API.CustomProps.disable/2","doc":"","ref":"Plausible.Plugins.API.CustomProps.html#disable/2"},{"type":"function","title":"Plausible.Plugins.API.CustomProps.enable/2","doc":"","ref":"Plausible.Plugins.API.CustomProps.html#enable/2"},{"type":"module","title":"Plausible.Plugins.API.Goals","doc":"Plugins API context module for Goals.\nAll high level Goal operations should be implemented here.","ref":"Plausible.Plugins.API.Goals.html"},{"type":"function","title":"Plausible.Plugins.API.Goals.create/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#create/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.delete/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#delete/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.get/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#get/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.get_goals/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#get_goals/2"},{"type":"type","title":"Plausible.Plugins.API.Goals.create_request/0","doc":"","ref":"Plausible.Plugins.API.Goals.html#t:create_request/0"},{"type":"module","title":"Plausible.Plugins.API.SharedLinks","doc":"Plugins API context module for Shared Links.\nAll high level Shared Links operations should be implemented here.","ref":"Plausible.Plugins.API.SharedLinks.html"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get/2","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get/2"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get_or_create/3","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get_or_create/3"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get_shared_links/2","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get_shared_links/2"},{"type":"module","title":"Plausible.Plugins.API.Token","doc":"Ecto schema for Plugins API Tokens.\nTokens are stored hashed and require a description.\n\nTokens are considered secret, although the Plugins API\nby nature will expose very little, if any, destructive/insecure operations.\n\nThe raw token version is meant to be presented to the user upon creation.\nIt is prefixed with a plain text identifier allowing source scanning\nfor leaked secrets.","ref":"Plausible.Plugins.API.Token.html"},{"type":"function","title":"Plausible.Plugins.API.Token.generate/1","doc":"","ref":"Plausible.Plugins.API.Token.html#generate/1"},{"type":"function","title":"Plausible.Plugins.API.Token.hash/1","doc":"","ref":"Plausible.Plugins.API.Token.html#hash/1"},{"type":"function","title":"Plausible.Plugins.API.Token.insert_changeset/3","doc":"","ref":"Plausible.Plugins.API.Token.html#insert_changeset/3"},{"type":"function","title":"Plausible.Plugins.API.Token.last_used_humanize/1","doc":"","ref":"Plausible.Plugins.API.Token.html#last_used_humanize/1"},{"type":"function","title":"Plausible.Plugins.API.Token.prefix/0","doc":"Raw tokens are prefixed so that tools like\nhttps://docs.github.com/en/code-security/secret-scanning/about-secret-scanning\ncan scan repositories for accidental secret commits.","ref":"Plausible.Plugins.API.Token.html#prefix/0"},{"type":"type","title":"Plausible.Plugins.API.Token.t/0","doc":"","ref":"Plausible.Plugins.API.Token.html#t:t/0"},{"type":"module","title":"Plausible.Plugins.API.Tokens","doc":"Context module for Plugins API Tokens.\nExposes high-level operation for token-based authentication flows.","ref":"Plausible.Plugins.API.Tokens.html"},{"type":"function","title":"Plausible.Plugins.API.Tokens.any?/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#any?/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.create/3","doc":"","ref":"Plausible.Plugins.API.Tokens.html#create/3"},{"type":"function","title":"Plausible.Plugins.API.Tokens.delete/2","doc":"","ref":"Plausible.Plugins.API.Tokens.html#delete/2"},{"type":"function","title":"Plausible.Plugins.API.Tokens.find/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#find/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.list/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#list/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.update_last_seen/2","doc":"","ref":"Plausible.Plugins.API.Tokens.html#update_last_seen/2"},{"type":"module","title":"Plausible.PromEx","doc":"","ref":"Plausible.PromEx.html"},{"type":"function","title":"Plausible.PromEx.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.PromEx.html#child_spec/1"},{"type":"module","title":"Plausible.PromEx.Plugins.PlausibleMetrics","doc":"Custom PromEx plugin for instrumenting code within Plausible app.","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html"},{"type":"function","title":"Plausible.PromEx.Plugins.PlausibleMetrics.execute_cache_metrics/0","doc":"Add telemetry events for Cachex user agents and sessions","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html#execute_cache_metrics/0"},{"type":"function","title":"Plausible.PromEx.Plugins.PlausibleMetrics.execute_write_buffer_metrics/0","doc":"Add telemetry events for Session and Event write buffers","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html#execute_write_buffer_metrics/0"},{"type":"module","title":"Plausible.Props","doc":"Context module for handling custom event props.","ref":"Plausible.Props.html"},{"type":"function","title":"Plausible.Props.allow/2","doc":"Allows a prop key or a list of props keys to be included in ClickHouse\nqueries. Allowing prop keys does not affect ingestion, as we don't want any\ndata to be dropped or lost.","ref":"Plausible.Props.html#allow/2"},{"type":"function","title":"Plausible.Props.allow_changeset/2","doc":"","ref":"Plausible.Props.html#allow_changeset/2"},{"type":"function","title":"Plausible.Props.allow_existing_props/1","doc":"Allows the 300 most frequent props keys for a specific site over\nthe past 6 months.","ref":"Plausible.Props.html#allow_existing_props/1"},{"type":"function","title":"Plausible.Props.allowed_for/2","doc":"Returns the custom props allowed in queries for the given site. There are\ntwo factors deciding whether a custom property is allowed for a site.\n\n#","ref":"Plausible.Props.html#allowed_for/2"},{"type":"function","title":"1. Subscription plan including the props feature. - Plausible.Props.allowed_for/2","doc":"Internally used keys (i.e. `[\"url\", \"path\"]`) are always allowed,\neven for plans that don't include props. For any other props, access to the\nCustom Properties feature is required.\n\n#","ref":"Plausible.Props.html#allowed_for/2-1-subscription-plan-including-the-props-feature"},{"type":"function","title":"2. The site having an `allowed_event_props` list configured. - Plausible.Props.allowed_for/2","doc":"For customers with a configured `allowed_event_props` list, this function\nreturns that list (+ internally used keys). That helps to filter out garbage\nprops which people might not want to see in their dashboards.\n\nWith the `bypass_setup?` boolean option you can override the requirement of\nthe site having set up props in the `allowed_event_props` list. For example,\nthis is currently used for fetching allowed properties in Stats API queries\nin order to ensure the props feature access.\n\nSince `allowed_event_props` was added after the props feature had already\nbeen used for a while, there are sites with `allowed_event_props = nil`. For\nthose sites, all custom properties that exist in the database are allowed to\nbe queried.","ref":"Plausible.Props.html#allowed_for/2-2-the-site-having-an-allowed_event_props-list-configured"},{"type":"function","title":"Plausible.Props.configured?/1","doc":"Returns whether the site has configured custom props or not.","ref":"Plausible.Props.html#configured?/1"},{"type":"function","title":"Plausible.Props.disallow/2","doc":"Removes previously allowed prop key(s) from the allow list. This means this\nprop key won't be included in ClickHouse queries. This doesn't drop any\nClickHouse data, nor affects ingestion.","ref":"Plausible.Props.html#disallow/2"},{"type":"function","title":"Plausible.Props.ensure_prop_key_accessible/2","doc":"","ref":"Plausible.Props.html#ensure_prop_key_accessible/2"},{"type":"function","title":"Plausible.Props.internal_keys/0","doc":"Lists prop keys used internally.\n\nThese props should be allowed by default, and should not be displayed in the\nprops settings page. For example, `url` is a special prop key used for file\ndownloads and outbound links. It doesn't make sense to remove this prop key\nfrom the allow list, or to suggest users to add this prop key.","ref":"Plausible.Props.html#internal_keys/0"},{"type":"function","title":"Plausible.Props.max_prop_key_length/0","doc":"","ref":"Plausible.Props.html#max_prop_key_length/0"},{"type":"function","title":"Plausible.Props.max_prop_value_length/0","doc":"","ref":"Plausible.Props.html#max_prop_value_length/0"},{"type":"function","title":"Plausible.Props.max_props/0","doc":"","ref":"Plausible.Props.html#max_props/0"},{"type":"function","title":"Plausible.Props.suggest_keys_to_allow/2","doc":"Queries the events table to fetch the 300 most frequent prop keys\nfor a specific site over the past 6 months, excluding keys that are already\nallowed.","ref":"Plausible.Props.html#suggest_keys_to_allow/2"},{"type":"type","title":"Plausible.Props.prop/0","doc":"","ref":"Plausible.Props.html#t:prop/0"},{"type":"module","title":"Plausible.Purge","doc":"Deletes data from a site.\n\nStats are stored on Clickhouse, and unlike other databases data deletion is\ndone asynchronously.\n\nAll import tables have MergeTree's deduplication mechanism _disabled_ by setting\n`replicated_deduplication_window` from default 100 to 0. When enabled, every insert\ninto a given table is compared against hashes of 100 previous inserts (as complete\nparts, not concrete rows) and ignored when match is found. The prupose of that\nmechanism is making inserts of exact same batches idempotent when retrying them\nshortly after - for instance due to timeout, when the client can't easily tell if\nprevious insert succeeded or not. Deduplication, however, only considers inserts,\nnot mutations. Deletions do not affect stored hashes, so further inserts of parts\nthat were deleted will still be treated as duplicates. That's why this feature\nis disabled for import tables.\n\nAlthough deletions are asynchronous, the parts to delete are \"remembered\", so there's\nno risk of overlapping deletion causing problems with import following right after it.\n\nIMPORTANT: Deletion requires revision if/when import tables get moved to sharded CH\ncluster setup. Mutation queries, which have to be run with `ON CLUSTER` in such setup,\ndispatch independent queries across shards and those queries can start at different\ntimes. This in turn means risk of deletions corrupting data of follow-up inserts\nin some edge cases. Ideally, imported entries should be unique for a given import\n- an extra `import_id` column can be introduced, holding identifier. Last processed\nimport identifier should be stored with other site data and should be used for scoping\nimported stats queries. No longer used imports can then be safely removed fully\nasynchronously.\n\n- [Clickhouse `ALTER TABLE ... DELETE` Statement](https://clickhouse.com/docs/en/sql-reference/statements/alter/delete)\n- [Synchronicity of `ALTER` Queries](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries)","ref":"Plausible.Purge.html"},{"type":"function","title":"Plausible.Purge.delete_imported_stats!/1","doc":"Deletes imported stats from Google Analytics, and clears the\n`stats_start_date` field.","ref":"Plausible.Purge.html#delete_imported_stats!/1"},{"type":"function","title":"Plausible.Purge.delete_native_stats!/1","doc":"Move stats pointers so that no historical stats are available.","ref":"Plausible.Purge.html#delete_native_stats!/1"},{"type":"function","title":"Plausible.Purge.reset!/1","doc":"","ref":"Plausible.Purge.html#reset!/1"},{"type":"module","title":"Plausible.RateLimit","doc":"Thin wrapper around `:ets.update_counter/4` and a\nclean-up process to act as a rate limiter.","ref":"Plausible.RateLimit.html"},{"type":"function","title":"Plausible.RateLimit.check_rate/5","doc":"Checks the rate-limit for a key.","ref":"Plausible.RateLimit.html#check_rate/5"},{"type":"function","title":"Plausible.RateLimit.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.RateLimit.html#child_spec/1"},{"type":"function","title":"Plausible.RateLimit.start_link/1","doc":"Starts the process that creates and cleans the ETS table.\n\nAccepts the following options:\n - `GenServer.options()`\n - `:table` for the ETS table name, defaults to `Elixir.Plausible.RateLimit`\n - `:clean_period` for how often to perform garbage collection","ref":"Plausible.RateLimit.html#start_link/1"},{"type":"module","title":"Plausible.Release","doc":"","ref":"Plausible.Release.html"},{"type":"function","title":"Plausible.Release.configure_ref_inspector/0","doc":"","ref":"Plausible.Release.html#configure_ref_inspector/0"},{"type":"function","title":"Plausible.Release.configure_ua_inspector/0","doc":"","ref":"Plausible.Release.html#configure_ua_inspector/0"},{"type":"function","title":"Plausible.Release.createdb/0","doc":"","ref":"Plausible.Release.html#createdb/0"},{"type":"function","title":"Plausible.Release.dump_plans/0","doc":"","ref":"Plausible.Release.html#dump_plans/0"},{"type":"function","title":"Plausible.Release.migrate/0","doc":"","ref":"Plausible.Release.html#migrate/0"},{"type":"function","title":"Plausible.Release.pending_migrations/0","doc":"","ref":"Plausible.Release.html#pending_migrations/0"},{"type":"function","title":"Plausible.Release.rollback/0","doc":"","ref":"Plausible.Release.html#rollback/0"},{"type":"function","title":"Plausible.Release.seed/0","doc":"","ref":"Plausible.Release.html#seed/0"},{"type":"function","title":"Plausible.Release.should_be_first_launch?/0","doc":"","ref":"Plausible.Release.html#should_be_first_launch?/0"},{"type":"module","title":"Plausible.Repo","doc":"","ref":"Plausible.Repo.html"},{"type":"function","title":"Plausible.Repo.aggregate/3","doc":"","ref":"Plausible.Repo.html#aggregate/3"},{"type":"function","title":"Plausible.Repo.aggregate/4","doc":"","ref":"Plausible.Repo.html#aggregate/4"},{"type":"function","title":"Plausible.Repo.all/2","doc":"","ref":"Plausible.Repo.html#all/2"},{"type":"function","title":"Plausible.Repo.checked_out?/0","doc":"","ref":"Plausible.Repo.html#checked_out?/0"},{"type":"function","title":"Plausible.Repo.checkout/2","doc":"","ref":"Plausible.Repo.html#checkout/2"},{"type":"function","title":"Plausible.Repo.child_spec/1","doc":"","ref":"Plausible.Repo.html#child_spec/1"},{"type":"function","title":"Plausible.Repo.config/0","doc":"","ref":"Plausible.Repo.html#config/0"},{"type":"function","title":"Plausible.Repo.default_options/1","doc":"","ref":"Plausible.Repo.html#default_options/1"},{"type":"function","title":"Plausible.Repo.delete/2","doc":"","ref":"Plausible.Repo.html#delete/2"},{"type":"function","title":"Plausible.Repo.delete!/2","doc":"","ref":"Plausible.Repo.html#delete!/2"},{"type":"function","title":"Plausible.Repo.delete_all/2","doc":"","ref":"Plausible.Repo.html#delete_all/2"},{"type":"function","title":"Plausible.Repo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.Repo.html#disconnect_all/2"},{"type":"function","title":"Plausible.Repo.exists?/2","doc":"","ref":"Plausible.Repo.html#exists?/2"},{"type":"function","title":"Plausible.Repo.explain/3","doc":"A convenience function for SQL-based repositories that executes an EXPLAIN statement or similar\ndepending on the adapter to obtain statistics for the given query.\n\nSee `Ecto.Adapters.SQL.explain/4` for more information.","ref":"Plausible.Repo.html#explain/3"},{"type":"function","title":"Plausible.Repo.get/3","doc":"","ref":"Plausible.Repo.html#get/3"},{"type":"function","title":"Plausible.Repo.get!/3","doc":"","ref":"Plausible.Repo.html#get!/3"},{"type":"function","title":"Plausible.Repo.get_by/3","doc":"","ref":"Plausible.Repo.html#get_by/3"},{"type":"function","title":"Plausible.Repo.get_by!/3","doc":"","ref":"Plausible.Repo.html#get_by!/3"},{"type":"function","title":"Plausible.Repo.get_dynamic_repo/0","doc":"","ref":"Plausible.Repo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.Repo.in_transaction?/0","doc":"","ref":"Plausible.Repo.html#in_transaction?/0"},{"type":"function","title":"Plausible.Repo.insert/2","doc":"","ref":"Plausible.Repo.html#insert/2"},{"type":"function","title":"Plausible.Repo.insert!/2","doc":"","ref":"Plausible.Repo.html#insert!/2"},{"type":"function","title":"Plausible.Repo.insert_all/3","doc":"","ref":"Plausible.Repo.html#insert_all/3"},{"type":"function","title":"Plausible.Repo.insert_or_update/2","doc":"","ref":"Plausible.Repo.html#insert_or_update/2"},{"type":"function","title":"Plausible.Repo.insert_or_update!/2","doc":"","ref":"Plausible.Repo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.Repo.load/2","doc":"","ref":"Plausible.Repo.html#load/2"},{"type":"function","title":"Plausible.Repo.one/2","doc":"","ref":"Plausible.Repo.html#one/2"},{"type":"function","title":"Plausible.Repo.one!/2","doc":"","ref":"Plausible.Repo.html#one!/2"},{"type":"function","title":"Plausible.Repo.paginate/2","doc":"","ref":"Plausible.Repo.html#paginate/2"},{"type":"function","title":"Plausible.Repo.preload/3","doc":"","ref":"Plausible.Repo.html#preload/3"},{"type":"function","title":"Plausible.Repo.prepare_query/3","doc":"","ref":"Plausible.Repo.html#prepare_query/3"},{"type":"function","title":"Plausible.Repo.put_dynamic_repo/1","doc":"","ref":"Plausible.Repo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.Repo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.Repo.html#query/3"},{"type":"function","title":"Plausible.Repo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.Repo.html#query!/3"},{"type":"function","title":"Plausible.Repo.query_many/3","doc":"A convenience function for SQL-based repositories that executes the given multi-result query.\n\nSee `Ecto.Adapters.SQL.query_many/4` for more information.","ref":"Plausible.Repo.html#query_many/3"},{"type":"function","title":"Plausible.Repo.query_many!/3","doc":"A convenience function for SQL-based repositories that executes the given multi-result query.\n\nSee `Ecto.Adapters.SQL.query_many!/4` for more information.","ref":"Plausible.Repo.html#query_many!/3"},{"type":"function","title":"Plausible.Repo.reload/2","doc":"","ref":"Plausible.Repo.html#reload/2"},{"type":"function","title":"Plausible.Repo.reload!/2","doc":"","ref":"Plausible.Repo.html#reload!/2"},{"type":"function","title":"Plausible.Repo.rollback/1","doc":"","ref":"Plausible.Repo.html#rollback/1"},{"type":"function","title":"Plausible.Repo.scrivener_defaults/0","doc":"","ref":"Plausible.Repo.html#scrivener_defaults/0"},{"type":"function","title":"Plausible.Repo.start_link/1","doc":"","ref":"Plausible.Repo.html#start_link/1"},{"type":"function","title":"Plausible.Repo.stop/1","doc":"","ref":"Plausible.Repo.html#stop/1"},{"type":"function","title":"Plausible.Repo.stream/2","doc":"","ref":"Plausible.Repo.html#stream/2"},{"type":"function","title":"Plausible.Repo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.Repo.html#to_sql/2"},{"type":"function","title":"Plausible.Repo.transaction/2","doc":"","ref":"Plausible.Repo.html#transaction/2"},{"type":"function","title":"Plausible.Repo.update/2","doc":"","ref":"Plausible.Repo.html#update/2"},{"type":"function","title":"Plausible.Repo.update!/2","doc":"","ref":"Plausible.Repo.html#update!/2"},{"type":"function","title":"Plausible.Repo.update_all/3","doc":"","ref":"Plausible.Repo.html#update_all/3"},{"type":"module","title":"Plausible.Sentry.Client","doc":"","ref":"Plausible.Sentry.Client.html"},{"type":"function","title":"Plausible.Sentry.Client.child_spec/0","doc":"The Sentry.HTTPClient behaviour requires a child spec to be supplied.\nIn this case we don't want Sentry to manage our Finch instances, hence it's fed\nwith a dummy module for the sake of the contract.\n\nXXX: Submit a Sentry PR making the child spec callback optional.","ref":"Plausible.Sentry.Client.html#child_spec/0"},{"type":"function","title":"Plausible.Sentry.Client.post/3","doc":"","ref":"Plausible.Sentry.Client.html#post/3"},{"type":"module","title":"Plausible.SentryFilter","doc":"Sentry callbacks for filtering and grouping events","ref":"Plausible.SentryFilter.html"},{"type":"function","title":"Plausible.SentryFilter.before_send/1","doc":"","ref":"Plausible.SentryFilter.html#before_send/1"},{"type":"function","title":"Plausible.SentryFilter.exclude_exception?/2","doc":"","ref":"Plausible.SentryFilter.html#exclude_exception?/2"},{"type":"module","title":"Plausible.Session.CacheStore","doc":"","ref":"Plausible.Session.CacheStore.html"},{"type":"function","title":"Plausible.Session.CacheStore.on_event/3","doc":"","ref":"Plausible.Session.CacheStore.html#on_event/3"},{"type":"module","title":"Plausible.Session.Salts","doc":"","ref":"Plausible.Session.Salts.html"},{"type":"function","title":"Plausible.Session.Salts.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Session.Salts.html#child_spec/1"},{"type":"function","title":"Plausible.Session.Salts.fetch/0","doc":"","ref":"Plausible.Session.Salts.html#fetch/0"},{"type":"function","title":"Plausible.Session.Salts.rotate/0","doc":"","ref":"Plausible.Session.Salts.html#rotate/0"},{"type":"function","title":"Plausible.Session.Salts.start_link/1","doc":"","ref":"Plausible.Session.Salts.html#start_link/1"},{"type":"module","title":"Plausible.Site","doc":"Site schema","ref":"Plausible.Site.html"},{"type":"function","title":"Plausible.Site.changeset/2","doc":"","ref":"Plausible.Site.html#changeset/2"},{"type":"function","title":"Plausible.Site.crm_changeset/2","doc":"","ref":"Plausible.Site.html#crm_changeset/2"},{"type":"function","title":"Plausible.Site.import_failure/1","doc":"","ref":"Plausible.Site.html#import_failure/1"},{"type":"function","title":"Plausible.Site.import_success/1","doc":"","ref":"Plausible.Site.html#import_success/1"},{"type":"function","title":"Plausible.Site.local_start_date/1","doc":"Returns the date of the first recorded stat in the timezone configured by the user.\nThis function does 2 transformations:\n UTC %NaiveDateTime{} -> Local %DateTime{} -> Local %Date","ref":"Plausible.Site.html#local_start_date/1"},{"type":"function","title":"Examples - Plausible.Site.local_start_date/1","doc":"iex> Plausible.Site.local_start_date(%Plausible.Site{stats_start_date: nil})\n nil\n\n iex> utc_start = ~N[2022-09-28 00:00:00]\n iex> tz = \"Europe/Helsinki\"\n iex> site = %Plausible.Site{stats_start_date: utc_start, timezone: tz}\n iex> Plausible.Site.local_start_date(site)\n ~D[2022-09-28]\n\n iex> utc_start = ~N[2022-09-28 00:00:00]\n iex> tz = \"America/Los_Angeles\"\n iex> site = %Plausible.Site{stats_start_date: utc_start, timezone: tz}\n iex> Plausible.Site.local_start_date(site)\n ~D[2022-09-27]","ref":"Plausible.Site.html#local_start_date/1-examples"},{"type":"function","title":"Plausible.Site.make_private/1","doc":"","ref":"Plausible.Site.html#make_private/1"},{"type":"function","title":"Plausible.Site.make_public/1","doc":"","ref":"Plausible.Site.html#make_public/1"},{"type":"function","title":"Plausible.Site.new/1","doc":"","ref":"Plausible.Site.html#new/1"},{"type":"function","title":"Plausible.Site.remove_imported_data/1","doc":"","ref":"Plausible.Site.html#remove_imported_data/1"},{"type":"function","title":"Plausible.Site.set_imported_source/2","doc":"","ref":"Plausible.Site.html#set_imported_source/2"},{"type":"function","title":"Plausible.Site.set_native_stats_start_at/2","doc":"","ref":"Plausible.Site.html#set_native_stats_start_at/2"},{"type":"function","title":"Plausible.Site.set_stats_start_date/2","doc":"","ref":"Plausible.Site.html#set_stats_start_date/2"},{"type":"function","title":"Plausible.Site.start_import/5","doc":"","ref":"Plausible.Site.html#start_import/5"},{"type":"function","title":"Plausible.Site.tz_offset/2","doc":"","ref":"Plausible.Site.html#tz_offset/2"},{"type":"function","title":"Plausible.Site.update_changeset/3","doc":"","ref":"Plausible.Site.html#update_changeset/3"},{"type":"type","title":"Plausible.Site.t/0","doc":"","ref":"Plausible.Site.html#t:t/0"},{"type":"module","title":"Plausible.Site.Cache","doc":"The cache allows lookups by both `domain` and `domain_changed_from`\nfields - this is to allow traffic from sites whose domains changed within a certain\ngrace period (see: `Plausible.Site.Transfer`).\n\nTo differentiate cached Site structs from those retrieved directly from the\ndatabase, a virtual schema field `from_cache?: true` is set.\nThis indicates the `Plausible.Site` struct is incomplete in comparison to its\ndatabase counterpart -- to spare bandwidth and query execution time,\nonly selected database columns are retrieved and cached.\n\nThe `@cached_schema_fields` attribute defines the list of DB columns\nqueried on each cache refresh.\n\nAlso see tests for more comprehensive examples.","ref":"Plausible.Site.Cache.html"},{"type":"function","title":"Plausible.Site.Cache.child_spec/1","doc":"","ref":"Plausible.Site.Cache.html#child_spec/1"},{"type":"function","title":"Plausible.Site.Cache.get/2","doc":"","ref":"Plausible.Site.Cache.html#get/2"},{"type":"function","title":"Plausible.Site.Cache.get_site_id/2","doc":"","ref":"Plausible.Site.Cache.html#get_site_id/2"},{"type":"function","title":"Plausible.Site.Cache.hit_rate/1","doc":"","ref":"Plausible.Site.Cache.html#hit_rate/1"},{"type":"function","title":"Plausible.Site.Cache.merge_items/2","doc":"","ref":"Plausible.Site.Cache.html#merge_items/2"},{"type":"function","title":"Plausible.Site.Cache.ready?/1","doc":"Ensures the cache has non-zero size unless no items exist.\nUseful for orchestrating app startup to prevent the service\ngoing up asynchronously with an empty cache.","ref":"Plausible.Site.Cache.html#ready?/1"},{"type":"function","title":"Plausible.Site.Cache.refresh_all/1","doc":"","ref":"Plausible.Site.Cache.html#refresh_all/1"},{"type":"function","title":"Plausible.Site.Cache.refresh_updated_recently/1","doc":"","ref":"Plausible.Site.Cache.html#refresh_updated_recently/1"},{"type":"function","title":"Plausible.Site.Cache.size/1","doc":"","ref":"Plausible.Site.Cache.html#size/1"},{"type":"function","title":"Plausible.Site.Cache.telemetry_event_refresh/2","doc":"","ref":"Plausible.Site.Cache.html#telemetry_event_refresh/2"},{"type":"function","title":"Plausible.Site.Cache.touch_site!/2","doc":"","ref":"Plausible.Site.Cache.html#touch_site!/2"},{"type":"module","title":"Plausible.Site.Domain","doc":"Basic interface for domain changes.\n\nOnce `Plausible.DataMigration.NumericIDs` schema migration is ready, \ndomain change operation will be enabled, accessible to the users.\n\nWe will set a transition period of 72 hours\nduring which, both old and new domains, will be accepted as traffic\nidentifiers to the same site. \n\nA periodic worker will call the `expire/0` function to end it where applicable.\nSee: `Plausible.Workers.ExpireDomainChangeTransitions`.\n\nThe underlying changeset for domain change (see: `Plausible.Site`) relies\non database trigger installed via `Plausible.Repo.Migrations.AllowDomainChange`\nPostgres migration. The trigger checks if either `domain` or `domain_changed_from`\nexist to ensure unicity.","ref":"Plausible.Site.Domain.html"},{"type":"function","title":"Plausible.Site.Domain.change/3","doc":"","ref":"Plausible.Site.Domain.html#change/3"},{"type":"function","title":"Plausible.Site.Domain.expire_change_transitions/1","doc":"","ref":"Plausible.Site.Domain.html#expire_change_transitions/1"},{"type":"module","title":"Plausible.Site.GateKeeper","doc":"Thin wrapper around `Plausible.RateLimit` for gate keeping domain-specific events\nduring the ingestion phase. When the site is allowed, gate keeping\ncheck returns `:allow`, otherwise a `:deny` tagged tuple is returned\nwith one of the following policy markers:\n * `:not_found` (indicates site not found in cache)\n * `:block` (indicates disabled sites)\n * `:throttle` (indicates rate limiting)\n\nRate Limiting buckets are configured per site (externally via the CRM).\nSee: `Plausible.Site`\n\nTo look up each site's configuration, the RateLimiter fetches\na Site by domain using `Plausible.Cache` interface.\n\nThe module defines two policies outside the regular bucket inspection:\n * when the site is not found in cache: not_found\n * when the underlying rate limiting mechanism returns\n an internal error: :allow","ref":"Plausible.Site.GateKeeper.html"},{"type":"function","title":"Plausible.Site.GateKeeper.check/2","doc":"","ref":"Plausible.Site.GateKeeper.html#check/2"},{"type":"function","title":"Plausible.Site.GateKeeper.key/1","doc":"","ref":"Plausible.Site.GateKeeper.html#key/1"},{"type":"type","title":"Plausible.Site.GateKeeper.policy/0","doc":"","ref":"Plausible.Site.GateKeeper.html#t:policy/0"},{"type":"type","title":"Plausible.Site.GateKeeper.t/0","doc":"","ref":"Plausible.Site.GateKeeper.html#t:t/0"},{"type":"module","title":"Plausible.Site.GoogleAuth","doc":"","ref":"Plausible.Site.GoogleAuth.html"},{"type":"function","title":"Plausible.Site.GoogleAuth.changeset/2","doc":"","ref":"Plausible.Site.GoogleAuth.html#changeset/2"},{"type":"function","title":"Plausible.Site.GoogleAuth.set_property/2","doc":"","ref":"Plausible.Site.GoogleAuth.html#set_property/2"},{"type":"module","title":"Plausible.Site.ImportedData","doc":"Embedded schema for analytics imports","ref":"Plausible.Site.ImportedData.html"},{"type":"module","title":"Plausible.Site.Membership","doc":"","ref":"Plausible.Site.Membership.html"},{"type":"function","title":"Plausible.Site.Membership.new/2","doc":"","ref":"Plausible.Site.Membership.html#new/2"},{"type":"function","title":"Plausible.Site.Membership.set_role/2","doc":"","ref":"Plausible.Site.Membership.html#set_role/2"},{"type":"type","title":"Plausible.Site.Membership.role/0","doc":"","ref":"Plausible.Site.Membership.html#t:role/0"},{"type":"type","title":"Plausible.Site.Membership.t/0","doc":"","ref":"Plausible.Site.Membership.html#t:t/0"},{"type":"module","title":"Plausible.Site.Memberships","doc":"API for site memberships and invitations","ref":"Plausible.Site.Memberships.html"},{"type":"function","title":"Plausible.Site.Memberships.accept_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#accept_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.any?/1","doc":"","ref":"Plausible.Site.Memberships.html#any?/1"},{"type":"function","title":"Plausible.Site.Memberships.any_or_pending?/1","doc":"","ref":"Plausible.Site.Memberships.html#any_or_pending?/1"},{"type":"function","title":"Plausible.Site.Memberships.bulk_create_invitation/5","doc":"","ref":"Plausible.Site.Memberships.html#bulk_create_invitation/5"},{"type":"function","title":"Plausible.Site.Memberships.bulk_transfer_ownership_direct/2","doc":"","ref":"Plausible.Site.Memberships.html#bulk_transfer_ownership_direct/2"},{"type":"function","title":"Plausible.Site.Memberships.create_invitation/4","doc":"","ref":"Plausible.Site.Memberships.html#create_invitation/4"},{"type":"function","title":"Plausible.Site.Memberships.pending?/1","doc":"","ref":"Plausible.Site.Memberships.html#pending?/1"},{"type":"function","title":"Plausible.Site.Memberships.pending_ownerships?/1","doc":"","ref":"Plausible.Site.Memberships.html#pending_ownerships?/1"},{"type":"function","title":"Plausible.Site.Memberships.reject_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#reject_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.remove_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#remove_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.transfer_ownership/2","doc":"","ref":"Plausible.Site.Memberships.html#transfer_ownership/2"},{"type":"module","title":"Plausible.Site.Memberships.AcceptInvitation","doc":"Service for accepting invitations, including ownership transfers.\n\nAccepting invitation accounts for the fact that it's possible\nthat accepting user has an existing membership for the site and\nacts permissively to not unnecessarily disrupt the flow while\nalso maintaining integrity of site memberships. This also applies\nto cases where users update their email address between issuing\nthe invitation and accepting it.","ref":"Plausible.Site.Memberships.AcceptInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.AcceptInvitation.accept_invitation/2","doc":"","ref":"Plausible.Site.Memberships.AcceptInvitation.html#accept_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.AcceptInvitation.transfer_ownership/2","doc":"","ref":"Plausible.Site.Memberships.AcceptInvitation.html#transfer_ownership/2"},{"type":"module","title":"Plausible.Site.Memberships.CreateInvitation","doc":"Service for inviting new or existing users to a sites, including ownershhip\ntransfers.","ref":"Plausible.Site.Memberships.CreateInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.bulk_create_invitation/5","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#bulk_create_invitation/5"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.bulk_transfer_ownership_direct/2","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#bulk_transfer_ownership_direct/2"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.create_invitation/4","doc":"Invites a new team member to the given site. Returns a\n%Plausible.Auth.Invitation{} struct and sends the invitee an email to accept\nthis invitation.\n\nThe inviter must have enough permissions to invite the new team member,\notherwise this function returns `{:error, :forbidden}`.\n\nIf the new team member role is `:owner`, this function handles the invitation\nas an ownership transfer and requires the inviter to be the owner of the site.","ref":"Plausible.Site.Memberships.CreateInvitation.html#create_invitation/4"},{"type":"type","title":"Plausible.Site.Memberships.CreateInvitation.invite_error/0","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#t:invite_error/0"},{"type":"module","title":"Plausible.Site.Memberships.RejectInvitation","doc":"Service for rejecting invitations.","ref":"Plausible.Site.Memberships.RejectInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.RejectInvitation.reject_invitation/2","doc":"","ref":"Plausible.Site.Memberships.RejectInvitation.html#reject_invitation/2"},{"type":"module","title":"Plausible.Site.Memberships.RemoveInvitation","doc":"Service for removing invitations.","ref":"Plausible.Site.Memberships.RemoveInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.RemoveInvitation.remove_invitation/2","doc":"","ref":"Plausible.Site.Memberships.RemoveInvitation.html#remove_invitation/2"},{"type":"module","title":"Plausible.Site.MonthlyReport","doc":"","ref":"Plausible.Site.MonthlyReport.html"},{"type":"function","title":"Plausible.Site.MonthlyReport.add_recipient/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.MonthlyReport.changeset/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#changeset/2"},{"type":"function","title":"Plausible.Site.MonthlyReport.remove_recipient/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#remove_recipient/2"},{"type":"module","title":"Plausible.Site.Removal","doc":"A site deletion service stub.","ref":"Plausible.Site.Removal.html"},{"type":"function","title":"Plausible.Site.Removal.run/1","doc":"","ref":"Plausible.Site.Removal.html#run/1"},{"type":"module","title":"Plausible.Site.SharedLink","doc":"","ref":"Plausible.Site.SharedLink.html"},{"type":"function","title":"Plausible.Site.SharedLink.changeset/2","doc":"","ref":"Plausible.Site.SharedLink.html#changeset/2"},{"type":"type","title":"Plausible.Site.SharedLink.t/0","doc":"","ref":"Plausible.Site.SharedLink.html#t:t/0"},{"type":"module","title":"Plausible.Site.SpikeNotification","doc":"","ref":"Plausible.Site.SpikeNotification.html"},{"type":"function","title":"Plausible.Site.SpikeNotification.add_recipient/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.changeset/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#changeset/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.remove_recipient/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#remove_recipient/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.was_sent/1","doc":"","ref":"Plausible.Site.SpikeNotification.html#was_sent/1"},{"type":"module","title":"Plausible.Site.UserPreference","doc":"User-specific site preferences schema","ref":"Plausible.Site.UserPreference.html"},{"type":"function","title":"Plausible.Site.UserPreference.changeset/3","doc":"","ref":"Plausible.Site.UserPreference.html#changeset/3"},{"type":"macro","title":"Plausible.Site.UserPreference.options/0","doc":"","ref":"Plausible.Site.UserPreference.html#options/0"},{"type":"type","title":"Plausible.Site.UserPreference.t/0","doc":"","ref":"Plausible.Site.UserPreference.html#t:t/0"},{"type":"module","title":"Plausible.Site.WeeklyReport","doc":"","ref":"Plausible.Site.WeeklyReport.html"},{"type":"function","title":"Plausible.Site.WeeklyReport.add_recipient/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.WeeklyReport.changeset/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#changeset/2"},{"type":"function","title":"Plausible.Site.WeeklyReport.remove_recipient/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#remove_recipient/2"},{"type":"module","title":"Plausible.SiteAdmin","doc":"","ref":"Plausible.SiteAdmin.html"},{"type":"function","title":"Plausible.SiteAdmin.create_changeset/2","doc":"","ref":"Plausible.SiteAdmin.html#create_changeset/2"},{"type":"function","title":"Plausible.SiteAdmin.custom_index_query/3","doc":"","ref":"Plausible.SiteAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.SiteAdmin.form_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.get_struct_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#get_struct_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.index/1","doc":"","ref":"Plausible.SiteAdmin.html#index/1"},{"type":"function","title":"Plausible.SiteAdmin.list_actions/1","doc":"","ref":"Plausible.SiteAdmin.html#list_actions/1"},{"type":"function","title":"Plausible.SiteAdmin.ordering/1","doc":"","ref":"Plausible.SiteAdmin.html#ordering/1"},{"type":"function","title":"Plausible.SiteAdmin.search_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.update_changeset/2","doc":"","ref":"Plausible.SiteAdmin.html#update_changeset/2"},{"type":"module","title":"Plausible.Sites","doc":"Sites context functions.","ref":"Plausible.Sites.html"},{"type":"function","title":"Plausible.Sites.create/2","doc":"","ref":"Plausible.Sites.html#create/2"},{"type":"function","title":"Plausible.Sites.create_shared_link/3","doc":"","ref":"Plausible.Sites.html#create_shared_link/3"},{"type":"function","title":"Plausible.Sites.get_by_domain/1","doc":"","ref":"Plausible.Sites.html#get_by_domain/1"},{"type":"function","title":"Plausible.Sites.get_by_domain!/1","doc":"","ref":"Plausible.Sites.html#get_by_domain!/1"},{"type":"function","title":"Plausible.Sites.get_for_user/3","doc":"","ref":"Plausible.Sites.html#get_for_user/3"},{"type":"function","title":"Plausible.Sites.get_for_user!/3","doc":"","ref":"Plausible.Sites.html#get_for_user!/3"},{"type":"function","title":"Plausible.Sites.has_admin_access?/2","doc":"","ref":"Plausible.Sites.html#has_admin_access?/2"},{"type":"function","title":"Plausible.Sites.has_goals?/1","doc":"","ref":"Plausible.Sites.html#has_goals?/1"},{"type":"function","title":"Plausible.Sites.has_stats?/1","doc":"","ref":"Plausible.Sites.html#has_stats?/1"},{"type":"function","title":"Plausible.Sites.is_member?/2","doc":"","ref":"Plausible.Sites.html#is_member?/2"},{"type":"function","title":"Plausible.Sites.list/3","doc":"","ref":"Plausible.Sites.html#list/3"},{"type":"function","title":"Plausible.Sites.list_with_invitations/3","doc":"","ref":"Plausible.Sites.html#list_with_invitations/3"},{"type":"function","title":"Plausible.Sites.locked?/1","doc":"","ref":"Plausible.Sites.html#locked?/1"},{"type":"function","title":"Plausible.Sites.owned_site_ids/1","doc":"","ref":"Plausible.Sites.html#owned_site_ids/1"},{"type":"function","title":"Plausible.Sites.owned_sites_count/1","doc":"","ref":"Plausible.Sites.html#owned_sites_count/1"},{"type":"function","title":"Plausible.Sites.owned_sites_domains/1","doc":"","ref":"Plausible.Sites.html#owned_sites_domains/1"},{"type":"function","title":"Plausible.Sites.role/2","doc":"","ref":"Plausible.Sites.html#role/2"},{"type":"function","title":"Plausible.Sites.set_option/4","doc":"","ref":"Plausible.Sites.html#set_option/4"},{"type":"function","title":"Plausible.Sites.shared_link_url/2","doc":"","ref":"Plausible.Sites.html#shared_link_url/2"},{"type":"function","title":"Plausible.Sites.stats_start_date/1","doc":"Returns the date of the first event of the given site, or `nil` if the site\ndoes not have stats yet.\n\nIf this is the first time the function is called for the site, it queries\nClickhouse and saves the date in the sites table.","ref":"Plausible.Sites.html#stats_start_date/1"},{"type":"function","title":"Plausible.Sites.toggle_pin/2","doc":"","ref":"Plausible.Sites.html#toggle_pin/2"},{"type":"type","title":"Plausible.Sites.list_opt/0","doc":"","ref":"Plausible.Sites.html#t:list_opt/0"},{"type":"module","title":"Plausible.Stats","doc":"","ref":"Plausible.Stats.html"},{"type":"function","title":"Plausible.Stats.aggregate/3","doc":"","ref":"Plausible.Stats.html#aggregate/3"},{"type":"function","title":"Plausible.Stats.breakdown/5","doc":"","ref":"Plausible.Stats.html#breakdown/5"},{"type":"function","title":"Plausible.Stats.current_visitors/1","doc":"","ref":"Plausible.Stats.html#current_visitors/1"},{"type":"function","title":"Plausible.Stats.filter_suggestions/4","doc":"","ref":"Plausible.Stats.html#filter_suggestions/4"},{"type":"function","title":"Plausible.Stats.funnel/3","doc":"","ref":"Plausible.Stats.html#funnel/3"},{"type":"function","title":"Plausible.Stats.timeseries/3","doc":"","ref":"Plausible.Stats.html#timeseries/3"},{"type":"module","title":"Plausible.Stats.Aggregate","doc":"","ref":"Plausible.Stats.Aggregate.html"},{"type":"function","title":"Plausible.Stats.Aggregate.aggregate/3","doc":"","ref":"Plausible.Stats.Aggregate.html#aggregate/3"},{"type":"module","title":"Plausible.Stats.Base","doc":"","ref":"Plausible.Stats.Base.html"},{"type":"function","title":"Plausible.Stats.Base.apply_entry_prop_filter/3","doc":"","ref":"Plausible.Stats.Base.html#apply_entry_prop_filter/3"},{"type":"function","title":"Plausible.Stats.Base.base_event_query/2","doc":"","ref":"Plausible.Stats.Base.html#base_event_query/2"},{"type":"function","title":"Plausible.Stats.Base.dynamic_filter_condition/3","doc":"","ref":"Plausible.Stats.Base.html#dynamic_filter_condition/3"},{"type":"function","title":"Plausible.Stats.Base.filter_by_entry_props/2","doc":"","ref":"Plausible.Stats.Base.html#filter_by_entry_props/2"},{"type":"function","title":"Plausible.Stats.Base.filter_converted_sessions/3","doc":"","ref":"Plausible.Stats.Base.html#filter_converted_sessions/3"},{"type":"function","title":"Plausible.Stats.Base.page_regex/1","doc":"","ref":"Plausible.Stats.Base.html#page_regex/1"},{"type":"function","title":"Plausible.Stats.Base.query_events/2","doc":"","ref":"Plausible.Stats.Base.html#query_events/2"},{"type":"function","title":"Plausible.Stats.Base.query_sessions/2","doc":"","ref":"Plausible.Stats.Base.html#query_sessions/2"},{"type":"function","title":"Plausible.Stats.Base.select_event_metrics/2","doc":"","ref":"Plausible.Stats.Base.html#select_event_metrics/2"},{"type":"function","title":"Plausible.Stats.Base.select_session_metrics/3","doc":"","ref":"Plausible.Stats.Base.html#select_session_metrics/3"},{"type":"function","title":"Plausible.Stats.Base.utc_boundaries/2","doc":"","ref":"Plausible.Stats.Base.html#utc_boundaries/2"},{"type":"module","title":"Plausible.Stats.Breakdown","doc":"","ref":"Plausible.Stats.Breakdown.html"},{"type":"function","title":"Plausible.Stats.Breakdown.breakdown/6","doc":"","ref":"Plausible.Stats.Breakdown.html#breakdown/6"},{"type":"module","title":"Plausible.Stats.Clickhouse","doc":"","ref":"Plausible.Stats.Clickhouse.html"},{"type":"function","title":"Plausible.Stats.Clickhouse.current_visitors/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#current_visitors/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.empty_24h_visitors_hourly_intervals/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#empty_24h_visitors_hourly_intervals/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.has_pageviews?/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#has_pageviews?/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.imported_pageview_count/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#imported_pageview_count/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.last_24h_visitors_hourly_intervals/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#last_24h_visitors_hourly_intervals/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.pageview_start_date_local/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#pageview_start_date_local/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.top_sources/6","doc":"","ref":"Plausible.Stats.Clickhouse.html#top_sources/6"},{"type":"function","title":"Plausible.Stats.Clickhouse.usage_breakdown/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#usage_breakdown/2"},{"type":"module","title":"Plausible.Stats.Compare","doc":"","ref":"Plausible.Stats.Compare.html"},{"type":"function","title":"Plausible.Stats.Compare.calculate_change/3","doc":"","ref":"Plausible.Stats.Compare.html#calculate_change/3"},{"type":"function","title":"Plausible.Stats.Compare.percent_change/2","doc":"","ref":"Plausible.Stats.Compare.html#percent_change/2"},{"type":"module","title":"Plausible.Stats.Comparisons","doc":"This module provides functions for comparing query periods.\n\nIt allows you to compare a given period with a previous period or with the\nsame period from the previous year. For example, you can compare this month's\nmain graph with last month or with the same month from last year.","ref":"Plausible.Stats.Comparisons.html"},{"type":"function","title":"Plausible.Stats.Comparisons.compare/4","doc":"Generates a comparison query based on the source query and comparison mode.\n\nThe mode parameter specifies the type of comparison and can be one of the\nfollowing:\n\n * `\"previous_period\"` - shifts back the query by the same number of days the\n source query has.\n\n * `\"year_over_year\"` - shifts back the query by 1 year.\n\n * `\"custom\"` - compares the query using a custom date range. See options for\n more details.\n\nThe comparison query returned by the function has its end date restricted to\nthe current day. This can be overridden by the `now` option, described below.","ref":"Plausible.Stats.Comparisons.html#compare/4"},{"type":"function","title":"Options - Plausible.Stats.Comparisons.compare/4","doc":"* `:now` - a `NaiveDateTime` struct with the current date and time. This is\n optional and used for testing purposes.\n\n * `:from` - a ISO-8601 date string used when mode is `\"custom\"`.\n\n * `:to` - a ISO-8601 date string used when mode is `\"custom\"`. Must be\n after `from`.\n\n * `:match_day_of_week?` - determines whether the comparison query should be\n adjusted to match the day of the week of the source query. When this option\n is set to true, the comparison query is shifted to start on the same day of\n the week as the source query, rather than on the exact same date. For\n example, if the source query starts on Sunday, January 1st, 2023 and the\n `year_over_year` comparison query is configured to `match_day_of_week?`,\n it will be shifted to start on Sunday, January 2nd, 2022 instead of\n January 1st. Defaults to false.","ref":"Plausible.Stats.Comparisons.html#compare/4-options"},{"type":"type","title":"Plausible.Stats.Comparisons.mode/0","doc":"","ref":"Plausible.Stats.Comparisons.html#t:mode/0"},{"type":"module","title":"Plausible.Stats.CurrentVisitors","doc":"","ref":"Plausible.Stats.CurrentVisitors.html"},{"type":"function","title":"Plausible.Stats.CurrentVisitors.current_visitors/1","doc":"","ref":"Plausible.Stats.CurrentVisitors.html#current_visitors/1"},{"type":"module","title":"Plausible.Stats.CustomProps","doc":"Module for querying user defined 'custom properties'.","ref":"Plausible.Stats.CustomProps.html"},{"type":"function","title":"Plausible.Stats.CustomProps.fetch_prop_names/2","doc":"","ref":"Plausible.Stats.CustomProps.html#fetch_prop_names/2"},{"type":"function","title":"Plausible.Stats.CustomProps.maybe_allowed_props_only/2","doc":"","ref":"Plausible.Stats.CustomProps.html#maybe_allowed_props_only/2"},{"type":"module","title":"Plausible.Stats.EmailReport","doc":"This module exposes a `get/2` function that returns a map\nof stats needed for email reports. These stats include:\n\n* Total pageviews\n* Unique visitors\n* Bounce rate\n* A list of Top 5 sources (excluding \"Direct / None\")\n* A list of Top 5 pages\n\nwhere total pageviews, unique visitors, and bounce rate\nalso include the change compared to previous period.","ref":"Plausible.Stats.EmailReport.html"},{"type":"function","title":"Plausible.Stats.EmailReport.get/2","doc":"","ref":"Plausible.Stats.EmailReport.html#get/2"},{"type":"module","title":"Plausible.Stats.FilterSuggestions","doc":"","ref":"Plausible.Stats.FilterSuggestions.html"},{"type":"function","title":"Plausible.Stats.FilterSuggestions.filter_suggestions/4","doc":"","ref":"Plausible.Stats.FilterSuggestions.html#filter_suggestions/4"},{"type":"module","title":"Plausible.Stats.Filters","doc":"A module for parsing filters used in stat queries.","ref":"Plausible.Stats.Filters.html"},{"type":"function","title":"Plausible.Stats.Filters.event_props/0","doc":"","ref":"Plausible.Stats.Filters.html#event_props/0"},{"type":"function","title":"Plausible.Stats.Filters.parse/1","doc":"Parses different filter formats.\n\nDepending on the format and type of the `filters` argument, returns:\n\n * a decoded map, when `filters` is encoded JSON\n * a parsed filter map, when `filters` is a filter expression string\n * the same map, when `filters` is a map\n\nReturns an empty map when argument type is unexpected (e.g. `nil`).\n\n#","ref":"Plausible.Stats.Filters.html#parse/1"},{"type":"function","title":"Examples: - Plausible.Stats.Filters.parse/1","doc":"iex> Filters.parse(\"{\\\"page\\\":\\\"/blog/**\\\"}\")\n %{\"event:page\" => {:matches, \"/blog/**\"}}\n\n iex> Filters.parse(\"visit:browser!=Chrome\")\n %{\"visit:browser\" => {:is_not, \"Chrome\"}}\n\n iex> Filters.parse(nil)\n %{}","ref":"Plausible.Stats.Filters.html#parse/1-examples"},{"type":"function","title":"Plausible.Stats.Filters.visit_props/0","doc":"","ref":"Plausible.Stats.Filters.html#visit_props/0"},{"type":"module","title":"Plausible.Stats.Filters.Utils","doc":"Contains utility functions shared between `DashboardFilterParser`\nand `StatsAPIFilterParser`.","ref":"Plausible.Stats.Filters.Utils.html"},{"type":"function","title":"Plausible.Stats.Filters.Utils.list_expression?/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#list_expression?/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.parse_member_list/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#parse_member_list/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.remove_escape_chars/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#remove_escape_chars/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.unwrap_goal_value/1","doc":"Does the opposite to `wrap_goal_value`, turning the `{:page, path}`\nand `{:event, name}` tuples into strings. Similarly, when given a\nlist, maps all the list elements into strings with the same logic.","ref":"Plausible.Stats.Filters.Utils.html#unwrap_goal_value/1"},{"type":"function","title":"Examples - Plausible.Stats.Filters.Utils.unwrap_goal_value/1","doc":"iex> Plausible.Stats.Filters.Utils.unwrap_goal_value({:page, \"/register\"})\n \"Visit /register\"\n\n iex> Plausible.Stats.Filters.Utils.unwrap_goal_value({:event, \"Signup\"})\n \"Signup\"\n\n iex> Plausible.Stats.Filters.Utils.unwrap_goal_value([{:event, \"Signup\"}, {:page, \"/register\"}])\n [\"Signup\", \"Visit /register\"]","ref":"Plausible.Stats.Filters.Utils.html#unwrap_goal_value/1-examples"},{"type":"function","title":"Plausible.Stats.Filters.Utils.wildcard_expression?/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#wildcard_expression?/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.wrap_goal_value/1","doc":"Wraps the given goal filter into a tuple where the first element\nrepresents the goal type (i.e. `page` or `event`), and the second\nelement is either the page path or the event name.\n\nGiven a list of goal filter values, wraps all values based on the\nsame logic.","ref":"Plausible.Stats.Filters.Utils.html#wrap_goal_value/1"},{"type":"function","title":"Examples - Plausible.Stats.Filters.Utils.wrap_goal_value/1","doc":"iex> Plausible.Stats.Filters.Utils.wrap_goal_value(\"Visit /register\")\n {:page, \"/register\"}\n\n iex> Plausible.Stats.Filters.Utils.wrap_goal_value(\"Signup\")\n {:event, \"Signup\"}\n\n iex> Plausible.Stats.Filters.Utils.wrap_goal_value([\"Signup\", \"Visit /register\"])\n [{:event, \"Signup\"}, {:page, \"/register\"}]","ref":"Plausible.Stats.Filters.Utils.html#wrap_goal_value/1-examples"},{"type":"module","title":"Plausible.Stats.Fragments","doc":"","ref":"Plausible.Stats.Fragments.html"},{"type":"macro","title":"Plausible.Stats.Fragments.bounce_rate/0","doc":"","ref":"Plausible.Stats.Fragments.html#bounce_rate/0"},{"type":"macro","title":"Plausible.Stats.Fragments.coalesce_string/2","doc":"","ref":"Plausible.Stats.Fragments.html#coalesce_string/2"},{"type":"macro","title":"Plausible.Stats.Fragments.get_by_key/3","doc":"Returns value of a key (usually property) under `meta.value` array or similar.\n\nThis macro is used for operating on custom properties.\nCallsites should also check whether key exists first in SQL via `has_key` macro.","ref":"Plausible.Stats.Fragments.html#get_by_key/3"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.get_by_key/3","doc":"`get_by_key(e, :meta, \"some_property_name\")` expands to SQL `meta.value[indexOf(meta.key, \"some_property\")]`","ref":"Plausible.Stats.Fragments.html#get_by_key/3-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.has_key/3","doc":"Returns whether a key (usually property) exists under `meta.key` array or similar.\n\nThis macro is used for operating on custom properties.","ref":"Plausible.Stats.Fragments.html#has_key/3"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.has_key/3","doc":"`has_key(e, :meta, \"some_property_name\")` expands to SQL `has(meta.key, \"some_property_name\")`","ref":"Plausible.Stats.Fragments.html#has_key/3-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.sample_percent/0","doc":"","ref":"Plausible.Stats.Fragments.html#sample_percent/0"},{"type":"macro","title":"Plausible.Stats.Fragments.to_timezone/2","doc":"Converts time or date and time to the specified timezone.\n\nReference: https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions/#totimezone","ref":"Plausible.Stats.Fragments.html#to_timezone/2"},{"type":"macro","title":"Plausible.Stats.Fragments.total/0","doc":"","ref":"Plausible.Stats.Fragments.html#total/0"},{"type":"macro","title":"Plausible.Stats.Fragments.uniq/1","doc":"","ref":"Plausible.Stats.Fragments.html#uniq/1"},{"type":"macro","title":"Plausible.Stats.Fragments.visit_duration/0","doc":"","ref":"Plausible.Stats.Fragments.html#visit_duration/0"},{"type":"macro","title":"Plausible.Stats.Fragments.weekstart_not_before/2","doc":"Returns the weekstart for `date`. If the weekstart is before the `not_before`\nboundary, `not_before` is returned.","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/2"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.weekstart_not_before/2","doc":"In this pseudo-code example, the fragment returns the weekstart. The\n`not_before` boundary is set to the past Saturday, which is before the\nweekstart, therefore the cap does not apply.\n\n iex> this_wednesday = ~D[2022-11-09]\n ...> past_saturday = ~D[2022-11-05]\n ...> weekstart_not_before(this_wednesday, past_saturday)\n ~D[2022-11-07]\n\n\nIn this other example, the fragment returns Tuesday and not the weekstart.\nThe `not_before` boundary is set to Tuesday, which is past the weekstart,\ntherefore the cap applies.\n\n iex> this_wednesday = ~D[2022-11-09]\n ...> this_tuesday = ~D[2022-11-08]\n ...> weekstart_not_before(this_wednesday, this_tuesday)\n ~D[2022-11-08]","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/2-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.weekstart_not_before/3","doc":"Same as Plausible.Stats.Fragments.weekstart_not_before/2 but converts dates to\nthe specified timezone.","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/3"},{"type":"module","title":"Plausible.Stats.Funnel","doc":"Module responsible for funnel evaluation, i.e. building and executing\nClickHouse funnel query based on `Plausible.Funnel` definition.","ref":"Plausible.Stats.Funnel.html"},{"type":"function","title":"Plausible.Stats.Funnel.funnel/3","doc":"","ref":"Plausible.Stats.Funnel.html#funnel/3"},{"type":"module","title":"Plausible.Stats.Goal.Revenue","doc":"Revenue specific functions for the stats scope","ref":"Plausible.Stats.Goal.Revenue.html"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.average_revenue_query/1","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#average_revenue_query/1"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.cast_revenue_metrics_to_money/2","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#cast_revenue_metrics_to_money/2"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.get_revenue_tracking_currency/3","doc":"Returns the common currency for the goal filters in a query. If there are no\ngoal filters, multiple currencies or the site owner does not have access to\nrevenue goals, `nil` is returned and revenue metrics are dropped.\n\nAggregating revenue data works only for same currency goals. If the query is\nfiltered by goals with different currencies, for example, one USD and other\nEUR, revenue metrics are dropped.","ref":"Plausible.Stats.Goal.Revenue.html#get_revenue_tracking_currency/3"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.revenue_metrics/0","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#revenue_metrics/0"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.total_revenue_query/1","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#total_revenue_query/1"},{"type":"module","title":"Plausible.Stats.Imported","doc":"","ref":"Plausible.Stats.Imported.html"},{"type":"function","title":"Plausible.Stats.Imported.merge_imported/5","doc":"","ref":"Plausible.Stats.Imported.html#merge_imported/5"},{"type":"function","title":"Plausible.Stats.Imported.merge_imported_timeseries/4","doc":"","ref":"Plausible.Stats.Imported.html#merge_imported_timeseries/4"},{"type":"module","title":"Plausible.Stats.Interval","doc":"Collection of functions to work with intervals.\n\nThe interval of a query defines the granularity of the data. You can think of\nit as a `GROUP BY` clause. Possible values are `minute`, `hour`, `date`,\n`week`, and `month`.","ref":"Plausible.Stats.Interval.html"},{"type":"function","title":"Plausible.Stats.Interval.default_for_date_range/1","doc":"Returns the suggested interval for the given `Date.Range` struct.","ref":"Plausible.Stats.Interval.html#default_for_date_range/1"},{"type":"function","title":"Plausible.Stats.Interval.default_for_period/1","doc":"Returns the suggested interval for the given time period.","ref":"Plausible.Stats.Interval.html#default_for_period/1"},{"type":"function","title":"Plausible.Stats.Interval.list/0","doc":"","ref":"Plausible.Stats.Interval.html#list/0"},{"type":"function","title":"Plausible.Stats.Interval.valid?/1","doc":"","ref":"Plausible.Stats.Interval.html#valid?/1"},{"type":"function","title":"Plausible.Stats.Interval.valid_by_period/1","doc":"","ref":"Plausible.Stats.Interval.html#valid_by_period/1"},{"type":"function","title":"Plausible.Stats.Interval.valid_for_period?/3","doc":"Returns whether the given interval is valid for a time period.\n\nIntervals longer than periods are not supported, e.g. current month stats with\na month interval, or today stats with a week interval.\n\nThere are two dynamic states:\n* `custom` period is only applicable with `month` or `week` intervals,\n if the `opts[:from]` and `opts[:to]` range difference exceeds 12 months\n* `all` period's interval options depend on particular site's `stats_start_date`\n - daily interval is excluded if the all-time range exceeds 12 months","ref":"Plausible.Stats.Interval.html#valid_for_period?/3"},{"type":"type","title":"Plausible.Stats.Interval.opt/0","doc":"","ref":"Plausible.Stats.Interval.html#t:opt/0"},{"type":"type","title":"Plausible.Stats.Interval.opts/0","doc":"","ref":"Plausible.Stats.Interval.html#t:opts/0"},{"type":"type","title":"Plausible.Stats.Interval.t/0","doc":"","ref":"Plausible.Stats.Interval.html#t:t/0"},{"type":"module","title":"Plausible.Stats.Props","doc":"","ref":"Plausible.Stats.Props.html"},{"type":"function","title":"Plausible.Stats.Props.event_props/0","doc":"","ref":"Plausible.Stats.Props.html#event_props/0"},{"type":"function","title":"Plausible.Stats.Props.valid_prop?/1","doc":"","ref":"Plausible.Stats.Props.html#valid_prop?/1"},{"type":"module","title":"Plausible.Stats.Query","doc":"","ref":"Plausible.Stats.Query.html"},{"type":"function","title":"Plausible.Stats.Query.from/2","doc":"","ref":"Plausible.Stats.Query.html#from/2"},{"type":"function","title":"Plausible.Stats.Query.get_all_filters_by_prefix/2","doc":"","ref":"Plausible.Stats.Query.html#get_all_filters_by_prefix/2"},{"type":"function","title":"Plausible.Stats.Query.get_filter_by_prefix/2","doc":"","ref":"Plausible.Stats.Query.html#get_filter_by_prefix/2"},{"type":"function","title":"Plausible.Stats.Query.has_event_filters?/1","doc":"","ref":"Plausible.Stats.Query.html#has_event_filters?/1"},{"type":"function","title":"Plausible.Stats.Query.include_imported?/3","doc":"","ref":"Plausible.Stats.Query.html#include_imported?/3"},{"type":"function","title":"Plausible.Stats.Query.put_filter/3","doc":"","ref":"Plausible.Stats.Query.html#put_filter/3"},{"type":"function","title":"Plausible.Stats.Query.remove_event_filters/2","doc":"","ref":"Plausible.Stats.Query.html#remove_event_filters/2"},{"type":"function","title":"Plausible.Stats.Query.trace/2","doc":"","ref":"Plausible.Stats.Query.html#trace/2"},{"type":"type","title":"Plausible.Stats.Query.t/0","doc":"","ref":"Plausible.Stats.Query.html#t:t/0"},{"type":"module","title":"Plausible.Stats.Sampling","doc":"Sampling related functions","ref":"Plausible.Stats.Sampling.html"},{"type":"function","title":"Plausible.Stats.Sampling.add_query_hint/1","doc":"","ref":"Plausible.Stats.Sampling.html#add_query_hint/1"},{"type":"function","title":"Plausible.Stats.Sampling.add_query_hint/2","doc":"","ref":"Plausible.Stats.Sampling.html#add_query_hint/2"},{"type":"function","title":"Plausible.Stats.Sampling.put_threshold/2","doc":"","ref":"Plausible.Stats.Sampling.html#put_threshold/2"},{"type":"module","title":"Plausible.Stats.Timeseries","doc":"","ref":"Plausible.Stats.Timeseries.html"},{"type":"function","title":"Plausible.Stats.Timeseries.timeseries/3","doc":"","ref":"Plausible.Stats.Timeseries.html#timeseries/3"},{"type":"type","title":"Plausible.Stats.Timeseries.results/0","doc":"","ref":"Plausible.Stats.Timeseries.html#t:results/0"},{"type":"module","title":"Plausible.Stats.Util","doc":"Utilities for modifying stat results","ref":"Plausible.Stats.Util.html"},{"type":"function","title":"Plausible.Stats.Util.remove_internal_visits_metric/1","doc":"","ref":"Plausible.Stats.Util.html#remove_internal_visits_metric/1"},{"type":"function","title":"Plausible.Stats.Util.remove_internal_visits_metric/2","doc":"`__internal_visits` is fetched when querying bounce rate and visit duration, as it\nis needed to calculate these from imported data. This function removes that metric\nfrom all entries in the results list.","ref":"Plausible.Stats.Util.html#remove_internal_visits_metric/2"},{"type":"module","title":"Plausible.Test.Support.HTML","doc":"Floki wrappers to help make assertions about HTML/DOM structures","ref":"Plausible.Test.Support.HTML.html"},{"type":"function","title":"Plausible.Test.Support.HTML.class_of_element/2","doc":"","ref":"Plausible.Test.Support.HTML.html#class_of_element/2"},{"type":"function","title":"Plausible.Test.Support.HTML.element_exists?/2","doc":"","ref":"Plausible.Test.Support.HTML.html#element_exists?/2"},{"type":"function","title":"Plausible.Test.Support.HTML.find/2","doc":"","ref":"Plausible.Test.Support.HTML.html#find/2"},{"type":"function","title":"Plausible.Test.Support.HTML.form_exists?/2","doc":"","ref":"Plausible.Test.Support.HTML.html#form_exists?/2"},{"type":"function","title":"Plausible.Test.Support.HTML.name_of/1","doc":"","ref":"Plausible.Test.Support.HTML.html#name_of/1"},{"type":"function","title":"Plausible.Test.Support.HTML.submit_button/2","doc":"","ref":"Plausible.Test.Support.HTML.html#submit_button/2"},{"type":"function","title":"Plausible.Test.Support.HTML.text/1","doc":"","ref":"Plausible.Test.Support.HTML.html#text/1"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_attr/2","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_attr/2"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_attr/3","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_attr/3"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_element/2","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_element/2"},{"type":"module","title":"Plausible.Test.Support.HTTPMocker","doc":"Currently only supports post request, it's a drop-in replacement\nfor our exvcr usage that wasn't ever needed (e.g. we had no way to\nre-record the cassettes anyway).","ref":"Plausible.Test.Support.HTTPMocker.html"},{"type":"module","title":"Plausible.TestUtils","doc":"","ref":"Plausible.TestUtils.html"},{"type":"function","title":"Plausible.TestUtils.add_imported_data/1","doc":"","ref":"Plausible.TestUtils.html#add_imported_data/1"},{"type":"function","title":"Plausible.TestUtils.await_clickhouse_count/2","doc":"","ref":"Plausible.TestUtils.html#await_clickhouse_count/2"},{"type":"function","title":"Plausible.TestUtils.create_api_key/1","doc":"","ref":"Plausible.TestUtils.html#create_api_key/1"},{"type":"function","title":"Plausible.TestUtils.create_events/1","doc":"","ref":"Plausible.TestUtils.html#create_events/1"},{"type":"function","title":"Plausible.TestUtils.create_new_site/1","doc":"","ref":"Plausible.TestUtils.html#create_new_site/1"},{"type":"function","title":"Plausible.TestUtils.create_pageviews/1","doc":"","ref":"Plausible.TestUtils.html#create_pageviews/1"},{"type":"function","title":"Plausible.TestUtils.create_sessions/1","doc":"","ref":"Plausible.TestUtils.html#create_sessions/1"},{"type":"function","title":"Plausible.TestUtils.create_site/1","doc":"","ref":"Plausible.TestUtils.html#create_site/1"},{"type":"function","title":"Plausible.TestUtils.create_user/1","doc":"","ref":"Plausible.TestUtils.html#create_user/1"},{"type":"function","title":"Plausible.TestUtils.eventually/3","doc":"","ref":"Plausible.TestUtils.html#eventually/3"},{"type":"function","title":"Plausible.TestUtils.generate_usage_for/3","doc":"","ref":"Plausible.TestUtils.html#generate_usage_for/3"},{"type":"function","title":"Plausible.TestUtils.init_session/1","doc":"","ref":"Plausible.TestUtils.html#init_session/1"},{"type":"function","title":"Plausible.TestUtils.log_in/1","doc":"","ref":"Plausible.TestUtils.html#log_in/1"},{"type":"macro","title":"Plausible.TestUtils.patch_env/2","doc":"","ref":"Plausible.TestUtils.html#patch_env/2"},{"type":"function","title":"Plausible.TestUtils.populate_stats/1","doc":"","ref":"Plausible.TestUtils.html#populate_stats/1"},{"type":"function","title":"Plausible.TestUtils.populate_stats/2","doc":"","ref":"Plausible.TestUtils.html#populate_stats/2"},{"type":"function","title":"Plausible.TestUtils.random_ip/0","doc":"","ref":"Plausible.TestUtils.html#random_ip/0"},{"type":"function","title":"Plausible.TestUtils.relative_time/1","doc":"","ref":"Plausible.TestUtils.html#relative_time/1"},{"type":"macro","title":"Plausible.TestUtils.setup_patch_env/2","doc":"","ref":"Plausible.TestUtils.html#setup_patch_env/2"},{"type":"function","title":"Plausible.TestUtils.to_naive_truncate/1","doc":"","ref":"Plausible.TestUtils.html#to_naive_truncate/1"},{"type":"function","title":"Plausible.TestUtils.use_api_key/1","doc":"","ref":"Plausible.TestUtils.html#use_api_key/1"},{"type":"module","title":"Plausible.Themes","doc":"","ref":"Plausible.Themes.html"},{"type":"function","title":"Plausible.Themes.options/0","doc":"","ref":"Plausible.Themes.html#options/0"},{"type":"module","title":"Plausible.Timezones","doc":"","ref":"Plausible.Timezones.html"},{"type":"function","title":"Plausible.Timezones.options/1","doc":"","ref":"Plausible.Timezones.html#options/1"},{"type":"function","title":"Plausible.Timezones.to_date_in_timezone/2","doc":"","ref":"Plausible.Timezones.html#to_date_in_timezone/2"},{"type":"function","title":"Plausible.Timezones.to_utc_datetime/2","doc":"","ref":"Plausible.Timezones.html#to_utc_datetime/2"},{"type":"module","title":"Plausible.Users","doc":"User context","ref":"Plausible.Users.html"},{"type":"function","title":"Plausible.Users.accept_traffic_until/1","doc":"","ref":"Plausible.Users.html#accept_traffic_until/1"},{"type":"function","title":"Plausible.Users.allow_next_upgrade_override/1","doc":"","ref":"Plausible.Users.html#allow_next_upgrade_override/1"},{"type":"function","title":"Plausible.Users.has_email_code?/1","doc":"","ref":"Plausible.Users.html#has_email_code?/1"},{"type":"function","title":"Plausible.Users.maybe_reset_next_upgrade_override/1","doc":"","ref":"Plausible.Users.html#maybe_reset_next_upgrade_override/1"},{"type":"function","title":"Plausible.Users.on_trial?/1","doc":"","ref":"Plausible.Users.html#on_trial?/1"},{"type":"function","title":"Plausible.Users.trial_days_left/1","doc":"","ref":"Plausible.Users.html#trial_days_left/1"},{"type":"function","title":"Plausible.Users.update_accept_traffic_until/1","doc":"","ref":"Plausible.Users.html#update_accept_traffic_until/1"},{"type":"function","title":"Plausible.Users.with_subscription/1","doc":"","ref":"Plausible.Users.html#with_subscription/1"},{"type":"module","title":"Plausible.Workers.AcceptTrafficUntil","doc":"A worker meant to be run once a day that sends out e-mail notifications to site\nowners assuming:\n - their sites still receive traffic (i.e. have stats for yesterday)\n - `site.accept_traffic_until` is approaching either tomorrow or exactly in 7 days\n\nUsers having no sites or sites that receive no traffic, won't be notified.\nWe make a tiny effort here to make sure we send the same notification at most once a day.","ref":"Plausible.Workers.AcceptTrafficUntil.html"},{"type":"function","title":"Plausible.Workers.AcceptTrafficUntil.dry_run/1","doc":"","ref":"Plausible.Workers.AcceptTrafficUntil.html#dry_run/1"},{"type":"module","title":"Plausible.Workers.CheckUsage","doc":"","ref":"Plausible.Workers.CheckUsage.html"},{"type":"function","title":"Plausible.Workers.CheckUsage.check_enterprise_subscriber/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#check_enterprise_subscriber/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.day_of_month/1","doc":"","ref":"Plausible.Workers.CheckUsage.html#day_of_month/1"},{"type":"function","title":"Plausible.Workers.CheckUsage.exceeds_last_two_usage_cycles?/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#exceeds_last_two_usage_cycles?/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.last_day_of_month/1","doc":"","ref":"Plausible.Workers.CheckUsage.html#last_day_of_month/1"},{"type":"macro","title":"Plausible.Workers.CheckUsage.least/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#least/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.yesterday/0","doc":"","ref":"Plausible.Workers.CheckUsage.html#yesterday/0"},{"type":"module","title":"Plausible.Workers.CleanInvitations","doc":"","ref":"Plausible.Workers.CleanInvitations.html"},{"type":"module","title":"Plausible.Workers.ExpireDomainChangeTransitions","doc":"Periodic worker that expires domain change transition period.\nOld domains are frozen for a given time, so users can still access them\nbefore redeploying their scripts and integrations.","ref":"Plausible.Workers.ExpireDomainChangeTransitions.html"},{"type":"module","title":"Plausible.Workers.ImportAnalytics","doc":"Worker for running analytics import jobs.","ref":"Plausible.Workers.ImportAnalytics.html"},{"type":"function","title":"Plausible.Workers.ImportAnalytics.import_failed/2","doc":"","ref":"Plausible.Workers.ImportAnalytics.html#import_failed/2"},{"type":"function","title":"Plausible.Workers.ImportAnalytics.import_success/2","doc":"","ref":"Plausible.Workers.ImportAnalytics.html#import_success/2"},{"type":"module","title":"Plausible.Workers.LockSites","doc":"","ref":"Plausible.Workers.LockSites.html"},{"type":"module","title":"Plausible.Workers.NotifyAnnualRenewal","doc":"","ref":"Plausible.Workers.NotifyAnnualRenewal.html"},{"type":"function","title":"Plausible.Workers.NotifyAnnualRenewal.perform/1","doc":"Sends a notification at most 7 days and at least 1 day before the renewal of an annual subscription","ref":"Plausible.Workers.NotifyAnnualRenewal.html#perform/1"},{"type":"module","title":"Plausible.Workers.RotateSalts","doc":"","ref":"Plausible.Workers.RotateSalts.html"},{"type":"module","title":"Plausible.Workers.ScheduleEmailReports","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.first_of_month_9am/1","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html#first_of_month_9am/1"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.monday_9am/1","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html#monday_9am/1"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.perform/1","doc":"Email reports should be sent on Monday at 9am according to the timezone\nof a site. This job runs every day at midnight to ensure that all sites\nhave a scheduled job for email reports.","ref":"Plausible.Workers.ScheduleEmailReports.html#perform/1"},{"type":"module","title":"Plausible.Workers.SendCheckStatsEmails","doc":"","ref":"Plausible.Workers.SendCheckStatsEmails.html"},{"type":"module","title":"Plausible.Workers.SendEmailReport","doc":"","ref":"Plausible.Workers.SendEmailReport.html"},{"type":"module","title":"Plausible.Workers.SendSiteSetupEmails","doc":"","ref":"Plausible.Workers.SendSiteSetupEmails.html"},{"type":"module","title":"Plausible.Workers.SendTrialNotifications","doc":"","ref":"Plausible.Workers.SendTrialNotifications.html"},{"type":"module","title":"Plausible.Workers.SpikeNotifier","doc":"","ref":"Plausible.Workers.SpikeNotifier.html"},{"type":"module","title":"PlausibleWeb","doc":"","ref":"PlausibleWeb.html"},{"type":"macro","title":"PlausibleWeb.__using__/1","doc":"When used, dispatch to the appropriate controller/view/etc.","ref":"PlausibleWeb.html#__using__/1"},{"type":"function","title":"PlausibleWeb.channel/0","doc":"","ref":"PlausibleWeb.html#channel/0"},{"type":"function","title":"PlausibleWeb.controller/0","doc":"","ref":"PlausibleWeb.html#controller/0"},{"type":"function","title":"PlausibleWeb.live_view/1","doc":"","ref":"PlausibleWeb.html#live_view/1"},{"type":"function","title":"PlausibleWeb.open_api_schema/0","doc":"","ref":"PlausibleWeb.html#open_api_schema/0"},{"type":"function","title":"PlausibleWeb.plugins_api_controller/0","doc":"","ref":"PlausibleWeb.html#plugins_api_controller/0"},{"type":"function","title":"PlausibleWeb.plugins_api_view/0","doc":"","ref":"PlausibleWeb.html#plugins_api_view/0"},{"type":"function","title":"PlausibleWeb.router/0","doc":"","ref":"PlausibleWeb.html#router/0"},{"type":"function","title":"PlausibleWeb.view/0","doc":"","ref":"PlausibleWeb.html#view/0"},{"type":"module","title":"PlausibleWeb.AdminController","doc":"","ref":"PlausibleWeb.AdminController.html"},{"type":"function","title":"PlausibleWeb.AdminController.usage/2","doc":"","ref":"PlausibleWeb.AdminController.html#usage/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalController","doc":"","ref":"PlausibleWeb.Api.ExternalController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.error/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#error/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.event/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#event/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.health/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#health/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.info/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#info/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalSitesController","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.create_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#create_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.delete_goal/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#delete_goal/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.delete_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#delete_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.find_or_create_goal/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#find_or_create_goal/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.find_or_create_shared_link/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#find_or_create_shared_link/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.get_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#get_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.update_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#update_site/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalStatsController","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.aggregate/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#aggregate/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.breakdown/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#breakdown/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.realtime_visitors/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#realtime_visitors/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.timeseries/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#timeseries/2"},{"type":"module","title":"PlausibleWeb.Api.Helpers","doc":"","ref":"PlausibleWeb.Api.Helpers.html"},{"type":"function","title":"PlausibleWeb.Api.Helpers.bad_request/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#bad_request/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.not_found/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#not_found/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.payment_required/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#payment_required/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.too_many_requests/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#too_many_requests/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.unauthorized/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#unauthorized/2"},{"type":"module","title":"PlausibleWeb.Api.InternalController","doc":"","ref":"PlausibleWeb.Api.InternalController.html"},{"type":"function","title":"PlausibleWeb.Api.InternalController.disable_feature/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#disable_feature/2"},{"type":"function","title":"PlausibleWeb.Api.InternalController.domain_status/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#domain_status/2"},{"type":"function","title":"PlausibleWeb.Api.InternalController.sites/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#sites/2"},{"type":"module","title":"PlausibleWeb.Api.PaddleController","doc":"","ref":"PlausibleWeb.Api.PaddleController.html"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.verified_signature?/1","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#verified_signature?/1"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.verify_signature/2","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#verify_signature/2"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.webhook/2","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#webhook/2"},{"type":"module","title":"PlausibleWeb.Api.StatsController","doc":"","ref":"PlausibleWeb.Api.StatsController.html"},{"type":"function","title":"PlausibleWeb.Api.StatsController.all_custom_prop_values/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#all_custom_prop_values/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.browser_versions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#browser_versions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.browsers/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#browsers/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.cities/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#cities/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.conversions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#conversions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.countries/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#countries/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.current_visitors/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#current_visitors/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.custom_prop_values/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#custom_prop_values/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.entry_pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#entry_pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.exit_pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#exit_pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.filter_suggestions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#filter_suggestions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.format_money/1","doc":"","ref":"PlausibleWeb.Api.StatsController.html#format_money/1"},{"type":"function","title":"PlausibleWeb.Api.StatsController.format_revenue_metric/1","doc":"","ref":"PlausibleWeb.Api.StatsController.html#format_revenue_metric/1"},{"type":"function","title":"PlausibleWeb.Api.StatsController.funnel/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#funnel/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.main_graph/2","doc":"Returns a time-series based on given parameters.","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2"},{"type":"function","title":"Parameters - PlausibleWeb.Api.StatsController.main_graph/2","doc":"This API accepts the following parameters:\n\n * `period` - x-axis of the graph, e.g. `12mo`, `day`, `custom`.\n\n * `metric` - y-axis of the graph, e.g. `visits`, `visitors`, `pageviews`.\n See the Stats API [\"Metrics\"](https://plausible.io/docs/stats-api#metrics)\n section for more details. Defaults to `visitors`.\n\n * `interval` - granularity of the time-series data. You can think of it as\n a `GROUP BY` clause. Possible values are `minute`, `hour`, `date`, `week`,\n and `month`. The default depends on the `period` parameter. Check\n `Plausible.Query.from/2` for each default.\n\n * `filters` - optional filters to drill down data. See the Stats API\n [\"Filtering\"](https://plausible.io/docs/stats-api#filtering) section for\n more details.\n\n * `with_imported` - boolean indicating whether to include Google Analytics\n imported data or not. Defaults to `false`.\n\nFull example:\n```elixir\n%{\n \"from\" => \"2021-09-06\",\n \"interval\" => \"month\",\n \"metric\" => \"visitors\",\n \"period\" => \"custom\",\n \"to\" => \"2021-12-13\"\n}\n```","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2-parameters"},{"type":"function","title":"Response - PlausibleWeb.Api.StatsController.main_graph/2","doc":"Returns a map with the following keys:\n\n * `plot` - list of values for the requested metric representing the y-axis\n of the graph.\n\n * `labels` - list of date times representing the x-axis of the graph.\n\n * `present_index` - index of the element representing the current date in\n `labels` and `plot` lists.\n\n * `interval` - the interval used for querying.\n\n * `with_imported` - boolean indicating whether the Google Analytics data\n was queried or not.\n\n * `imported_source` - the source of the imported data, when applicable.\n Currently only Google Analytics is supported.\n\n * `full_intervals` - map of dates indicating whether the interval has been\n cut off by the requested date range or not. For example, if looking at a\n month week-by-week, some weeks may be cut off by the month boundaries.\n It's useful to adjust the graph display slightly in case the interval is\n not 'full' so that the user understands why the numbers might be lower for\n those partial periods.\n\nFull example:\n```elixir\n%{\n \"full_intervals\" => %{\n \"2021-09-01\" => false,\n \"2021-10-01\" => true,\n \"2021-11-01\" => true,\n \"2021-12-01\" => false\n },\n \"imported_source\" => nil,\n \"interval\" => \"month\",\n \"labels\" => [\"2021-09-01\", \"2021-10-01\", \"2021-11-01\", \"2021-12-01\"],\n \"plot\" => [0, 0, 0, 0],\n \"present_index\" => nil,\n \"with_imported\" => false\n}\n```","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2-response"},{"type":"function","title":"PlausibleWeb.Api.StatsController.operating_system_versions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#operating_system_versions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.operating_systems/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#operating_systems/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.referrer_drilldown/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#referrer_drilldown/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.referrers/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#referrers/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.regions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#regions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.screen_sizes/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#screen_sizes/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.sources/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#sources/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.top_stats/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#top_stats/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_campaigns/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_campaigns/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_contents/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_contents/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_mediums/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_mediums/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_sources/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_sources/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_terms/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_terms/2"},{"type":"module","title":"PlausibleWeb.AuthController","doc":"","ref":"PlausibleWeb.AuthController.html"},{"type":"function","title":"PlausibleWeb.AuthController.activate/2","doc":"","ref":"PlausibleWeb.AuthController.html#activate/2"},{"type":"function","title":"PlausibleWeb.AuthController.activate_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#activate_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.cancel_update_email/2","doc":"","ref":"PlausibleWeb.AuthController.html#cancel_update_email/2"},{"type":"function","title":"PlausibleWeb.AuthController.create_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#create_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.delete_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#delete_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.delete_me/2","doc":"","ref":"PlausibleWeb.AuthController.html#delete_me/2"},{"type":"function","title":"PlausibleWeb.AuthController.disable_2fa/2","doc":"","ref":"PlausibleWeb.AuthController.html#disable_2fa/2"},{"type":"function","title":"PlausibleWeb.AuthController.generate_2fa_recovery_codes/2","doc":"","ref":"PlausibleWeb.AuthController.html#generate_2fa_recovery_codes/2"},{"type":"function","title":"PlausibleWeb.AuthController.google_auth_callback/2","doc":"","ref":"PlausibleWeb.AuthController.html#google_auth_callback/2"},{"type":"function","title":"PlausibleWeb.AuthController.initiate_2fa_setup/2","doc":"","ref":"PlausibleWeb.AuthController.html#initiate_2fa_setup/2"},{"type":"function","title":"PlausibleWeb.AuthController.login/2","doc":"","ref":"PlausibleWeb.AuthController.html#login/2"},{"type":"function","title":"PlausibleWeb.AuthController.login_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#login_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.logout/2","doc":"","ref":"PlausibleWeb.AuthController.html#logout/2"},{"type":"function","title":"PlausibleWeb.AuthController.new_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#new_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_request/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_request/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_request_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_request_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.register/2","doc":"","ref":"PlausibleWeb.AuthController.html#register/2"},{"type":"function","title":"PlausibleWeb.AuthController.register_from_invitation/2","doc":"","ref":"PlausibleWeb.AuthController.html#register_from_invitation/2"},{"type":"function","title":"PlausibleWeb.AuthController.request_activation_code/2","doc":"","ref":"PlausibleWeb.AuthController.html#request_activation_code/2"},{"type":"function","title":"PlausibleWeb.AuthController.save_settings/2","doc":"","ref":"PlausibleWeb.AuthController.html#save_settings/2"},{"type":"function","title":"PlausibleWeb.AuthController.update_email/2","doc":"","ref":"PlausibleWeb.AuthController.html#update_email/2"},{"type":"function","title":"PlausibleWeb.AuthController.user_settings/2","doc":"","ref":"PlausibleWeb.AuthController.html#user_settings/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_recovery_code/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_recovery_code/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_recovery_code_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_recovery_code_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_setup/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_setup/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_setup_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_setup_form/2"},{"type":"module","title":"PlausibleWeb.AuthPlug","doc":"","ref":"PlausibleWeb.AuthPlug.html"},{"type":"function","title":"PlausibleWeb.AuthPlug.call/2","doc":"","ref":"PlausibleWeb.AuthPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthPlug.init/1","doc":"","ref":"PlausibleWeb.AuthPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthView","doc":"","ref":"PlausibleWeb.AuthView.html"},{"type":"function","title":"PlausibleWeb.AuthView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.AuthView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.AuthView.activate.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#activate.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.delimit_integer/1","doc":"","ref":"PlausibleWeb.AuthView.html#delimit_integer/1"},{"type":"function","title":"PlausibleWeb.AuthView.format_invoices/1","doc":"","ref":"PlausibleWeb.AuthView.html#format_invoices/1"},{"type":"function","title":"PlausibleWeb.AuthView.generate_2fa_recovery_codes.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#generate_2fa_recovery_codes.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.initiate_2fa_setup.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#initiate_2fa_setup.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.login_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#login_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.new_api_key.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#new_api_key.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_request_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_request_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_request_success.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_request_success.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.present_subscription_status/1","doc":"","ref":"PlausibleWeb.AuthView.html#present_subscription_status/1"},{"type":"function","title":"PlausibleWeb.AuthView.register_success.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#register_success.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.AuthView.html#render/2"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_colors/1","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_colors/1"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_interval/1","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_interval/1"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_quota/2","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_quota/2"},{"type":"function","title":"PlausibleWeb.AuthView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.AuthView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.AuthView.user_settings.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#user_settings.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa_recovery_code.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa_recovery_code.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa_setup.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa_setup.html/1"},{"type":"module","title":"PlausibleWeb.AuthorizeSiteAccess","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html"},{"type":"function","title":"PlausibleWeb.AuthorizeSiteAccess.call/2","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeSiteAccess.init/1","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthorizeSitesApiPlug","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html"},{"type":"function","title":"PlausibleWeb.AuthorizeSitesApiPlug.call/2","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeSitesApiPlug.init/1","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthorizeStatsApiPlug","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html"},{"type":"function","title":"PlausibleWeb.AuthorizeStatsApiPlug.call/2","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeStatsApiPlug.init/1","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AvatarController","doc":"This module proxies requests to BASE_URL/avatar/:hash to www.gravatar.com/avatar/:hash.\n\nThe purpose is to make use of Gravatar's convenient avatar service without exposing information\nthat could be used for tracking the Plausible user. Compared to requesting the Gravatar directly\nfrom the browser, this proxy module protects the Plausible user from disclosing to Gravatar:\n1. The client IP address\n2. User-Agent\n3. Referer header which can be used to track which site the user is visiting (i.e. plausible.io or self-hosted URL)\n\nThe downside is the added latency from the request having to go through the Plausible server, rather than contacting the\nlocal CDN server operated by Gravatar's service.","ref":"PlausibleWeb.AvatarController.html"},{"type":"function","title":"PlausibleWeb.AvatarController.avatar/2","doc":"","ref":"PlausibleWeb.AvatarController.html#avatar/2"},{"type":"module","title":"PlausibleWeb.BillingController","doc":"","ref":"PlausibleWeb.BillingController.html"},{"type":"function","title":"PlausibleWeb.BillingController.change_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#change_plan/2"},{"type":"function","title":"PlausibleWeb.BillingController.change_plan_preview/2","doc":"","ref":"PlausibleWeb.BillingController.html#change_plan_preview/2"},{"type":"function","title":"PlausibleWeb.BillingController.choose_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#choose_plan/2"},{"type":"function","title":"PlausibleWeb.BillingController.ping_subscription/2","doc":"","ref":"PlausibleWeb.BillingController.html#ping_subscription/2"},{"type":"function","title":"PlausibleWeb.BillingController.upgrade_success/2","doc":"","ref":"PlausibleWeb.BillingController.html#upgrade_success/2"},{"type":"function","title":"PlausibleWeb.BillingController.upgrade_to_enterprise_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#upgrade_to_enterprise_plan/2"},{"type":"module","title":"PlausibleWeb.BillingView","doc":"","ref":"PlausibleWeb.BillingView.html"},{"type":"function","title":"PlausibleWeb.BillingView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.BillingView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.BillingView.change_enterprise_plan_contact_us.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#change_enterprise_plan_contact_us.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.change_plan_preview.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#change_plan_preview.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.choose_plan.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#choose_plan.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.present_currency/1","doc":"","ref":"PlausibleWeb.BillingView.html#present_currency/1"},{"type":"function","title":"PlausibleWeb.BillingView.present_date/1","doc":"","ref":"PlausibleWeb.BillingView.html#present_date/1"},{"type":"function","title":"PlausibleWeb.BillingView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.BillingView.html#render/2"},{"type":"function","title":"PlausibleWeb.BillingView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.BillingView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.BillingView.upgrade_success.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#upgrade_success.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.upgrade_to_enterprise_plan.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#upgrade_to_enterprise_plan.html/1"},{"type":"module","title":"PlausibleWeb.CRMAuthPlug","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html"},{"type":"function","title":"PlausibleWeb.CRMAuthPlug.call/2","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.CRMAuthPlug.init/1","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Captcha","doc":"","ref":"PlausibleWeb.Captcha.html"},{"type":"function","title":"PlausibleWeb.Captcha.enabled?/0","doc":"","ref":"PlausibleWeb.Captcha.html#enabled?/0"},{"type":"function","title":"PlausibleWeb.Captcha.sitekey/0","doc":"","ref":"PlausibleWeb.Captcha.html#sitekey/0"},{"type":"function","title":"PlausibleWeb.Captcha.verify/1","doc":"","ref":"PlausibleWeb.Captcha.html#verify/1"},{"type":"module","title":"PlausibleWeb.Components.Billing.PlanBenefits","doc":"This module exposes functions for rendering and returning plan\nbenefits for Growth, Business, and Enterprise plans.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_business/2","doc":"Returns Business benefits for the given Business plan.\n\nA second argument is also required - list of Growth benefits. This\nis because we don't want to list the same benefits in both Growth\nand Business. Everything in Growth is also included in Business.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_business/2"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_enterprise/1","doc":"This function only takes a list of business benefits. Since all\nlimits and features of enterprise plans are configurable, we can\nsay on the upgrade page that enterprise plans include everything\nin Business.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_enterprise/1"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_growth/1","doc":"This function takes a growth plan and returns a list representing\nthe different benefits a user gets when subscribing to this plan.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_growth/1"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.render/1","doc":"This function takes a list of benefits returned by either one of:\n\n* `for_growth/1`\n* `for_business/2`\n* `for_enterprise/1`.\n\nand renders them as HTML.\n\nThe benefits in the given list can be either strings or functions\nreturning a Phoenix component. This allows, for example, to render\nlinks within the plan benefit text.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Billing.PlanBenefits.render/1","doc":"* `benefits` (`:list`) (required)\n* `class` (`:string`) - Defaults to `nil`.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Components.Generic","doc":"Generic reusable components","ref":"PlausibleWeb.Components.Generic.html"},{"type":"function","title":"PlausibleWeb.Components.Generic.button/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.button/1","doc":"* `type` (`:string`) - Defaults to `\"button\"`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* `disabled` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#button/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.button/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#button/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.button_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#button_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.button_link/1","doc":"* `href` (`:string`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#button_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.button_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#button_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.docs_info/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#docs_info/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.docs_info/1","doc":"* `slug` (`:string`) (required)","ref":"PlausibleWeb.Components.Generic.html#docs_info/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.dropdown/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dropdown/1"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.dropdown/1","doc":"* `button` (required) - Accepts attributes:\n\n * `class` (`:string`)\n* `panel` (required) - Accepts attributes:\n\n * `class` (`:string`)","ref":"PlausibleWeb.Components.Generic.html#dropdown/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.dropdown_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.dropdown_link/1","doc":"* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.dropdown_link/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.dynamic_icon/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dynamic_icon/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.dynamic_icon/1","doc":"* `name` (`:atom`) (required)\n* `outline` (`:boolean`) - Defaults to `true`.\n* `solid` (`:boolean`) - Defaults to `false`.\n* `mini` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted. Supports all globals plus: `[\"fill\", \"stroke\", \"stroke-width\"]`.","ref":"PlausibleWeb.Components.Generic.html#dynamic_icon/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.notice/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#notice/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.notice/1","doc":"* `title` (`:any`) - Defaults to `nil`.\n* `size` (`:atom`) - Defaults to `:sm`.\n* `theme` (`:atom`) - Defaults to `:yellow`.\n* `dismissable_id` (`:any`) - Defaults to `nil`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#notice/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.notice/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#notice/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.spinner/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#spinner/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.spinner/1","doc":"* `class` (`:any`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#spinner/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.styled_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#styled_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.styled_link/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Components.Generic.html#styled_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.styled_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#styled_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.unstyled_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.unstyled_link/1","doc":"* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* `id` (`:any`) - Defaults to `nil`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.unstyled_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1-slots"},{"type":"module","title":"PlausibleWeb.Components.Google","doc":"Google-related components","ref":"PlausibleWeb.Components.Google.html"},{"type":"function","title":"PlausibleWeb.Components.Google.button/1","doc":"","ref":"PlausibleWeb.Components.Google.html#button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Google.button/1","doc":"* `to` (`:string`) (required)\n* `id` (`:string`) (required)","ref":"PlausibleWeb.Components.Google.html#button/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Google.logo/1","doc":"","ref":"PlausibleWeb.Components.Google.html#logo/1"},{"type":"module","title":"PlausibleWeb.Components.Settings","doc":"An umbrella module for the Integrations settings section","ref":"PlausibleWeb.Components.Settings.html"},{"type":"function","title":"PlausibleWeb.Components.Settings.settings_google_import/1","doc":"","ref":"PlausibleWeb.Components.Settings.html#settings_google_import/1"},{"type":"function","title":"PlausibleWeb.Components.Settings.settings_search_console/1","doc":"","ref":"PlausibleWeb.Components.Settings.html#settings_search_console/1"},{"type":"module","title":"PlausibleWeb.Components.Site.Feature","doc":"Phoenix Component for rendering a user-facing feature toggle\ncapable of flipping booleans in `Plausible.Site` via the `toggle_feature` controller action.","ref":"PlausibleWeb.Components.Site.Feature.html"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Components.Site.Feature.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Components.Site.Feature.html#render/2"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.target/4","doc":"","ref":"PlausibleWeb.Components.Site.Feature.html#target/4"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Components.Site.Feature.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.toggle/1","doc":"","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Site.Feature.toggle/1","doc":"* `site` (`Plausible.Site`) (required)\n* `feature_mod` (`:atom`) (required) - Must be one of `Plausible.Billing.Feature.Goals`, `Plausible.Billing.Feature.StatsAPI`, `Plausible.Billing.Feature.Props`, `Plausible.Billing.Feature.Funnels`, or `Plausible.Billing.Feature.RevenueGoals`.\n* `conn` (`Plug.Conn`) (required)","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Site.Feature.toggle/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1-slots"},{"type":"module","title":"PlausibleWeb.Components.TwoFactor","doc":"Reusable components specific to 2FA","ref":"PlausibleWeb.Components.TwoFactor.html"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.modal/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.modal/1","doc":"* `id` (`:string`) (required)\n* `state_param` (`:string`) (required)\n* `form_data` (`:any`) (required)\n* `form_target` (`:string`) (required)\n* `onsubmit` (`:string`) - Defaults to `nil`.\n* `title` (`:string`) (required)","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.TwoFactor.modal/1","doc":"* `icon` (required)\n* `inner_block` (required)\n* `buttons` (required)","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1-slots"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.qr_code/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#qr_code/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.qr_code/1","doc":"* `text` (`:string`) (required)\n* `scale` (`:integer`) - Defaults to `4`.","ref":"PlausibleWeb.Components.TwoFactor.html#qr_code/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.verify_2fa_input/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#verify_2fa_input/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.verify_2fa_input/1","doc":"* `id` (`:string`) - Defaults to `\"verify-button\"`.\n* `form` (`:any`) (required)\n* `field` (`:any`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Components.TwoFactor.html#verify_2fa_input/1-attributes"},{"type":"module","title":"PlausibleWeb.ConnCase","doc":"This module defines the test case to be used by\ntests that require setting up a connection.\n\nSuch tests rely on `Phoenix.ConnTest` and also\nimport other functionality to make it easier\nto build common data structures and query the data layer.\n\nFinally, if the test case interacts with the database,\nit cannot be async. For this reason, every test runs\ninside a transaction which is reset at the beginning\nof the test unless the test case is marked as async.","ref":"PlausibleWeb.ConnCase.html"},{"type":"module","title":"PlausibleWeb.ControllerHelpers","doc":"","ref":"PlausibleWeb.ControllerHelpers.html"},{"type":"function","title":"PlausibleWeb.ControllerHelpers.render_error/2","doc":"","ref":"PlausibleWeb.ControllerHelpers.html#render_error/2"},{"type":"function","title":"PlausibleWeb.ControllerHelpers.render_error/3","doc":"","ref":"PlausibleWeb.ControllerHelpers.html#render_error/3"},{"type":"module","title":"PlausibleWeb.Controllers.API.Revenue","doc":"Revenue specific functions for the API scope","ref":"PlausibleWeb.Controllers.API.Revenue.html"},{"type":"function","title":"PlausibleWeb.Controllers.API.Revenue.format_money/1","doc":"","ref":"PlausibleWeb.Controllers.API.Revenue.html#format_money/1"},{"type":"function","title":"PlausibleWeb.Controllers.API.Revenue.format_revenue_metric/1","doc":"","ref":"PlausibleWeb.Controllers.API.Revenue.html#format_revenue_metric/1"},{"type":"module","title":"PlausibleWeb.Dogfood","doc":"Plausible tracking itself functions","ref":"PlausibleWeb.Dogfood.html"},{"type":"function","title":"PlausibleWeb.Dogfood.api_destination/0","doc":"Temporary override to do more testing of the new ingest.plausible.io endpoint for accepting events. In staging and locally\nwill fall back to staging.plausible.io/api/event and localhost:8000/api/event respectively.","ref":"PlausibleWeb.Dogfood.html#api_destination/0"},{"type":"function","title":"PlausibleWeb.Dogfood.domain/1","doc":"","ref":"PlausibleWeb.Dogfood.html#domain/1"},{"type":"function","title":"PlausibleWeb.Dogfood.script_url/0","doc":"","ref":"PlausibleWeb.Dogfood.html#script_url/0"},{"type":"module","title":"PlausibleWeb.Email","doc":"","ref":"PlausibleWeb.Email.html"},{"type":"function","title":"PlausibleWeb.Email.activation_email/2","doc":"","ref":"PlausibleWeb.Email.html#activation_email/2"},{"type":"function","title":"PlausibleWeb.Email.approaching_accept_traffic_until/1","doc":"","ref":"PlausibleWeb.Email.html#approaching_accept_traffic_until/1"},{"type":"function","title":"PlausibleWeb.Email.approaching_accept_traffic_until_tomorrow/1","doc":"","ref":"PlausibleWeb.Email.html#approaching_accept_traffic_until_tomorrow/1"},{"type":"function","title":"PlausibleWeb.Email.base_email/0","doc":"","ref":"PlausibleWeb.Email.html#base_email/0"},{"type":"function","title":"PlausibleWeb.Email.base_email/1","doc":"","ref":"PlausibleWeb.Email.html#base_email/1"},{"type":"function","title":"PlausibleWeb.Email.cancellation_email/1","doc":"","ref":"PlausibleWeb.Email.html#cancellation_email/1"},{"type":"function","title":"PlausibleWeb.Email.check_stats_email/1","doc":"","ref":"PlausibleWeb.Email.html#check_stats_email/1"},{"type":"function","title":"PlausibleWeb.Email.create_site_email/1","doc":"","ref":"PlausibleWeb.Email.html#create_site_email/1"},{"type":"function","title":"PlausibleWeb.Email.dashboard_locked/3","doc":"","ref":"PlausibleWeb.Email.html#dashboard_locked/3"},{"type":"function","title":"PlausibleWeb.Email.enterprise_over_limit_internal_email/4","doc":"","ref":"PlausibleWeb.Email.html#enterprise_over_limit_internal_email/4"},{"type":"function","title":"PlausibleWeb.Email.error_report/3","doc":"","ref":"PlausibleWeb.Email.html#error_report/3"},{"type":"function","title":"PlausibleWeb.Email.existing_user_invitation/1","doc":"","ref":"PlausibleWeb.Email.html#existing_user_invitation/1"},{"type":"function","title":"PlausibleWeb.Email.import_failure/3","doc":"","ref":"PlausibleWeb.Email.html#import_failure/3"},{"type":"function","title":"PlausibleWeb.Email.import_success/3","doc":"","ref":"PlausibleWeb.Email.html#import_success/3"},{"type":"function","title":"PlausibleWeb.Email.invitation_accepted/1","doc":"","ref":"PlausibleWeb.Email.html#invitation_accepted/1"},{"type":"function","title":"PlausibleWeb.Email.invitation_rejected/1","doc":"","ref":"PlausibleWeb.Email.html#invitation_rejected/1"},{"type":"function","title":"PlausibleWeb.Email.mailer_email_from/0","doc":"","ref":"PlausibleWeb.Email.html#mailer_email_from/0"},{"type":"function","title":"PlausibleWeb.Email.new_user_invitation/1","doc":"","ref":"PlausibleWeb.Email.html#new_user_invitation/1"},{"type":"function","title":"PlausibleWeb.Email.over_limit_email/3","doc":"","ref":"PlausibleWeb.Email.html#over_limit_email/3"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_accepted/1","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_accepted/1"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_rejected/1","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_rejected/1"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_request/2","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_request/2"},{"type":"function","title":"PlausibleWeb.Email.password_reset_email/2","doc":"","ref":"PlausibleWeb.Email.html#password_reset_email/2"},{"type":"function","title":"PlausibleWeb.Email.priority_email/0","doc":"Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved\n by sending them through a dedicated 'priority' message stream in Postmark.","ref":"PlausibleWeb.Email.html#priority_email/0"},{"type":"function","title":"PlausibleWeb.Email.priority_email/1","doc":"","ref":"PlausibleWeb.Email.html#priority_email/1"},{"type":"function","title":"PlausibleWeb.Email.render/3","doc":"Render an Phoenix template and set the body on the email.\n\nPass an atom as the template name (:welcome_email) to render HTML *and* plain\ntext emails. Use a string if you only want to render one type, e.g.\n\"welcome_email.text\" or \"welcome_email.html\". Scroll to the top for more examples.","ref":"PlausibleWeb.Email.html#render/3"},{"type":"function","title":"PlausibleWeb.Email.site_member_removed/1","doc":"","ref":"PlausibleWeb.Email.html#site_member_removed/1"},{"type":"function","title":"PlausibleWeb.Email.site_setup_help/2","doc":"","ref":"PlausibleWeb.Email.html#site_setup_help/2"},{"type":"function","title":"PlausibleWeb.Email.site_setup_success/2","doc":"","ref":"PlausibleWeb.Email.html#site_setup_success/2"},{"type":"function","title":"PlausibleWeb.Email.spike_notification/5","doc":"","ref":"PlausibleWeb.Email.html#spike_notification/5"},{"type":"function","title":"PlausibleWeb.Email.stats_report/2","doc":"","ref":"PlausibleWeb.Email.html#stats_report/2"},{"type":"function","title":"PlausibleWeb.Email.trial_one_week_reminder/1","doc":"","ref":"PlausibleWeb.Email.html#trial_one_week_reminder/1"},{"type":"function","title":"PlausibleWeb.Email.trial_over_email/1","doc":"","ref":"PlausibleWeb.Email.html#trial_over_email/1"},{"type":"function","title":"PlausibleWeb.Email.trial_upgrade_email/3","doc":"","ref":"PlausibleWeb.Email.html#trial_upgrade_email/3"},{"type":"function","title":"PlausibleWeb.Email.two_factor_disabled_email/1","doc":"","ref":"PlausibleWeb.Email.html#two_factor_disabled_email/1"},{"type":"function","title":"PlausibleWeb.Email.two_factor_enabled_email/1","doc":"","ref":"PlausibleWeb.Email.html#two_factor_enabled_email/1"},{"type":"function","title":"PlausibleWeb.Email.welcome_email/1","doc":"","ref":"PlausibleWeb.Email.html#welcome_email/1"},{"type":"function","title":"PlausibleWeb.Email.yearly_expiration_notification/1","doc":"","ref":"PlausibleWeb.Email.html#yearly_expiration_notification/1"},{"type":"function","title":"PlausibleWeb.Email.yearly_renewal_notification/1","doc":"","ref":"PlausibleWeb.Email.html#yearly_renewal_notification/1"},{"type":"module","title":"PlausibleWeb.EmailView","doc":"","ref":"PlausibleWeb.EmailView.html"},{"type":"function","title":"PlausibleWeb.EmailView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.EmailView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.EmailView.activation_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#activation_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.approaching_accept_traffic_until.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#approaching_accept_traffic_until.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.cancellation_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#cancellation_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.check_stats_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#check_stats_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.create_site_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#create_site_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.dashboard_locked.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#dashboard_locked.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.date_format/1","doc":"","ref":"PlausibleWeb.EmailView.html#date_format/1"},{"type":"function","title":"PlausibleWeb.EmailView.enterprise_over_limit_internal.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#enterprise_over_limit_internal.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.error_report_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#error_report_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.existing_user_invitation.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#existing_user_invitation.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.google_analytics_import.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#google_analytics_import.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.greet_recipient/1","doc":"","ref":"PlausibleWeb.EmailView.html#greet_recipient/1"},{"type":"function","title":"PlausibleWeb.EmailView.invitation_accepted.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#invitation_accepted.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.invitation_rejected.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#invitation_rejected.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.new_user_invitation.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#new_user_invitation.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.over_limit.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#over_limit.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_accepted.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_accepted.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_rejected.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_rejected.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_request.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_request.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.password_reset_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#password_reset_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.plausible_url/0","doc":"","ref":"PlausibleWeb.EmailView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.EmailView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.EmailView.html#render/2"},{"type":"function","title":"PlausibleWeb.EmailView.sentry_link/2","doc":"","ref":"PlausibleWeb.EmailView.html#sentry_link/2"},{"type":"function","title":"PlausibleWeb.EmailView.site_member_removed.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_member_removed.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.site_setup_help_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_setup_help_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.site_setup_success_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_setup_success_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.spike_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#spike_notification.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.EmailView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.EmailView.trial_one_week_reminder.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_one_week_reminder.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.trial_over_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_over_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.trial_upgrade_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_upgrade_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.two_factor_disabled_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#two_factor_disabled_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.two_factor_enabled_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#two_factor_enabled_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.welcome_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#welcome_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.yearly_expiration_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#yearly_expiration_notification.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.yearly_renewal_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#yearly_renewal_notification.html/1"},{"type":"module","title":"PlausibleWeb.Endpoint","doc":"","ref":"PlausibleWeb.Endpoint.html"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast/3","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast/3"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast!/3","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast!/3"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast_from/4","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast_from/4"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast_from!/4","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast_from!/4"},{"type":"function","title":"PlausibleWeb.Endpoint.call/2","doc":"","ref":"PlausibleWeb.Endpoint.html#call/2"},{"type":"function","title":"PlausibleWeb.Endpoint.child_spec/1","doc":"Returns the child specification to start the endpoint\nunder a supervision tree.","ref":"PlausibleWeb.Endpoint.html#child_spec/1"},{"type":"function","title":"PlausibleWeb.Endpoint.config/2","doc":"Returns the endpoint configuration for `key`\n\nReturns `default` if the key does not exist.","ref":"PlausibleWeb.Endpoint.html#config/2"},{"type":"function","title":"PlausibleWeb.Endpoint.config_change/2","doc":"Reloads the configuration given the application environment changes.","ref":"PlausibleWeb.Endpoint.html#config_change/2"},{"type":"function","title":"PlausibleWeb.Endpoint.host/0","doc":"Returns the host for the given endpoint.","ref":"PlausibleWeb.Endpoint.html#host/0"},{"type":"function","title":"PlausibleWeb.Endpoint.init/1","doc":"","ref":"PlausibleWeb.Endpoint.html#init/1"},{"type":"function","title":"PlausibleWeb.Endpoint.local_broadcast/3","doc":"","ref":"PlausibleWeb.Endpoint.html#local_broadcast/3"},{"type":"function","title":"PlausibleWeb.Endpoint.local_broadcast_from/4","doc":"","ref":"PlausibleWeb.Endpoint.html#local_broadcast_from/4"},{"type":"function","title":"PlausibleWeb.Endpoint.path/1","doc":"Generates the path information when routing to this endpoint.","ref":"PlausibleWeb.Endpoint.html#path/1"},{"type":"function","title":"PlausibleWeb.Endpoint.runtime_session/2","doc":"","ref":"PlausibleWeb.Endpoint.html#runtime_session/2"},{"type":"function","title":"PlausibleWeb.Endpoint.runtime_session_opts/0","doc":"","ref":"PlausibleWeb.Endpoint.html#runtime_session_opts/0"},{"type":"function","title":"PlausibleWeb.Endpoint.script_name/0","doc":"Generates the script name.","ref":"PlausibleWeb.Endpoint.html#script_name/0"},{"type":"function","title":"PlausibleWeb.Endpoint.secure_cookie?/0","doc":"","ref":"PlausibleWeb.Endpoint.html#secure_cookie?/0"},{"type":"function","title":"PlausibleWeb.Endpoint.server_info/1","doc":"Returns the address and port that the server is running on","ref":"PlausibleWeb.Endpoint.html#server_info/1"},{"type":"function","title":"PlausibleWeb.Endpoint.start_link/1","doc":"Starts the endpoint supervision tree.\n\nAll other options are merged into the endpoint configuration.","ref":"PlausibleWeb.Endpoint.html#start_link/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_integrity/1","doc":"Generates a base64-encoded cryptographic hash (sha512) to a static file\nin `priv/static`. Meant to be used for Subresource Integrity with CDNs.","ref":"PlausibleWeb.Endpoint.html#static_integrity/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_lookup/1","doc":"Returns a two item tuple with the first item being the `static_path`\nand the second item being the `static_integrity`.","ref":"PlausibleWeb.Endpoint.html#static_lookup/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_path/1","doc":"Generates a route to a static file in `priv/static`.","ref":"PlausibleWeb.Endpoint.html#static_path/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_url/0","doc":"Generates the static URL without any path information.\n\nIt uses the configuration under `:static_url` to generate\nsuch. It falls back to `:url` if `:static_url` is not set.","ref":"PlausibleWeb.Endpoint.html#static_url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.struct_url/0","doc":"Generates the endpoint base URL but as a `URI` struct.\n\nIt uses the configuration under `:url` to generate such.\nUseful for manipulating the URL data and passing it to\nURL helpers.","ref":"PlausibleWeb.Endpoint.html#struct_url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.subscribe/2","doc":"","ref":"PlausibleWeb.Endpoint.html#subscribe/2"},{"type":"function","title":"PlausibleWeb.Endpoint.unsubscribe/1","doc":"","ref":"PlausibleWeb.Endpoint.html#unsubscribe/1"},{"type":"function","title":"PlausibleWeb.Endpoint.url/0","doc":"Generates the endpoint base URL without any path information.\n\nIt uses the configuration under `:url` to generate such.","ref":"PlausibleWeb.Endpoint.html#url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.websocket_url/0","doc":"","ref":"PlausibleWeb.Endpoint.html#websocket_url/0"},{"type":"module","title":"PlausibleWeb.ErrorHelpers","doc":"","ref":"PlausibleWeb.ErrorHelpers.html"},{"type":"function","title":"PlausibleWeb.ErrorHelpers.error_tag/2","doc":"","ref":"PlausibleWeb.ErrorHelpers.html#error_tag/2"},{"type":"function","title":"PlausibleWeb.ErrorHelpers.translate_error/1","doc":"","ref":"PlausibleWeb.ErrorHelpers.html#translate_error/1"},{"type":"module","title":"PlausibleWeb.ErrorReportController","doc":"","ref":"PlausibleWeb.ErrorReportController.html"},{"type":"function","title":"PlausibleWeb.ErrorReportController.submit_error_report/2","doc":"","ref":"PlausibleWeb.ErrorReportController.html#submit_error_report/2"},{"type":"module","title":"PlausibleWeb.ErrorView","doc":"","ref":"PlausibleWeb.ErrorView.html"},{"type":"function","title":"PlausibleWeb.ErrorView.404_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#404_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.ErrorView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.ErrorView.generic_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#generic_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.ErrorView.html#render/2"},{"type":"function","title":"PlausibleWeb.ErrorView.server_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#server_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.server_error_report_thanks.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#server_error_report_thanks.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.ErrorView.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Favicon","doc":"A Plug that fetches favicon images from DuckDuckGo and returns them\nto the Plausible frontend.\n\nThe proxying is there so we can reduce the number of third-party domains that\nthe browser clients need to connect to. Our goal is to have 0 third-party domain\nconnections on the website for privacy reasons.\n\nThis module also maps between categorized sources and their respective URLs for favicons.\nWhat does that mean exactly? During ingestion we use `PlausibleWeb.RefInspector.parse/1` to\ncategorize our referrer sources like so:\n\ngoogle.com -> Google\ngoogle.co.uk -> Google\ngoogle.com.au -> Google\n\nSo when we show Google as a source in the dashboard, the request to this plug will come as:\nhttps://plausible/io/favicon/sources/Google\n\nNow, when we want to show a favicon for Google, we need to convert Google -> google.com or\nsome other hostname owned by Google:\nhttps://icons.duckduckgo.com/ip3/google.com.ico\n\nThe mapping from source category -> source hostname is stored in \"priv/referer_favicon_domains.json\" and\nmanaged by `Mix.Tasks.GenerateReferrerFavicons.run/1`","ref":"PlausibleWeb.Favicon.html"},{"type":"function","title":"PlausibleWeb.Favicon.call/2","doc":"Proxies HTTP request to DuckDuckGo favicon service. Swallows hop-by-hop HTTP\nheaders that should not be forwarded as defined in [RFC 2616](https://www.rfc-editor.org/rfc/rfc2616#section-13.5.1)","ref":"PlausibleWeb.Favicon.html#call/2"},{"type":"function","title":"Placeholder - PlausibleWeb.Favicon.call/2","doc":"Cases where we show a placeholder icon instead:\n\n1. In case of network error to DuckDuckGo\n2. In case of non-2xx status code from DuckDuckGo\n3. In case of broken image response body from DuckDuckGo\n\nI'm not sure why DDG sometimes returns a broken PNG image in their response\nbut we filter that out. When the icon request fails, we show a placeholder\nfavicon instead. The placeholder is an emoji from\n[https://favicon.io/emoji-favicons/](https://favicon.io/emoji-favicons/)\n\nDuckDuckGo favicon service has some issues with [SVG favicons](https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/).\nFor some reason, they return them with `content-type=image/x-icon` whereas SVG\nicons should be returned with `content-type=image/svg+xml`. This Plug detects\nwhen the response body starts with `\n<.input name=\"my-input\" errors={[\"oh no!\"]} />","ref":"PlausibleWeb.Live.Components.Form.html#input/1-examples"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.input/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `name` (`:any`)\n* `label` (`:string`) - Defaults to `nil`.\n* `value` (`:any`)\n* `type` (`:string`) - Defaults to `\"text\"`.\n* `field` (`Phoenix.HTML.FormField`) - a form field struct retrieved from the form, for example: @form[:email].\n* `errors` (`:list`) - Defaults to `[]`.\n* `checked` (`:boolean`) - the checked flag for checkbox inputs.\n* `prompt` (`:string`) - the prompt for select inputs. Defaults to `nil`.\n* `options` (`:list`) - the options to pass to Phoenix.HTML.Form.options_for_select/2.\n* `multiple` (`:boolean`) - the multiple flag for select inputs. Defaults to `false`.\n* Global attributes are accepted. Supports all globals plus: `[\"accept\", \"autocomplete\", \"capture\", \"cols\", \"disabled\", \"form\", \"list\", \"max\", \"maxlength\", \"min\", \"minlength\", \"multiple\", \"pattern\", \"placeholder\", \"readonly\", \"required\", \"rows\", \"size\", \"step\"]`.","ref":"PlausibleWeb.Live.Components.Form.html#input/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Form.input/1","doc":"* `inner_block`","ref":"PlausibleWeb.Live.Components.Form.html#input/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.input_with_clipboard/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#input_with_clipboard/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.input_with_clipboard/1","doc":"* `id` (`:string`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.\n* `name` (`:string`) (required)\n* `label` (`:string`) (required)\n* `value` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.Components.Form.html#input_with_clipboard/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.label/1","doc":"Renders a label.","ref":"PlausibleWeb.Live.Components.Form.html#label/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.label/1","doc":"* `for` (`:string`) - Defaults to `nil`.","ref":"PlausibleWeb.Live.Components.Form.html#label/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Form.label/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Live.Components.Form.html#label/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.password_input_with_strength/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#password_input_with_strength/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.password_input_with_strength/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `label` (`:string`) - Defaults to `nil`.\n* `field` (`Phoenix.HTML.FormField`) (required) - a form field struct retrieved from the form, for example: @form[:password].\n* `strength` (`:any`)\n* Global attributes are accepted. Supports all globals plus: `[\"autocomplete\", \"disabled\", \"form\", \"maxlength\", \"minlength\", \"readonly\", \"required\", \"size\"]`.","ref":"PlausibleWeb.Live.Components.Form.html#password_input_with_strength/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.password_length_hint/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#password_length_hint/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.password_length_hint/1","doc":"* `minimum` (`:integer`) (required)\n* `class` (`:any`)\n* `ok_class` (`:any`)\n* `error_class` (`:any`)\n* `field` (`Phoenix.HTML.FormField`) (required) - a form field struct retrieved from the form, for example: @form[:password].","ref":"PlausibleWeb.Live.Components.Form.html#password_length_hint/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.strength_meter/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#strength_meter/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.strength_meter/1","doc":"* `score` (`:integer`) - Defaults to `0`.\n* `warning` (`:string`) - Defaults to `\"\"`.\n* `suggestions` (`:list`) - Defaults to `[]`.","ref":"PlausibleWeb.Live.Components.Form.html#strength_meter/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.translate_error/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#translate_error/1"},{"type":"module","title":"PlausibleWeb.Live.Components.Modal","doc":"LiveView implementation of modal component.\n\nThis component is a general purpose modal implementation for LiveView\nwith emphasis on keeping nested components largely agnostic of the fact\nthat they are placed in a modal and maintaining good user experience\non connections with high latency.","ref":"PlausibleWeb.Live.Components.Modal.html"},{"type":"module","title":"Usage - PlausibleWeb.Live.Components.Modal","doc":"An example use case for a modal is embedding a form inside\nexisting live view which allows adding new entries of some kind:\n\n```\n<.live_component module={Modal} id=\"some-form-modal\">\n <.live_component\n module={SomeForm}\n id=\"some-form\"\n on_save_form={\n fn entry, socket ->\n send(self(), {:entry_added, entry})\n Modal.close(socket, \"some-form-modal\")\n end\n }\n />\n\n```\n\nThen somewhere in the same live view the modal is rendered in:\n\n```\n<.button x-data x-on:click={Modal.JS.open(\"goals-form-modal\")}>\n + Add Entry\n\n```","ref":"PlausibleWeb.Live.Components.Modal.html#module-usage"},{"type":"module","title":"Explanation - PlausibleWeb.Live.Components.Modal","doc":"The component embedded inside the modal is always rendered when\nthe live view is mounted but is kept hidden until `Modal.JS.open`\nis called on it. On subsequent openings within the same session\nthe contents of the modal are completely remounted. This assures\nthat any stateful components inside the modal are reset to their\ninitial state.\n\n`Modal` exposes two functions for managing window state:\n\n * `Modal.JS.open/1` - to open the modal from the frontend. It's\n important to make sure the element triggering that call is\n wrapped in an Alpine UI component - or is an Alpine component\n itself - adding `x-data` attribute without any value is enough\n to ensure that.\n * `Modal.close/2` - to close the modal from the backend; usually\n done inside wrapped component's `handle_event/2`. The example\n qouted above shows one way to implement this, under that assumption\n that the component exposes a callback, like this:\n\n ```\n defmodule SomeForm do\n use Phoenix.LiveComponent\n\n def update(assigns, socket) do\n # ...\n\n {:ok, assign(socket, :on_save_form, assigns.on_save_form)}\n end\n\n #...\n\n def handle_event(\"save-form\", %{\"form\" => form}, socket) do\n case save_entry(form) do\n {:ok, entry} ->\n {:noreply, socket.assigns.on_save_form(entry, socket)}\n\n # error case handling ...\n end\n end\n end\n ```\n\n Using callback approach has an added benefit of making the\n component more flexible.","ref":"PlausibleWeb.Live.Components.Modal.html#module-explanation"},{"type":"function","title":"PlausibleWeb.Live.Components.Modal.close/2","doc":"","ref":"PlausibleWeb.Live.Components.Modal.html#close/2"},{"type":"function","title":"PlausibleWeb.Live.Components.Modal.render/1","doc":"","ref":"PlausibleWeb.Live.Components.Modal.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Modal.render/1","doc":"* `id` (`:any`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Live.Components.Modal.html#render/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Modal.render/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Live.Components.Modal.html#render/1-slots"},{"type":"module","title":"PlausibleWeb.Live.Components.Pagination","doc":"Pagination components for LiveViews.","ref":"PlausibleWeb.Live.Components.Pagination.html"},{"type":"function","title":"PlausibleWeb.Live.Components.Pagination.pagination/1","doc":"","ref":"PlausibleWeb.Live.Components.Pagination.html#pagination/1"},{"type":"module","title":"PlausibleWeb.Live.Components.Visitors","doc":"Component rendering mini-graph of site's visitors over the last 24 hours.\n\nThe `gradient_defs` component should be rendered once before using `chart`\none or more times.\n\nAccepts input generated via `Plausible.Stats.Clickhouse.last_24h_visitors_hourly_intervals/2`.","ref":"PlausibleWeb.Live.Components.Visitors.html"},{"type":"function","title":"PlausibleWeb.Live.Components.Visitors.chart/1","doc":"","ref":"PlausibleWeb.Live.Components.Visitors.html#chart/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Visitors.chart/1","doc":"* `intervals` (`:list`) (required)\n* `height` (`:integer`) - Defaults to `50`.\n* `tick` (`:integer`) - Defaults to `20`.","ref":"PlausibleWeb.Live.Components.Visitors.html#chart/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Visitors.gradient_defs/1","doc":"","ref":"PlausibleWeb.Live.Components.Visitors.html#gradient_defs/1"},{"type":"module","title":"PlausibleWeb.Live.Flash","doc":"Flash component for LiveViews - works also when embedded within dead views","ref":"PlausibleWeb.Live.Flash.html"},{"type":"function","title":"PlausibleWeb.Live.Flash.clear_flash_button/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#clear_flash_button/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.flash/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#flash/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Flash.flash/1","doc":"* `key` (`:string`) - Defaults to `nil`.\n* `on_close` (`:any`) - Defaults to `\"lv:clear-flash\"`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.Flash.html#flash/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Flash.flash/1","doc":"* `icon` (required)\n* `title`\n* `message` (required)","ref":"PlausibleWeb.Live.Flash.html#flash/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Flash.flash_messages/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#flash_messages/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.icon_error/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#icon_error/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.icon_success/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#icon_success/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.put_live_flash/3","doc":"","ref":"PlausibleWeb.Live.Flash.html#put_live_flash/3"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings","doc":"LiveView allowing listing, creating and deleting funnels.","ref":"PlausibleWeb.Live.FunnelSettings.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings.Form","doc":"Phoenix LiveComponent that renders a form used for setting up funnels.\nMakes use of dynamically placed `PlausibleWeb.Live.FunnelSettings.ComboBox` components\nto allow building searchable funnel definitions out of list of goals available.","ref":"PlausibleWeb.Live.FunnelSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.add_step_button/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#add_step_button/1"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.evaluation/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#evaluation/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.FunnelSettings.Form.evaluation/1","doc":"* `at` (`:integer`) (required)\n* `result` (`:map`) (required)","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#evaluation/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.handle_info/2","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.mount/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.remove_step_button/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#remove_step_button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.FunnelSettings.Form.remove_step_button/1","doc":"* `step_idx` (`:integer`) (required)","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#remove_step_button/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings.List","doc":"Phoenix LiveComponent module that renders a list of funnels with their names\nand the number of steps they have.\n\nEach funnel is displayed with a delete button, which triggers a confirmation\nmessage before deleting the funnel from the UI. If there are no funnels\nconfigured for the site, a message is displayed indicating so.","ref":"PlausibleWeb.Live.FunnelSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.List.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings","doc":"LiveView allowing listing, creating and deleting goals.","ref":"PlausibleWeb.Live.GoalSettings.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings.Form","doc":"Live view for the goal creation form","ref":"PlausibleWeb.Live.GoalSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.custom_event_fields/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#custom_event_fields/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.Form.custom_event_fields/1","doc":"* `f` (`Phoenix.HTML.Form`)\n* `site` (`Plausible.Site`)\n* `current_user` (`Plausible.Auth.User`)\n* `has_access_to_revenue_goals?` (`:boolean`)\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.GoalSettings.Form.html#custom_event_fields/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.pageview_fields/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageview_fields/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.Form.pageview_fields/1","doc":"* `f` (`Phoenix.HTML.Form`)\n* `site` (`Plausible.Site`)\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageview_fields/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.pageviews_tab/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageviews_tab/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#render/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.suggest_page_paths/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#suggest_page_paths/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.tabs/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#tabs/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.update/2","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#update/2"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings.List","doc":"Phoenix LiveComponent module that renders a list of goals","ref":"PlausibleWeb.Live.GoalSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.List.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.List.render/1","doc":"* `goals` (`:list`) (required)\n* `domain` (`:string`) (required)\n* `filter_text` (`:string`)\n* `site` (`Plausible.Site`) (required)","ref":"PlausibleWeb.Live.GoalSettings.List.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Live.Plugins.API.Settings","doc":"LiveView allowing listing, creating and revoking Plugins API tokens.","ref":"PlausibleWeb.Live.Plugins.API.Settings.html"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.mount/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.render/1","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.Plugins.API.TokenForm","doc":"Live view for the goal creation form","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.mount/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.render/1","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings","doc":"LiveView allowing listing, allowing and disallowing custom event properties.","ref":"PlausibleWeb.Live.PropsSettings.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings.Form","doc":"Live view for the custom props creation form","ref":"PlausibleWeb.Live.PropsSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.handle_info/2","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.mount/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings.List","doc":"Phoenix LiveComponent module that renders a list of custom properties","ref":"PlausibleWeb.Live.PropsSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.List.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.PropsSettings.List.render/1","doc":"* `props` (`:list`) (required)\n* `domain` (`:string`) (required)\n* `filter_text` (`:string`)","ref":"PlausibleWeb.Live.PropsSettings.List.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Live.RegisterForm","doc":"LiveView for registration form.","ref":"PlausibleWeb.Live.RegisterForm.html"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.mount/3","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.render/1","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.ResetPasswordForm","doc":"LiveView for password reset form.","ref":"PlausibleWeb.Live.ResetPasswordForm.html"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.mount/3","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.render/1","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.SentryContext","doc":"This module tries to supply LiveViews with some common Sentry context\n(without it, there is practically none).\n\nUse via `use PlausibleWeb.Live.SentryContext` in your LiveView module,\nor preferably via `use PlausibleWeb, :live_view`.\n\nIn case you have multiple LiveViews, there is `use PlausibleWeb, live_view: :no_sentry_context`\nexposed that allows you to skip using this module. This is because\nonly the root LiveView has access to `connect_info` and an exception will be\nthrown otherwise.","ref":"PlausibleWeb.Live.SentryContext.html"},{"type":"function","title":"PlausibleWeb.Live.SentryContext.on_mount/4","doc":"","ref":"PlausibleWeb.Live.SentryContext.html#on_mount/4"},{"type":"module","title":"PlausibleWeb.Live.Sites","doc":"LiveView for sites index.","ref":"PlausibleWeb.Live.Sites.html"},{"type":"function","title":"PlausibleWeb.Live.Sites.ellipsis_menu/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#ellipsis_menu/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.favicon/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#favicon/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_params/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_params/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.icon_pin/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#icon_pin/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.icon_pin/1","doc":"* Global attributes are accepted.","ref":"PlausibleWeb.Live.Sites.html#icon_pin/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.invitation/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#invitation/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.invitation/1","doc":"* `site` (`Plausible.Site`) (required)\n* `invitation` (`Plausible.Auth.Invitation`) (required)\n* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#invitation/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.invitation_modal/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#invitation_modal/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.invitation_modal/1","doc":"* `user` (`Plausible.Auth.User`) (required)","ref":"PlausibleWeb.Live.Sites.html#invitation_modal/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.mount/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.percentage_change/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#percentage_change/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.percentage_change/1","doc":"* `change` (`:integer`) (required)","ref":"PlausibleWeb.Live.Sites.html#percentage_change/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.render/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#render/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.search_form/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#search_form/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.search_form/1","doc":"* `filter_text` (`:string`) - Defaults to `\"\"`.\n* `uri` (`URI`) (required)","ref":"PlausibleWeb.Live.Sites.html#search_form/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.site/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#site/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.site/1","doc":"* `site` (`Plausible.Site`) (required)\n* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#site/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.site_stats/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#site_stats/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.site_stats/1","doc":"* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#site_stats/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.upgrade_nag_screen/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#upgrade_nag_screen/1"},{"type":"module","title":"PlausibleWeb.MJML.StatsReport","doc":"MJML rendered for the weekly or monthly report e-mail","ref":"PlausibleWeb.MJML.StatsReport.html"},{"type":"function","title":"PlausibleWeb.MJML.StatsReport.debug_mjml_template/0","doc":"Returns the raw MJML template. Useful for debugging rendering issues.","ref":"PlausibleWeb.MJML.StatsReport.html#debug_mjml_template/0"},{"type":"function","title":"PlausibleWeb.MJML.StatsReport.render/1","doc":"Safely render the MJML template using Phoenix.HTML","ref":"PlausibleWeb.MJML.StatsReport.html#render/1"},{"type":"module","title":"PlausibleWeb.PageController","doc":"","ref":"PlausibleWeb.PageController.html"},{"type":"function","title":"PlausibleWeb.PageController.index/2","doc":"The root path is never accessible in Plausible.Cloud because it is handled by the upstream reverse proxy.\n\nThis controller action is only ever triggered in self-hosted Plausible.","ref":"PlausibleWeb.PageController.html#index/2"},{"type":"module","title":"PlausibleWeb.PageView","doc":"","ref":"PlausibleWeb.PageView.html"},{"type":"function","title":"PlausibleWeb.PageView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.PageView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.PageView.index.html/1","doc":"","ref":"PlausibleWeb.PageView.html#index.html/1"},{"type":"function","title":"PlausibleWeb.PageView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.PageView.html#render/2"},{"type":"function","title":"PlausibleWeb.PageView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.PageView.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API","doc":"Plausible Plugins API","ref":"PlausibleWeb.Plugins.API.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.base_uri/0","doc":"Returns the API base URI, so that complete URLs can\nbe generated from forwared Router helpers.","ref":"PlausibleWeb.Plugins.API.html#base_uri/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps","doc":"Controller for the CustomProp resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.disable/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#disable/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.enable/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#enable/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.Goals","doc":"Controller for the Goal resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.create/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#create/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.delete/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#delete/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.delete_bulk/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#delete_bulk/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.get/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#get/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.index/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#index/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","doc":"Controller for the Shared Link resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.create/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#create/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.get/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#get/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.index/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#index/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Errors","doc":"Common responses for Plugins API","ref":"PlausibleWeb.Plugins.API.Errors.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Errors.error/3","doc":"","ref":"PlausibleWeb.Plugins.API.Errors.html#error/3"},{"type":"function","title":"PlausibleWeb.Plugins.API.Errors.unauthorized/1","doc":"","ref":"PlausibleWeb.Plugins.API.Errors.html#unauthorized/1"},{"type":"module","title":"PlausibleWeb.Plugins.API.Router","doc":"","ref":"PlausibleWeb.Plugins.API.Router.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Router.api/2","doc":"","ref":"PlausibleWeb.Plugins.API.Router.html#api/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Router.auth/2","doc":"","ref":"PlausibleWeb.Plugins.API.Router.html#auth/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Router.call/2","doc":"Callback invoked by Plug on every request.","ref":"PlausibleWeb.Plugins.API.Router.html#call/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Router.init/1","doc":"Callback required by Plug that initializes the router\nfor serving web requests.","ref":"PlausibleWeb.Plugins.API.Router.html#init/1"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp","doc":"OpenAPI schema for Goal","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","doc":"OpenAPI schema for Custom Property disable request","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","doc":"OpenAPI schema for Custom Property creation request","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","doc":"OpenAPI schema for SharedLink list response","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Error","doc":"OpenAPI schema for an error included in a response","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Error.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Error.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal","doc":"OpenAPI schema for Goal","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","doc":"OpenAPI schema for Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","doc":"OpenAPI schema for Custom Event Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","doc":"OpenAPI schema for Pageview Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","doc":"OpenAPI schema for Custom Event Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","doc":"OpenAPI schema for Custom Event Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","doc":"OpenAPI schema for bulk Goal deletion request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","doc":"OpenAPI schema for Goals list response","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","doc":"OpenAPI schema for Pageview Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","doc":"OpenAPI schema for Revenue Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","doc":"OpenAPI schema for common Goal Type\n\nFuture-proof: funnels etc.","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Link","doc":"OpenAPI Link schema","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Link.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Link.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.NotFound","doc":"OpenAPI schema for a generic 404 response","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.NotFound.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.NotFound.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","doc":"Pagination metadata OpenAPI schema","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","doc":"OpenAPI schema for a generic 402 response","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink","doc":"OpenAPI schema for SharedLink object","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","doc":"OpenAPI schema for SharedLink creation request","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","doc":"OpenAPI schema for SharedLink list response","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","doc":"OpenAPI schema for a generic 401 response","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","doc":"OpenAPI schema for a generic 422 response","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Spec","doc":"OpenAPI specification for the Plugins API","ref":"PlausibleWeb.Plugins.API.Spec.html"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.CustomProp","doc":"View for rendering Custom Props in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Error","doc":"View for rendering Plugins REST API errors","ref":"PlausibleWeb.Plugins.API.Views.Error.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Error.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Error.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Error.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Goal","doc":"View for rendering Goals in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.Goal.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Pagination","doc":"A view capable of rendering pagination metadata included\nin responses containing lists of objects.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.render_metadata_links/4","doc":"","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#render_metadata_links/4"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.SharedLink","doc":"View for rendering Shared Links in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.PluginsAPICase","doc":"This module defines the test case to be used by\ntests that require setting up a Plugins API connection.","ref":"PlausibleWeb.PluginsAPICase.html"},{"type":"module","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI","doc":"Plug for Basic HTTP Authentication using\nPlugins API Tokens lookup.","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html"},{"type":"function","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI.call/2","doc":"","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html#call/2"},{"type":"function","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI.init/1","doc":"","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html#init/1"},{"type":"module","title":"PlausibleWeb.Plugs.ErrorHandler","doc":"A thin macro wrapper around Plug.ErrorHandler that adds Sentry context\n containing a readable support hash presented to the users.\n To be used in the user-facing APIs, so that we don't leak internal\n server errors.\n\n Usage: `use PlausibleWeb.Plugs.ErrorHandler`","ref":"PlausibleWeb.Plugs.ErrorHandler.html"},{"type":"module","title":"PlausibleWeb.Plugs.MaybeDisableRegistration","doc":"Plug toggling registration according to selfhosted state.","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html"},{"type":"function","title":"PlausibleWeb.Plugs.MaybeDisableRegistration.call/2","doc":"","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html#call/2"},{"type":"function","title":"PlausibleWeb.Plugs.MaybeDisableRegistration.init/1","doc":"","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html#init/1"},{"type":"module","title":"PlausibleWeb.Plugs.NoRobots","doc":"Rejects bot requests by any means available.\n\nWe're adding `x-robots-tag` to the response header and annotate the conn\nwith \"noindex, nofollow\" under `private.robots` key.\n\nThe only exception is, if the request is trying to access our live demo\nat plausible.io/plausible.io - in which case we'll allow indexing, but deny\nfollowing links and skip the bot detection, in kind robots we trust.","ref":"PlausibleWeb.Plugs.NoRobots.html"},{"type":"module","title":"PlausibleWeb.RefInspector","doc":"","ref":"PlausibleWeb.RefInspector.html"},{"type":"function","title":"PlausibleWeb.RefInspector.parse/1","doc":"","ref":"PlausibleWeb.RefInspector.html#parse/1"},{"type":"function","title":"PlausibleWeb.RefInspector.right_uri?/1","doc":"","ref":"PlausibleWeb.RefInspector.html#right_uri?/1"},{"type":"module","title":"PlausibleWeb.RemoteIp","doc":"","ref":"PlausibleWeb.RemoteIp.html"},{"type":"function","title":"PlausibleWeb.RemoteIp.get/1","doc":"","ref":"PlausibleWeb.RemoteIp.html#get/1"},{"type":"module","title":"PlausibleWeb.RequireAccountPlug","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html"},{"type":"function","title":"PlausibleWeb.RequireAccountPlug.call/2","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.RequireAccountPlug.init/1","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.RequireLoggedOutPlug","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html"},{"type":"function","title":"PlausibleWeb.RequireLoggedOutPlug.call/2","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.RequireLoggedOutPlug.init/1","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Router","doc":"","ref":"PlausibleWeb.Router.html"},{"type":"function","title":"PlausibleWeb.Router.api/2","doc":"","ref":"PlausibleWeb.Router.html#api/2"},{"type":"function","title":"PlausibleWeb.Router.app_layout/2","doc":"","ref":"PlausibleWeb.Router.html#app_layout/2"},{"type":"function","title":"PlausibleWeb.Router.browser/2","doc":"","ref":"PlausibleWeb.Router.html#browser/2"},{"type":"function","title":"PlausibleWeb.Router.call/2","doc":"Callback invoked by Plug on every request.","ref":"PlausibleWeb.Router.html#call/2"},{"type":"function","title":"PlausibleWeb.Router.csrf/2","doc":"","ref":"PlausibleWeb.Router.html#csrf/2"},{"type":"function","title":"PlausibleWeb.Router.flags/2","doc":"","ref":"PlausibleWeb.Router.html#flags/2"},{"type":"function","title":"PlausibleWeb.Router.focus_layout/2","doc":"","ref":"PlausibleWeb.Router.html#focus_layout/2"},{"type":"function","title":"PlausibleWeb.Router.init/1","doc":"Callback required by Plug that initializes the router\nfor serving web requests.","ref":"PlausibleWeb.Router.html#init/1"},{"type":"function","title":"PlausibleWeb.Router.internal_stats_api/2","doc":"","ref":"PlausibleWeb.Router.html#internal_stats_api/2"},{"type":"function","title":"PlausibleWeb.Router.kaffy_browser/2","doc":"","ref":"PlausibleWeb.Router.html#kaffy_browser/2"},{"type":"function","title":"PlausibleWeb.Router.public_api/2","doc":"","ref":"PlausibleWeb.Router.html#public_api/2"},{"type":"function","title":"PlausibleWeb.Router.shared_link/2","doc":"","ref":"PlausibleWeb.Router.html#shared_link/2"},{"type":"module","title":"PlausibleWeb.SessionTimeoutPlug","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html"},{"type":"function","title":"PlausibleWeb.SessionTimeoutPlug.call/2","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.SessionTimeoutPlug.init/1","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Site.MembershipController","doc":"This controller deals with user management via the UI in Site Settings -> People. It's important to enforce permissions in this controller.\n\n Owner - Can manage users, can trigger a 'transfer ownership' request\n Admin - Can manage users\n Viewer - Can not access user management settings\n Anyone - Can accept invitations\n\n Everything else should be explicitly disallowed.","ref":"PlausibleWeb.Site.MembershipController.html"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.invite_member/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#invite_member/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.invite_member_form/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#invite_member_form/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.remove_member/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#remove_member/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.transfer_ownership/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#transfer_ownership/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.transfer_ownership_form/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#transfer_ownership_form/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.update_role/2","doc":"Updates the role of a user. The user being updated could be the same or different from the user taking\n the action. When updating the role, it's important to enforce permissions:\n\n Owner - Can update anyone's role except for themselves. If they want to change their own role, they have to use the 'transfer ownership' feature.\n Admin - Can update anyone's role except for owners. Can downgrade their own access to 'viewer'. Can promote a viewer to admin.","ref":"PlausibleWeb.Site.MembershipController.html#update_role/2"},{"type":"module","title":"PlausibleWeb.Site.MembershipView","doc":"","ref":"PlausibleWeb.Site.MembershipView.html"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Site.MembershipView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.invite_member_form.html/1","doc":"","ref":"PlausibleWeb.Site.MembershipView.html#invite_member_form.html/1"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Site.MembershipView.html#render/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Site.MembershipView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.transfer_ownership_form.html/1","doc":"","ref":"PlausibleWeb.Site.MembershipView.html#transfer_ownership_form.html/1"},{"type":"module","title":"PlausibleWeb.SiteController","doc":"","ref":"PlausibleWeb.SiteController.html"},{"type":"function","title":"PlausibleWeb.SiteController.add_monthly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_monthly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_snippet/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_snippet/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_snippet_after_domain_change/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_snippet_after_domain_change/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_spike_notification_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_spike_notification_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_weekly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_weekly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.change_domain/2","doc":"","ref":"PlausibleWeb.SiteController.html#change_domain/2"},{"type":"function","title":"PlausibleWeb.SiteController.change_domain_submit/2","doc":"","ref":"PlausibleWeb.SiteController.html#change_domain_submit/2"},{"type":"function","title":"PlausibleWeb.SiteController.create_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#create_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.create_site/2","doc":"","ref":"PlausibleWeb.SiteController.html#create_site/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_google_auth/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_google_auth/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_site/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_site/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_monthly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_monthly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_spike_notification/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_weekly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_weekly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.edit_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#edit_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_monthly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_monthly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_spike_notification/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_weekly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_weekly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.forget_imported/2","doc":"","ref":"PlausibleWeb.SiteController.html#forget_imported/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_confirm/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_confirm/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_user_metric_notice/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_user_metric_notice/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_view_id/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_view_id/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_view_id_form/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_view_id_form/2"},{"type":"function","title":"PlausibleWeb.SiteController.make_private/2","doc":"","ref":"PlausibleWeb.SiteController.html#make_private/2"},{"type":"function","title":"PlausibleWeb.SiteController.make_public/2","doc":"","ref":"PlausibleWeb.SiteController.html#make_public/2"},{"type":"function","title":"PlausibleWeb.SiteController.new/2","doc":"","ref":"PlausibleWeb.SiteController.html#new/2"},{"type":"function","title":"PlausibleWeb.SiteController.new_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#new_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_monthly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_monthly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_spike_notification_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_spike_notification_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_weekly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_weekly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.reset_stats/2","doc":"","ref":"PlausibleWeb.SiteController.html#reset_stats/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_danger_zone/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_danger_zone/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_email_reports/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_email_reports/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_funnels/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_funnels/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_general/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_general/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_goals/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_goals/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_integrations/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_integrations/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_people/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_people/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_props/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_props/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_visibility/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_visibility/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_feature_visibility/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_feature_visibility/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_google_auth/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_google_auth/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_settings/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_settings/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_spike_notification/2"},{"type":"module","title":"PlausibleWeb.SiteView","doc":"","ref":"PlausibleWeb.SiteView.html"},{"type":"function","title":"PlausibleWeb.SiteView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.SiteView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.SiteView.change_domain.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#change_domain.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.edit_shared_link.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#edit_shared_link.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_confirm.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_confirm.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_user_metric_form.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_user_metric_form.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_view_id_form.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_view_id_form.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.new.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#new.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.new_shared_link.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#new_shared_link.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.plausible_url/0","doc":"","ref":"PlausibleWeb.SiteView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.SiteView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.SiteView.html#render/2"},{"type":"function","title":"PlausibleWeb.SiteView.render_snippet/1","doc":"","ref":"PlausibleWeb.SiteView.html#render_snippet/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_danger_zone.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_danger_zone.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_email_reports.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_email_reports.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_funnels.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_funnels.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_general.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_general.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_goals.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_goals.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_google_import.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_google_import.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_integrations.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_integrations.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_people.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_people.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_props.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_props.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_search_console.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_search_console.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_visibility.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_visibility.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.shared_link_dest/2","doc":"","ref":"PlausibleWeb.SiteView.html#shared_link_dest/2"},{"type":"function","title":"PlausibleWeb.SiteView.snippet.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#snippet.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.snippet_after_domain_change.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#snippet_after_domain_change.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.SiteView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.SiteView.with_indefinite_article/1","doc":"","ref":"PlausibleWeb.SiteView.html#with_indefinite_article/1"},{"type":"module","title":"PlausibleWeb.StatsController","doc":"This controller is responsible for rendering stats dashboards.\n\nThe stats dashboards are currently the only part of the app that uses client-side\nrendering. Since the dashboards are heavily interactive, they are built with React\nwhich is an appropriate choice for highly interactive browser UIs.\n\n \nsequenceDiagram\n Browser->>StatsController: GET /mydomain.com\n StatsController-->>Browser: StatsView.render(\"stats.html\")\n Note left of Browser: ReactDom.render(Dashboard)\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/top-stats\n Api.StatsController --) Browser: {\"top_stats\": [...]}\n Note left of Browser: TopStats.render()\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/main-graph\n Api.StatsController --) Browser: [{\"plot\": [...], \"labels\": [...]}, ...]\n Note left of Browser: VisitorGraph.render()\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/sources\n Api.StatsController --) Browser: [{\"name\": \"Google\", \"visitors\": 292150}, ...]\n Note left of Browser: Sources.render()\n\n Note over Browser,StatsController: And so on, for all reports in the viewport\n \n\nThis reasoning for this sequence is as follows:\n 1. First paint is fast because it doesn't do any data aggregation yet - good UX\n 2. The basic structure of the dashboard is rendered with spinners before reports are ready - good UX\n 2. Rendering on the frontend allows for maximum interactivity. Re-rendering and re-fetching can be as granular as needed.\n 3. Routing on the frontend allows the user to navigate the dashboard without reloading the page and losing context\n 4. Rendering on the frontend allows caching results in the browser to reduce pressure on backends and storage\n 3.1 No client-side caching has been implemented yet. This is still theoretical. See https://github.com/plausible/analytics/discussions/1278\n 3.2 This is a big potential opportunity, because analytics data is mostly immutable. Clients can cache all historical data.\n 5. Since frontend rendering & navigation is harder to build and maintain than regular server-rendered HTML, we don't use SPA-style rendering anywhere else\n .The only place currently where the benefits outweigh the costs is the dashboard.","ref":"PlausibleWeb.StatsController.html"},{"type":"function","title":"PlausibleWeb.StatsController.authenticate_shared_link/2","doc":"","ref":"PlausibleWeb.StatsController.html#authenticate_shared_link/2"},{"type":"function","title":"PlausibleWeb.StatsController.csv_export/2","doc":"The export is limited to 300 entries for other reports and 100 entries for pages because bigger result sets\nstart causing failures. Since we request data like time on page or bounce_rate for pages in a separate query\nusing the IN filter, it causes the requests to balloon in payload size.","ref":"PlausibleWeb.StatsController.html#csv_export/2"},{"type":"function","title":"PlausibleWeb.StatsController.shared_link/2","doc":"Authorizes and renders a shared link:\n 1. Shared link with no password protection: needs to just make sure the shared link entry is still\n in our database. This check makes sure shared link access can be revoked by the site admins. If the\n shared link exists, render it directly.\n\n 2. Shared link with password protection: Same checks as without the password, but an extra step is taken to\n protect the page with a password. When the user passes the password challenge, a cookie is set with Plausible.Auth.Token.sign_shared_link().\n The cookie allows the user to access the dashboard for 24 hours without entering the password again.\n\n #","ref":"PlausibleWeb.StatsController.html#shared_link/2"},{"type":"function","title":"Backwards compatibility - PlausibleWeb.StatsController.shared_link/2","doc":"The URL format for shared links was changed in [this pull request](https://github.com/plausible/analytics/pull/752) in order\n to make the URLs easier to bookmark. The old format is supported along with the new in order to not break old links.\n\n See: https://plausible.io/docs/shared-links","ref":"PlausibleWeb.StatsController.html#shared_link/2-backwards-compatibility"},{"type":"function","title":"PlausibleWeb.StatsController.stats/2","doc":"","ref":"PlausibleWeb.StatsController.html#stats/2"},{"type":"module","title":"PlausibleWeb.StatsView","doc":"","ref":"PlausibleWeb.StatsView.html"},{"type":"function","title":"PlausibleWeb.StatsView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.StatsView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.StatsView.large_number_format/1","doc":"","ref":"PlausibleWeb.StatsView.html#large_number_format/1"},{"type":"function","title":"PlausibleWeb.StatsView.plausible_url/0","doc":"","ref":"PlausibleWeb.StatsView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.StatsView.pretty_stats_url/1","doc":"Returns a readable stats URL.\n\nNative Phoenix router functions percent-encode all diacritics, resulting in\nugly URLs, e.g. `https://plausible.io/café.com` transforms into\n`https://plausible.io/caf%C3%A9.com`.\n\nThis function encodes only the slash (`/`) character from the site's domain.","ref":"PlausibleWeb.StatsView.html#pretty_stats_url/1"},{"type":"function","title":"Examples - PlausibleWeb.StatsView.pretty_stats_url/1","doc":"iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"user.gittea.io/repo\"})\n \"http://localhost:8000/user.gittea.io%2Frepo\"\n\n iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"anakin.test\"})\n \"http://localhost:8000/anakin.test\"\n\n iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"café.test\"})\n \"http://localhost:8000/café.test\"","ref":"PlausibleWeb.StatsView.html#pretty_stats_url/1-examples"},{"type":"function","title":"PlausibleWeb.StatsView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.StatsView.html#render/2"},{"type":"function","title":"PlausibleWeb.StatsView.shared_link_password.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#shared_link_password.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.site_locked.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#site_locked.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.stats.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#stats.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.stats_container_class/1","doc":"","ref":"PlausibleWeb.StatsView.html#stats_container_class/1"},{"type":"function","title":"PlausibleWeb.StatsView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.StatsView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.StatsView.waiting_first_pageview.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#waiting_first_pageview.html/1"},{"type":"module","title":"PlausibleWeb.Tracker","doc":"","ref":"PlausibleWeb.Tracker.html"},{"type":"function","title":"PlausibleWeb.Tracker.call/2","doc":"","ref":"PlausibleWeb.Tracker.html#call/2"},{"type":"function","title":"PlausibleWeb.Tracker.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"PlausibleWeb.Tracker.html#child_spec/1"},{"type":"function","title":"PlausibleWeb.Tracker.init/1","doc":"","ref":"PlausibleWeb.Tracker.html#init/1"},{"type":"module","title":"PlausibleWeb.TwoFactor.Session","doc":"Functions for managing session data related to Two-Factor\nAuthentication.","ref":"PlausibleWeb.TwoFactor.Session.html"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.clear_2fa_user/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#clear_2fa_user/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.clear_remember_2fa/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#clear_remember_2fa/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.get_2fa_user/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#get_2fa_user/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.maybe_set_remember_2fa/3","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#maybe_set_remember_2fa/3"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.remember_2fa?/2","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#remember_2fa?/2"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.remember_2fa_days/0","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#remember_2fa_days/0"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.set_2fa_user/2","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#set_2fa_user/2"},{"type":"module","title":"PlausibleWeb.UnsubscribeController","doc":"","ref":"PlausibleWeb.UnsubscribeController.html"},{"type":"function","title":"PlausibleWeb.UnsubscribeController.monthly_report/2","doc":"","ref":"PlausibleWeb.UnsubscribeController.html#monthly_report/2"},{"type":"function","title":"PlausibleWeb.UnsubscribeController.weekly_report/2","doc":"","ref":"PlausibleWeb.UnsubscribeController.html#weekly_report/2"},{"type":"module","title":"PlausibleWeb.UnsubscribeView","doc":"","ref":"PlausibleWeb.UnsubscribeView.html"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.UnsubscribeView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.UnsubscribeView.html#render/2"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.success.html/1","doc":"","ref":"PlausibleWeb.UnsubscribeView.html#success.html/1"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.UnsubscribeView.html#template_not_found/2"},{"type":"extras","title":"Introduction","doc":"# Plausible Analytics\n\n \n \n \n \n \n \n Simple Metrics |\n Lightweight Script |\n Privacy Focused |\n Open Source |\n Docs |\n Contributing \n \n \n\n[Plausible Analytics](https://plausible.io/) is an easy to use, lightweight (< 1 KB), open source and privacy-friendly alternative to Google Analytics. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR. You can self-host or have us run Plausible for you in the cloud. Here's [the live demo of our own website stats](https://plausible.io/plausible.io). Made and hosted in the EU 🇪🇺\n\nWe are dedicated to making web analytics more privacy-friendly. Our mission is to reduce corporate surveillance by providing an alternative web analytics tool which doesn’t come from the AdTech world. We are completely independent and solely funded by our subscribers.\n\n![Plausible Analytics](https://plausible.io/docs/img/plausible-analytics.png)","ref":"readme.html"},{"type":"extras","title":"Why Plausible? - Introduction","doc":"Here's what makes Plausible a great Google Analytics alternative and why we're trusted by 11,000+ paying subscribers to deliver their website and business insights:\n\n- **Clutter Free**: Plausible Analytics provides [simple web analytics](https://plausible.io/simple-web-analytics) and it cuts through the noise. No layers of menus, no need for custom reports. Get all the important insights on one single page. No training necessary.\n- **GDPR/CCPA/PECR compliant**: Measure traffic, not individuals. No personal data or IP addresses are ever stored in our database. We don't use cookies or any other persistent identifiers. [Read more about our data policy](https://plausible.io/data-policy)\n- **Lightweight**: Plausible Analytics works by loading a script on your website, like Google Analytics. Our script is [45x smaller](https://plausible.io/lightweight-web-analytics), making your website quicker to load. You can also send events directly to our [events API](https://plausible.io/docs/events-api).\n- **Email or Slack reports**: Keep an eye on your traffic with weekly and/or monthly email or Slack reports. You can also get traffic spike notifications.\n- **Invite team members and share stats**: You have the option to be transparent and open your web analytics to everyone. Your website stats are private by default but you can choose to make them public so anyone with your custom link can view them. You can [invite team members](https://plausible.io/docs/users-roles) and assign user roles too.\n- **Define key goals and track conversions**: Create custom events with custom dimensions to track conversions and attribution to understand and identify the trends that matter. Includes easy ways to track outbound link clicks, file downloads and 404 error pages.\n- **Search keywords**: Integrate your dashboard with Google Search Console to get the most accurate reporting on your search keywords.\n- **SPA support**: Plausible is built with modern web frameworks in mind and it works automatically with any pushState based router on the frontend. We also support frameworks that use the URL hash for routing. See [our documentation](https://plausible.io/docs/hash-based-routing).\n- **Smooth transition from Google Analytics**: There's a realtime dashboard, entry pages report and integration with Search Console. You can track your paid campaigns and conversions. You can invite team members. You can even [import your historical Google Analytics stats](https://plausible.io/docs/google-analytics-import). Learn how to [get the most out of your Plausible experience](https://plausible.io/docs/your-plausible-experience) and join thousands who have already migrated from Google Analytics.\n\nInterested to learn more? [Read more on our website](https://plausible.io), learn more about the team and the goals of the project on [our about page](https://plausible.io/about) or explore [the documentation](https://plausible.io/docs).","ref":"readme.html#why-plausible"},{"type":"extras","title":"Why is Plausible Analytics Cloud not free like Google Analytics? - Introduction","doc":"Plausible Analytics is an independently owned and actively developed project. To keep the project development going, to stay in business, to continue putting effort into building a better product and to cover our costs, we need to charge a fee.\n\nGoogle Analytics is free because Google has built their company and their wealth by collecting and analyzing huge amounts of personal information from web users and using these personal and behavioral insights to sell advertisements.\n\nPlausible has no part in that business model. No personal data is being collected and analyzed either. With Plausible, you 100% own and control all of your website data. This data is not being shared with or sold to any third-parties.\n\nWe choose the subscription business model rather than the business model of surveillance capitalism. See reasons why we believe you should [stop using Google Analytics on your website](https://plausible.io/blog/remove-google-analytics).","ref":"readme.html#why-is-plausible-analytics-cloud-not-free-like-google-analytics"},{"type":"extras","title":"Getting started with Plausible - Introduction","doc":"The easiest way to get started with Plausible is with [our official managed service in the cloud](https://plausible.io/#pricing). It takes 2 minutes to start counting your stats with a worldwide CDN, high availability, backups, security and maintenance all done for you by us.\n\nIn order to be compliant with the GDPR and the Schrems II ruling, all visitor data for our managed service in the cloud is exclusively processed on servers and cloud infrastructure owned and operated by European providers. Your website data never leaves the EU.\n\nOur managed hosting can save a substantial amount of developer time and resources. For most sites this ends up being the best value option and the revenue goes to funding the maintenance and further development of Plausible. So you’ll be supporting open source software and getting a great service!\n\n#","ref":"readme.html#getting-started-with-plausible"},{"type":"extras","title":"Can Plausible Analytics be self-hosted? - Introduction","doc":"Plausible is [open source web analytics](https://plausible.io/open-source-website-analytics) and we have a free as in beer [self-hosted solution](https://plausible.io/self-hosted-web-analytics). Here are the differences between Plausible Analytics managed hosting in the cloud and the self-hosting:\n\n| | Plausible Cloud | Self-Hosting |\n| ------------- | ------------- | ------------- |\n| **Infrastructure management** | Easy and convenient. It takes 2 minutes to start counting your stats with a worldwide CDN, high availability, backups, security and maintenance all done for you by us. We manage everything so you don’t have to worry about anything and can focus on your stats. | You do it all yourself. You need to get a server and you need to manage your infrastructure. You are responsible for installation, maintenance, upgrades, server capacity, uptime, backup, security, stability, consistency, loading time and so on.|\n| **Release schedule** | Continuously developed and improved with new features and updates multiple times per week. | [It's a long term release](https://plausible.io/blog/building-open-source) published twice per year so latest features and improvements won't be immediately available.|\n| **Premium features** | All features available as listed in [our pricing plans](https://plausible.io/#pricing). | Selected premium features such as funnels and ecommerce revenue goals are not available as we aim to ensure a protective barrier around our cloud offering.|\n| **Bot filtering** | Advanced bot filtering for more accurate stats. Our algorithm detects and excludes non-human traffic patterns. We also exclude known bots by the User-Agent header and filter out traffic from data centers and referrer spam domains. | Basic bot filtering that targets the most common non-human traffic based on the User-Agent header and referrer spam domains.|\n| **Server location** | All visitor data is exclusively processed on EU-owned cloud infrastructure. We keep your site data on a secure, encrypted and green energy powered server in Germany. This ensures that your site data is protected by the strict European Union data privacy laws and ensures compliance with GDPR. Your website data never leaves the EU. | You have full control and can host your instance on any server in any country that you wish. Host it on a server in your basement or host it with any cloud provider wherever you want, even those that are not GDPR compliant.|\n| **Data portability** | You see all your site stats and metrics on our modern-looking, simple to use and fast loading dashboard. You can only see the stats aggregated in the dashboard. You can download the stats using the [CSV export](https://plausible.io/docs/export-stats), [stats API](https://plausible.io/docs/stats-api) or tools such as the [Data Studio Connector](https://plausible.io/docs/integration-guides#google-data-studio). | Do you want access to the raw data? Self-hosting gives you that option. You can take the data directly from the ClickHouse database. |\n| **Premium support** | Real support delivered by real human beings who build and maintain Plausible. | Premium support is not included. Self-hosting is community supported only.|\n| **Costs** | There's a cost associated with providing an analytics service so we charge a subscription fee. We choose the subscription business model rather than the business model of surveillance capitalism. Your money funds further development of Plausible. | You need to pay for your server, CDN, backups and whatever other cost there is associated with running the infrastructure. You never have to pay any fees to us. Your money goes to 3rd party companies with no connection to us.|\n\nInterested in self-hosting Plausible on your server? Take a look at our [self-hosting installation instructions](https://plausible.io/docs/self-hosting).\n\nPlausible Self-Hosted is a community supported project and there are no guarantees that you will get support from the creators of Plausible to troubleshoot your self-hosting issues. There is a [community supported forum](https://github.com/plausible/analytics/discussions/categories/self-hosted-support) where you can ask for help.\n\nOur only source of funding is our premium, managed service for running Plausible in the cloud. If you're looking for an alternative way to support the project, we've put together some sponsorship packages. If you choose to self-host Plausible you can [become a sponsor](https://github.com/sponsors/plausible) which is a great way to give back to the community and to contribute to the long-term sustainability of the project.","ref":"readme.html#can-plausible-analytics-be-self-hosted"},{"type":"extras","title":"Technology - Introduction","doc":"Plausible Analytics is a standard Elixir/Phoenix application backed by a PostgreSQL database for general data and a Clickhouse\ndatabase for stats. On the frontend we use [TailwindCSS](https://tailwindcss.com/) for styling and React to make the dashboard interactive.","ref":"readme.html#technology"},{"type":"extras","title":"Contributors - Introduction","doc":"For anyone wishing to contribute to Plausible, we recommend taking a look at [our contributor guide](https://github.com/plausible/analytics/blob/master/CONTRIBUTING.md).","ref":"readme.html#contributors"},{"type":"extras","title":"Feedback & Roadmap - Introduction","doc":"We welcome feedback from our community. We have a public roadmap driven by the features suggested by the community members. Take a look at our [feedback board](https://plausible.io/feedback). Please let us know if you have any requests and vote on open issues so we can better prioritize.\n\nTo stay up to date with all the latest news and product updates, make sure to follow us on [X (formerly Twitter)](https://twitter.com/plausiblehq), [LinkedIn](https://www.linkedin.com/company/plausible-analytics/) or [Mastodon](https://fosstodon.org/@plausible).","ref":"readme.html#feedback-roadmap"},{"type":"extras","title":"License & Trademarks - Introduction","doc":"Plausible is open source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can [find it here](https://github.com/plausible/analytics/blob/master/LICENSE.md).\n\nTo avoid issues with AGPL virality, we've released the JavaScript tracker which gets included on your website under the MIT license. You can [find it here](https://github.com/plausible/analytics/blob/master/tracker/LICENSE.md).\n\nCopyright (c) 2018-present Plausible Insights OÜ. Plausible Analytics name and logo are trademarks of Plausible Insights OÜ. Please see our [trademark guidelines](https://plausible.io/trademark) for info on acceptable usage.","ref":"readme.html#license-trademarks"},{"type":"extras","title":"Contributing","doc":"# Contributing\n\nWe welcome everyone to contribute to Plausible. This document is to help you on setting up your environment, finding a task, and opening pull requests.","ref":"contributing.html"},{"type":"extras","title":"Development setup - Contributing","doc":"The easiest way to get up and running is to [install](https://docs.docker.com/get-docker/) and use Docker for running both Postgres and Clickhouse.\n\nMake sure Docker, Elixir, Erlang and Node.js are all installed on your development machine. The [`.tool-versions`](https://github.com/plausible/analytics/blob/master/.tool-versions) file is available to use with [asdf](https://github.com/asdf-vm/asdf) or similar tools.\n\n#","ref":"contributing.html#development-setup"},{"type":"extras","title":"Start the environment - Contributing","doc":"1. Run both `make postgres` and `make clickhouse`.\n2. You can set up everything with `make install`, alternatively run each command separately:\n 1. Run `mix deps.get`. This will download the required Elixir dependencies.\n 2. Run `mix ecto.create`. This will create the required databases in both Postgres and Clickhouse.\n 3. Run `mix ecto.migrate` to build the database schema.\n 4. Run `mix run priv/repo/seeds.exs` to seed the database. Check the [Seeds](#Seeds) section for more.\n 5. Run `npm ci --prefix assets` to install the required client-side dependencies.\n 6. Run `npm ci --prefix tracker` to install the required tracker dependencies.\n 7. Run `mix assets.setup` to install Tailwind and Esbuild\n 8. Run `npm run deploy --prefix tracker` to generate tracker files in `priv/tracker/js`\n 9. Run `mix download_country_database` to fetch geolocation database\n3. Run `make server` or `mix phx.server` to start the Phoenix server.\n4. The system is now available on `localhost:8000`.\n\n#","ref":"contributing.html#start-the-environment"},{"type":"extras","title":"Seeds - Contributing","doc":"You can optionally seed your database to automatically create an account and a site with stats:\n\n1. Run `mix run priv/repo/seeds.exs` to seed the database.\n2. Start the server with `make server` and navigate to `http://localhost:8000/login`.\n3. Log in with the following e-mail and password combination: `user@plausible.test` and `plausible`.\n4. You should now have a `dummy.site` site with generated stats.\n\nAlternatively, you can manually create a new account:\n\n1. Navigate to `http://localhost:8000/register` and fill in the form.\n2. Fill in the rest of the forms and for the domain use `dummy.site`\n3. Skip the JS snippet and click start collecting data.\n4. Run `mix send_pageview` from the terminal to generate a fake pageview event for the dummy site.\n5. You should now be all set!\n\n#","ref":"contributing.html#seeds"},{"type":"extras","title":"Stopping Docker containers - Contributing","doc":"1. Stop and remove the Postgres container with `make postgres-stop`.\n2. Stop and remove the Clickhouse container with `make clickhouse-stop`.\n\nVolumes are preserved. You'll find that the Postgres and Clickhouse state are retained when you bring them up again the next time: no need to re-register and so on.\n\nNote: Since we are deleting the containers, be careful when deleting volumes with `docker volume prune`. You might accidentally delete the database and would have to go through re-registration process.\n\n#","ref":"contributing.html#stopping-docker-containers"},{"type":"extras","title":"Pre-commit hooks - Contributing","doc":"`pre-commit` requires Python to be available locally and covers Elixir, JavaScript, and CSS. Set up with `pip install --user pre-commit` followed by `pre-commit install`. Conversely, if the prompts are far too bothersome, remove with `pre-commit uninstall`.","ref":"contributing.html#pre-commit-hooks"},{"type":"extras","title":"Finding a task - Contributing","doc":"Bugs can be found in our [issue tracker](https://github.com/plausible/analytics/issues). Issues are usually up for grabs.\n\nNew features need to be discussed with the core team and the community first. If you're tackling a feature, please make sure it has been already discussed in the [Discussions tab](https://github.com/plausible/analytics/discussions). We kindly ask contributors to use the discussion comment section to propose a solution before opening a pull request.\n\nPull requests without an associated issue or discussion may still be merged, but we will focus on changes that have already been talked through.","ref":"contributing.html#finding-a-task"}],"content_type":"text/markdown"} \ No newline at end of file +searchData={"items":[{"type":"task","title":"mix cancel_subscription","doc":"This task is meant to replicate the behavior of cancelling\na subscription. On production, this action is initiated by\na Paddle webhook. Currently, only the subscription status\nis changed with that action.","ref":"Mix.Tasks.CancelSubscription.html"},{"type":"function","title":"Mix.Tasks.CancelSubscription.run/1","doc":"","ref":"Mix.Tasks.CancelSubscription.html#run/1"},{"type":"task","title":"mix clean_clickhouse","doc":"","ref":"Mix.Tasks.CleanClickhouse.html"},{"type":"function","title":"Mix.Tasks.CleanClickhouse.run/1","doc":"","ref":"Mix.Tasks.CleanClickhouse.html#run/1"},{"type":"task","title":"mix create_free_subscription","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html"},{"type":"function","title":"Mix.Tasks.CreateFreeSubscription.execute/1","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html#execute/1"},{"type":"function","title":"Mix.Tasks.CreateFreeSubscription.run/1","doc":"","ref":"Mix.Tasks.CreateFreeSubscription.html#run/1"},{"type":"task","title":"mix download_country_database","doc":"This task downloads the Country Lite database from DB-IP for self-hosted or development purposes.\nPlausible Cloud runs a paid version of DB-IP with more detailed geolocation data.","ref":"Mix.Tasks.DownloadCountryDatabase.html"},{"type":"function","title":"Mix.Tasks.DownloadCountryDatabase.run/1","doc":"","ref":"Mix.Tasks.DownloadCountryDatabase.html#run/1"},{"type":"task","title":"mix generate_referrer_favicons","doc":"","ref":"Mix.Tasks.GenerateReferrerFavicons.html"},{"type":"function","title":"Mix.Tasks.GenerateReferrerFavicons.run/1","doc":"","ref":"Mix.Tasks.GenerateReferrerFavicons.html#run/1"},{"type":"task","title":"mix pull_sandbox_subscription","doc":"","ref":"Mix.Tasks.PullSandboxSubscription.html"},{"type":"function","title":"Mix.Tasks.PullSandboxSubscription.run/1","doc":"","ref":"Mix.Tasks.PullSandboxSubscription.html#run/1"},{"type":"task","title":"mix send_pageview","doc":"It's often necessary to generate fake events for development and testing purposes. This Mix Task provides a quick and easy\nway to generate a pageview or custom event, either in your development environment or a remote Plausible instance.\n\nSee Mix.Tasks.SendPageview.usage/1 for more detailed documentation.","ref":"Mix.Tasks.SendPageview.html"},{"type":"function","title":"Mix.Tasks.SendPageview.run/1","doc":"","ref":"Mix.Tasks.SendPageview.html#run/1"},{"type":"module","title":"ObanErrorReporter","doc":"","ref":"ObanErrorReporter.html"},{"type":"function","title":"ObanErrorReporter.handle_event/4","doc":"","ref":"ObanErrorReporter.html#handle_event/4"},{"type":"module","title":"Plausible","doc":"Build-related macros","ref":"Plausible.html"},{"type":"function","title":"Plausible.do_on_full_build/1","doc":"","ref":"Plausible.html#do_on_full_build/1"},{"type":"macro","title":"Plausible.full_build?/0","doc":"","ref":"Plausible.html#full_build?/0"},{"type":"macro","title":"Plausible.on_full_build/1","doc":"","ref":"Plausible.html#on_full_build/1"},{"type":"macro","title":"Plausible.small_build?/0","doc":"","ref":"Plausible.html#small_build?/0"},{"type":"module","title":"Plausible.AsyncInsertRepo","doc":"Clickhouse access with async inserts enabled","ref":"Plausible.AsyncInsertRepo.html"},{"type":"function","title":"Plausible.AsyncInsertRepo.aggregate/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#aggregate/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.aggregate/4","doc":"","ref":"Plausible.AsyncInsertRepo.html#aggregate/4"},{"type":"function","title":"Plausible.AsyncInsertRepo.all/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.checked_out?/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.checkout/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#checkout/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.child_spec/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#child_spec/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.config/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#config/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.default_options/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#default_options/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.delete_all/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#delete_all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.AsyncInsertRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.exists?/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#exists?/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.get/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get!/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_by/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_by/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_by!/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_by!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.AsyncInsertRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_all/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_all/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_or_update/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_or_update!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.AsyncInsertRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.load/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#load/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.one/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#one/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.one!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#one!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.preload/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#preload/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.prepare_query/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.AsyncInsertRepo.html#query/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.AsyncInsertRepo.html#query!/3"},{"type":"function","title":"Plausible.AsyncInsertRepo.reload/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#reload/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.reload!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#reload!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.start_link/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#start_link/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.stop/1","doc":"","ref":"Plausible.AsyncInsertRepo.html#stop/1"},{"type":"function","title":"Plausible.AsyncInsertRepo.stream/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#stream/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.AsyncInsertRepo.html#to_sql/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#update/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update!/2","doc":"","ref":"Plausible.AsyncInsertRepo.html#update!/2"},{"type":"function","title":"Plausible.AsyncInsertRepo.update_all/3","doc":"","ref":"Plausible.AsyncInsertRepo.html#update_all/3"},{"type":"module","title":"Plausible.Auth","doc":"","ref":"Plausible.Auth.html"},{"type":"function","title":"Plausible.Auth.create_api_key/3","doc":"","ref":"Plausible.Auth.html#create_api_key/3"},{"type":"function","title":"Plausible.Auth.create_user/3","doc":"","ref":"Plausible.Auth.html#create_user/3"},{"type":"function","title":"Plausible.Auth.delete_api_key/2","doc":"","ref":"Plausible.Auth.html#delete_api_key/2"},{"type":"function","title":"Plausible.Auth.delete_user/1","doc":"","ref":"Plausible.Auth.html#delete_user/1"},{"type":"function","title":"Plausible.Auth.enterprise_configured?/1","doc":"","ref":"Plausible.Auth.html#enterprise_configured?/1"},{"type":"function","title":"Plausible.Auth.find_api_key/1","doc":"","ref":"Plausible.Auth.html#find_api_key/1"},{"type":"function","title":"Plausible.Auth.find_user_by/1","doc":"","ref":"Plausible.Auth.html#find_user_by/1"},{"type":"function","title":"Plausible.Auth.has_active_sites?/2","doc":"","ref":"Plausible.Auth.html#has_active_sites?/2"},{"type":"function","title":"Plausible.Auth.is_super_admin?/1","doc":"","ref":"Plausible.Auth.html#is_super_admin?/1"},{"type":"function","title":"Plausible.Auth.user_owns_sites?/1","doc":"","ref":"Plausible.Auth.html#user_owns_sites?/1"},{"type":"module","title":"Plausible.Auth.ApiKey","doc":"","ref":"Plausible.Auth.ApiKey.html"},{"type":"function","title":"Plausible.Auth.ApiKey.changeset/2","doc":"","ref":"Plausible.Auth.ApiKey.html#changeset/2"},{"type":"function","title":"Plausible.Auth.ApiKey.do_hash/1","doc":"","ref":"Plausible.Auth.ApiKey.html#do_hash/1"},{"type":"function","title":"Plausible.Auth.ApiKey.process_key/1","doc":"","ref":"Plausible.Auth.ApiKey.html#process_key/1"},{"type":"function","title":"Plausible.Auth.ApiKey.update/2","doc":"","ref":"Plausible.Auth.ApiKey.html#update/2"},{"type":"type","title":"Plausible.Auth.ApiKey.t/0","doc":"","ref":"Plausible.Auth.ApiKey.html#t:t/0"},{"type":"module","title":"Plausible.Auth.ApiKeyAdmin","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.create_changeset/2","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#create_changeset/2"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.custom_index_query/3","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.form_fields/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.index/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#index/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.search_fields/1","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.Auth.ApiKeyAdmin.update_changeset/2","doc":"","ref":"Plausible.Auth.ApiKeyAdmin.html#update_changeset/2"},{"type":"module","title":"Plausible.Auth.EmailActivationCode","doc":"Schema for email activation codes.","ref":"Plausible.Auth.EmailActivationCode.html"},{"type":"function","title":"Plausible.Auth.EmailActivationCode.generate_code/0","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#generate_code/0"},{"type":"function","title":"Plausible.Auth.EmailActivationCode.new/2","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#new/2"},{"type":"type","title":"Plausible.Auth.EmailActivationCode.t/0","doc":"","ref":"Plausible.Auth.EmailActivationCode.html#t:t/0"},{"type":"module","title":"Plausible.Auth.EmailVerification","doc":"API for verifying emails.","ref":"Plausible.Auth.EmailVerification.html"},{"type":"function","title":"Plausible.Auth.EmailVerification.any?/1","doc":"","ref":"Plausible.Auth.EmailVerification.html#any?/1"},{"type":"function","title":"Plausible.Auth.EmailVerification.expired?/1","doc":"","ref":"Plausible.Auth.EmailVerification.html#expired?/1"},{"type":"function","title":"Plausible.Auth.EmailVerification.issue_code/2","doc":"","ref":"Plausible.Auth.EmailVerification.html#issue_code/2"},{"type":"function","title":"Plausible.Auth.EmailVerification.verify_code/2","doc":"","ref":"Plausible.Auth.EmailVerification.html#verify_code/2"},{"type":"module","title":"Plausible.Auth.GracePeriod","doc":"This embedded schema stores information about the account locking grace\nperiod.\n\nUsers are given this 7-day grace period to upgrade their account after\noutgrowing their subscriptions. The actual account locking happens in\nbackground with `Plausible.Workers.LockSites`.\n\nThe grace period can also be manual, without an end date, being controlled\nmanually from the CRM, and not by the background site locker job. This is\nuseful for enterprise subscriptions.","ref":"Plausible.Auth.GracePeriod.html"},{"type":"function","title":"Plausible.Auth.GracePeriod.active?/1","doc":"Returns whether the grace period is still active for a User. Defaults to\nfalse if the user is nil or there is no grace period.","ref":"Plausible.Auth.GracePeriod.html#active?/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.end_changeset/1","doc":"Ends an existing grace period by `setting users.grace_period.is_over` to true.\nThis means the grace period has expired.","ref":"Plausible.Auth.GracePeriod.html#end_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.expired?/1","doc":"Returns whether the grace period has already expired for a User. Defaults to\nfalse if the user is nil or there is no grace period.","ref":"Plausible.Auth.GracePeriod.html#expired?/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.remove_changeset/1","doc":"Removes the grace period from the User completely.","ref":"Plausible.Auth.GracePeriod.html#remove_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.start_changeset/1","doc":"Starts a account locking grace period of 7 days by changing the User struct.","ref":"Plausible.Auth.GracePeriod.html#start_changeset/1"},{"type":"function","title":"Plausible.Auth.GracePeriod.start_manual_lock_changeset/1","doc":"Starts a manual account locking grace period by changing the User struct.\nManual locking means the grace period can only be removed manually from the\nCRM.","ref":"Plausible.Auth.GracePeriod.html#start_manual_lock_changeset/1"},{"type":"type","title":"Plausible.Auth.GracePeriod.t/0","doc":"","ref":"Plausible.Auth.GracePeriod.html#t:t/0"},{"type":"module","title":"Plausible.Auth.Invitation","doc":"","ref":"Plausible.Auth.Invitation.html"},{"type":"function","title":"Plausible.Auth.Invitation.new/1","doc":"","ref":"Plausible.Auth.Invitation.html#new/1"},{"type":"type","title":"Plausible.Auth.Invitation.t/0","doc":"","ref":"Plausible.Auth.Invitation.html#t:t/0"},{"type":"module","title":"Plausible.Auth.Password","doc":"","ref":"Plausible.Auth.Password.html"},{"type":"function","title":"Plausible.Auth.Password.dummy_calculation/0","doc":"","ref":"Plausible.Auth.Password.html#dummy_calculation/0"},{"type":"function","title":"Plausible.Auth.Password.hash/1","doc":"","ref":"Plausible.Auth.Password.html#hash/1"},{"type":"function","title":"Plausible.Auth.Password.match?/2","doc":"","ref":"Plausible.Auth.Password.html#match?/2"},{"type":"module","title":"Plausible.Auth.TOTP","doc":"TOTP auth context\n\nHandles all the aspects of TOTP setup, management and validation for users.","ref":"Plausible.Auth.TOTP.html"},{"type":"module","title":"Setup - Plausible.Auth.TOTP","doc":"TOTP setup is started with `initiate/1`. At this stage, a random secret\nbinary is generated for user and stored under `User.totp_secret`. The secret\nis additionally encrypted while stored in the database using `Cloak`. The\nvault for safe storage is configured in `Plausible.Auth.TOTP.Vault` via\na dedicated `Ecto` type defined in `Plausible.Auth.TOTP.EncryptedBinary`.\nThe function returns updated user along with TOTP URI and a readable form\nof secret. Both - the URI and readable secret - are meant for exposure \nin the user's setup screen. The URI should be encoded as a QR code.\n\nAfter initiation, user is expected to confirm valid setup with `enable/2`,\nproviding TOTP code from their authenticator app. After code validation \npasses successfully, the `User.totp_enabled` flag is set to `true`.\nFinally, the user must be immediately presented with a list of recovery codes\nreturned by the same call of `enable/2`. The codes should be presented\nin copy/paste friendly form, ideally also with a print-friendly view option.\n\nThe `initiate/1` and `enable/1` functions can be safely called multiple\ntimes, allowing user to abort and restart setup up to these stages.","ref":"Plausible.Auth.TOTP.html#module-setup"},{"type":"module","title":"Management - Plausible.Auth.TOTP","doc":"The state of TOTP for a particular user can be chcecked by calling\n`enabled?/1` or `initiated?/1`.\n\nTOTP can be disabled with `disable/2`. User is expected to provide their\ncurrent password for safety. Once disabled, all TOTP user settings are\ncleared and any remaining generated recovery codes are removed. The function\ncan be safely run more than once.\n\nIf the user needs to regenerate the recovery codes outside of setup procedure,\nthey must do it via `generate_recovery_codes/2`, providing their current\npassword for safety. They must be warned that any existing recovery codes\nwill be invalidated.","ref":"Plausible.Auth.TOTP.html#module-management"},{"type":"module","title":"Validation - Plausible.Auth.TOTP","doc":"After logging in, user's TOTP state must be checked with `enabled?/1`.\n\nIf enabled, user must be presented with TOTP code input form accepting\n6 digit characters. The code must be checked using `validate_code/2`.\n\nUser must have an option to alternatively input one of their recovery\ncodes. Those codes must be checked with `use_recovery_code/2`.","ref":"Plausible.Auth.TOTP.html#module-validation"},{"type":"module","title":"Code validity - Plausible.Auth.TOTP","doc":"In case of TOTP codes, a grace period of 30 seconds is applied, which\nallows user to use their current and previous TOTP code, assuming 30\nsecond validity window of each. This allows user to use code that was \nabout to expire before the submission. Regardless of that, each TOTP\ncode can be used only once. Validation procedure rejects repeat use\nof the same code for safety. It's done by tracking last time a TOTP\ncode was used successfully, stored under `User.totp_last_used_at`.\n\nIn case of recovery codes, each code is deleted immediately after use.\nThey are strictly one-time use only.","ref":"Plausible.Auth.TOTP.html#module-code-validity"},{"type":"module","title":"TOTP Token - Plausible.Auth.TOTP","doc":"TOTP token is an alternate method of authenticating user session.\nIt's main use case is \"trust this device\" functionality, where user\ncan decide to skip 2FA verification for a particular browser session \nfor next N days. The token should then be stored in an encrypted,\nsigned cookie with a proper expiration timestamp.\n\nThe token should be reset each time it either fails to match\nor when other credentials (like password) are reset. This should\neffectively invalidate all trusted devices for a given user.","ref":"Plausible.Auth.TOTP.html#module-totp-token"},{"type":"function","title":"Plausible.Auth.TOTP.disable/2","doc":"","ref":"Plausible.Auth.TOTP.html#disable/2"},{"type":"function","title":"Plausible.Auth.TOTP.enable/3","doc":"","ref":"Plausible.Auth.TOTP.html#enable/3"},{"type":"function","title":"Plausible.Auth.TOTP.enabled?/1","doc":"","ref":"Plausible.Auth.TOTP.html#enabled?/1"},{"type":"function","title":"Plausible.Auth.TOTP.generate_recovery_codes/1","doc":"","ref":"Plausible.Auth.TOTP.html#generate_recovery_codes/1"},{"type":"function","title":"Plausible.Auth.TOTP.generate_recovery_codes/2","doc":"","ref":"Plausible.Auth.TOTP.html#generate_recovery_codes/2"},{"type":"function","title":"Plausible.Auth.TOTP.initiate/1","doc":"","ref":"Plausible.Auth.TOTP.html#initiate/1"},{"type":"function","title":"Plausible.Auth.TOTP.initiated?/1","doc":"","ref":"Plausible.Auth.TOTP.html#initiated?/1"},{"type":"function","title":"Plausible.Auth.TOTP.reset_token/1","doc":"","ref":"Plausible.Auth.TOTP.html#reset_token/1"},{"type":"function","title":"Plausible.Auth.TOTP.use_recovery_code/2","doc":"","ref":"Plausible.Auth.TOTP.html#use_recovery_code/2"},{"type":"function","title":"Plausible.Auth.TOTP.validate_code/3","doc":"","ref":"Plausible.Auth.TOTP.html#validate_code/3"},{"type":"module","title":"Plausible.Auth.TOTP.EncryptedBinary","doc":"Defines an Ecto type so Cloak.Ecto can encrypt/decrypt a binary field.","ref":"Plausible.Auth.TOTP.EncryptedBinary.html"},{"type":"module","title":"Plausible.Auth.TOTP.RecoveryCode","doc":"Schema for TOTP recovery codes.","ref":"Plausible.Auth.TOTP.RecoveryCode.html"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.changeset/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#changeset/2"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.changeset_to_map/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#changeset_to_map/2"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.generate_codes/1","doc":"Generates `count` unique recovery codes, each alphanumeric\nand 10 characters long.","ref":"Plausible.Auth.TOTP.RecoveryCode.html#generate_codes/1"},{"type":"function","title":"Plausible.Auth.TOTP.RecoveryCode.match?/2","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#match?/2"},{"type":"type","title":"Plausible.Auth.TOTP.RecoveryCode.t/0","doc":"","ref":"Plausible.Auth.TOTP.RecoveryCode.html#t:t/0"},{"type":"module","title":"Plausible.Auth.TOTP.Vault","doc":"Provides a vault that will be used to encrypt/decrypt the TOTP secrets of users who enable it.","ref":"Plausible.Auth.TOTP.Vault.html"},{"type":"function","title":"Plausible.Auth.TOTP.Vault.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Auth.TOTP.Vault.html#child_spec/1"},{"type":"function","title":"Plausible.Auth.TOTP.Vault.start_link/1","doc":"","ref":"Plausible.Auth.TOTP.Vault.html#start_link/1"},{"type":"module","title":"Plausible.Auth.Token","doc":"","ref":"Plausible.Auth.Token.html"},{"type":"function","title":"Plausible.Auth.Token.sign_password_reset/1","doc":"","ref":"Plausible.Auth.Token.html#sign_password_reset/1"},{"type":"function","title":"Plausible.Auth.Token.sign_shared_link/1","doc":"","ref":"Plausible.Auth.Token.html#sign_shared_link/1"},{"type":"function","title":"Plausible.Auth.Token.verify_password_reset/1","doc":"","ref":"Plausible.Auth.Token.html#verify_password_reset/1"},{"type":"function","title":"Plausible.Auth.Token.verify_shared_link/1","doc":"","ref":"Plausible.Auth.Token.html#verify_shared_link/1"},{"type":"module","title":"Plausible.Auth.User","doc":"","ref":"Plausible.Auth.User.html"},{"type":"function","title":"Plausible.Auth.User.cancel_email_changeset/1","doc":"","ref":"Plausible.Auth.User.html#cancel_email_changeset/1"},{"type":"function","title":"Plausible.Auth.User.changeset/2","doc":"","ref":"Plausible.Auth.User.html#changeset/2"},{"type":"function","title":"Plausible.Auth.User.email_changeset/2","doc":"","ref":"Plausible.Auth.User.html#email_changeset/2"},{"type":"function","title":"Plausible.Auth.User.end_trial/1","doc":"","ref":"Plausible.Auth.User.html#end_trial/1"},{"type":"function","title":"Plausible.Auth.User.hash_password/1","doc":"","ref":"Plausible.Auth.User.html#hash_password/1"},{"type":"function","title":"Plausible.Auth.User.new/1","doc":"","ref":"Plausible.Auth.User.html#new/1"},{"type":"function","title":"Plausible.Auth.User.password_strength/1","doc":"","ref":"Plausible.Auth.User.html#password_strength/1"},{"type":"function","title":"Plausible.Auth.User.profile_img_url/1","doc":"","ref":"Plausible.Auth.User.html#profile_img_url/1"},{"type":"function","title":"Plausible.Auth.User.remove_trial_expiry/1","doc":"","ref":"Plausible.Auth.User.html#remove_trial_expiry/1"},{"type":"function","title":"Plausible.Auth.User.set_password/2","doc":"","ref":"Plausible.Auth.User.html#set_password/2"},{"type":"function","title":"Plausible.Auth.User.settings_changeset/2","doc":"","ref":"Plausible.Auth.User.html#settings_changeset/2"},{"type":"function","title":"Plausible.Auth.User.start_trial/1","doc":"","ref":"Plausible.Auth.User.html#start_trial/1"},{"type":"function","title":"Plausible.Auth.User.subscription_accept_traffic_until_offset_days/0","doc":"","ref":"Plausible.Auth.User.html#subscription_accept_traffic_until_offset_days/0"},{"type":"function","title":"Plausible.Auth.User.trial_accept_traffic_until_offset_days/0","doc":"","ref":"Plausible.Auth.User.html#trial_accept_traffic_until_offset_days/0"},{"type":"type","title":"Plausible.Auth.User.t/0","doc":"","ref":"Plausible.Auth.User.html#t:t/0"},{"type":"module","title":"Plausible.Auth.UserAdmin","doc":"","ref":"Plausible.Auth.UserAdmin.html"},{"type":"function","title":"Plausible.Auth.UserAdmin.custom_index_query/3","doc":"","ref":"Plausible.Auth.UserAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Auth.UserAdmin.delete/2","doc":"","ref":"Plausible.Auth.UserAdmin.html#delete/2"},{"type":"function","title":"Plausible.Auth.UserAdmin.form_fields/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Auth.UserAdmin.index/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#index/1"},{"type":"function","title":"Plausible.Auth.UserAdmin.resource_actions/1","doc":"","ref":"Plausible.Auth.UserAdmin.html#resource_actions/1"},{"type":"module","title":"Plausible.Billing","doc":"","ref":"Plausible.Billing.html"},{"type":"function","title":"Plausible.Billing.active_subscription_for/1","doc":"","ref":"Plausible.Billing.html#active_subscription_for/1"},{"type":"function","title":"Plausible.Billing.cancelled_subscription_notice_dismiss_id/1","doc":"","ref":"Plausible.Billing.html#cancelled_subscription_notice_dismiss_id/1"},{"type":"function","title":"Plausible.Billing.change_plan/2","doc":"","ref":"Plausible.Billing.html#change_plan/2"},{"type":"function","title":"Plausible.Billing.change_plan_preview/2","doc":"","ref":"Plausible.Billing.html#change_plan_preview/2"},{"type":"function","title":"Plausible.Billing.check_needs_to_upgrade/1","doc":"","ref":"Plausible.Billing.html#check_needs_to_upgrade/1"},{"type":"function","title":"Plausible.Billing.format_price/1","doc":"","ref":"Plausible.Billing.html#format_price/1"},{"type":"function","title":"Plausible.Billing.has_active_subscription?/1","doc":"","ref":"Plausible.Billing.html#has_active_subscription?/1"},{"type":"function","title":"Plausible.Billing.paddle_api/0","doc":"","ref":"Plausible.Billing.html#paddle_api/0"},{"type":"function","title":"Plausible.Billing.subscription_cancelled/1","doc":"","ref":"Plausible.Billing.html#subscription_cancelled/1"},{"type":"function","title":"Plausible.Billing.subscription_created/1","doc":"","ref":"Plausible.Billing.html#subscription_created/1"},{"type":"function","title":"Plausible.Billing.subscription_payment_succeeded/1","doc":"","ref":"Plausible.Billing.html#subscription_payment_succeeded/1"},{"type":"function","title":"Plausible.Billing.subscription_updated/1","doc":"","ref":"Plausible.Billing.html#subscription_updated/1"},{"type":"module","title":"Plausible.Billing.Ecto.Feature","doc":"Ecto type representing a feature. Features are cast and stored in the\ndatabase as strings and loaded as modules, for example: `\"props\"` is loaded\nas `Plausible.Billing.Feature.Props`.","ref":"Plausible.Billing.Ecto.Feature.html"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.cast/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.dump/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.load/1","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.Feature.type/0","doc":"","ref":"Plausible.Billing.Ecto.Feature.html#type/0"},{"type":"module","title":"Plausible.Billing.Ecto.FeatureList","doc":"Ecto type representing a list of features. This is a proxy for \n`{:array, Plausible.Billing.Ecto.Feature}` and is required for Kaffy to\nrender the HTML input correctly.","ref":"Plausible.Billing.Ecto.FeatureList.html"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.cast/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.dump/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.load/1","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.render_form/5","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#render_form/5"},{"type":"function","title":"Plausible.Billing.Ecto.FeatureList.type/0","doc":"","ref":"Plausible.Billing.Ecto.FeatureList.html#type/0"},{"type":"module","title":"Plausible.Billing.Ecto.Limit","doc":"Ecto type representing a limit, that can be either a number or unlimited.\nUnlimited is dumped to the database as `-1` and loaded as `:unlimited` to\nkeep compatibility with the rest of the codebase.","ref":"Plausible.Billing.Ecto.Limit.html"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.cast/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#cast/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.dump/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#dump/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.embed_as/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#embed_as/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.equal?/2","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#equal?/2"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.load/1","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#load/1"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.render_form/5","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#render_form/5"},{"type":"function","title":"Plausible.Billing.Ecto.Limit.type/0","doc":"","ref":"Plausible.Billing.Ecto.Limit.html#type/0"},{"type":"module","title":"Plausible.Billing.EnterprisePlan","doc":"","ref":"Plausible.Billing.EnterprisePlan.html"},{"type":"function","title":"Plausible.Billing.EnterprisePlan.changeset/2","doc":"","ref":"Plausible.Billing.EnterprisePlan.html#changeset/2"},{"type":"module","title":"Plausible.Billing.EnterprisePlanAdmin","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.custom_index_query/3","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.form_fields/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.index/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#index/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.search_fields/1","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.Billing.EnterprisePlanAdmin.update_changeset/2","doc":"","ref":"Plausible.Billing.EnterprisePlanAdmin.html#update_changeset/2"},{"type":"behaviour","title":"Plausible.Billing.Feature","doc":"This module provides an interface for managing features, e.g. Revenue Goals,\nFunnels and Custom Properties.\n\nFeature modules have functions for toggling the feature on/off and checking\nwhether the feature is available for a site/user.\n\nWhen defining new features, the following options are expected by the\n`__using__` macro:\n\n * `:name` - an atom representing the feature name in the plan JSON\n file (see also Plausible.Billing.Plan).\n\n * `:display_name` - human-readable display name of the feature\n\n * `:toggle_field` - the field in the %Plausible.Site{} schema that toggles\n the feature. If `nil` or not set, toggle/2 silently returns `:ok`\n\n * `:free` - if set to `true`, makes the `check_availability/1` function\n always return `:ok` (no matter the user's subscription status)\n\nFunctions defined by `__using__` can be overridden if needed.","ref":"Plausible.Billing.Feature.html"},{"type":"callback","title":"Plausible.Billing.Feature.check_availability/1","doc":"Checks whether the site owner or the user plan includes the given feature.","ref":"Plausible.Billing.Feature.html#c:check_availability/1"},{"type":"callback","title":"Plausible.Billing.Feature.display_name/0","doc":"Returns the human-readable display name of the feature.","ref":"Plausible.Billing.Feature.html#c:display_name/0"},{"type":"callback","title":"Plausible.Billing.Feature.enabled?/1","doc":"Checks whether a feature is enabled or not. Returns false when the feature is\ndisabled or the user does not have access to it.","ref":"Plausible.Billing.Feature.html#c:enabled?/1"},{"type":"callback","title":"Plausible.Billing.Feature.free?/0","doc":"Returns whether the feature is free to use or not.","ref":"Plausible.Billing.Feature.html#c:free?/0"},{"type":"function","title":"Plausible.Billing.Feature.list/0","doc":"Lists all available feature modules.","ref":"Plausible.Billing.Feature.html#list/0"},{"type":"callback","title":"Plausible.Billing.Feature.name/0","doc":"Returns the atom representing the feature name in the plan JSON file.","ref":"Plausible.Billing.Feature.html#c:name/0"},{"type":"callback","title":"Plausible.Billing.Feature.opted_out?/1","doc":"Returns whether the site explicitly opted out of the feature. This function\nis different from enabled/1, because enabled/1 returns false when the site\nowner does not have access to the feature.","ref":"Plausible.Billing.Feature.html#c:opted_out?/1"},{"type":"callback","title":"Plausible.Billing.Feature.toggle/2","doc":"Toggles the feature on and off for a site. Returns\n`{:error, :upgrade_required}` when toggling a feature the site owner does not\nhave access to.","ref":"Plausible.Billing.Feature.html#c:toggle/2"},{"type":"callback","title":"Plausible.Billing.Feature.toggle_field/0","doc":"Returns the %Plausible.Site{} field that toggles the feature on and off.","ref":"Plausible.Billing.Feature.html#c:toggle_field/0"},{"type":"type","title":"Plausible.Billing.Feature.t/0","doc":"","ref":"Plausible.Billing.Feature.html#t:t/0"},{"type":"module","title":"Plausible.Billing.PaddleApi","doc":"","ref":"Plausible.Billing.PaddleApi.html"},{"type":"function","title":"Plausible.Billing.PaddleApi.checkout_domain/0","doc":"","ref":"Plausible.Billing.PaddleApi.html#checkout_domain/0"},{"type":"function","title":"Plausible.Billing.PaddleApi.fetch_prices/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#fetch_prices/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.get_invoices/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#get_invoices/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.get_subscription/1","doc":"","ref":"Plausible.Billing.PaddleApi.html#get_subscription/1"},{"type":"function","title":"Plausible.Billing.PaddleApi.update_subscription/2","doc":"","ref":"Plausible.Billing.PaddleApi.html#update_subscription/2"},{"type":"function","title":"Plausible.Billing.PaddleApi.update_subscription_preview/2","doc":"","ref":"Plausible.Billing.PaddleApi.html#update_subscription_preview/2"},{"type":"function","title":"Plausible.Billing.PaddleApi.vendors_domain/0","doc":"","ref":"Plausible.Billing.PaddleApi.html#vendors_domain/0"},{"type":"module","title":"Plausible.Billing.Plans","doc":"","ref":"Plausible.Billing.Plans.html"},{"type":"function","title":"Plausible.Billing.Plans.all/0","doc":"","ref":"Plausible.Billing.Plans.html#all/0"},{"type":"function","title":"Plausible.Billing.Plans.available_plans_for/2","doc":"","ref":"Plausible.Billing.Plans.html#available_plans_for/2"},{"type":"function","title":"Plausible.Billing.Plans.business_plans_for/1","doc":"","ref":"Plausible.Billing.Plans.html#business_plans_for/1"},{"type":"function","title":"Plausible.Billing.Plans.business_tier?/1","doc":"","ref":"Plausible.Billing.Plans.html#business_tier?/1"},{"type":"function","title":"Plausible.Billing.Plans.business_tier_launch/0","doc":"","ref":"Plausible.Billing.Plans.html#business_tier_launch/0"},{"type":"function","title":"Plausible.Billing.Plans.find/1","doc":"","ref":"Plausible.Billing.Plans.html#find/1"},{"type":"function","title":"Plausible.Billing.Plans.get_price_for/1","doc":"","ref":"Plausible.Billing.Plans.html#get_price_for/1"},{"type":"function","title":"Plausible.Billing.Plans.get_regular_plan/2","doc":"","ref":"Plausible.Billing.Plans.html#get_regular_plan/2"},{"type":"function","title":"Plausible.Billing.Plans.get_subscription_plan/1","doc":"","ref":"Plausible.Billing.Plans.html#get_subscription_plan/1"},{"type":"function","title":"Plausible.Billing.Plans.growth_plans_for/1","doc":"Returns a list of growth plans available for the user to choose.\n\nAs new versions of plans are introduced, users who were on old plans can\nstill choose from old plans.","ref":"Plausible.Billing.Plans.html#growth_plans_for/1"},{"type":"function","title":"Plausible.Billing.Plans.latest_enterprise_plan_with_price/1","doc":"","ref":"Plausible.Billing.Plans.html#latest_enterprise_plan_with_price/1"},{"type":"function","title":"Plausible.Billing.Plans.subscription_interval/1","doc":"","ref":"Plausible.Billing.Plans.html#subscription_interval/1"},{"type":"function","title":"Plausible.Billing.Plans.suggest/2","doc":"Returns the most appropriate plan for a user based on their usage during a\ngiven cycle.\n\nIf the usage during the cycle exceeds the enterprise-level threshold, or if\nthe user already belongs to an enterprise plan, it suggests the :enterprise\nplan.\n\nOtherwise, it recommends the plan where the cycle usage falls just under the\nplan's limit from the available options for the user.","ref":"Plausible.Billing.Plans.html#suggest/2"},{"type":"function","title":"Plausible.Billing.Plans.suggest_tier/1","doc":"","ref":"Plausible.Billing.Plans.html#suggest_tier/1"},{"type":"function","title":"Plausible.Billing.Plans.with_prices/1","doc":"This function takes a list of plans as an argument, gathers all product\nIDs in a single list, and makes an API call to Paddle. After a successful\nresponse, fills in the `monthly_cost` and `yearly_cost` fields for each\ngiven plan and returns the new list of plans with completed information.","ref":"Plausible.Billing.Plans.html#with_prices/1"},{"type":"function","title":"Plausible.Billing.Plans.yearly_product_ids/0","doc":"List yearly plans product IDs.","ref":"Plausible.Billing.Plans.html#yearly_product_ids/0"},{"type":"module","title":"Plausible.Billing.Quota","doc":"This module provides functions to work with plans usage and limits.","ref":"Plausible.Billing.Quota.html"},{"type":"function","title":"Plausible.Billing.Quota.allowed_features_for/1","doc":"Returns a list of features the user can use. Trial users have the\nability to use all features during their trial.","ref":"Plausible.Billing.Quota.html#allowed_features_for/1"},{"type":"function","title":"Plausible.Billing.Quota.below_limit?/2","doc":"Returns whether the usage is below the limit or not.\nReturns false if usage is equal to the limit.","ref":"Plausible.Billing.Quota.html#below_limit?/2"},{"type":"function","title":"Plausible.Billing.Quota.ensure_can_add_new_site/1","doc":"Enterprise plans are always allowed to add more sites (even when\nover limit) to avoid service disruption. Their usage is checked\nin a background job instead (see `check_usage.ex`).","ref":"Plausible.Billing.Quota.html#ensure_can_add_new_site/1"},{"type":"function","title":"Plausible.Billing.Quota.ensure_within_plan_limits/3","doc":"Ensures that the given user (or the usage map) is within the limits\nof the given plan.\n\nAn `opts` argument can be passed with `ignore_pageview_limit: true`\nwhich bypasses the pageview limit check and returns `:ok` as long as\nthe other limits are not exceeded.","ref":"Plausible.Billing.Quota.html#ensure_within_plan_limits/3"},{"type":"function","title":"Plausible.Billing.Quota.features_usage/1","doc":"Given a user, this function returns the features used across all the sites\nthis user owns + StatsAPI if the user has a configured Stats API key.\n\nGiven a site, returns the features used by the site.","ref":"Plausible.Billing.Quota.html#features_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.monthly_pageview_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#monthly_pageview_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.monthly_pageview_usage/2","doc":"Queries the ClickHouse database for the monthly pageview usage. If the given user's\nsubscription is `active`, `past_due`, or a `deleted` (but not yet expired), a map\nwith the following structure is returned:\n\n```elixir\n%{\n current_cycle: usage_cycle(),\n last_cycle: usage_cycle(),\n penultimate_cycle: usage_cycle()\n}\n```\n\nIn all other cases of the subscription status (or a `free_10k` subscription which\ndoes not have a `last_bill_date` defined) - the following structure is returned:\n\n```elixir\n%{last_30_days: usage_cycle()}\n```\n\nGiven only a user as input, the usage is queried from across all the sites that the\nuser owns. Alternatively, given an optional argument of `site_ids`, the usage from\nacross all those sites is queried instead.","ref":"Plausible.Billing.Quota.html#monthly_pageview_usage/2"},{"type":"function","title":"Plausible.Billing.Quota.pageview_allowance_margin/0","doc":"","ref":"Plausible.Billing.Quota.html#pageview_allowance_margin/0"},{"type":"function","title":"Plausible.Billing.Quota.site_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#site_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.site_usage/1","doc":"Returns the number of sites the given user owns.","ref":"Plausible.Billing.Quota.html#site_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.team_member_limit/1","doc":"","ref":"Plausible.Billing.Quota.html#team_member_limit/1"},{"type":"function","title":"Plausible.Billing.Quota.team_member_usage/1","doc":"Returns the total count of team members associated with the user's sites.\n\n* The given user (i.e. the owner) is not counted as a team member.\n\n* Pending invitations are counted as team members even before accepted.\n\n* Users are counted uniquely - i.e. even if an account is associated with\n many sites owned by the given user, they still count as one team member.","ref":"Plausible.Billing.Quota.html#team_member_usage/1"},{"type":"function","title":"Plausible.Billing.Quota.usage/2","doc":"","ref":"Plausible.Billing.Quota.html#usage/2"},{"type":"function","title":"Plausible.Billing.Quota.usage_cycle/4","doc":"","ref":"Plausible.Billing.Quota.html#usage_cycle/4"},{"type":"function","title":"Plausible.Billing.Quota.within_limit?/2","doc":"Returns whether the usage is within the limit or not.\nReturns true if usage is equal to the limit.","ref":"Plausible.Billing.Quota.html#within_limit?/2"},{"type":"type","title":"Plausible.Billing.Quota.limit/0","doc":"","ref":"Plausible.Billing.Quota.html#t:limit/0"},{"type":"type","title":"Plausible.Billing.Quota.monthly_pageview_usage/0","doc":"","ref":"Plausible.Billing.Quota.html#t:monthly_pageview_usage/0"},{"type":"type","title":"Plausible.Billing.Quota.over_limits_error/0","doc":"","ref":"Plausible.Billing.Quota.html#t:over_limits_error/0"},{"type":"type","title":"Plausible.Billing.Quota.period/0","doc":"","ref":"Plausible.Billing.Quota.html#t:period/0"},{"type":"type","title":"Plausible.Billing.Quota.usage_cycle/0","doc":"","ref":"Plausible.Billing.Quota.html#t:usage_cycle/0"},{"type":"module","title":"Plausible.Billing.SiteLocker","doc":"","ref":"Plausible.Billing.SiteLocker.html"},{"type":"function","title":"Plausible.Billing.SiteLocker.send_grace_period_end_email/1","doc":"","ref":"Plausible.Billing.SiteLocker.html#send_grace_period_end_email/1"},{"type":"function","title":"Plausible.Billing.SiteLocker.set_lock_status_for/2","doc":"","ref":"Plausible.Billing.SiteLocker.html#set_lock_status_for/2"},{"type":"function","title":"Plausible.Billing.SiteLocker.update_sites_for/2","doc":"","ref":"Plausible.Billing.SiteLocker.html#update_sites_for/2"},{"type":"type","title":"Plausible.Billing.SiteLocker.lock_reason/0","doc":"","ref":"Plausible.Billing.SiteLocker.html#t:lock_reason/0"},{"type":"type","title":"Plausible.Billing.SiteLocker.update_opt/0","doc":"","ref":"Plausible.Billing.SiteLocker.html#t:update_opt/0"},{"type":"module","title":"Plausible.Billing.Subscription.Status","doc":"The subscription statuses are stored in Paddle. They can only be changed\nthrough Paddle webhooks, which always send the current subscription status\nvia the payload.\n\n* `active` - All good with the payments. Can access stats.\n\n* `past_due` - The payment has failed, but we're trying to charge the customer\n again. Access to stats is still granted. There will be three retries - after\n 3, 5, and 7 days have passed from the first failure. After a failure on the\n final retry, the subscription status will change to `paused`. As soon as the\n customer updates their billing details, Paddle will charge them again, and\n after a successful payment, the subscription will become `active` again.\n\n* `paused` - we've tried to charge the customer but all the retries have failed.\n Stats access restricted. As soon as the customer updates their billing details,\n Paddle will charge them again, and after a successful payment, the subscription\n will become `active` again.\n\n* `deleted` - The customer has triggered the cancel subscription action. Access\n to stats should be granted for the time the customer has already paid for. If\n they want to upgrade again, new billing details have to be provided.\n\nPaddle documentation links for reference:\n\n* Subscription statuses -\n https://developer.paddle.com/classic/reference/zg9joji1mzu0mdi2-subscription-status-reference\n\n* Payment failures -\n https://developer.paddle.com/classic/guides/zg9joji1mzu0mduy-payment-failures","ref":"Plausible.Billing.Subscription.Status.html"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.active/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#active/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.active?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#active?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.deleted/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#deleted/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.deleted?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#deleted?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.in?/2","doc":"","ref":"Plausible.Billing.Subscription.Status.html#in?/2"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.past_due/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#past_due/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.past_due?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#past_due?/1"},{"type":"macro","title":"Plausible.Billing.Subscription.Status.paused/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#paused/0"},{"type":"function","title":"Plausible.Billing.Subscription.Status.paused?/1","doc":"","ref":"Plausible.Billing.Subscription.Status.html#paused?/1"},{"type":"function","title":"Plausible.Billing.Subscription.Status.valid_statuses/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#valid_statuses/0"},{"type":"type","title":"Plausible.Billing.Subscription.Status.status/0","doc":"","ref":"Plausible.Billing.Subscription.Status.html#t:status/0"},{"type":"behaviour","title":"Plausible.Cache","doc":"Caching interface specific for Plausible. Usage:\n\n use Plausible.Cache\n\n # - Implement the callbacks required\n # - Optionally override `unwrap_cache_keys/1`\n # - Populate the cache with `Plausible.Cache.Warmer`\n\nServes as a thin wrapper around Cachex, but the underlying\nimplementation can be transparently swapped.\n\nEven though the Cachex process is started, cache access is disabled\nduring tests via the `:plausible, Elixir.Plausible.Cache, enabled: bool()` application env key.\nThis can be overridden on case by case basis, using the child specs options.\n\nThe `base_db_query/0` callback is used to generate the base query that is \nexecuted on every cache refresh. \n\nThere are two modes of refresh operation: `:all` and `:updated_recently`;\nthe former will invoke the query as is and clear all the existing entries,\nwhile the latter will attempt to limit the query to only the records that \nhave been updated in the last 15 minutes and try to merge the new results with\nexisting cache entries.\n\nBoth refresh modes are normally executed periodically from within a warmer process;\nsee: `Plausible.Cache.Warmer`. The reason for two modes is that the latter is lighter \non the database and can be executed more frequently.\n\nWhen Cache is disabled via application env, the `get/1` function\nfalls back to pure database lookups (implemented via `get_from_source/1` callback. \nThis should help with introducing cached lookups in existing code, \nso that no existing tests should break.\n\nRefreshing the cache emits telemetry event defined as per `telemetry_event_refresh/2`.","ref":"Plausible.Cache.html"},{"type":"callback","title":"Plausible.Cache.base_db_query/0","doc":"Returns the base Ecto query used to refresh the cache","ref":"Plausible.Cache.html#c:base_db_query/0"},{"type":"callback","title":"Plausible.Cache.child_id/0","doc":"Supervisor child id, must be unique within the supervision tree","ref":"Plausible.Cache.html#c:child_id/0"},{"type":"callback","title":"Plausible.Cache.count_all/0","doc":"Counts all items at the source, an aggregate query most likely","ref":"Plausible.Cache.html#c:count_all/0"},{"type":"function","title":"Plausible.Cache.enabled?/0","doc":"Looks for application env value at `:plausible, Elixir.Plausible.Cache, enabled: bool()`","ref":"Plausible.Cache.html#enabled?/0"},{"type":"callback","title":"Plausible.Cache.get_from_source/1","doc":"Retrieves the item from the source, in case the cache is disabled","ref":"Plausible.Cache.html#c:get_from_source/1"},{"type":"callback","title":"Plausible.Cache.name/0","doc":"Unique cache name, used by underlying implementation","ref":"Plausible.Cache.html#c:name/0"},{"type":"callback","title":"Plausible.Cache.unwrap_cache_keys/1","doc":"Optionally unwraps the keys of the cache items, in case one item is stored under multiple keys","ref":"Plausible.Cache.html#c:unwrap_cache_keys/1"},{"type":"module","title":"Plausible.Cache.Warmer","doc":"A periodic cache warmer.\n\nChild specification options available:\n\n * `cache_impl` - module expected to implement `Plausible.Cache` behaviour\n * `interval` - the number of milliseconds for each warm-up cycle\n * `cache_name` - defaults to cache_impl.name() but can be overridden for testing\n * `force_start?` - enforcess process startup for testing, even if it's barred\n by `Plausible.Cache.enabled?`. This is useful for avoiding issues with DB ownership\n and async tests.\n * `warmer_fn` - by convention, either `:refresh_all` or `:refresh_updated_recently`,\n both are automatically provided by `cache_impl` module. Technically any exported\n or captured function will work, if need be.\n\nSee tests for more comprehensive examples.","ref":"Plausible.Cache.Warmer.html"},{"type":"function","title":"Plausible.Cache.Warmer.child_spec/1","doc":"","ref":"Plausible.Cache.Warmer.html#child_spec/1"},{"type":"module","title":"Plausible.ChangesetHelpers","doc":"Helper function for working with Ecto changesets","ref":"Plausible.ChangesetHelpers.html"},{"type":"function","title":"Plausible.ChangesetHelpers.traverse_errors/1","doc":"","ref":"Plausible.ChangesetHelpers.html#traverse_errors/1"},{"type":"module","title":"Plausible.Cldr","doc":"Provides the core functions to retrieve and manage\nthe CLDR data that supports formatting and localisation.\n\nIt provides the core functions to access formatted\nCLDR data, set and retrieve a current locale and validate\ncertain core data types such as locales, currencies and\nterritories.","ref":"Plausible.Cldr.html"},{"type":"function","title":"Plausible.Cldr.available_locale_name?/1","doc":"","ref":"Plausible.Cldr.html#available_locale_name?/1"},{"type":"function","title":"Plausible.Cldr.default_locale/0","doc":"Returns the default `locale`.","ref":"Plausible.Cldr.html#default_locale/0"},{"type":"function","title":"Example - Plausible.Cldr.default_locale/0","doc":"iex> Plausible.Cldr.default_locale()\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en-001\",\n cldr_locale_name: :\"en-001\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en-001\",\n script: :Latn,\n territory: :\"001\",\n transform: %{},\n language_variants: []\n }","ref":"Plausible.Cldr.html#default_locale/0-example"},{"type":"function","title":"Plausible.Cldr.default_territory/0","doc":"Returns the default territory when a locale\ndoes not specify one and none can be inferred.","ref":"Plausible.Cldr.html#default_territory/0"},{"type":"function","title":"Example - Plausible.Cldr.default_territory/0","doc":"iex> Plausible.Cldr.default_territory()\n :\"001\"","ref":"Plausible.Cldr.html#default_territory/0-example"},{"type":"function","title":"Plausible.Cldr.ellipsis/2","doc":"Add locale-specific ellipsis to a string.","ref":"Plausible.Cldr.html#ellipsis/2"},{"type":"function","title":"Arguments - Plausible.Cldr.ellipsis/2","doc":"* `string` is any `String.t` or a 2-element list\n of `String.t` between which the ellipsis is inserted.\n\n* `backend` is any module that includes `use Cldr` and therefore\n is a `Cldr` backend module. The default is `Cldr.default_backend!/0`.\n Note that `Cldr.default_backend!/0` will raise an exception if\n no `:default_backend` is configured under the `:ex_cldr` key in\n `config.exs`.\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.html#ellipsis/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.ellipsis/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n The default is `Cldr.get_locale/0`.\n\n* `:location` determines where to place the ellipsis. The options are\n `:after` (the default for a single string argument), `:between`\n (the default and only valid location for an argument that is a list\n of two strings) and `:before`.\n\n* `:format` formats based upon whether the ellipsis\n is inserted between words or sentences. The valid options are\n `:word` or `:sentence`. The default is `:sentence`.","ref":"Plausible.Cldr.html#ellipsis/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.ellipsis/2","doc":"iex> Plausible.Cldr.ellipsis(\"And furthermore\")\n \"And furthermore…\"\n\n iex> Plausible.Cldr.ellipsis([\"And furthermore\", \"there is much to be done\"], locale: :ja)\n \"And furthermore…there is much to be done\"\n\n iex> Plausible.Cldr.ellipsis(\"And furthermore\", format: :word)\n \"And furthermore …\"\n\n iex> Plausible.Cldr.ellipsis([\"And furthermore\", \"there is much to be done\"], locale: :ja, format: :word)\n \"And furthermore … there is much to be done\"","ref":"Plausible.Cldr.html#ellipsis/2-examples"},{"type":"function","title":"Plausible.Cldr.get_locale/0","doc":"Return the current locale to be used for `Cldr` functions that\ntake an optional locale parameter for which a locale is not supplied.","ref":"Plausible.Cldr.html#get_locale/0"},{"type":"function","title":"Example - Plausible.Cldr.get_locale/0","doc":"iex> Plausible.Cldr.put_locale(\"pl\")\n iex> Plausible.Cldr.get_locale()\n %Cldr.LanguageTag{\n backend: Elixir.Plausible.Cldr,\n canonical_locale_name: \"pl\",\n cldr_locale_name: :pl,\n extensions: %{},\n language: \"pl\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :pl,\n territory: :PL,\n requested_locale_name: \"pl\",\n script: :Latn,\n transform: %{},\n language_variants: []\n }","ref":"Plausible.Cldr.html#get_locale/0-example"},{"type":"function","title":"Plausible.Cldr.known_calendars/0","doc":"","ref":"Plausible.Cldr.html#known_calendars/0"},{"type":"function","title":"Plausible.Cldr.known_currencies/0","doc":"","ref":"Plausible.Cldr.html#known_currencies/0"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_name/1","doc":"Returns either the Gettext `locale_name` in Cldr format or\n`false` based upon whether the locale name is configured in\n`Gettext`.","ref":"Plausible.Cldr.html#known_gettext_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_gettext_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_gettext_locale_names/0`","ref":"Plausible.Cldr.html#known_gettext_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_gettext_locale_name/1","doc":"iex> Plausible.Cldr.known_gettext_locale_name(\"en\")\n \"en\"\n\n iex> Plausible.Cldr.known_gettext_locale_name(\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_gettext_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Gettext.","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_gettext_locale_name?/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_gettext_locale_name?/1","doc":"iex> Plausible.Cldr.known_gettext_locale_name?(\"en\")\n true\n\n iex> Plausible.Cldr.known_gettext_locale_name?(\"!!\")\n false","ref":"Plausible.Cldr.html#known_gettext_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_gettext_locale_names/0","doc":"Returns a list of Gettext locale names but in CLDR format with\nunderscore replaced by hyphen in order to facilitate comparisons\nwith `Cldr` locale names.","ref":"Plausible.Cldr.html#known_gettext_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_locale_name/1","doc":"Returns either the `locale_name` or `false` based upon\nwhether the locale name is configured in `Cldr`.\n\nThis is helpful when building a list of `or` expressions\nto return the first known locale name from a list.","ref":"Plausible.Cldr.html#known_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_locale_name/1","doc":"iex> Plausible.Cldr.known_locale_name(:\"en-AU\")\n :\"en-AU\"\n\n iex> Plausible.Cldr.known_locale_name(:\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Cldr.","ref":"Plausible.Cldr.html#known_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_locale_name?/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_locale_name?/1","doc":"iex> Plausible.Cldr.known_locale_name?(:en)\n true\n\n iex> Plausible.Cldr.known_locale_name?(:\"!!\")\n false","ref":"Plausible.Cldr.html#known_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_locale_names/0","doc":"Returns a list of the known locale names.\n\nKnown locales are those locales which\nare the subset of all CLDR locales that\nhave been configured for use either\nin this module or in `Gettext`.","ref":"Plausible.Cldr.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_number_system_types/0","doc":"Returns a list of atoms representing the number systems types known to `Cldr`.","ref":"Plausible.Cldr.html#known_number_system_types/0"},{"type":"function","title":"Example - Plausible.Cldr.known_number_system_types/0","doc":"iex> Plausible.Cldr.known_number_system_types()\n [:default, :finance, :native, :traditional]","ref":"Plausible.Cldr.html#known_number_system_types/0-example"},{"type":"function","title":"Plausible.Cldr.known_number_systems/0","doc":"","ref":"Plausible.Cldr.html#known_number_systems/0"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_name/1","doc":"Returns either the RBNF `locale_name` or `false` based upon\nwhether the locale name is configured in `Cldr`\nand has RBNF rules defined.","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_rbnf_locale_name/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_rbnf_locale_name/1","doc":"iex> Plausible.Cldr.known_rbnf_locale_name(:en)\n :en\n\n iex> Plausible.Cldr.known_rbnf_locale_name(:\"en-SA\")\n false","ref":"Plausible.Cldr.html#known_rbnf_locale_name/1-examples"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_name?/1","doc":"Returns a boolean indicating if the specified locale\nname is configured and available in Cldr and supports\nrules based number formats (RBNF).","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.known_rbnf_locale_name?/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.known_rbnf_locale_name?/1","doc":"iex> Plausible.Cldr.known_rbnf_locale_name?(:en)\n true\n\n iex> Plausible.Cldr.known_rbnf_locale_name?(:\"!!\")\n false","ref":"Plausible.Cldr.html#known_rbnf_locale_name?/1-examples"},{"type":"function","title":"Plausible.Cldr.known_rbnf_locale_names/0","doc":"Returns a list of locale names which have rules-based number\nformats (RBNF).","ref":"Plausible.Cldr.html#known_rbnf_locale_names/0"},{"type":"function","title":"Plausible.Cldr.known_territories/0","doc":"","ref":"Plausible.Cldr.html#known_territories/0"},{"type":"function","title":"Plausible.Cldr.normalize_lenient_parse/3","doc":"Normalizes a string by applying transliteration\nof common symbols in numbers, currencies and dates","ref":"Plausible.Cldr.html#normalize_lenient_parse/3"},{"type":"function","title":"Plausible.Cldr.put_gettext_locale/1","doc":"Set the current process's Gettext locale from a\n`t:Cldr.LanguageTag`.","ref":"Plausible.Cldr.html#put_gettext_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.put_gettext_locale/1","doc":"* `locale` is a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`.","ref":"Plausible.Cldr.html#put_gettext_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.put_gettext_locale/1","doc":"* `{:ok, gettext_locale_name}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.html#put_gettext_locale/1-returns"},{"type":"function","title":"Behaviour - Plausible.Cldr.put_gettext_locale/1","doc":"1. If the `locale.gettext_locale_name` is `nil` then an error\n is returned.\n\n2. The `gettext` locale for the `gettext_backend` configured for the\n CLDR backend defined by the `t:Cldr.LanguageTag` is set.","ref":"Plausible.Cldr.html#put_gettext_locale/1-behaviour"},{"type":"function","title":"Examples - Plausible.Cldr.put_gettext_locale/1","doc":"iex> import Cldr.LanguageTag.Sigil\n iex> Plausible.Cldr.put_gettext_locale(~l\"en\")\n {:ok, \"en\"}\n\n iex> import Cldr.LanguageTag.Sigil\n iex> Plausible.Cldr.put_gettext_locale(~l\"de\")\n {:error,\n {Cldr.UnknownLocaleError,\n \"Locale #Cldr.LanguageTag does not map to a known gettext locale name\"}}","ref":"Plausible.Cldr.html#put_gettext_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.put_locale/1","doc":"Set the current locale to be used for `Cldr` functions that\ntake an optional locale parameter for which a locale is not supplied.","ref":"Plausible.Cldr.html#put_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.put_locale/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `t:Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`\n\nSee [rfc5646](https://tools.ietf.org/html/rfc5646) for the specification\nof a language tag.","ref":"Plausible.Cldr.html#put_locale/1-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.put_locale/1","doc":"iex> Plausible.Cldr.put_locale(\"en\")\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en\",\n cldr_locale_name: :en,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en\",\n script: :Latn,\n territory: :US,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.put_locale(\"invalid-locale!\")\n {:error, {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"!\\\" starting at position 15\"}}","ref":"Plausible.Cldr.html#put_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.quote/2","doc":"Add locale-specific quotation marks around a string.","ref":"Plausible.Cldr.html#quote/2"},{"type":"function","title":"Arguments - Plausible.Cldr.quote/2","doc":"* `string` is any valid Elixir string\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.html#quote/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.quote/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n The default is `Cldr.get_locale/0`","ref":"Plausible.Cldr.html#quote/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.quote/2","doc":"iex> Plausible.Cldr.quote(\"Quoted String\")\n \"“Quoted String”\"\n\n iex> Plausible.Cldr.quote(\"Quoted String\", locale: :ja)\n \"「Quoted String」\"","ref":"Plausible.Cldr.html#quote/2-examples"},{"type":"function","title":"Plausible.Cldr.unknown_locale_names/0","doc":"Returns a list of the locales names that are configured,\nbut not known in CLDR.\n\nSince there is a compile-time exception raised if there are\nany unknown locales this function should always\nreturn an empty list.","ref":"Plausible.Cldr.html#unknown_locale_names/0"},{"type":"function","title":"Plausible.Cldr.validate_calendar/1","doc":"","ref":"Plausible.Cldr.html#validate_calendar/1"},{"type":"function","title":"Plausible.Cldr.validate_currency/1","doc":"","ref":"Plausible.Cldr.html#validate_currency/1"},{"type":"function","title":"Plausible.Cldr.validate_locale/1","doc":"Normalise and validate a locale name.","ref":"Plausible.Cldr.html#validate_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.validate_locale/1","doc":"* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.html#validate_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.validate_locale/1","doc":"* `{:ok, language_tag}`\n\n* `{:error, reason}`","ref":"Plausible.Cldr.html#validate_locale/1-returns"},{"type":"function","title":"Notes - Plausible.Cldr.validate_locale/1","doc":"See [rfc5646](https://tools.ietf.org/html/rfc5646) for the specification\nof a language tag.","ref":"Plausible.Cldr.html#validate_locale/1-notes"},{"type":"function","title":"Examples - Plausible.Cldr.validate_locale/1","doc":"iex> Plausible.Cldr.validate_locale(:en)\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en\",\n cldr_locale_name: :en,\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en\",\n script: :Latn,\n territory: :US,\n transform: %{},\n language_variants: []\n }}\n\n\n iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()\n {:ok,\n %Cldr.LanguageTag{\n backend: Plausible.Cldr,\n canonical_locale_name: \"en-001\",\n cldr_locale_name: :\"en-001\",\n extensions: %{},\n gettext_locale_name: \"en\",\n language: \"en\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :en,\n requested_locale_name: \"en-001\",\n script: :Latn,\n territory: :\"001\",\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.validate_locale(\"zzz\")\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zzz\\\" is invalid\"}}","ref":"Plausible.Cldr.html#validate_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.validate_number_system/1","doc":"","ref":"Plausible.Cldr.html#validate_number_system/1"},{"type":"function","title":"Plausible.Cldr.validate_number_system_type/1","doc":"Normalise and validate a number system type.","ref":"Plausible.Cldr.html#validate_number_system_type/1"},{"type":"function","title":"Arguments - Plausible.Cldr.validate_number_system_type/1","doc":"* `number_system_type` is any number system type returned by\n `Cldr.known_number_system_types/1`","ref":"Plausible.Cldr.html#validate_number_system_type/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.validate_number_system_type/1","doc":"* `{:ok, normalized_number_system_type}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.html#validate_number_system_type/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.validate_number_system_type/1","doc":"iex> Plausible.Cldr.validate_number_system_type(:default)\n {:ok, :default}\n\n iex> Plausible.Cldr.validate_number_system_type(:traditional)\n {:ok, :traditional}\n\n iex> Plausible.Cldr.validate_number_system_type(:latn)\n {\n :error,\n {Cldr.UnknownNumberSystemTypeError, \"The number system type :latn is unknown\"}\n }\n\n iex> Plausible.Cldr.validate_number_system_type(\"bork\")\n {\n :error,\n {Cldr.UnknownNumberSystemTypeError, \"The number system type \\\"bork\\\" is invalid\"}\n }","ref":"Plausible.Cldr.html#validate_number_system_type/1-examples"},{"type":"function","title":"Plausible.Cldr.validate_territory/1","doc":"","ref":"Plausible.Cldr.html#validate_territory/1"},{"type":"function","title":"Plausible.Cldr.with_locale/2","doc":"Execute a function with a locale ensuring that the\ncurrent locale is restored after the function.","ref":"Plausible.Cldr.html#with_locale/2"},{"type":"function","title":"Arguments - Plausible.Cldr.with_locale/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`.\n\n* `fun` is any 0-arity function or function capture.","ref":"Plausible.Cldr.html#with_locale/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.with_locale/2","doc":"* The value returned by the function `fun/0` or\n\n* `{:error, {exception, reason}}` if the locale is invalid or\n\n* raises an exception if the current locale cannot be\n identified.","ref":"Plausible.Cldr.html#with_locale/2-returns"},{"type":"module","title":"Plausible.Cldr.AcceptLanguage","doc":"Parses HTTP `Accept-Language` header values as defined in\n[rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4).\n\nThe Accept-Language request-header field is similar to Accept, but restricts\nthe set of natural languages that are preferred as a response to the request.\nLanguage tags function are provided in `Cldr.LanguageTag`.\n\nThe format of an `Accept-Language` header is as follows in `ABNF` format:\n\n Accept-Language = \"Accept-Language\" \":\"\n 1#( language-range [ \";\" \"q\" \"=\" qvalue ] )\n language-range = ( ( 1*8ALPHA *( \"-\" 1*8ALPHA ) ) | \"*\" )\n\nEach language-range MAY be given an associated quality value which represents an\nestimate of the user's preference for the languages specified by that range. The\nquality value defaults to \"q=1\". For example,\n\n Accept-Language: da, en-gb;q=0.8, en;q=0.7\n\nwould mean: \"I prefer Danish, but will accept British English and other types of English.\"","ref":"Plausible.Cldr.AcceptLanguage.html"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.best_match/1","doc":"Parse an `Accept-Language` string and return the best match for\na configured `Cldr` locale.","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"* `accept_langauge` is a string representing an accept language header","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"* `{:ok, language_tag}` or\n\n* `{:error, reason}`","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.AcceptLanguage.best_match/1","doc":"iex> Plausible.Cldr.AcceptLanguage.best_match(\"da;q=0.1,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"da;q=0.1,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"xx,yy;q=0.3\")\n {:error,\n {Cldr.NoMatchingLocale,\n \"No configured locale could be matched to \\\"xx,yy;q=0.3\\\"\"}}\n\n iex> Plausible.Cldr.AcceptLanguage.best_match(\"invalid_tag\")\n {:error, {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}","ref":"Plausible.Cldr.AcceptLanguage.html#best_match/1-examples"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.parse/1","doc":"Parses an `Accept-Language` header value in its string\nor tokenized form to return a tuple of the form\n`{:ok, [{quality, %Cldr.LanguageTag{}}, ...]}` sorted by quality.","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.parse/1","doc":"* `accept-language` is any string in the format defined by\n [rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4)\n\n* `backend` is any module that includes `use Cldr` and therefore\n is a `Cldr` backend module","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.parse/1","doc":"* `{:ok, [{quality, language_tag}, ...]}` or\n\n* `{:error, {Cldr.AcceptLanguageError, String.t}}`\n\nIf at least one valid language tag is found but errors are also\ndetected on one more more tags, an `{ok, list}` tuple is returned\nwuth an error tuple for each invalid tag added at the end of the list.","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-returns"},{"type":"function","title":"Example - Plausible.Cldr.AcceptLanguage.parse/1","doc":"iex> Cldr.AcceptLanguage.parse(\"da,zh-TW;q=0.3\", TestBackend.Cldr)\n {:ok,\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n ]}\n\n iex> Plausible.Cldr.AcceptLanguage.parse(\"invalid_tag\")\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n\n iex> Plausible.Cldr.AcceptLanguage.parse(\"da,zh-TW;q=0.3,invalid_tag\")\n {:ok,\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }},\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n ]}","ref":"Plausible.Cldr.AcceptLanguage.html#parse/1-example"},{"type":"function","title":"Plausible.Cldr.AcceptLanguage.parse!/1","doc":"Parses an `Accept-Language` header value in its string\nor tokenized form to produce a list of tuples of the form\n`[{quality, %Cldr.LanguageTag{}}, ...]` sorted by quality\nin descending order.","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"* `accept-language` is any string in the format defined by [rfc2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4)","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"* `{:ok, [{quality, language_tag}, ...]}` or\n\n* raises a `Cldr.AcceptLanguageError` exception\n\nIf at least one valid language tag is found but errors are also\ndetected on one more more tags, an `{ok, list}` tuple is returned\nwuth an error tuple for each invalid tag added at the end of the list.","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-returns"},{"type":"function","title":"Example - Plausible.Cldr.AcceptLanguage.parse!/1","doc":"iex> Plausible.Cldr.AcceptLanguage.parse!(\"da,zh-TW;q=0.3\")\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }}\n ]\n\n Plausible.Cldr.AcceptLanguage.parse! \"invalid_tag\"\n ** (Cldr.AcceptLanguageError) \"Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11\n (ex_cldr) lib/cldr/accept_language.ex:304: Cldr.AcceptLanguage.parse!/1\n\n iex> Plausible.Cldr.AcceptLanguage.parse!(\"da,zh-TW;q=0.3,invalid_tag\")\n [\n {1.0,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"da\",\n cldr_locale_name: :da,\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"da\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :da,\n requested_locale_name: \"da\",\n script: :Latn,\n territory: :DK,\n transform: %{},\n language_variants: []\n }},\n {0.3,\n %Cldr.LanguageTag{\n backend: TestBackend.Cldr,\n canonical_locale_name: \"zh-TW\",\n cldr_locale_name: :\"zh-Hant\",\n language_subtags: [],\n extensions: %{},\n gettext_locale_name: nil,\n language: \"zh\",\n locale: %{},\n private_use: [],\n rbnf_locale_name: :\"zh-Hant\",\n requested_locale_name: \"zh-TW\",\n script: :Hant,\n territory: :TW,\n transform: %{},\n language_variants: []\n }},\n {:error,\n {Cldr.LanguageTag.ParseError,\n \"Expected a BCP47 language tag. Could not parse the remaining \\\"g\\\" starting at position 11\"}}\n ]","ref":"Plausible.Cldr.AcceptLanguage.html#parse!/1-example"},{"type":"module","title":"Plausible.Cldr.Currency","doc":"","ref":"Plausible.Cldr.Currency.html"},{"type":"function","title":"Plausible.Cldr.Currency.currencies_for_locale/3","doc":"Returns a map of the metadata for all currencies for\na given locale.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"* `{:ok, currency_map}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currencies_for_locale/3","doc":"MyApp.Cldr.Currency.currencies_for_locale(\"en\")\n => {:ok,\n %{\n FJD: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"FJD\",\n count: %{one: \"Fijian dollar\", other: \"Fijian dollars\"},\n digits: 2,\n from: nil,\n iso_digits: 2,\n name: \"Fijian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"FJD\",\n tender: true,\n to: nil\n },\n SUR: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"SUR\",\n count: %{one: \"Soviet rouble\", other: \"Soviet roubles\"},\n digits: 2,\n from: nil,\n iso_digits: nil,\n name: \"Soviet Rouble\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"SUR\",\n tender: true,\n to: nil\n },\n ...\n }}","ref":"Plausible.Cldr.Currency.html#currencies_for_locale/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"Returns a map of the metadata for all currencies for\na given locale and raises on error.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"* `{:ok, currency_map}` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currencies_for_locale!/3","doc":"MyApp.Cldr.Currency.currencies_for_locale!(\"en\")\n => %{\n FJD: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"FJD\",\n count: %{one: \"Fijian dollar\", other: \"Fijian dollars\"},\n digits: 2,\n from: nil,\n iso_digits: 2,\n name: \"Fijian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"FJD\",\n tender: true,\n to: nil\n },\n SUR: %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"SUR\",\n count: %{one: \"Soviet rouble\", other: \"Soviet roubles\"},\n digits: 2,\n from: nil,\n iso_digits: nil,\n name: \"Soviet Rouble\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"SUR\",\n tender: true,\n to: nil\n },\n ...\n }","ref":"Plausible.Cldr.Currency.html#currencies_for_locale!/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_for_code/2","doc":"Returns the currency metadata for the requested currency code.","ref":"Plausible.Cldr.Currency.html#currency_for_code/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_for_code/2","doc":"* `currency_or_currency_code` is a `binary` or `atom` representation\n of an ISO 4217 currency code, or a `%Cldr.Currency{}` struct.","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.currency_for_code/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_for_code/2","doc":"* A `{:ok, currency}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_for_code/2","doc":"iex> Plausible.Cldr.Currency.currency_for_code(\"AUD\")\n {:ok,\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"AUD\",\n count: %{one: \"Australian dollar\", other: \"Australian dollars\"},\n digits: 2,\n iso_digits: 2,\n name: \"Australian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"A$\",\n tender: true\n }}\n\n iex> Plausible.Cldr.Currency.currency_for_code(\"THB\")\n {:ok,\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"THB\",\n count: %{one: \"Thai baht\", other: \"Thai baht\"},\n digits: 2,\n iso_digits: 2,\n name: \"Thai Baht\",\n narrow_symbol: \"฿\",\n rounding: 0,\n symbol: \"THB\",\n tender: true\n }}","ref":"Plausible.Cldr.Currency.html#currency_for_code/2-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_for_code!/2","doc":"Returns the currency metadata for the requested currency code.","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* `currency_or_currency_code` is a `binary` or `atom` representation\n of an ISO 4217 currency code, or a `%Cldr.Currency{}` struct.","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* `:locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_for_code!/2","doc":"* A `t:Cldr.Current.t/0` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_for_code!/2","doc":"iex> Plausible.Cldr.Currency.currency_for_code!(\"AUD\")\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"AUD\",\n count: %{one: \"Australian dollar\", other: \"Australian dollars\"},\n digits: 2,\n iso_digits: 2,\n name: \"Australian Dollar\",\n narrow_symbol: \"$\",\n rounding: 0,\n symbol: \"A$\",\n tender: true\n }\n\n iex> Plausible.Cldr.Currency.currency_for_code!(\"THB\")\n %Cldr.Currency{\n cash_digits: 2,\n cash_rounding: 0,\n code: \"THB\",\n count: %{one: \"Thai baht\", other: \"Thai baht\"},\n digits: 2,\n iso_digits: 2,\n name: \"Thai Baht\",\n narrow_symbol: \"฿\",\n rounding: 0,\n symbol: \"THB\",\n tender: true\n }","ref":"Plausible.Cldr.Currency.html#currency_for_code!/2-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_from_locale/1","doc":"Returns the effective currency for a given locale","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_from_locale/1","doc":"* `locale` is a `Cldr.LanguageTag` struct returned by\n `Cldr.Locale.new!/2`","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_from_locale/1","doc":"* A ISO 4217 currency code as an upcased atom","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.currency_from_locale/1","doc":"iex> {:ok, locale} = Plausible.Cldr.validate_locale(\"en\")\n iex> Plausible.Cldr.Currency.currency_from_locale locale\n :USD\n\n iex> {:ok, locale} = Plausible.Cldr.validate_locale(\"en-AU\")\n iex> Plausible.Cldr.Currency.currency_from_locale locale\n :AUD\n\n iex> Plausible.Cldr.Currency.currency_from_locale(\"en-GB\")\n :GBP","ref":"Plausible.Cldr.Currency.html#currency_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"Returns a list of historic and the current\ncurrency for a given locale.","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_history_for_locale/1","doc":"iex> MyApp.Cldr.Currency.currency_history_for_locale(\"en\")\n {:ok,\n %{\n USD: %{from: ~D[1792-01-01], to: nil},\n USN: %{tender: false},\n USS: %{from: nil, tender: false, to: ~D[2014-03-01]}\n }\n }","ref":"Plausible.Cldr.Currency.html#currency_history_for_locale/1-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_strings/3","doc":"Returns a map that matches a currency string to a\ncurrency code.\n\nA currency string is a localised name or symbol\nrepresenting a currency in a locale-specific manner.","ref":"Plausible.Cldr.Currency.html#currency_strings/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_strings/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currency_strings/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_strings/3","doc":"* `{:ok, currency_string_map}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#currency_strings/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_strings/3","doc":"MyApp.Cldr.Currency.currency_strings(\"en\")\n => {:ok,\n %{\n \"mexican silver pesos\" => :MXP,\n \"sudanese dinar\" => :SDD,\n \"bad\" => :BAD,\n \"rsd\" => :RSD,\n \"swazi lilangeni\" => :SZL,\n \"zairean new zaire\" => :ZRN,\n \"guyanaese dollars\" => :GYD,\n \"equatorial guinean ekwele\" => :GQE,\n ...\n }}","ref":"Plausible.Cldr.Currency.html#currency_strings/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.currency_strings!/3","doc":"Returns a map that matches a currency string to a\ncurrency code or raises an exception.\n\nA currency string is a localised name or symbol\nrepresenting a currency in a locale-specific manner.","ref":"Plausible.Cldr.Currency.html#currency_strings!/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.currency_strings!/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`\n\n* `currency_status` is `:all`, `:current`, `:historic`,\n `unannotated` or `:tender`; or a list of one or more status.\n The default is `:all`. See `Cldr.Currency.currency_filter/2`.","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.currency_strings!/3","doc":"* `{:ok, currency_string_map}` or\n\n* raises an exception","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.currency_strings!/3","doc":"MyApp.Cldr.Currency.currency_strings!(\"en\")\n => %{\n \"mexican silver pesos\" => :MXP,\n \"sudanese dinar\" => :SDD,\n \"bad\" => :BAD,\n \"rsd\" => :RSD,\n \"swazi lilangeni\" => :SZL,\n \"zairean new zaire\" => :ZRN,\n \"guyanaese dollars\" => :GYD,\n \"equatorial guinean ekwele\" => :GQE,\n ...\n }","ref":"Plausible.Cldr.Currency.html#currency_strings!/3-example"},{"type":"function","title":"Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"Returns the current currency for a given locale.\n\nThis function does not consider the `U` extenion\nparameters `cu` or `rg`. It is recommended to us\n`Cldr.Currency.currency_from_locale/1` in most\ncircumstances.","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Currency.current_currency_from_locale/1","doc":"iex> MyApp.Cldr.Currency.current_currency_from_locale(\"en\")\n :USD\n\n iex> MyApp.Cldr.Currency.current_currency_from_locale(\"en-AU\")\n :AUD","ref":"Plausible.Cldr.Currency.html#current_currency_from_locale/1-example"},{"type":"function","title":"Plausible.Cldr.Currency.current_territory_currencies/0","doc":"Returns a mapping from a territory code to its\ncurrent currency code.\n\nIf a territory has no current currency (like\nAntartica, territory code `:AQ`) then no\nmapping is returned for that territory.","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.current_territory_currencies/0","doc":"* A map of `{territory_code => Cldr.Currency.t}`","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.current_territory_currencies/0","doc":"iex> Plausible.Cldr.Currency.current_territory_currencies()","ref":"Plausible.Cldr.Currency.html#current_territory_currencies/0-example"},{"type":"function","title":"Plausible.Cldr.Currency.known_currencies/0","doc":"","ref":"Plausible.Cldr.Currency.html#known_currencies/0"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency?/1","doc":"","ref":"Plausible.Cldr.Currency.html#known_currency?/1"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_code/1","doc":"Returns a 2-tuple indicating if the supplied currency code is known.","ref":"Plausible.Cldr.Currency.html#known_currency_code/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.known_currency_code/1","doc":"* `currency_code` is a `binary` or `atom` representing an ISO4217\n currency code","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.known_currency_code/1","doc":"* `{:ok, currency_code}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.known_currency_code/1","doc":"iex> Plausible.Cldr.Currency.known_currency_code(\"AUD\")\n {:ok, :AUD}\n\n iex> Plausible.Cldr.Currency.known_currency_code(\"GGG\")\n {:error, {Cldr.UnknownCurrencyError, \"The currency \\\"GGG\\\" is invalid\"}}","ref":"Plausible.Cldr.Currency.html#known_currency_code/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_code?/1","doc":"Returns a boolean indicating if the supplied currency code is known.","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.known_currency_code?/1","doc":"* `currency_code` is a `binary` or `atom` representing an ISO4217\n currency code","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.known_currency_code?/1","doc":"* `true` or `false`","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.known_currency_code?/1","doc":"iex> Plausible.Cldr.Currency.known_currency_code?(\"AUD\")\n true\n\n iex> Plausible.Cldr.Currency.known_currency_code?(\"GGG\")\n false\n\n iex> Plausible.Cldr.Currency.known_currency_code?(:XCV)\n false","ref":"Plausible.Cldr.Currency.html#known_currency_code?/1-examples"},{"type":"function","title":"Plausible.Cldr.Currency.known_currency_codes/0","doc":"Returns a list of all known currency codes.","ref":"Plausible.Cldr.Currency.html#known_currency_codes/0"},{"type":"function","title":"Example - Plausible.Cldr.Currency.known_currency_codes/0","doc":"iex> Plausible.Cldr.Currency.known_currency_codes()","ref":"Plausible.Cldr.Currency.html#known_currency_codes/0-example"},{"type":"function","title":"Plausible.Cldr.Currency.new/2","doc":"Returns a `Currency` struct created from the arguments.","ref":"Plausible.Cldr.Currency.html#new/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.new/2","doc":"* `currency` is a private use currency code in a format defined by\n [ISO4217](https://en.wikipedia.org/wiki/ISO_4217)\n which is `X` followed by two alphanumeric characters.\n\n* `options` is a map of options representing the optional elements of\n the `Cldr.Currency.t` struct.","ref":"Plausible.Cldr.Currency.html#new/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.new/2","doc":"* `:name` is the name of the currency. Required.\n* `:digits` is the precision of the currency. Required.\n* `:symbol` is the currency symbol. Optional.\n* `:narrow_symbol` is an alternative narrow symbol. Optional.\n* `:round_nearest` is the rounding precision such as `0.05`. Optional.\n* `:alt_code` is an alternative currency code for application use.\n* `:cash_digits` is the precision of the currency when used as cash. Optional.\n* `:cash_rounding_nearest` is the rounding precision when used as cash\n such as `0.05`. Optional.","ref":"Plausible.Cldr.Currency.html#new/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.new/2","doc":"* `{:ok, Cldr.Currency.t}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Currency.html#new/2-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.new/2","doc":"iex> Plausible.Cldr.Currency.new(:XAE, name: \"Custom Name\", digits: 0)\n {:ok,\n %Cldr.Currency{\n alt_code: :XAE,\n cash_digits: 0,\n cash_rounding: nil,\n code: :XAE,\n count: %{other: \"Custom Name\"},\n digits: 0,\n from: nil,\n iso_digits: 0,\n name: \"Custom Name\",\n narrow_symbol: nil,\n rounding: 0,\n symbol: \"XAE\",\n tender: false,\n to: nil\n }}\n iex> MyApp.Cldr.Currency.new(:XAH, name: \"Custom Name\")\n {:error, \"Required options are missing. Required options are [:name, :digits]\"}\n iex> Plausible.Cldr.Currency.new(:XAE, name: \"XAE\", digits: 0)\n {:error, {Cldr.CurrencyAlreadyDefined, \"Currency :XAE is already defined.\"}}","ref":"Plausible.Cldr.Currency.html#new/2-example"},{"type":"function","title":"Plausible.Cldr.Currency.pluralize/3","doc":"Returns the appropriate currency display name for the `currency`, based\non the plural rules in effect for the `locale`.","ref":"Plausible.Cldr.Currency.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.pluralize/3","doc":"* `number` is an integer, float or `Decimal`\n\n* `currency` is any currency returned by `Cldr.Currency.known_currencies/0`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Currency.html#pluralize/3-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Currency.pluralize/3","doc":"* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`. The\n default is `Plausible.Cldr.get_locale/0`","ref":"Plausible.Cldr.Currency.html#pluralize/3-options"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.pluralize/3","doc":"* `{:ok, plural_string}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Currency.html#pluralize/3-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Currency.pluralize/3","doc":"iex> Plausible.Cldr.Currency.pluralize(1, :USD)\n {:ok, \"US dollar\"}\n\n iex> Plausible.Cldr.Currency.pluralize(3, :USD)\n {:ok, \"US dollars\"}\n\n iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: \"zh\")\n {:ok, \"美元\"}\n\n iex> Plausible.Cldr.Currency.pluralize(12, :USD, locale: \"fr\")\n {:ok, \"dollars des États-Unis\"}\n\n iex> Plausible.Cldr.Currency.pluralize(1, :USD, locale: \"fr\")\n {:ok, \"dollar des États-Unis\"}","ref":"Plausible.Cldr.Currency.html#pluralize/3-examples"},{"type":"function","title":"Plausible.Cldr.Currency.strings_for_currency/2","doc":"Returns the strings associated with a currency\nin a given locale.","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Currency.strings_for_currency/2","doc":"* `currency` is an ISO4217 currency code\n\n* `locale` is any valid locale name returned by `MyApp.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `MyApp.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Currency.strings_for_currency/2","doc":"* A list of strings or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-returns"},{"type":"function","title":"Example - Plausible.Cldr.Currency.strings_for_currency/2","doc":"iex> MyApp.Cldr.Currency.strings_for_currency(:AUD, \"en\")\n [\"a$\", \"australian dollars\", \"aud\", \"australian dollar\"]","ref":"Plausible.Cldr.Currency.html#strings_for_currency/2-example"},{"type":"module","title":"Plausible.Cldr.Locale","doc":"Backend module that provides functions\nto define new locales and display human-readable\nlocale names for presentation purposes.","ref":"Plausible.Cldr.Locale.html"},{"type":"function","title":"Plausible.Cldr.Locale.fallback_locale_names/1","doc":"Returns the list of fallback locale names, starting\nwith the provided locale name.\n\nFallbacks are a list of locate names which can\nbe used to resolve translation or other localization\ndata if such localised data does not exist for\nthis specific locale..","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"* `locale_name` is any locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"* `{:ok, list_of_locale_names}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.fallback_locale_names/1","doc":"iex> Plausible.Cldr.Locale.fallback_locale_names(:\"fr-CA\")\n {:ok, [:\"fr-CA\", :fr, :und]}\n\n # Fallbacks are typically formed by progressively\n # stripping variant, territory and script from the\n # given locale name. But not always - there are\n # certain fallbacks that take a different path.\n\n iex> Plausible.Cldr.Locale.fallback_locale_names(:nb)\n {:ok, [:nb, :no, :und]}","ref":"Plausible.Cldr.Locale.html#fallback_locale_names/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.fallback_locales/1","doc":"Returns the list of fallback locales, starting\nwith the provided locale name.\n\nFallbacks are a list of locate names which can\nbe used to resolve translation or other localization\ndata if such localised data does not exist for\nthis specific locale.","ref":"Plausible.Cldr.Locale.html#fallback_locales/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.fallback_locales/1","doc":"* `locale_name` is any locale name returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.fallback_locales/1","doc":"* `{:ok, list_of_locales}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.fallback_locales/1","doc":"Plausible.Cldr.Locale.fallback_locales(:\"fr-CA\")\n => {:ok,\n [#Cldr.LanguageTag , #Cldr.LanguageTag ,\n #Cldr.LanguageTag ]}\n\n # Fallbacks are typically formed by progressively\n # stripping variant, territory and script from the\n # given locale name. But not always - there are\n # certain fallbacks that take a different path.\n\n Plausible.Cldr.Locale.fallback_locales(:nb))\n => {:ok,\n [#Cldr.LanguageTag , #Cldr.LanguageTag ,\n #Cldr.LanguageTag ]}","ref":"Plausible.Cldr.Locale.html#fallback_locales/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.locale_for_territory/1","doc":"Returns the \"best fit\" locale for a given territory.\n\nUsing the population percentage data from CLDR, the\nlanguage most commonly spoken in the given territory\nis used to form a locale name which is then validated\nagainst the given backend.\n\nFirst a territory-specific locale is validated and if\nthat fails, the base language only is validate.\n\nFor example, if the territory is `AU` then then the\nlanguage most spoken is \"en\". First, the locale \"en-AU\"\nis validated and if that fails, \"en\" is validated.","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.locale_for_territory/1","doc":"* `territory` is any ISO 3166 Alpha-2 territory\n code that can be validated by `Cldr.validate_territory/1`","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.locale_for_territory/1","doc":"* `{:ok, language_tag}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.locale_for_territory/1","doc":"iex> Plausible.Cldr.Locale.locale_for_territory(:AU)\n Elixir.Plausible.Cldr.validate_locale(:\"en-AU\")\n\n iex> Plausible.Cldr.Locale.locale_for_territory(:US)\n Elixir.Plausible.Cldr.validate_locale(:\"en-US\")\n\n iex> Plausible.Cldr.Locale.locale_for_territory(:ZZ)\n {:error, {Cldr.UnknownTerritoryError, \"The territory :ZZ is unknown\"}}","ref":"Plausible.Cldr.Locale.html#locale_for_territory/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.locale_from_host/2","doc":"Returns a \"best fit\" locale for a host name.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `host` is any valid host name\n\n* `options` is a keyword list of options. The default\n is `[]`.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `:tlds` is a list of territory codes as upper-cased\n atoms that are to be considered as top-level domains.\n See `Cldr.Locale.locale_from_host/2` for the default\n list.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.locale_from_host/2","doc":"* `{:ok, langauge_tag}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Locale.locale_from_host/2","doc":"Certain top-level domains have become associated with content\nunderlated to the territory for who the domain is registered.\nTherefore Google (and perhaps others) do not associate these\nTLDs as belonging to the territory but rather are considered\ngeneric top-level domain names.","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.locale_from_host/2","doc":"iex> Plausible.Cldr.Locale.locale_from_host \"a.b.com.au\"\n Elixir.Plausible.Cldr.validate_locale(:\"en-AU\")\n\n iex> Plausible.Cldr.Locale.locale_from_host(\"a.b.com.tv\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"tv\\\"\"}}\n\n iex> Plausible.Cldr.Locale.locale_from_host(\"a.b.com\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"com\\\"\"}}","ref":"Plausible.Cldr.Locale.html#locale_from_host/2-examples"},{"type":"function","title":"Plausible.Cldr.Locale.new/1","doc":"","ref":"Plausible.Cldr.Locale.html#new/1"},{"type":"function","title":"Plausible.Cldr.Locale.new!/1","doc":"","ref":"Plausible.Cldr.Locale.html#new!/1"},{"type":"function","title":"Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"Returns the script direction for a locale.","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"* `language_tag` is any language tag returned by `Cldr.Locale.new/2`\n or any `locale_name` returned by `Cldr.known_locale_names/1`.","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"* The script direction which is either `:ltr` (for left-to-right\n scripts) or `:rtl` (for right-to-left scripts).","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.script_direction_from_locale/1","doc":"iex> Plausible.Cldr.Locale.script_direction_from_locale \"en-US\"\n :ltr\n\n iex> Plausible.Cldr.Locale.script_direction_from_locale :ar\n :rtl","ref":"Plausible.Cldr.Locale.html#script_direction_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.territory_from_host/1","doc":"Returns the last segment of a host that might\nbe a territory.","ref":"Plausible.Cldr.Locale.html#territory_from_host/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.territory_from_host/1","doc":"* `host` is any valid host name","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.territory_from_host/1","doc":"* `{:ok, territory}` or\n\n* `{:error, {exception, reason}}`","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.territory_from_host/1","doc":"iex> Cldr.Locale.territory_from_host(\"a.b.com.au\")\n {:ok, :AU}\n\n iex> Cldr.Locale.territory_from_host(\"a.b.com\")\n {:error,\n {Cldr.UnknownLocaleError, \"No locale was identified for territory \\\"com\\\"\"}}","ref":"Plausible.Cldr.Locale.html#territory_from_host/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.territory_from_locale/1","doc":"Returns the territory from a language tag or\nlocale name.","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.territory_from_locale/1","doc":"* `locale` is any language tag returned by\n `Plausible.Cldr.Locale.new/1`\n or a locale name in the list returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.territory_from_locale/1","doc":"* A territory code as an atom","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.territory_from_locale/1","doc":"iex> Plausible.Cldr.Locale.territory_from_locale \"en-US\"\n :US\n\n iex> Plausible.Cldr.Locale.territory_from_locale \"en-US-u-rg-GBzzzz\"\n :GB","ref":"Plausible.Cldr.Locale.html#territory_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Locale.timezone_from_locale/1","doc":"Returns the time zone from a language tag or\nlocale name.","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"* `locale` is any language tag returned by\n `Plausible.Cldr.Locale.new/1`\n or a locale name in the list returned by\n `Plausible.Cldr.known_locale_names/0`","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"* A time zone ID as a string or\n\n* `:error` if no time zone can be determined","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Locale.timezone_from_locale/1","doc":"iex> Plausible.Cldr.Locale.timezone_from_locale \"en-US-u-tz-ausyd\"\n \"Australia/Sydney\"","ref":"Plausible.Cldr.Locale.html#timezone_from_locale/1-examples"},{"type":"module","title":"Plausible.Cldr.Number","doc":"Formats numbers and currencies based upon CLDR's decimal formats specification.\n\nThe format specification is documentated in [Unicode TR35](http://unicode.org/reports/tr35/tr35-numbers.html#Number_Formats).\nThere are several classes of formatting including non-scientific, scientific,\nrules based (for spelling and ordinal formats), compact formats that display `1k`\nrather than `1,000` and so on. See `Cldr.Number.to_string/2` for specific formatting\noptions.\n\n#","ref":"Plausible.Cldr.Number.html"},{"type":"module","title":"Non-Scientific Notation Formatting - Plausible.Cldr.Number","doc":"The following description applies to formats that do not use scientific\nnotation or significant digits:\n\n* If the number of actual integer digits exceeds the maximum integer digits,\n then only the least significant digits are shown. For example, 1997 is\n formatted as \"97\" if the maximum integer digits is set to 2.\n\n* If the number of actual integer digits is less than the minimum integer\n digits, then leading zeros are added. For example, 1997 is formatted as\n \"01997\" if the minimum integer digits is set to 5.\n\n* If the number of actual fraction digits exceeds the maximum fraction\n digits, then half-even rounding it performed to the maximum fraction\n digits. For example, 0.125 is formatted as \"0.12\" if the maximum fraction\n digits is 2. This behavior can be changed by specifying a rounding\n increment and a rounding mode.\n\n* If the number of actual fraction digits is less than the minimum fraction\n digits, then trailing zeros are added. For example, 0.125 is formatted as\n \"0.1250\" if the minimum fraction digits is set to 4.\n\n* Trailing fractional zeros are not displayed if they occur j positions after\n the decimal, where j is less than the maximum fraction digits. For example,\n 0.10004 is formatted as \"0.1\" if the maximum fraction digits is four or\n less.\n\n#","ref":"Plausible.Cldr.Number.html#module-non-scientific-notation-formatting"},{"type":"module","title":"Scientific Notation Formatting - Plausible.Cldr.Number","doc":"Numbers in scientific notation are expressed as the product of a mantissa and\na power of ten, for example, 1234 can be expressed as 1.234 x 10^3. The\nmantissa is typically in the half-open interval [1.0, 10.0) or sometimes\n[0.0, 1.0), but it need not be. In a pattern, the exponent character\nimmediately followed by one or more digit characters indicates scientific\nnotation. Example: \"0.###E0\" formats the number 1234 as \"1.234E3\".\n\n* The number of digit characters after the exponent character gives the\n minimum exponent digit count. There is no maximum. Negative exponents are\n formatted using the localized minus sign, not the prefix and suffix from\n the pattern. This allows patterns such as \"0.###E0 m/s\". To prefix positive\n exponents with a localized plus sign, specify '+' between the exponent and\n the digits: \"0.###E+0\" will produce formats \"1E+1\", \"1E+0\", \"1E-1\", and so\n on. (In localized patterns, use the localized plus sign rather than '+'.)\n\n* The minimum number of integer digits is achieved by adjusting the exponent.\n Example: 0.00123 formatted with \"00.###E0\" yields \"12.3E-4\". This only\n happens if there is no maximum number of integer digits. If there is a\n maximum, then the minimum number of integer digits is fixed at one.\n\n* The maximum number of integer digits, if present, specifies the exponent\n grouping. The most common use of this is to generate engineering notation,\n in which the exponent is a multiple of three, for example, \"##0.###E0\". The\n number 12345 is formatted using \"##0.####E0\" as \"12.345E3\".\n\n* When using scientific notation, the formatter controls the digit counts\n using significant digits logic. The maximum number of significant digits\n limits the total number of integer and fraction digits that will be shown\n in the mantissa; it does not affect parsing. For example, 12345 formatted\n with \"##0.##E0\" is \"12.3E3\". Exponential patterns may not contain grouping\n separators.\n\n#","ref":"Plausible.Cldr.Number.html#module-scientific-notation-formatting"},{"type":"module","title":"Significant Digits - Plausible.Cldr.Number","doc":"There are two ways of controlling how many digits are shows: (a)\nsignificant digits counts, or (b) integer and fraction digit counts. Integer\nand fraction digit counts are described above. When a formatter is using\nsignificant digits counts, it uses however many integer and fraction digits\nare required to display the specified number of significant digits. It may\nignore min/max integer/fraction digits, or it may use them to the extent\npossible.","ref":"Plausible.Cldr.Number.html#module-significant-digits"},{"type":"function","title":"Plausible.Cldr.Number.parse/2","doc":"Parse a string locale-aware manner and return\na number.","ref":"Plausible.Cldr.Number.html#parse/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.parse/2","doc":"* `string` is any `String.t`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#parse/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.parse/2","doc":"* `:number` is one of `:integer`, `:float`,\n `:decimal` or `nil`. The default is `nil`\n meaning that the type auto-detected as either\n an `integer` or a `float`.\n\n* `:locale` is any locale returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag.t`. The default is\n `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.html#parse/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.parse/2","doc":"* A number of the requested or default type or\n\n* `{:error, {exception, error}}` if no number could be determined","ref":"Plausible.Cldr.Number.html#parse/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.parse/2","doc":"This function parses a string to return a number but\nin a locale-aware manner. It will normalise grouping\ncharacters and decimal separators, different forms of\nthe `+` and `-` symbols that appear in Unicode and\nstrips any `_` characters that might be used for\nformatting in a string. It then parses the number\nusing the Elixir standard library functions.","ref":"Plausible.Cldr.Number.html#parse/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.parse/2","doc":"iex> Plausible.Cldr.Number.parse(\"+1.000,34\", locale: \"de\")\n {:ok, 1000.34}\n\n iex> Plausible.Cldr.Number.parse(\"-1_000_000.34\")\n {:ok, -1000000.34}\n\n iex> Plausible.Cldr.Number.parse(\"1.000\", locale: \"de\", number: :integer)\n {:ok, 1000}\n\n iex> Plausible.Cldr.Number.parse(\"+1.000,34\", locale: \"de\", number: :integer)\n {:error,\n {Cldr.Number.ParseError,\n \"The string \\\"+1.000,34\\\" could not be parsed as a number\"}}","ref":"Plausible.Cldr.Number.html#parse/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_currencies/2","doc":"Resolve curencies from strings within\na list.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_currencies/2","doc":"* `list` is any list in which currency\n names and symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_currencies/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `Plausible.Cldr.get_locale()`\n\n* `:only` is an `atom` or list of `atoms` representing the\n currencies or currency types to be considered for a match.\n The equates to a list of acceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:except` is an `atom` or list of `atoms` representing the\n currencies or currency types to be not considered for a match.\n This equates to a list of unacceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:fuzzy` is a float greater than `0.0` and less than or\n equal to `1.0` which is used as input to\n `String.jaro_distance/2` to determine is the provided\n currency string is *close enough* to a known currency\n string for it to identify definitively a currency code.\n It is recommended to use numbers greater than `0.8` in\n order to reduce false positives.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-options"},{"type":"function","title":"Notes - Plausible.Cldr.Number.resolve_currencies/2","doc":"The `:only` and `:except` options accept a list of\ncurrency codes and/or currency types. The following\ntypes are recognised.\n\nIf both `:only` and `:except` are specified,\nthe `:except` entries take priority - that means\nany entries in `:except` are removed from the `:only`\nentries.\n\n * `:all`, the default, considers all currencies\n\n * `:current` considers those currencies that have a `:to`\n date of nil and which also is a known ISO4217 currency\n\n * `:historic` is the opposite of `:current`\n\n * `:tender` considers currencies that are legal tender\n\n * `:unannotated` considers currencies that don't have\n \"(some string)\" in their names. These are usually\n financial instruments.","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_currencies/2","doc":"iex> Plausible.Cldr.Number.scan(\"100 US dollars\")\n ...> |> Plausible.Cldr.Number.resolve_currencies\n [100, :USD]\n\n iex> Plausible.Cldr.Number.scan(\"100 eurosports\")\n ...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)\n [100, :EUR]\n\n iex> Plausible.Cldr.Number.scan(\"100 dollars des États-Unis\")\n ...> |> Plausible.Cldr.Number.resolve_currencies(locale: \"fr\")\n [100, :USD]","ref":"Plausible.Cldr.Number.html#resolve_currencies/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_currency/2","doc":"Resolve a currency from a string","ref":"Plausible.Cldr.Number.html#resolve_currency/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_currency/2","doc":"* `list` is any list in which currency\n names and symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_currency/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_currency/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `Plausible.Cldr.get_locale()`\n\n* `:only` is an `atom` or list of `atoms` representing the\n currencies or currency types to be considered for a match.\n The equates to a list of acceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:except` is an `atom` or list of `atoms` representing the\n currencies or currency types to be not considered for a match.\n This equates to a list of unacceptable currencies for parsing.\n See the notes below for currency types.\n\n* `:fuzzy` is a float greater than `0.0` and less than or\n equal to `1.0` which is used as input to\n `String.jaro_distance/2` to determine is the provided\n currency string is *close enough* to a known currency\n string for it to identify definitively a currency code.\n It is recommended to use numbers greater than `0.8` in\n order to reduce false positives.","ref":"Plausible.Cldr.Number.html#resolve_currency/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.resolve_currency/2","doc":"* An ISO4217 currency code as an atom or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#resolve_currency/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.resolve_currency/2","doc":"The `:only` and `:except` options accept a list of\ncurrency codes and/or currency types. The following\ntypes are recognised.\n\nIf both `:only` and `:except` are specified,\nthe `:except` entries take priority - that means\nany entries in `:except` are removed from the `:only`\nentries.\n\n * `:all`, the default, considers all currencies\n\n * `:current` considers those currencies that have a `:to`\n date of nil and which also is a known ISO4217 currency\n\n * `:historic` is the opposite of `:current`\n\n * `:tender` considers currencies that are legal tender\n\n * `:unannotated` considers currencies that don't have\n \"(some string)\" in their names. These are usually\n financial instruments.","ref":"Plausible.Cldr.Number.html#resolve_currency/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_currency/2","doc":"iex> Plausible.Cldr.Number.resolve_currency(\"US dollars\")\n [:USD]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"100 eurosports\", fuzzy: 0.75)\n [:EUR]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"dollars des États-Unis\", locale: \"fr\")\n [:USD]\n\n iex> Plausible.Cldr.Number.resolve_currency(\"not a known currency\", locale: \"fr\")\n {:error,\n {Cldr.UnknownCurrencyError,\n \"The currency \\\"not a known currency\\\" is unknown or not supported\"}}","ref":"Plausible.Cldr.Number.html#resolve_currency/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_per/2","doc":"Resolve and tokenize percent or permille\nfrom the beginning and/or the end of a string","ref":"Plausible.Cldr.Number.html#resolve_per/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_per/2","doc":"* `list` is any list in which percent\n and permille symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_per/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_per/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `options[:backend].get_locale()`","ref":"Plausible.Cldr.Number.html#resolve_per/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.resolve_per/2","doc":"* An `:percent` or `permille` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#resolve_per/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_per/2","doc":"iex> Plausible.Cldr.Number.resolve_per \"11%\"\n [\"11\", :percent]\n\n iex> Plausible.Cldr.Number.resolve_per \"% of linguists\"\n [:percent, \" of linguists\"]\n\n iex> Plausible.Cldr.Number.resolve_per \"% of linguists %\"\n [:percent, \" of linguists \", :percent]","ref":"Plausible.Cldr.Number.html#resolve_per/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.resolve_pers/2","doc":"Resolve and tokenize percent and permille\nsybols from strings within a list.\n\nPercent and permille symbols can be identified\nat the beginning and/or the end of a string.","ref":"Plausible.Cldr.Number.html#resolve_pers/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.resolve_pers/2","doc":"* `list` is any list in which percent and\n permille symbols are expected\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#resolve_pers/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.resolve_pers/2","doc":"* `:locale` is any valid locale returned by `Cldr.known_locale_names/1`\n or a `t:Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n The default is `options[:backend].get_locale()`","ref":"Plausible.Cldr.Number.html#resolve_pers/2-options"},{"type":"function","title":"Examples - Plausible.Cldr.Number.resolve_pers/2","doc":"iex> Plausible.Cldr.Number.scan(\"100%\")\n ...> |> Plausible.Cldr.Number.resolve_pers()\n [100, :percent]","ref":"Plausible.Cldr.Number.html#resolve_pers/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.scan/2","doc":"Scans a string locale-aware manner and returns\na list of strings and numbers.","ref":"Plausible.Cldr.Number.html#scan/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.scan/2","doc":"* `string` is any `String.t`\n\n* `options` is a keyword list of options","ref":"Plausible.Cldr.Number.html#scan/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.scan/2","doc":"* `:number` is one of `:integer`, `:float`,\n `:decimal` or `nil`. The default is `nil`\n meaning that the type auto-detected as either\n an `integer` or a `float`.\n\n* `:locale` is any locale returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag.t`. The default is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.html#scan/2-options"},{"type":"function","title":"Returns - Plausible.Cldr.Number.scan/2","doc":"* A list of strings and numbers","ref":"Plausible.Cldr.Number.html#scan/2-returns"},{"type":"function","title":"Notes - Plausible.Cldr.Number.scan/2","doc":"Number parsing is performed by `Cldr.Number.Parser.parse/2`\nand any options provided are passed to that function.","ref":"Plausible.Cldr.Number.html#scan/2-notes"},{"type":"function","title":"Examples - Plausible.Cldr.Number.scan/2","doc":"iex> Plausible.Cldr.Number.scan(\"£1_000_000.34\")\n [\"£\", 1000000.34]\n\n iex> Plausible.Cldr.Number.scan(\"I want £1_000_000 dollars\")\n [\"I want £\", 1000000, \" dollars\"]\n\n iex> Plausible.Cldr.Number.scan(\"The prize is 23\")\n [\"The prize is \", 23]\n\n iex> Plausible.Cldr.Number.scan(\"The lottery number is 23 for the next draw\")\n [\"The lottery number is \", 23, \" for the next draw\"]\n\n iex> Plausible.Cldr.Number.scan(\"The loss is -1.000 euros\", locale: \"de\", number: :integer)\n [\"The loss is \", -1000, \" euros\"]","ref":"Plausible.Cldr.Number.html#scan/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.to_approx_string/2","doc":"Formats a number and applies the `:approximately` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_approx_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_approx_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_approx_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_approx_string/2","doc":"iex> Plausible.Cldr.Number.to_approx_string 1234\n {:ok, \"~1,234\"}","ref":"Plausible.Cldr.Number.html#to_approx_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_at_least_string/2","doc":"Formats a number and applies the `:at_least` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_at_least_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_at_least_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Plausible.Cldr.Number.to_string/2` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_at_least_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_at_least_string/2","doc":"iex> Plausible.Cldr.Number.to_at_least_string 1234\n {:ok, \"1,234+\"}","ref":"Plausible.Cldr.Number.html#to_at_least_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_at_most_string/2","doc":"Formats a number and applies the `:at_most` format for\na locale and number system.","ref":"Plausible.Cldr.Number.html#to_at_most_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_at_most_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_at_most_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_at_most_string/2","doc":"iex> Plausible.Cldr.Number.to_at_most_string 1234\n {:ok, \"≤1,234\"}","ref":"Plausible.Cldr.Number.html#to_at_most_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_range_string/2","doc":"Formats the first and last numbers of a range and applies\nthe `:range` format for a locale and number system.","ref":"Plausible.Cldr.Number.html#to_range_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_range_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.\n See `Cldr.Number.to_string/3` for a description of the available\n options.","ref":"Plausible.Cldr.Number.html#to_range_string/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.to_range_string/2","doc":"iex> Plausible.Cldr.Number.to_range_string 1234..5678\n {:ok, \"1,234–5,678\"}","ref":"Plausible.Cldr.Number.html#to_range_string/2-example"},{"type":"function","title":"Plausible.Cldr.Number.to_string/2","doc":"Returns a number formatted into a string according to a format pattern and options.","ref":"Plausible.Cldr.Number.html#to_string/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_string/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted.","ref":"Plausible.Cldr.Number.html#to_string/2-arguments"},{"type":"function","title":"Options - Plausible.Cldr.Number.to_string/2","doc":"* `format`: the format style or a format string defining how the number is\n formatted. See `Cldr.Number.Format` for how format strings can be constructed.\n See `Cldr.Number.Format.format_styles_for/3` to return available format styles\n for a locale. The default `format` is `:standard`.\n\n* If `:format` is set to `:long` or `:short` then the formatting depends on\n whether `:currency` is specified. If not specified then the number is\n formatted as `:decimal_long` or `:decimal_short`. If `:currency` is\n specified the number is formatted as `:currency_long` or\n `:currency_short` and `:fractional_digits` is set to 0 as a default.\n\n* `:format` may also be a format defined by CLDR's Rules Based Number\n Formats (RBNF). Further information is found in the module `Cldr.Rbnf`.\n The most commonly used formats in this category are to spell out the\n number in a the locales language. The applicable formats are `:spellout`,\n `:spellout_year`, `:ordinal`. A number can also be formatted as roman\n numbers by using the format `:roman` or `:roman_lower`.\n\n* `currency`: is the currency for which the number is formatted. For\n available currencies see `Cldr.Currency.known_currencies/0`. This option\n is required if `:format` is set to `:currency`. If `currency` is set\n and no `:format` is set, `:format` will be set to `:currency` as well.\n\n* `currency_symbol`: Allows overriding a currency symbol. The alternatives\n are:\n * `:iso` the ISO currency code will be used instead of the default\n currency symbol.\n * `:narrow` uses the narrow symbol defined for the locale. The same\n narrow symbol can be defined for more than one currency and therefore this\n should be used with care. If no narrow symbol is defined, the standard\n symbol is used.\n * `:symbol` uses the standard symbol defined in CLDR. A symbol is unique\n for each currency and can be safely used.\n * \"string\" uses `string` as the currency symbol\n * `:standard` (the default and recommended) uses the CLDR-defined symbol\n based upon the currency format for the locale.\n\n* `:cash`: a boolean which indicates whether a number being formatted as a\n `:currency` is to be considered a cash value or not. Currencies can be\n rounded differently depending on whether `:cash` is `true` or `false`.\n *This option is deprecated in favour of `currency_digits: :cash`.\n\n* `:currency_digits` indicates which of the rounding and digits should be\n used. The options are `:accounting` which is the default, `:cash` or\n `:iso`\n\n* `:rounding_mode`: determines how a number is rounded to meet the precision\n of the format requested. The available rounding modes are `:down`,\n :half_up, :half_even, :ceiling, :floor, :half_down, :up. The default is\n `:half_even`.\n\n* `:number_system`: determines which of the number systems for a locale\n should be used to define the separators and digits for the formatted\n number. If `number_system` is an `atom` then `number_system` is\n interpreted as a number system. If the `:number_system` is\n `binary` then it is interpreted as a number system name. See\n `Cldr.Number.System.number_system_names_for/2`. The default is `:default`.\n\n* `:locale`: determines the locale in which the number is formatted. See\n `Cldr.known_locale_names/0`. The default is`Cldr.get_locale/0` which is the\n locale currently in affect for this `Process` and which is set by\n `Cldr.put_locale/1`.\n\n* If `:fractional_digits` is set to a positive integer value then the number\n will be rounded to that number of digits and displayed accordingly - overriding\n settings that would be applied by default. For example, currencies have\n fractional digits defined reflecting each currencies minor unit. Setting\n `:fractional_digits` will override that setting.\n\n* If `:maximum_integer_digits` is set to a positive integer value then the\n number is left truncated before formatting. For example if the number `1234`\n is formatted with the option `maximum_integer_digits: 2`, the number is\n truncated to `34` and formatted.\n\n* If `:round_nearest` is set to a positive integer value then the number\n will be rounded to nearest increment of that value - overriding\n settings that would be applied by default.\n\n* `:minimum_grouping_digits` overrides the CLDR definition of minimum grouping\n digits. For example in the locale `es` the number `1234` is formatted by default\n as `1345` because the locale defines the `minimium_grouping_digits` as `2`. If\n `minimum_grouping_digits: 1` is set as an option the number is formatting as\n `1.345`. The `:minimum_grouping_digits` is added to the grouping defined by\n the number format. If the sum of these two digits is greater than the number\n of digits in the integer (or fractional) part of the number then no grouping\n is performed.\n\n* `:wrapper` is a 2-arity function that will be called for each number component\n with parameters `string` and `tag` where `tag` is one of `:number`,\n `:currency_symbol`, `:currency_space`, `:literal`, `:quote`, `:percent`,\n `:permille`, `:minus` or `:plus`. The function must return a string. The\n function can be used to wrap format elements in HTML or other tags.","ref":"Plausible.Cldr.Number.html#to_string/2-options"},{"type":"function","title":"Locale extensions affecting formatting - Plausible.Cldr.Number.to_string/2","doc":"A locale identifier can specify options that affect number formatting.\nThese options are:\n\n* `nu`: defines the number system to be used if none is specified by the `:number_system`\n option to `to_string/2`\n\nThis key is part of the [u extension](https://unicode.org/reports/tr35/#u_Extension) and\nthat document should be consulted for details on how to construct a locale identifier with these\nextensions.","ref":"Plausible.Cldr.Number.html#to_string/2-locale-extensions-affecting-formatting"},{"type":"function","title":"Wrapping format elements - Plausible.Cldr.Number.to_string/2","doc":"Wrapping elements is particularly useful when formatting a number with a\ncurrency symbol and the requirement is to have different HTML formatting\napplied to the symbol than the number. For example:\n\n iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn\n ...> string, :currency_symbol -> \" \" <> string <> \" \"\n ...> string, :number -> \" \" <> string <> \" \"\n ...> string, :currency_space -> \" \" <> string <> \" \"\n ...> string, _other -> string\n ...> end)\n {:ok, \" $ 100.00 \"}\n\nIt is also possible and recommended to use the `Phoenix.HTML.Tag.content_tag/3`\nfunction if wrapping HTML tags since these will ensure HTML entities are\ncorrectly encoded. For example:\n\n iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn\n ...> string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: \"symbol\")\n ...> string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: \"number\")\n ...> string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)\n ...> string, _other -> string\n ...> end)\n {:ok, \" $ 100.00 \"}\n\nWhen formatting a number the format is parsed into format elements that might include\na currency symbol, a literal string, inserted text between a currency symbol and the\ncurrency amount, a percent sign, the number itself and several other elements. In\nsome cases it is helpful to be apply specific formatting to each element.\nThis can be achieved by specifying a `:wrapper` option. This option takes a 2-arity\nfunction as an argument. For each element of the format the wrapper function is called\nwith two parameters: the format element as a string and an atom representing the\nelement type. The wrapper function is required to return a string that is then\ninserted in the final formatted number.","ref":"Plausible.Cldr.Number.html#to_string/2-wrapping-format-elements"},{"type":"function","title":"Returns - Plausible.Cldr.Number.to_string/2","doc":"* `{:ok, string}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.html#to_string/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.to_string/2","doc":"iex> Plausible.Cldr.Number.to_string 12345\n {:ok, \"12,345\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, locale: \"fr\"\n {:ok, \"12 345\"}\n\n iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: \"es\", minimum_grouping_digits: 1\n {:ok, \"1.345,32 €\"}\n\n iex> Plausible.Cldr.Number.to_string 1345.32, currency: :EUR, locale: \"es\"\n {:ok, \"1345,32 €\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, locale: \"fr\", currency: \"USD\"\n {:ok, \"12 345,00 $US\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: \"#E0\"\n {:ok, \"1.2345E4\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\"\n {:ok, \"THB 12,345.00\"}\n\n iex> Plausible.Cldr.Number.to_string -12345, format: :accounting, currency: \"THB\"\n {:ok, \"(THB 12,345.00)\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\",\n ...> locale: \"th\"\n {:ok, \"฿12,345.00\"}\n\n iex> Plausible.Cldr.Number.to_string 12345, format: :accounting, currency: \"THB\",\n ...> locale: \"th\", number_system: :native\n {:ok, \"฿๑๒,๓๔๕.๐๐\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :long\n {:ok, \"1 thousand\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :long, currency: \"USD\"\n {:ok, \"1,244 US dollars\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :short\n {:ok, \"1K\"}\n\n iex> Plausible.Cldr.Number.to_string 1244.30, format: :short, currency: \"EUR\"\n {:ok, \"€1K\"}\n\n iex> Plausible.Cldr.Number.to_string 1234, format: :spellout\n {:ok, \"one thousand two hundred thirty-four\"}\n\n iex> Plausible.Cldr.Number.to_string 1234, format: :spellout_verbose\n {:ok, \"one thousand two hundred and thirty-four\"}\n\n iex> Plausible.Cldr.Number.to_string 1989, format: :spellout_year\n {:ok, \"nineteen eighty-nine\"}\n\n iex> Plausible.Cldr.Number.to_string 123, format: :ordinal\n {:ok, \"123rd\"}\n\n iex> Plausible.Cldr.Number.to_string 123, format: :roman\n {:ok, \"CXXIII\"}\n\n iex> Plausible.Cldr.Number.to_string 123, locale: \"th-u-nu-thai\"\n {:ok, \"๑๒๓\"}","ref":"Plausible.Cldr.Number.html#to_string/2-examples"},{"type":"function","title":"Errors - Plausible.Cldr.Number.to_string/2","doc":"An error tuple `{:error, reason}` will be returned if an error is detected.\nThe two most likely causes of an error return are:\n\n * A format cannot be compiled. In this case the error tuple will look like:\n\n```\n iex> Plausible.Cldr.Number.to_string(12345, format: \"0#\")\n {:error, {Cldr.FormatCompileError,\n \"Decimal format compiler: syntax error before: \\\"#\\\"\"}}\n```\n\n * The format style requested is not defined for the `locale` and\n `number_system`. This happens typically when the number system is\n `:algorithmic` rather than the more common `:numeric`. In this case the error\n return looks like:\n\n```\n iex> Plausible.Cldr.Number.to_string(1234, locale: \"he\", number_system: \"hebr\", format: :percent)\n {:error, {Cldr.UnknownFormatError,\n \"The locale :he with number system :hebr does not define a format :percent\"}}\n```","ref":"Plausible.Cldr.Number.html#to_string/2-errors"},{"type":"function","title":"Plausible.Cldr.Number.to_string!/2","doc":"Same as the execution of `to_string/2` but raises an exception if an error would be\nreturned.","ref":"Plausible.Cldr.Number.html#to_string!/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.to_string!/2","doc":"* `number` is an integer, float or Decimal to be formatted\n\n* `options` is a keyword list defining how the number is to be formatted. See\n `Plausible.Cldr.Number.to_string/2`","ref":"Plausible.Cldr.Number.html#to_string!/2-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.to_string!/2","doc":"* a formatted number as a string or\n\n* raises an exception","ref":"Plausible.Cldr.Number.html#to_string!/2-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.to_string!/2","doc":"iex> Plausible.Cldr.Number.to_string! 12345\n \"12,345\"\n\n iex> Plausible.Cldr.Number.to_string! 12345, locale: \"fr\"\n \"12 345\"","ref":"Plausible.Cldr.Number.html#to_string!/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.validate_number_system/2","doc":"Return a valid number system from a provided locale and number\nsystem name or type.\n\nThe number system or number system type must be valid for the\ngiven locale. If a number system type is provided, the\nunderlying number system is returned.","ref":"Plausible.Cldr.Number.html#validate_number_system/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.validate_number_system/2","doc":"* `locale` is any valid locale name returned by `Cldr.known_locale_names/1`\n or a `Cldr.LanguageTag` struct returned by `Cldr.Locale.new!/2`\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`","ref":"Plausible.Cldr.Number.html#validate_number_system/2-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.validate_number_system/2","doc":"iex> Plausible.Cldr.Number.validate_number_system \"en\", :latn\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.validate_number_system \"en\", :default\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.validate_number_system \"en\", :unknown\n {:error,\n {Cldr.UnknownNumberSystemError, \"The number system :unknown is unknown\"}}\n\n iex> Plausible.Cldr.Number.validate_number_system \"zz\", :default\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.html#validate_number_system/2-examples"},{"type":"module","title":"Plausible.Cldr.Number.Cardinal","doc":"Implements cardinal plural rules for numbers.","ref":"Plausible.Cldr.Number.Cardinal.html"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.available_locale_names/0","doc":"The locale names for which plural rules are defined.","ref":"Plausible.Cldr.Number.Cardinal.html#available_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.known_locale_names/0","doc":"The configured locales for which plural rules are defined.\n\nReturns the intersection of `Plausible.Cldr.known_locale_names/0` and\nthe locales for which Cardinal plural rules are defined.\n\nThere are many `Cldr` locales which don't have their own plural\nrules so this list is the intersection of `Cldr`'s configured\nlocales and those that have rules.","ref":"Plausible.Cldr.Number.Cardinal.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"Return the plural key for a given number in a given locale\n\nReturns which plural key (`:zero`, `:one`, `:two`, `:few`,\n`:many` or `:other`) a given number fits into within the\ncontext of a given locale.\n\nNote that these key names should not be interpreted\nliterally. For example, the key returned from\n`Cldr.Number.Ordinal.plural_rule(0, \"en\")` is actually\n`:other`, not `:zero`.\n\nThis key can then be used to format a number, date, time, unit,\nlist or other content in a plural-sensitive way.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"* `number` is any `integer`, `float` or `Decimal`\n\n* `locale` is any locale returned by `Cldr.Locale.new!/2` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `rounding` is one of `[:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]`. The\n default is `:half_even`.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Cardinal.plural_rule/3","doc":"iex> Plausible.Cldr.Number.Cardinal.plural_rule 0, \"fr\"\n :one\n\n iex> Plausible.Cldr.Number.Cardinal.plural_rule 0, \"en\"\n :other","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rule/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rules/0","doc":"Returns all the plural rules defined in CLDR.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules/0"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.plural_rules_for/1","doc":"Return the plural rules for a locale.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.plural_rules_for/1","doc":"* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\nThe rules are returned in AST form after parsing.","ref":"Plausible.Cldr.Number.Cardinal.html#plural_rules_for/1-arguments"},{"type":"function","title":"Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"Pluralize a number using cardinal plural rules\nand a substitution map.","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"* `number` is an integer, float or Decimal\n\n* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `substitutions` is a map that maps plural keys to a string.\n The valid substitution keys are `:zero`, `:one`, `:two`,\n `:few`, `:many` and `:other`.\n\nSee also `Plausible.Cldr.Number.Cardinal.Cardinal.plural_rule/3`.","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Cardinal.pluralize/3","doc":"iex> Plausible.Cldr.Number.Cardinal.pluralize 1, \"en\", %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 2, \"en\", %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 2, \"en\", %{one: \"one\", two: \"two\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 22, \"en\", %{one: \"one\", two: \"two\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), \"en\", %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), \"en\", %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), \"en\", %{one: \"one\", two: \"two\"}\n nil\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, \"ar\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"few\"\n\n iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, \"en\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"","ref":"Plausible.Cldr.Number.Cardinal.html#pluralize/3-examples"},{"type":"module","title":"Plausible.Cldr.Number.Format","doc":"Functions to manage the collection of number patterns defined in Cldr.\n\nNumber patterns affect how numbers are interpreted in a localized context.\nHere are some examples, based on the French locale. The \".\" shows where the\ndecimal point should go. The \",\" shows where the thousands separator should\ngo. A \"0\" indicates zero-padding: if the number is too short, a zero (in the\nlocale's numeric set) will go there. A \"#\" indicates no padding: if the\nnumber is too short, nothing goes there. A \"¤\" shows where the currency sign\nwill go. The following illustrates the effects of different patterns for the\nFrench locale, with the number \"1234.567\". Notice how the pattern characters\n',' and '.' are replaced by the characters appropriate for the locale.","ref":"Plausible.Cldr.Number.Format.html"},{"type":"module","title":"Number Pattern Examples - Plausible.Cldr.Number.Format","doc":"| Pattern\t | Currency\t | Text |\n| ------------- | :-------------: | ----------: |\n| #,##0.##\t | n/a\t | 1 234,57 |\n| #,##0.###\t | n/a\t | 1 234,567 |\n| ###0.#####\t | n/a\t | 1234,567 |\n| ###0.0000#\t | n/a\t | 1234,5670 |\n| 00000.0000\t | n/a\t | 01234,5670 |\n| #,##0.00 ¤\t | EUR\t | 1 234,57 € |\n\nThe number of # placeholder characters before the decimal do not matter,\nsince no limit is placed on the maximum number of digits. There should,\nhowever, be at least one zero some place in the pattern. In currency formats,\nthe number of digits after the decimal also do not matter, since the\ninformation in the supplemental data (see Supplemental Currency Data) is used\nto override the number of decimal places — and the rounding — according to\nthe currency that is being formatted. That can be seen in the above chart,\nwith the difference between Yen and Euro formatting.\n\nDetails of the number formats are described in the\n[Unicode documentation](http://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns)","ref":"Plausible.Cldr.Number.Format.html#module-number-pattern-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.all_formats_for/1","doc":"Returns the decimal formats defined for a given locale.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.all_formats_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.all_formats_for/1","doc":"* `{:ok, map}` where map is a map of decimal formats\n keyed by number system or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#all_formats_for/1-returns"},{"type":"function","title":"Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"Returns the decimal formats defined for a given locale.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.all_formats_for!/1","doc":"* `{:ok, map}` where map is a map of decimal formats\n keyed by number system or\n\n* raises an exception\n\nSee `Plausible.Cldr.Number.Format.Number.Format.all_formats_for/1` for further information.","ref":"Plausible.Cldr.Number.Format.html#all_formats_for!/1-returns"},{"type":"function","title":"Plausible.Cldr.Number.Format.currency_spacing/2","doc":"Returns the currency space for a given locale and\nnumber system.","ref":"Plausible.Cldr.Number.Format.html#currency_spacing/2"},{"type":"function","title":"Plausible.Cldr.Number.Format.decimal_format_list/0","doc":"Returns the list of decimal formats in the configured locales including\nthe list of locales configured for precompilation in `config.exs`.\n\nThis function exists to allow the decimal formatter\nto precompile all the known formats at compile time.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list/0"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.decimal_format_list/0","doc":"#=> Plausible.Cldr.Number.Format.Format.decimal_format_list\n [\"#\", \"#,##,##0%\",\n \"#,##,##0.###\", \"#,##,##0.00¤\", \"#,##,##0.00¤;(#,##,##0.00¤)\",\n \"#,##,##0 %\", \"#,##0%\", \"#,##0.###\", \"#,##0.00 ¤\",\n \"#,##0.00 ¤;(#,##0.00 ¤)\", \"#,##0.00¤\", \"#,##0.00¤;(#,##0.00¤)\",\n \"#,##0 %\", \"#0%\", \"#0.######\", \"#0.00 ¤\", \"#E0\", \"%#,##0\", \"% #,##0\",\n \"0\", \"0.000000E+000\", \"0000 M ¤\", \"0000¤\", \"000G ¤\", \"000K ¤\", \"000M ¤\",\n \"000T ¤\", \"000mM ¤\", \"000m ¤\", \"000 Bio'.' ¤\", \"000 Bln ¤\", \"000 Bn ¤\",\n \"000 B ¤\", \"000 E ¤\", \"000 K ¤\", \"000 MRD ¤\", \"000 Md ¤\", \"000 Mio'.' ¤\",\n \"000 Mio ¤\", \"000 Mld ¤\", \"000 Mln ¤\", \"000 Mn ¤\", \"000 Mrd'.' ¤\",\n \"000 Mrd ¤\", \"000 Mr ¤\", \"000 M ¤\", \"000 NT ¤\", \"000 N ¤\", \"000 Tn ¤\",\n \"000 Tr ¤\", ...]","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list/0-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"Returns the list of decimal formats for a configured locale.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.\n\nThis function exists to allow the decimal formatter to precompile all\nthe known formats at compile time. Its use is not otherwise recommended.","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.decimal_format_list_for/1","doc":"iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en)\n {:ok, [\"#,##0%\", \"#,##0.###\", \"#,##0.00\", \"#,##0.00;(#,##0.00)\",\"#E0\",\n \"0 billion\", \"0 million\", \"0 thousand\",\n \"0 trillion\", \"00 billion\", \"00 million\", \"00 thousand\", \"00 trillion\",\n \"000 billion\", \"000 million\", \"000 thousand\", \"000 trillion\", \"000B\", \"000K\",\n \"000M\", \"000T\", \"00B\", \"00K\", \"00M\", \"00T\", \"0B\", \"0K\", \"0M\", \"0T\",\n \"¤#,##0.00\", \"¤#,##0.00;(¤#,##0.00)\", \"¤000B\", \"¤000K\", \"¤000M\",\n \"¤000T\", \"¤00B\", \"¤00K\", \"¤00M\", \"¤00T\", \"¤0B\", \"¤0K\", \"¤0M\", \"¤0T\",\n \"¤ #,##0.00\", \"¤ #,##0.00;(¤ #,##0.00)\", \"¤ 000B\", \"¤ 000K\", \"¤ 000M\",\n \"¤ 000T\", \"¤ 00B\", \"¤ 00K\", \"¤ 00M\", \"¤ 00T\", \"¤ 0B\", \"¤ 0K\", \"¤ 0M\", \"¤ 0T\"]}","ref":"Plausible.Cldr.Number.Format.html#decimal_format_list_for/1-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"Returns the default grouping for a locale as a map.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"* `{:ok, grouping}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.default_grouping_for/1","doc":"iex> Plausible.Cldr.Number.Format.default_grouping_for(:en)\n {:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"Returns the default grouping for a locale\nor raises on error.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"* `grouping` as a map or\n\n* raises an exception","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.default_grouping_for!/1","doc":"iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)\n %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}","ref":"Plausible.Cldr.Number.Format.html#default_grouping_for!/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.formats_for/2","doc":"Return the predfined formats for a given `locale` and `number_system`.","ref":"Plausible.Cldr.Number.Format.html#formats_for/2"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.formats_for/2","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.\n\n* `number_system` is any valid number system or number system type returned\n by `Plausible.Cldr.Number.System.number_systems_for/1`.","ref":"Plausible.Cldr.Number.Format.html#formats_for/2-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.Format.formats_for/2","doc":"Plausible.Cldr.Number.Format.formats_for :fr, :native\n #=> %Cldr.Number.Format{\n accounting: \"#,##0.00 ¤;(#,##0.00 ¤)\",\n currency: \"#,##0.00 ¤\",\n percent: \"#,##0 %\",\n scientific: \"#E0\",\n standard: \"#,##0.###\"\n currency_short: [{\"1000\", [one: \"0 k ¤\", other: \"0 k ¤\"]},\n {\"10000\", [one: \"00 k ¤\", other: \"00 k ¤\"]},\n {\"100000\", [one: \"000 k ¤\", other: \"000 k ¤\"]},\n {\"1000000\", [one: \"0 M ¤\", other: \"0 M ¤\"]},\n {\"10000000\", [one: \"00 M ¤\", other: \"00 M ¤\"]},\n {\"100000000\", [one: \"000 M ¤\", other: \"000 M ¤\"]},\n {\"1000000000\", [one: \"0 Md ¤\", other: \"0 Md ¤\"]},\n {\"10000000000\", [one: \"00 Md ¤\", other: \"00 Md ¤\"]},\n {\"100000000000\", [one: \"000 Md ¤\", other: \"000 Md ¤\"]},\n {\"1000000000000\", [one: \"0 Bn ¤\", other: \"0 Bn ¤\"]},\n {\"10000000000000\", [one: \"00 Bn ¤\", other: \"00 Bn ¤\"]},\n {\"100000000000000\", [one: \"000 Bn ¤\", other: \"000 Bn ¤\"]}],\n ...\n }","ref":"Plausible.Cldr.Number.Format.html#formats_for/2-example"},{"type":"function","title":"Plausible.Cldr.Number.Format.formats_for!/2","doc":"","ref":"Plausible.Cldr.Number.Format.html#formats_for!/2"},{"type":"function","title":"Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"Returns the minimum grouping digits for a locale.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"* `{:ok, minumum_digits}` or\n\n* `{:error, {exception, message}}`","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.minimum_grouping_digits_for/1","doc":"iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for(\"en\")\n {:ok, 1}","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"Returns the minimum grouping digits for a locale\nor raises on error.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"* `minumum_digits` or\n\n* raises an exception","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Format.minimum_grouping_digits_for!/1","doc":"iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!(\"en\")\n 1","ref":"Plausible.Cldr.Number.Format.html#minimum_grouping_digits_for!/1-examples"},{"type":"module","title":"Plausible.Cldr.Number.Formatter.Decimal","doc":"","ref":"Plausible.Cldr.Number.Formatter.Decimal.html"},{"type":"function","title":"Plausible.Cldr.Number.Formatter.Decimal.metadata!/1","doc":"","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#metadata!/1"},{"type":"function","title":"Plausible.Cldr.Number.Formatter.Decimal.to_string/3","doc":"Formats a number according to a decimal format string.","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#to_string/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Formatter.Decimal.to_string/3","doc":"* `number` is an integer, float or Decimal\n\n* `format` is a format string. See `Plausible.Cldr.Number` for further information.\n\n* `options` is a map of options. See `Plausible.Cldr.Number.to_string/2`\n for further information.","ref":"Plausible.Cldr.Number.Formatter.Decimal.html#to_string/3-arguments"},{"type":"module","title":"Plausible.Cldr.Number.Ordinal","doc":"Implements ordinal plural rules for numbers.","ref":"Plausible.Cldr.Number.Ordinal.html"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.available_locale_names/0","doc":"The locale names for which plural rules are defined.","ref":"Plausible.Cldr.Number.Ordinal.html#available_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.known_locale_names/0","doc":"The configured locales for which plural rules are defined.\n\nReturns the intersection of `Plausible.Cldr.known_locale_names/0` and\nthe locales for which Ordinal plural rules are defined.\n\nThere are many `Cldr` locales which don't have their own plural\nrules so this list is the intersection of `Cldr`'s configured\nlocales and those that have rules.","ref":"Plausible.Cldr.Number.Ordinal.html#known_locale_names/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"Return the plural key for a given number in a given locale\n\nReturns which plural key (`:zero`, `:one`, `:two`, `:few`,\n`:many` or `:other`) a given number fits into within the\ncontext of a given locale.\n\nNote that these key names should not be interpreted\nliterally. For example, the key returned from\n`Cldr.Number.Ordinal.plural_rule(0, \"en\")` is actually\n`:other`, not `:zero`.\n\nThis key can then be used to format a number, date, time, unit,\nlist or other content in a plural-sensitive way.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"* `number` is any `integer`, `float` or `Decimal`\n\n* `locale` is any locale returned by `Cldr.Locale.new!/2` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `rounding` is one of `[:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]`. The\n default is `:half_even`.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Ordinal.plural_rule/3","doc":"iex> Plausible.Cldr.Number.Ordinal.plural_rule 0, \"fr\"\n :other\n\n iex> Plausible.Cldr.Number.Ordinal.plural_rule 1, \"en\"\n :one","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rule/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rules/0","doc":"Returns all the plural rules defined in CLDR.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules/0"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.plural_rules_for/1","doc":"Return the plural rules for a locale.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules_for/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.plural_rules_for/1","doc":"* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\nThe rules are returned in AST form after parsing.","ref":"Plausible.Cldr.Number.Ordinal.html#plural_rules_for/1-arguments"},{"type":"function","title":"Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"Pluralize a number using ordinal plural rules\nand a substitution map.","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"* `number` is an integer, float or Decimal or a `Range.t{}`. When a range, The\n is that in any usage, the start value is strictly less than the end value,\n and that no values are negative. Results for any cases that do not meet\n these criteria are undefined.\n\n* `locale` is any locale returned by `Plausible.Cldr.Locale.new!/1` or any\n `locale_name` returned by `Plausible.Cldr.known_locale_names/0`\n\n* `substitutions` is a map that maps plural keys to a string.\n The valid substitution keys are `:zero`, `:one`, `:two`,\n `:few`, `:many` and `:other`.\n\nSee also `Plausible.Cldr.Number.Ordinal.Ordinal.plural_rule/3`.","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Ordinal.pluralize/3","doc":"iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: \"one\", two: \"two\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: \"one\", two: \"two\", other: \"other\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: \"one\"}\n \"one\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: \"one\"}\n nil\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: \"one\", two: \"two\"}\n \"two\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, \"ar\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"\n\n iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, \"en\", %{one: \"one\", few: \"few\", other: \"other\"}\n \"other\"","ref":"Plausible.Cldr.Number.Ordinal.html#pluralize/3-examples"},{"type":"module","title":"Plausible.Cldr.Number.PluralRule.Range","doc":"Implements plural rules for ranges","ref":"Plausible.Cldr.Number.PluralRule.Range.html"},{"type":"function","title":"Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"Returns a final plural type for a start-of-range plural\ntype, an end-of-range plural type and a locale.","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"* `first` is a plural type for the start of a range\n\n* `last` is a plural type for the end of a range\n\n* `locale` is any `Cldr.LanguageTag.t` or a language name\n (not locale name)","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3-arguments"},{"type":"function","title":"Example - Plausible.Cldr.Number.PluralRule.Range.plural_rule/3","doc":"iex> Plausible.Cldr.Number.PluralRule.Range.plural_rule :other, :few, \"ar\"\n :few","ref":"Plausible.Cldr.Number.PluralRule.Range.html#plural_rule/3-example"},{"type":"module","title":"Plausible.Cldr.Number.Symbol","doc":"","ref":"Plausible.Cldr.Number.Symbol.html"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_decimal_symbols/0","doc":"Returns a list of all decimal symbols defined\nby the locales configured in this backend as\na list.","ref":"Plausible.Cldr.Number.Symbol.html#all_decimal_symbols/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_decimal_symbols_class/0","doc":"Returns a list of all decimal symbols defined\nby the locales configured in this backend as\na string.\n\nThis string can be used as a character class\nwhen builing a regular expression.","ref":"Plausible.Cldr.Number.Symbol.html#all_decimal_symbols_class/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_grouping_symbols/0","doc":"Returns a list of all grouping symbols defined\nby the locales configured in this backend as\na list.","ref":"Plausible.Cldr.Number.Symbol.html#all_grouping_symbols/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.all_grouping_symbols_class/0","doc":"Returns a list of all grouping symbols defined\nby the locales configured in this backend as\na string.\n\nThis string can be used as a character class\nwhen builing a regular expression.","ref":"Plausible.Cldr.Number.Symbol.html#all_grouping_symbols_class/0"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"Returns a map of `Cldr.Number.Symbol.t` structs of the number symbols for each\nof the number systems of a locale.","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1"},{"type":"function","title":"Options - Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"* `locale` is any valid locale name returned by\n `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by\n `Plausible.Cldr.Locale.new!/1`. The default\n is `Plausible.Cldr.get_locale/0`.","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1-options"},{"type":"function","title":"Example: - Plausible.Cldr.Number.Symbol.number_symbols_for/1","doc":"iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)\n {:ok, %{\n latn: %Cldr.Number.Symbol{\n decimal: \".\",\n exponential: \"E\",\n group: \",\",\n infinity: \"∞\",\n list: \";\",\n minus_sign: \"-\",\n nan: \"NaN\",\n per_mille: \"‰\",\n percent_sign: \"%\",\n plus_sign: \"+\",\n superscripting_exponent: \"×\",\n time_separator: \":\"\n },\n thai: %Cldr.Number.Symbol{\n decimal: \".\",\n exponential: \"E\",\n group: \",\",\n infinity: \"∞\",\n list: \";\",\n minus_sign: \"-\",\n nan: \"NaN\",\n per_mille: \"‰\",\n percent_sign: \"%\",\n plus_sign: \"+\",\n superscripting_exponent: \"×\",\n time_separator: \":\"\n }\n }}","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/1-example"},{"type":"function","title":"Plausible.Cldr.Number.Symbol.number_symbols_for/2","doc":"","ref":"Plausible.Cldr.Number.Symbol.html#number_symbols_for/2"},{"type":"module","title":"Plausible.Cldr.Number.System","doc":"","ref":"Plausible.Cldr.Number.System.html"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_for/2","doc":"Returns the actual number system from a number system type.\n\n* `locale` is any valid locale name returned by `Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by ``Cldr.Locale.new!/2``\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`\n\nThis function will decode a number system type into the actual\nnumber system. If the number system provided can't be decoded\nit is returned as is.","ref":"Plausible.Cldr.Number.System.html#number_system_for/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_for/2","doc":"iex> Plausible.Cldr.Number.System.number_system_for \"th\", :latn\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :default\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"he\", :traditional\n {:ok, %{rules: \"hebrew\", type: :algorithmic}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :native\n {:ok, %{digits: \"0123456789\", type: :numeric}}\n\n iex> Plausible.Cldr.Number.System.number_system_for \"en\", :finance\n {\n :error,\n {Cldr.UnknownNumberSystemError,\n \"The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}\"}\n }","ref":"Plausible.Cldr.Number.System.html#number_system_for/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"Returns the number system from a language tag or\nlocale name.","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"* `locale` is any language tag returned be `Cldr.Locale.new/2`\n or a locale name in the list returned by `Cldr.known_locale_names/1`","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-arguments"},{"type":"function","title":"Returns - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"* A number system name as an atom","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-returns"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_from_locale/1","doc":"iex> Plausible.Cldr.Number.System.number_system_from_locale \"en-US-u-nu-thai\"\n :thai\n\n iex> Plausible.Cldr.Number.System.number_system_from_locale \"en-US\"\n :latn","ref":"Plausible.Cldr.Number.System.html#number_system_from_locale/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_names_for/1","doc":"Returns the number systems available for a locale\nor `{:error, message}` if the locale is not known.\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Number.System.html#number_system_names_for/1"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_system_names_for/1","doc":"iex> Plausible.Cldr.Number.System.number_system_names_for \"en\"\n {:ok, [:latn]}\n\n iex> Plausible.Cldr.Number.System.number_system_names_for \"zz\"\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.System.html#number_system_names_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_names_for!/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_system_names_for!/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_system_types_for/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_system_types_for/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_for/1","doc":"Returns the number systems available for a locale\nor `{:error, message}` if the locale is not known.\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`","ref":"Plausible.Cldr.Number.System.html#number_systems_for/1"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.number_systems_for/1","doc":"iex> Plausible.Cldr.Number.System.number_systems_for \"en\"\n {:ok, %{default: :latn, native: :latn}}\n\n iex> Plausible.Cldr.Number.System.number_systems_for \"th\"\n {:ok, %{default: :latn, native: :thai}}\n\n iex> Plausible.Cldr.Number.System.number_systems_for \"zz\"\n {:error, {Cldr.InvalidLanguageError, \"The language \\\"zz\\\" is invalid\"}}","ref":"Plausible.Cldr.Number.System.html#number_systems_for/1-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_for!/1","doc":"","ref":"Plausible.Cldr.Number.System.html#number_systems_for!/1"},{"type":"function","title":"Plausible.Cldr.Number.System.number_systems_like/2","doc":"","ref":"Plausible.Cldr.Number.System.html#number_systems_like/2"},{"type":"function","title":"Plausible.Cldr.Number.System.system_name_from/2","doc":"Returns a number system name for a given locale and number system reference.\n\n* `system_name` is any number system name returned by\n `Plausible.Cldr.known_number_systems/0` or a number system type\n returned by `Plausible.Cldr.known_number_system_types/0`\n\n* `locale` is any valid locale name returned by `Plausible.Cldr.known_locale_names/0`\n or a `Cldr.LanguageTag` struct returned by `Plausible.Cldr.Locale.new!/1`\n\nNumber systems can be references in one of two ways:\n\n* As a number system type such as :default, :native, :traditional and\n :finance. This allows references to a number system for a locale in a\n consistent fashion for a given use\n\n* WIth the number system name directly, such as :latn, :arab or any of the\n other 70 or so\n\nThis function dereferences the supplied `system_name` and returns the\nactual system name.","ref":"Plausible.Cldr.Number.System.html#system_name_from/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.system_name_from/2","doc":"ex> Plausible.Cldr.Number.System.system_name_from(:default, \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(\"latn\", \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(:native, \"en\")\n {:ok, :latn}\n\n iex> Plausible.Cldr.Number.System.system_name_from(:nope, \"en\")\n {\n :error,\n {Cldr.UnknownNumberSystemError, \"The number system :nope is unknown\"}\n }\n\nNote that return value is not guaranteed to be a valid\nnumber system for the given locale as demonstrated in the third example.","ref":"Plausible.Cldr.Number.System.html#system_name_from/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.to_system/2","doc":"Converts a number into the representation of\na non-latin number system.\n\nThis function converts numbers to a known\nnumber system only, it does not provide number\nformatting.\n\n* `number` is a `float`, `integer` or `Decimal`\n\n* `system_name` is any number system name returned by\n `Cldr.known_number_systems/0` or a number system type\n returned by `Cldr.known_number_system_types/0`\n\nThere are two types of number systems in CLDR:\n\n* `:numeric` in which the number system defines\n a direct mapping between the latin digits `0..9`\n into a the number system equivalent. In this case,\n` to_system/2` invokes `Cldr.Number.Transliterate.transliterate_digits/3`\n for the given number.\n\n* `:algorithmic` in which the number system\n does not have the same structure as the `:latn`\n number system and therefore the conversion is\n done algorithmically. For CLDR the algorithm\n is implemented through `Cldr.Rbnf` rulesets.\n These rulesets are considered by CLDR to be\n less rigorous than the `:numeric` number systems\n and caution and testing for a specific use case\n is recommended.","ref":"Plausible.Cldr.Number.System.html#to_system/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.to_system/2","doc":"iex> Plausible.Cldr.Number.System.to_system 123456, :hebr\n {:ok, \"קכ״ג׳תנ״ו\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hans\n {:ok, \"一百二十三\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hant\n {:ok, \"一百二十三\"}\n\n iex> Plausible.Cldr.Number.System.to_system 123, :hansfin\n {:ok, \"壹佰贰拾叁\"}","ref":"Plausible.Cldr.Number.System.html#to_system/2-examples"},{"type":"function","title":"Plausible.Cldr.Number.System.to_system!/2","doc":"Converts a number into the representation of\na non-latin number system. Returns a converted\nstring or raises on error.\n\n* `number` is a `float`, `integer` or `Decimal`\n\n* `system_name` is any number system name returned by\n `Plausible.Cldr.known_number_systems/0` or a number system type\n returned by `Plausible.Cldr.known_number_system_types/0`\n\nSee `Plausible.Cldr.Number.System.to_system/2` for further\ninformation.","ref":"Plausible.Cldr.Number.System.html#to_system!/2"},{"type":"function","title":"Examples - Plausible.Cldr.Number.System.to_system!/2","doc":"iex> Plausible.Cldr.Number.System.to_system! 123, :hans\n \"一百二十三\"\n\n iex> Plausible.Cldr.Number.System.to_system! 123, :hant\n \"一百二十三\"\n\n iex> Plausible.Cldr.Number.System.to_system! 123, :hansfin\n \"壹佰贰拾叁\"","ref":"Plausible.Cldr.Number.System.html#to_system!/2-examples"},{"type":"module","title":"Plausible.Cldr.Number.Transliterate","doc":"Transliteration for digits and separators.\n\nTransliterating a string is an expensive business. First the string has to\nbe exploded into its component graphemes. Then for each grapheme we have\nto map to the equivalent in the other `{locale, number_system}`. Then we\nhave to reassemble the string.\n\nEffort is made to short circuit where possible. Transliteration is not\nrequired for any `{locale, number_system}` that is the same as `{\"en\",\n\"latn\"}` since the implementation uses this combination for the placeholders during\nformatting already. When short circuiting is possible (typically the en-*\nlocales with \"latn\" number_system - the total number of short circuited\nlocales is 211 of the 537 in CLDR) the overall number formatting is twice as\nfast than when formal transliteration is required.\n\n#","ref":"Plausible.Cldr.Number.Transliterate.html"},{"type":"module","title":"Configuring precompilation of digit transliterations - Plausible.Cldr.Number.Transliterate","doc":"This module includes `Cldr.Number.Transliterate.transliterate_digits/3` which transliterates\ndigits between number systems. For example from :arabic to :latn. Since generating a\ntransliteration map is slow, pairs of transliterations can be configured so that the\ntransliteration map is created at compile time and therefore speeding up transliteration at\nrun time.\n\nTo configure these transliteration pairs, add the to the `use Cldr` configuration\nin a backend module:\n\n defmodule MyApp.Cldr do\n use Cldr,\n locale: [\"en\", \"fr\", \"th\"],\n default_locale: \"en\",\n precompile_transliterations: [{:latn, :thai}, {:arab, :thai}]\n end\n\nWhere each tuple in the list configures one transliteration map. In this example, two maps are\nconfigured: from `:latn` to `:thai` and from `:arab` to `:thai`.\n\nA list of configurable number systems is returned by `Cldr.Number.System.numeric_systems/0`.\n\nIf a transliteration is requested between two number pairs that have not been configured for\nprecompilation, a warning is logged.","ref":"Plausible.Cldr.Number.Transliterate.html#module-configuring-precompilation-of-digit-transliterations"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"Transliterates from latin digits to another number system's digits.\n\nTransliterates the latin digits 0..9 to their equivalents in\nanother number system. Also transliterates the decimal and grouping\nseparators as well as the plus, minus and exponent symbols. Any other character\nin the string will be returned \"as is\".","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3"},{"type":"function","title":"Arguments - Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"* `sequence` is the string to be transliterated.\n\n* `locale` is any known locale, defaulting to `Plausible.Cldr.get_locale/0`.\n\n* `number_system` is any known number system. If expressed as a `string` it\n is the actual name of a known number system. If epressed as an `atom` it is\n used as a key to look up a number system for the locale (the usual keys are\n `:default` and `:native` but :traditional and :finance are also part of the\n standard). See `Plausible.Cldr.Number.System.number_systems_for/1` for a locale to\n see what number system types are defined. The default is `:default`.\n\nFor available number systems see `Cldr.Number.System.number_systems/0`\nand `Plausible.Cldr.Number.System.number_systems_for/1`. Also see\n`Plausible.Cldr.Number.Symbol.number_symbols_for/1`.","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3-arguments"},{"type":"function","title":"Examples - Plausible.Cldr.Number.Transliterate.transliterate/3","doc":"iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\")\n \"123556\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123,556.000\", \"fr\", :default)\n \"123 556,000\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", :default)\n \"123556\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", \"thai\")\n \"๑๒๓๕๕๖\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"123556\", \"th\", :native)\n \"๑๒๓๕๕๖\"\n\n iex> Plausible.Cldr.Number.Transliterate.transliterate(\"Some number is: 123556\", \"th\", \"thai\")\n \"Some number is: ๑๒๓๕๕๖\"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate/3-examples"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate!/3","doc":"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate!/3"},{"type":"function","title":"Plausible.Cldr.Number.Transliterate.transliterate_digits/3","doc":"Transliterates digits from one number system to another number system\n\n* `digits` is binary representation of a number\n\n* `from_system` and `to_system` are number system names in atom form. See\n`Cldr.Number.System.numeric_systems/0` for available number systems.","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate_digits/3"},{"type":"function","title":"Example - Plausible.Cldr.Number.Transliterate.transliterate_digits/3","doc":"iex> Plausible.Cldr.Number.Transliterate.transliterate_digits \"٠١٢٣٤٥٦٧٨٩\", :arab, :latn\n \"0123456789\"","ref":"Plausible.Cldr.Number.Transliterate.html#transliterate_digits/3-example"},{"type":"module","title":"Plausible.Cldr.Rbnf.NumberSystem","doc":"Functions to implement the number system rule-based-number-format rules of CLDR.\n\nThese rules are defined only on the \"und\" locale and represent specialised\nnumber formatting.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)\n ...> |> Enum.sort()\n [\n :armenian_lower,\n :armenian_upper,\n :cyrillic_lower,\n :ethiopic,\n :georgian,\n :greek_lower,\n :greek_upper,\n :hebrew,\n :hebrew_item,\n :roman_lower,\n :roman_upper,\n :tamil,\n :zz_default\n ]\n\nA rule can then be invoked on an available rule_set. For example\n\n iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)\n \"CXXIII\"\n\nThis particular call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :roman)\n {:ok, \"CXXIII\"}","ref":"Plausible.Cldr.Rbnf.NumberSystem.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.armenian_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#armenian_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_1_10/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_1_10/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_final/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_final/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_post/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_post/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.cyrillic_lower_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#cyrillic_lower_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p1/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p1/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p2/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p2/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p3/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p3/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.ethiopic_p/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#ethiopic_p/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.georgian/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#georgian/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.georgian/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#georgian/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_numeral_majuscules/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_numeral_majuscules/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_numeral_minuscules/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_numeral_minuscules/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.greek_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#greek_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_0_99/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_0_99/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_item_hundreds/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_item_hundreds/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.hebrew_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#hebrew_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_lower/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_lower/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_lower/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_lower/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_upper/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_upper/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.roman_upper/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#roman_upper/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#rule_sets/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.tamil_thousands/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#tamil_thousands/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.zz_default/1","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#zz_default/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.NumberSystem.zz_default/2","doc":"","ref":"Plausible.Cldr.Rbnf.NumberSystem.html#zz_default/2"},{"type":"module","title":"Plausible.Cldr.Rbnf.Ordinal","doc":"Functions to implement the ordinal rule-based-number-format rules of CLDR.\n\nAs CLDR notes, the data is incomplete or non-existent for many languages. It\nis considered complete for English however.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)\n [:digits_ordinal]\n\n iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(\"fr\")\n ...> |> Enum.sort()\n [\n :digits_ordinal,\n :digits_ordinal_feminine,\n :digits_ordinal_feminine_plural,\n :digits_ordinal_masculine,\n :digits_ordinal_masculine_plural\n ]\n\nA rule can then be invoked on an available rule_set. For example\n\n iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)\n \"123rd\"\n\nThis call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)\n {:ok, \"123rd\"}","ref":"Plausible.Cldr.Rbnf.Ordinal.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.digits_ordinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#digits_ordinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Ordinal.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.Ordinal.html#rule_sets/1"},{"type":"module","title":"Plausible.Cldr.Rbnf.Spellout","doc":"Functions to implement the spellout rule-based-number-format rules of CLDR.\n\nAs CLDR notes, the data is incomplete or non-existent for many languages. It\nis considered complete for English however.\n\nThe standard public API for RBNF is via the `Cldr.Number.to_string/2` function.\n\nThe functions on this module are defined at compile time based upon the RBNF rules\ndefined in the Unicode CLDR data repository. Available rules are identified by:\n\n iex> Plausible.Cldr.Rbnf.Spellout.rule_sets(\"en\")\n ...> |> Enum.sort()\n [\n :spellout_cardinal,\n :spellout_cardinal_verbose,\n :spellout_numbering,\n :spellout_numbering_verbose,\n :spellout_numbering_year,\n :spellout_ordinal,\n :spellout_ordinal_verbose\n ]\n\nA rule can then be invoked on an available rule_set. For example:\n\n iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, \"en\")\n \"one hundred twenty-third\"\n\nThis call is equivalent to the call through the public API of:\n\n iex> Plausible.Cldr.Number.to_string(123, format: :spellout)\n {:ok, \"one hundred twenty-three\"}","ref":"Plausible.Cldr.Rbnf.Spellout.html"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.all_rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#all_rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.and/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#and/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.and_o/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#and_o/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.commas/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#commas/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.commas_o/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#commas_o/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.r2d_year/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#r2d_year/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.rule_sets/0","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#rule_sets/0"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.rule_sets/1","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#rule_sets/1"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_cardinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_cardinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_cardinal_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_cardinal_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_numbering_year/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_numbering_year/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_ordinal/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_ordinal/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.spellout_ordinal_verbose/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#spellout_ordinal_verbose/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.th/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#th/2"},{"type":"function","title":"Plausible.Cldr.Rbnf.Spellout.tieth/2","doc":"","ref":"Plausible.Cldr.Rbnf.Spellout.html#tieth/2"},{"type":"module","title":"Plausible.ClickhouseEventV2","doc":"Event schema for when NumericIDs migration is complete","ref":"Plausible.ClickhouseEventV2.html"},{"type":"function","title":"Plausible.ClickhouseEventV2.new/1","doc":"","ref":"Plausible.ClickhouseEventV2.html#new/1"},{"type":"module","title":"Plausible.ClickhouseRepo","doc":"","ref":"Plausible.ClickhouseRepo.html"},{"type":"function","title":"Plausible.ClickhouseRepo.aggregate/3","doc":"","ref":"Plausible.ClickhouseRepo.html#aggregate/3"},{"type":"function","title":"Plausible.ClickhouseRepo.aggregate/4","doc":"","ref":"Plausible.ClickhouseRepo.html#aggregate/4"},{"type":"function","title":"Plausible.ClickhouseRepo.all/2","doc":"","ref":"Plausible.ClickhouseRepo.html#all/2"},{"type":"function","title":"Plausible.ClickhouseRepo.checked_out?/0","doc":"","ref":"Plausible.ClickhouseRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.ClickhouseRepo.checkout/2","doc":"","ref":"Plausible.ClickhouseRepo.html#checkout/2"},{"type":"function","title":"Plausible.ClickhouseRepo.child_spec/1","doc":"","ref":"Plausible.ClickhouseRepo.html#child_spec/1"},{"type":"function","title":"Plausible.ClickhouseRepo.config/0","doc":"","ref":"Plausible.ClickhouseRepo.html#config/0"},{"type":"function","title":"Plausible.ClickhouseRepo.default_options/1","doc":"","ref":"Plausible.ClickhouseRepo.html#default_options/1"},{"type":"function","title":"Plausible.ClickhouseRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.ClickhouseRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.ClickhouseRepo.exists?/2","doc":"","ref":"Plausible.ClickhouseRepo.html#exists?/2"},{"type":"function","title":"Plausible.ClickhouseRepo.get/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get!/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_by/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get_by/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_by!/3","doc":"","ref":"Plausible.ClickhouseRepo.html#get_by!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.ClickhouseRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.ClickhouseRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.ClickhouseRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.ClickhouseRepo.load/2","doc":"","ref":"Plausible.ClickhouseRepo.html#load/2"},{"type":"function","title":"Plausible.ClickhouseRepo.one/2","doc":"","ref":"Plausible.ClickhouseRepo.html#one/2"},{"type":"function","title":"Plausible.ClickhouseRepo.one!/2","doc":"","ref":"Plausible.ClickhouseRepo.html#one!/2"},{"type":"function","title":"Plausible.ClickhouseRepo.parallel_tasks/1","doc":"","ref":"Plausible.ClickhouseRepo.html#parallel_tasks/1"},{"type":"function","title":"Plausible.ClickhouseRepo.preload/3","doc":"","ref":"Plausible.ClickhouseRepo.html#preload/3"},{"type":"function","title":"Plausible.ClickhouseRepo.prepare_query/3","doc":"","ref":"Plausible.ClickhouseRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.ClickhouseRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.ClickhouseRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.ClickhouseRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.ClickhouseRepo.html#query/3"},{"type":"function","title":"Plausible.ClickhouseRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.ClickhouseRepo.html#query!/3"},{"type":"function","title":"Plausible.ClickhouseRepo.reload/2","doc":"","ref":"Plausible.ClickhouseRepo.html#reload/2"},{"type":"function","title":"Plausible.ClickhouseRepo.reload!/2","doc":"","ref":"Plausible.ClickhouseRepo.html#reload!/2"},{"type":"function","title":"Plausible.ClickhouseRepo.start_link/1","doc":"","ref":"Plausible.ClickhouseRepo.html#start_link/1"},{"type":"function","title":"Plausible.ClickhouseRepo.stop/1","doc":"","ref":"Plausible.ClickhouseRepo.html#stop/1"},{"type":"function","title":"Plausible.ClickhouseRepo.stream/2","doc":"","ref":"Plausible.ClickhouseRepo.html#stream/2"},{"type":"function","title":"Plausible.ClickhouseRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.ClickhouseRepo.html#to_sql/2"},{"type":"module","title":"Plausible.ClickhouseSessionV2","doc":"Session schema for when NumericIDs migration is complete","ref":"Plausible.ClickhouseSessionV2.html"},{"type":"function","title":"Plausible.ClickhouseSessionV2.random_uint64/0","doc":"","ref":"Plausible.ClickhouseSessionV2.html#random_uint64/0"},{"type":"module","title":"Plausible.ClickhouseSessionV2.BoolUInt8","doc":"Custom type to cast Bool as UInt8","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html"},{"type":"function","title":"Plausible.ClickhouseSessionV2.BoolUInt8.embed_as/1","doc":"","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html#embed_as/1"},{"type":"function","title":"Plausible.ClickhouseSessionV2.BoolUInt8.equal?/2","doc":"","ref":"Plausible.ClickhouseSessionV2.BoolUInt8.html#equal?/2"},{"type":"module","title":"Plausible.ConfigHelpers","doc":"","ref":"Plausible.ConfigHelpers.html"},{"type":"function","title":"Plausible.ConfigHelpers.get_int_from_path_or_env/3","doc":"","ref":"Plausible.ConfigHelpers.html#get_int_from_path_or_env/3"},{"type":"function","title":"Plausible.ConfigHelpers.get_var_from_path_or_env/3","doc":"","ref":"Plausible.ConfigHelpers.html#get_var_from_path_or_env/3"},{"type":"module","title":"Plausible.DataCase","doc":"This module defines the setup for tests requiring\naccess to the application's data layer.\n\nYou may define functions here to be used as helpers in\nyour tests.\n\nFinally, if the test case interacts with the database,\nit cannot be async. For this reason, every test runs\ninside a transaction which is reset at the beginning\nof the test unless the test case is marked as async.","ref":"Plausible.DataCase.html"},{"type":"module","title":"Plausible.DataMigration","doc":"Base module for coordinated Clickhouse data migrations\nrun via remote shell or otherwise (TBD).","ref":"Plausible.DataMigration.html"},{"type":"module","title":"Plausible.DataMigration.NumericIDs","doc":"Numeric IDs migration, SQL files available at:\npriv/data_migrations/NumericIDs/sql","ref":"Plausible.DataMigration.NumericIDs.html"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.confirm/3","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#confirm/3"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run/1","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run/1"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run_sql/2","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run_sql/2"},{"type":"function","title":"Plausible.DataMigration.NumericIDs.run_sql_confirm/2","doc":"","ref":"Plausible.DataMigration.NumericIDs.html#run_sql_confirm/2"},{"type":"module","title":"Plausible.DataMigration.Repo","doc":"Ecto.Repo for Clickhouse data migrations, to be started manually,\noutside of the main application supervision tree.","ref":"Plausible.DataMigration.Repo.html"},{"type":"function","title":"Plausible.DataMigration.Repo.aggregate/3","doc":"","ref":"Plausible.DataMigration.Repo.html#aggregate/3"},{"type":"function","title":"Plausible.DataMigration.Repo.aggregate/4","doc":"","ref":"Plausible.DataMigration.Repo.html#aggregate/4"},{"type":"function","title":"Plausible.DataMigration.Repo.all/2","doc":"","ref":"Plausible.DataMigration.Repo.html#all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.checked_out?/0","doc":"","ref":"Plausible.DataMigration.Repo.html#checked_out?/0"},{"type":"function","title":"Plausible.DataMigration.Repo.checkout/2","doc":"","ref":"Plausible.DataMigration.Repo.html#checkout/2"},{"type":"function","title":"Plausible.DataMigration.Repo.child_spec/1","doc":"","ref":"Plausible.DataMigration.Repo.html#child_spec/1"},{"type":"function","title":"Plausible.DataMigration.Repo.config/0","doc":"","ref":"Plausible.DataMigration.Repo.html#config/0"},{"type":"function","title":"Plausible.DataMigration.Repo.default_options/1","doc":"","ref":"Plausible.DataMigration.Repo.html#default_options/1"},{"type":"function","title":"Plausible.DataMigration.Repo.delete/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete/2"},{"type":"function","title":"Plausible.DataMigration.Repo.delete!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.delete_all/2","doc":"","ref":"Plausible.DataMigration.Repo.html#delete_all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.DataMigration.Repo.html#disconnect_all/2"},{"type":"function","title":"Plausible.DataMigration.Repo.exists?/2","doc":"","ref":"Plausible.DataMigration.Repo.html#exists?/2"},{"type":"function","title":"Plausible.DataMigration.Repo.get/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get!/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_by/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get_by/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_by!/3","doc":"","ref":"Plausible.DataMigration.Repo.html#get_by!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.get_dynamic_repo/0","doc":"","ref":"Plausible.DataMigration.Repo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.DataMigration.Repo.insert/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_all/3","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_all/3"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_or_update/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_or_update/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_or_update!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.DataMigration.Repo.html#insert_stream/3"},{"type":"function","title":"Plausible.DataMigration.Repo.load/2","doc":"","ref":"Plausible.DataMigration.Repo.html#load/2"},{"type":"function","title":"Plausible.DataMigration.Repo.one/2","doc":"","ref":"Plausible.DataMigration.Repo.html#one/2"},{"type":"function","title":"Plausible.DataMigration.Repo.one!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#one!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.preload/3","doc":"","ref":"Plausible.DataMigration.Repo.html#preload/3"},{"type":"function","title":"Plausible.DataMigration.Repo.prepare_query/3","doc":"","ref":"Plausible.DataMigration.Repo.html#prepare_query/3"},{"type":"function","title":"Plausible.DataMigration.Repo.put_dynamic_repo/1","doc":"","ref":"Plausible.DataMigration.Repo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.DataMigration.Repo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.DataMigration.Repo.html#query/3"},{"type":"function","title":"Plausible.DataMigration.Repo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.DataMigration.Repo.html#query!/3"},{"type":"function","title":"Plausible.DataMigration.Repo.reload/2","doc":"","ref":"Plausible.DataMigration.Repo.html#reload/2"},{"type":"function","title":"Plausible.DataMigration.Repo.reload!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#reload!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.start/2","doc":"","ref":"Plausible.DataMigration.Repo.html#start/2"},{"type":"function","title":"Plausible.DataMigration.Repo.start_link/1","doc":"","ref":"Plausible.DataMigration.Repo.html#start_link/1"},{"type":"function","title":"Plausible.DataMigration.Repo.stop/1","doc":"","ref":"Plausible.DataMigration.Repo.html#stop/1"},{"type":"function","title":"Plausible.DataMigration.Repo.stream/2","doc":"","ref":"Plausible.DataMigration.Repo.html#stream/2"},{"type":"function","title":"Plausible.DataMigration.Repo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.DataMigration.Repo.html#to_sql/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update/2","doc":"","ref":"Plausible.DataMigration.Repo.html#update/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update!/2","doc":"","ref":"Plausible.DataMigration.Repo.html#update!/2"},{"type":"function","title":"Plausible.DataMigration.Repo.update_all/3","doc":"","ref":"Plausible.DataMigration.Repo.html#update_all/3"},{"type":"module","title":"Plausible.DebugReplayInfo","doc":"Function execution context (with arguments) to Sentry reports.","ref":"Plausible.DebugReplayInfo.html"},{"type":"function","title":"Plausible.DebugReplayInfo.deserialize/1","doc":"","ref":"Plausible.DebugReplayInfo.html#deserialize/1"},{"type":"macro","title":"Plausible.DebugReplayInfo.include_sentry_replay_info/0","doc":"","ref":"Plausible.DebugReplayInfo.html#include_sentry_replay_info/0"},{"type":"module","title":"Plausible.Ecto.EventName","doc":"Custom type for event name. Accepts Strings and Integers and stores them as String. Returns\n cast error if any other type is provided. Accepting integers is important for 404 tracking.","ref":"Plausible.Ecto.EventName.html"},{"type":"function","title":"Plausible.Ecto.EventName.cast/1","doc":"","ref":"Plausible.Ecto.EventName.html#cast/1"},{"type":"function","title":"Plausible.Ecto.EventName.dump/1","doc":"","ref":"Plausible.Ecto.EventName.html#dump/1"},{"type":"function","title":"Plausible.Ecto.EventName.embed_as/1","doc":"","ref":"Plausible.Ecto.EventName.html#embed_as/1"},{"type":"function","title":"Plausible.Ecto.EventName.equal?/2","doc":"","ref":"Plausible.Ecto.EventName.html#equal?/2"},{"type":"function","title":"Plausible.Ecto.EventName.load/1","doc":"","ref":"Plausible.Ecto.EventName.html#load/1"},{"type":"function","title":"Plausible.Ecto.EventName.type/0","doc":"","ref":"Plausible.Ecto.EventName.html#type/0"},{"type":"module","title":"Plausible.Factory","doc":"","ref":"Plausible.Factory.html"},{"type":"function","title":"Plausible.Factory.api_key_factory/0","doc":"","ref":"Plausible.Factory.html#api_key_factory/0"},{"type":"function","title":"Plausible.Factory.build/2","doc":"","ref":"Plausible.Factory.html#build/2"},{"type":"function","title":"Plausible.Factory.build_list/3","doc":"","ref":"Plausible.Factory.html#build_list/3"},{"type":"function","title":"Plausible.Factory.build_pair/2","doc":"","ref":"Plausible.Factory.html#build_pair/2"},{"type":"function","title":"Plausible.Factory.business_subscription_factory/0","doc":"","ref":"Plausible.Factory.html#business_subscription_factory/0"},{"type":"function","title":"Plausible.Factory.ch_session_factory/0","doc":"","ref":"Plausible.Factory.html#ch_session_factory/0"},{"type":"function","title":"Plausible.Factory.create/1","doc":"","ref":"Plausible.Factory.html#create/1"},{"type":"function","title":"Plausible.Factory.create/2","doc":"","ref":"Plausible.Factory.html#create/2"},{"type":"function","title":"Plausible.Factory.create_list/3","doc":"","ref":"Plausible.Factory.html#create_list/3"},{"type":"function","title":"Plausible.Factory.create_pair/2","doc":"","ref":"Plausible.Factory.html#create_pair/2"},{"type":"function","title":"Plausible.Factory.enterprise_plan_factory/0","doc":"","ref":"Plausible.Factory.html#enterprise_plan_factory/0"},{"type":"function","title":"Plausible.Factory.event_factory/0","doc":"","ref":"Plausible.Factory.html#event_factory/0"},{"type":"function","title":"Plausible.Factory.factory/1","doc":"Raises a helpful error if no factory is defined.","ref":"Plausible.Factory.html#factory/1"},{"type":"function","title":"Plausible.Factory.goal_factory/0","doc":"","ref":"Plausible.Factory.html#goal_factory/0"},{"type":"function","title":"Plausible.Factory.google_auth_factory/0","doc":"","ref":"Plausible.Factory.html#google_auth_factory/0"},{"type":"function","title":"Plausible.Factory.growth_subscription_factory/0","doc":"","ref":"Plausible.Factory.html#growth_subscription_factory/0"},{"type":"function","title":"Plausible.Factory.imported_browsers_factory/0","doc":"","ref":"Plausible.Factory.html#imported_browsers_factory/0"},{"type":"function","title":"Plausible.Factory.imported_devices_factory/0","doc":"","ref":"Plausible.Factory.html#imported_devices_factory/0"},{"type":"function","title":"Plausible.Factory.imported_entry_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_entry_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_exit_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_exit_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_locations_factory/0","doc":"","ref":"Plausible.Factory.html#imported_locations_factory/0"},{"type":"function","title":"Plausible.Factory.imported_operating_systems_factory/0","doc":"","ref":"Plausible.Factory.html#imported_operating_systems_factory/0"},{"type":"function","title":"Plausible.Factory.imported_pages_factory/0","doc":"","ref":"Plausible.Factory.html#imported_pages_factory/0"},{"type":"function","title":"Plausible.Factory.imported_sources_factory/0","doc":"","ref":"Plausible.Factory.html#imported_sources_factory/0"},{"type":"function","title":"Plausible.Factory.imported_visitors_factory/0","doc":"","ref":"Plausible.Factory.html#imported_visitors_factory/0"},{"type":"function","title":"Plausible.Factory.insert/1","doc":"","ref":"Plausible.Factory.html#insert/1"},{"type":"function","title":"Plausible.Factory.insert/2","doc":"","ref":"Plausible.Factory.html#insert/2"},{"type":"function","title":"Plausible.Factory.insert/3","doc":"","ref":"Plausible.Factory.html#insert/3"},{"type":"function","title":"Plausible.Factory.insert_list/3","doc":"","ref":"Plausible.Factory.html#insert_list/3"},{"type":"function","title":"Plausible.Factory.insert_list/4","doc":"","ref":"Plausible.Factory.html#insert_list/4"},{"type":"function","title":"Plausible.Factory.insert_pair/2","doc":"","ref":"Plausible.Factory.html#insert_pair/2"},{"type":"function","title":"Plausible.Factory.insert_pair/3","doc":"","ref":"Plausible.Factory.html#insert_pair/3"},{"type":"function","title":"Plausible.Factory.invitation_factory/0","doc":"","ref":"Plausible.Factory.html#invitation_factory/0"},{"type":"function","title":"Plausible.Factory.monthly_report_factory/0","doc":"","ref":"Plausible.Factory.html#monthly_report_factory/0"},{"type":"function","title":"Plausible.Factory.pageview_factory/0","doc":"","ref":"Plausible.Factory.html#pageview_factory/0"},{"type":"function","title":"Plausible.Factory.params_for/2","doc":"","ref":"Plausible.Factory.html#params_for/2"},{"type":"function","title":"Plausible.Factory.params_with_assocs/2","doc":"","ref":"Plausible.Factory.html#params_with_assocs/2"},{"type":"function","title":"Plausible.Factory.shared_link_factory/0","doc":"","ref":"Plausible.Factory.html#shared_link_factory/0"},{"type":"function","title":"Plausible.Factory.site_factory/1","doc":"","ref":"Plausible.Factory.html#site_factory/1"},{"type":"function","title":"Plausible.Factory.site_membership_factory/0","doc":"","ref":"Plausible.Factory.html#site_membership_factory/0"},{"type":"function","title":"Plausible.Factory.spike_notification_factory/0","doc":"","ref":"Plausible.Factory.html#spike_notification_factory/0"},{"type":"function","title":"Plausible.Factory.string_params_for/2","doc":"","ref":"Plausible.Factory.html#string_params_for/2"},{"type":"function","title":"Plausible.Factory.string_params_with_assocs/2","doc":"","ref":"Plausible.Factory.html#string_params_with_assocs/2"},{"type":"function","title":"Plausible.Factory.subscription_factory/0","doc":"","ref":"Plausible.Factory.html#subscription_factory/0"},{"type":"function","title":"Plausible.Factory.user_factory/1","doc":"","ref":"Plausible.Factory.html#user_factory/1"},{"type":"function","title":"Plausible.Factory.weekly_report_factory/0","doc":"","ref":"Plausible.Factory.html#weekly_report_factory/0"},{"type":"module","title":"Plausible.Funnel","doc":"A funnel is a marketing term used to capture and describe the journey\nthat users go through, from initial step to conversion.\nA funnel consists of several steps (here: 2..8).\n\nThis module defines the database schema for storing funnels\nand changeset helpers for enumerating the steps within.\n\nEach step references a goal (either a Custom Event or Visit)\n- see: `Plausible.Goal`.","ref":"Plausible.Funnel.html"},{"type":"function","title":"Plausible.Funnel.changeset/2","doc":"","ref":"Plausible.Funnel.html#changeset/2"},{"type":"macro","title":"Plausible.Funnel.max_steps/0","doc":"","ref":"Plausible.Funnel.html#max_steps/0"},{"type":"macro","title":"Plausible.Funnel.min_steps/0","doc":"","ref":"Plausible.Funnel.html#min_steps/0"},{"type":"function","title":"Plausible.Funnel.put_step_orders/1","doc":"","ref":"Plausible.Funnel.html#put_step_orders/1"},{"type":"type","title":"Plausible.Funnel.t/0","doc":"","ref":"Plausible.Funnel.html#t:t/0"},{"type":"module","title":"Plausible.Funnel.Const","doc":"Compile-time convience constants for funnel characteristics.","ref":"Plausible.Funnel.Const.html"},{"type":"macro","title":"Plausible.Funnel.Const.max_steps/0","doc":"","ref":"Plausible.Funnel.Const.html#max_steps/0"},{"type":"macro","title":"Plausible.Funnel.Const.min_steps/0","doc":"","ref":"Plausible.Funnel.Const.html#min_steps/0"},{"type":"module","title":"Plausible.Funnel.Step","doc":"This module defines the database schema for a single Funnel step.\nSee: `Plausible.Funnel` for more information.","ref":"Plausible.Funnel.Step.html"},{"type":"function","title":"Plausible.Funnel.Step.changeset/2","doc":"","ref":"Plausible.Funnel.Step.html#changeset/2"},{"type":"type","title":"Plausible.Funnel.Step.t/0","doc":"","ref":"Plausible.Funnel.Step.html#t:t/0"},{"type":"module","title":"Plausible.Funnels","doc":"This module implements contextual Funnel interface, allowing listing,\ncreating and deleting funnel definitions.\n\nFor brief explanation of what a Funnel is, please see `Plausible.Funnel` schema.\nSee `Plausible.Stats.Funnel` for the evaluation logic.","ref":"Plausible.Funnels.html"},{"type":"function","title":"Plausible.Funnels.create/3","doc":"","ref":"Plausible.Funnels.html#create/3"},{"type":"function","title":"Plausible.Funnels.create_changeset/3","doc":"","ref":"Plausible.Funnels.html#create_changeset/3"},{"type":"function","title":"Plausible.Funnels.delete/2","doc":"","ref":"Plausible.Funnels.html#delete/2"},{"type":"function","title":"Plausible.Funnels.ephemeral_definition/3","doc":"","ref":"Plausible.Funnels.html#ephemeral_definition/3"},{"type":"function","title":"Plausible.Funnels.get/2","doc":"","ref":"Plausible.Funnels.html#get/2"},{"type":"function","title":"Plausible.Funnels.list/1","doc":"","ref":"Plausible.Funnels.html#list/1"},{"type":"module","title":"Plausible.Geo","doc":"This module provides an API for fetching IP geolocation.","ref":"Plausible.Geo.html"},{"type":"function","title":"Plausible.Geo.await_loader/0","doc":"Waits for the database to start after calling `load_db/1` with the async option.","ref":"Plausible.Geo.html#await_loader/0"},{"type":"function","title":"Plausible.Geo.database_type/0","doc":"Returns geodatabase type.\n\nUsed for deciding whether to show the DB-IP disclaimer or not.","ref":"Plausible.Geo.html#database_type/0"},{"type":"function","title":"Examples - Plausible.Geo.database_type/0","doc":"In the case of a DB-IP database:\n\n iex> database_type()\n \"DBIP-City-Lite\"\n\n In the case of a MaxMind database:\n\n iex> database_type()\n \"GeoLite2-City\"","ref":"Plausible.Geo.html#database_type/0-examples"},{"type":"function","title":"Plausible.Geo.load_db/1","doc":"Starts the geodatabase loading process. Two modes are supported: local file\nand MaxMind license key.","ref":"Plausible.Geo.html#load_db/1"},{"type":"function","title":"Options - Plausible.Geo.load_db/1","doc":"* `:path` - the path to the .mmdb database local file. When present,\n `:license_key` and `:edition` are not required.\n\n * `:license_key` - the [license key](https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key)\n from MaxMind to authenticate requests to MaxMind.\n\n * `:edition` - the name of the MaxMind database to be downloaded from MaxMind\n servers. Defaults to `GeoLite2-City`.\n\n * `:async` - when used, configures the database loading to run\n asynchronously.","ref":"Plausible.Geo.html#load_db/1-options"},{"type":"function","title":"Examples - Plausible.Geo.load_db/1","doc":"Loading from a local file:\n\n iex> load_db(path: \"/etc/plausible/dbip-city.mmdb\")\n :ok\n\n Downloading a MaxMind DB (this license key is no longer active):\n\n iex> load_db(license_key: \"LNpsJCCKPis6XvBP\", edition: \"GeoLite2-City\", async: true)\n :ok","ref":"Plausible.Geo.html#load_db/1-examples"},{"type":"function","title":"Plausible.Geo.lookup/1","doc":"Looks up geo info about an IP address.","ref":"Plausible.Geo.html#lookup/1"},{"type":"function","title":"Examples - Plausible.Geo.lookup/1","doc":"iex> lookup(\"8.7.6.5\")\n %{\n \"city\" => %{\n \"geoname_id\" => 5349755,\n \"names\" => %{\n \"de\" => \"Fontana\",\n \"en\" => \"Fontana\",\n \"ja\" => \"フォンタナ\",\n \"ru\" => \"Фонтана\"\n }\n },\n \"continent\" => %{\n \"code\" => \"NA\",\n \"geoname_id\" => 6255149,\n \"names\" => %{\n \"de\" => \"Nordamerika\",\n \"en\" => \"North America\",\n \"es\" => \"Norteamérica\",\n \"fr\" => \"Amérique du Nord\",\n \"ja\" => \"北アメリカ\",\n \"pt-BR\" => \"América do Norte\",\n \"ru\" => \"Северная Америка\",\n \"zh-CN\" => \"北美洲\"\n }\n },\n \"country\" => %{\n \"geoname_id\" => 6252001,\n \"iso_code\" => \"US\",\n \"names\" => %{\n \"de\" => \"Vereinigte Staaten\",\n \"en\" => \"United States\",\n \"es\" => \"Estados Unidos\",\n \"fr\" => \"États Unis\",\n \"ja\" => \"アメリカ\",\n \"pt-BR\" => \"EUA\",\n \"ru\" => \"США\",\n \"zh-CN\" => \"美国\"\n }\n },\n \"location\" => %{\n \"accuracy_radius\" => 50,\n \"latitude\" => 34.1211,\n \"longitude\" => -117.4362,\n \"metro_code\" => 803,\n \"time_zone\" => \"America/Los_Angeles\"\n },\n \"postal\" => %{\"code\" => \"92336\"},\n \"registered_country\" => %{\n \"geoname_id\" => 6252001,\n \"iso_code\" => \"US\",\n \"names\" => %{\n \"de\" => \"Vereinigte Staaten\",\n \"en\" => \"United States\",\n \"es\" => \"Estados Unidos\",\n \"fr\" => \"États Unis\",\n \"ja\" => \"アメリカ\",\n \"pt-BR\" => \"EUA\",\n \"ru\" => \"США\",\n \"zh-CN\" => \"美国\"\n }\n },\n \"subdivisions\" => [\n %{\n \"geoname_id\" => 5332921,\n \"iso_code\" => \"CA\",\n \"names\" => %{\n \"de\" => \"Kalifornien\",\n \"en\" => \"California\",\n \"es\" => \"California\",\n \"fr\" => \"Californie\",\n \"ja\" => \"カリフォルニア州\",\n \"pt-BR\" => \"Califórnia\",\n \"ru\" => \"Калифорния\",\n \"zh-CN\" => \"加州\"\n }\n }\n ]\n }","ref":"Plausible.Geo.html#lookup/1-examples"},{"type":"module","title":"Plausible.Goal","doc":"","ref":"Plausible.Goal.html"},{"type":"function","title":"Plausible.Goal.changeset/2","doc":"","ref":"Plausible.Goal.html#changeset/2"},{"type":"type","title":"Plausible.Goal.t/0","doc":"","ref":"Plausible.Goal.html#t:t/0"},{"type":"module","title":"Plausible.Goal.Revenue","doc":"Currency specific functions for revenue goals","ref":"Plausible.Goal.Revenue.html"},{"type":"function","title":"Plausible.Goal.Revenue.currency_options/0","doc":"","ref":"Plausible.Goal.Revenue.html#currency_options/0"},{"type":"function","title":"Plausible.Goal.Revenue.revenue?/1","doc":"","ref":"Plausible.Goal.Revenue.html#revenue?/1"},{"type":"function","title":"Plausible.Goal.Revenue.valid_currencies/0","doc":"","ref":"Plausible.Goal.Revenue.html#valid_currencies/0"},{"type":"module","title":"Plausible.Goals","doc":"","ref":"Plausible.Goals.html"},{"type":"function","title":"Plausible.Goals.count/1","doc":"","ref":"Plausible.Goals.html#count/1"},{"type":"function","title":"Plausible.Goals.create/3","doc":"Creates a Goal for a site.\n\nIf the created goal is a revenue goal, it sets site.updated_at to be\nrefreshed by the sites cache, as revenue goals are used during ingestion.","ref":"Plausible.Goals.html#create/3"},{"type":"function","title":"Plausible.Goals.delete/2","doc":"If a goal belongs to funnel(s), we need to inspect their number of steps.\n\nIf it exceeds the minimum allowed (defined via `Plausible.Funnel.min_steps/0`),\nthe funnel will be reduced (i.e. a step associated with the goal to be deleted\nis removed), so that the minimum number of steps is preserved. This is done\nimplicitly, by postgres, as per on_delete: :delete_all.\n\nOtherwise, for associated funnel(s) consisting of minimum number steps only,\nfunnel record(s) are removed completely along with the targeted goal.","ref":"Plausible.Goals.html#delete/2"},{"type":"function","title":"Plausible.Goals.find_or_create/2","doc":"","ref":"Plausible.Goals.html#find_or_create/2"},{"type":"function","title":"Plausible.Goals.for_site/2","doc":"","ref":"Plausible.Goals.html#for_site/2"},{"type":"function","title":"Plausible.Goals.for_site_query/2","doc":"","ref":"Plausible.Goals.html#for_site_query/2"},{"type":"module","title":"Plausible.Google.Api","doc":"","ref":"Plausible.Google.Api.html"},{"type":"function","title":"Plausible.Google.Api.fetch_and_persist/2","doc":"","ref":"Plausible.Google.Api.html#fetch_and_persist/2"},{"type":"function","title":"Plausible.Google.Api.fetch_stats/3","doc":"","ref":"Plausible.Google.Api.html#fetch_stats/3"},{"type":"function","title":"Plausible.Google.Api.fetch_verified_properties/1","doc":"","ref":"Plausible.Google.Api.html#fetch_verified_properties/1"},{"type":"function","title":"Plausible.Google.Api.get_view/2","doc":"Returns a single Google Analytics view if the user has access to it.","ref":"Plausible.Google.Api.html#get_view/2"},{"type":"function","title":"Plausible.Google.Api.import_analytics/4","doc":"Imports stats from a Google Analytics UA view to a Plausible site.\n\nThis function fetches Google Analytics reports in batches of 7500 per\nrequest. The batches are then passed to persist callback.\n\nRequests to Google Analytics can fail, and are retried at most\n5 times with an exponential backoff. Returns `:ok` when\nimporting has finished or `{:error, term()}` when a request to GA failed too\nmany times.\n\nUseful links:\n\n- [Feature documentation](https://plausible.io/docs/google-analytics-import)\n- [GA API reference](https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#ReportRequest)\n- [GA Dimensions reference](https://ga-dev-tools.web.app/dimensions-metrics-explorer)","ref":"Plausible.Google.Api.html#import_analytics/4"},{"type":"function","title":"Plausible.Google.Api.import_authorize_url/2","doc":"","ref":"Plausible.Google.Api.html#import_authorize_url/2"},{"type":"function","title":"Plausible.Google.Api.list_views/1","doc":"Lists Google Analytics views grouped by hostname.","ref":"Plausible.Google.Api.html#list_views/1"},{"type":"function","title":"Plausible.Google.Api.search_console_authorize_url/2","doc":"","ref":"Plausible.Google.Api.html#search_console_authorize_url/2"},{"type":"type","title":"Plausible.Google.Api.google_analytics_view/0","doc":"","ref":"Plausible.Google.Api.html#t:google_analytics_view/0"},{"type":"type","title":"Plausible.Google.Api.import_auth/0","doc":"","ref":"Plausible.Google.Api.html#t:import_auth/0"},{"type":"module","title":"Plausible.Google.Api.Mock","doc":"","ref":"Plausible.Google.Api.Mock.html"},{"type":"function","title":"Plausible.Google.Api.Mock.fetch_stats/3","doc":"","ref":"Plausible.Google.Api.Mock.html#fetch_stats/3"},{"type":"module","title":"Plausible.Google.HTTP","doc":"","ref":"Plausible.Google.HTTP.html"},{"type":"function","title":"Plausible.Google.HTTP.fetch_access_token/1","doc":"","ref":"Plausible.Google.HTTP.html#fetch_access_token/1"},{"type":"function","title":"Plausible.Google.HTTP.get_analytics_start_date/2","doc":"","ref":"Plausible.Google.HTTP.html#get_analytics_start_date/2"},{"type":"function","title":"Plausible.Google.HTTP.get_report/1","doc":"","ref":"Plausible.Google.HTTP.html#get_report/1"},{"type":"function","title":"Plausible.Google.HTTP.list_sites/1","doc":"","ref":"Plausible.Google.HTTP.html#list_sites/1"},{"type":"function","title":"Plausible.Google.HTTP.list_stats/5","doc":"","ref":"Plausible.Google.HTTP.html#list_stats/5"},{"type":"function","title":"Plausible.Google.HTTP.list_views_for_user/1","doc":"","ref":"Plausible.Google.HTTP.html#list_views_for_user/1"},{"type":"function","title":"Plausible.Google.HTTP.refresh_auth_token/1","doc":"","ref":"Plausible.Google.HTTP.html#refresh_auth_token/1"},{"type":"module","title":"Plausible.Google.ReportRequest","doc":"","ref":"Plausible.Google.ReportRequest.html"},{"type":"function","title":"Plausible.Google.ReportRequest.full_report/0","doc":"","ref":"Plausible.Google.ReportRequest.html#full_report/0"},{"type":"type","title":"Plausible.Google.ReportRequest.t/0","doc":"","ref":"Plausible.Google.ReportRequest.html#t:t/0"},{"type":"module","title":"Plausible.HTTPClient","doc":"HTTP Client built on top of Finch.\n\nBy default, request parameters are json-encoded.\n\nIf a raw binary value is supplied, no encoding is performed.\nIf x-www-form-urlencoded content-type is set in headers,\nURL encoding is invoked.","ref":"Plausible.HTTPClient.html"},{"type":"function","title":"Plausible.HTTPClient.get/3","doc":"Make a GET request","ref":"Plausible.HTTPClient.html#get/3"},{"type":"function","title":"Plausible.HTTPClient.impl/0","doc":"","ref":"Plausible.HTTPClient.html#impl/0"},{"type":"function","title":"Plausible.HTTPClient.post/4","doc":"Make a POST request","ref":"Plausible.HTTPClient.html#post/4"},{"type":"behaviour","title":"Plausible.HTTPClient.Interface","doc":"","ref":"Plausible.HTTPClient.Interface.html"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/1","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/1"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/2","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/2"},{"type":"callback","title":"Plausible.HTTPClient.Interface.get/3","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:get/3"},{"type":"callback","title":"Plausible.HTTPClient.Interface.post/3","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:post/3"},{"type":"callback","title":"Plausible.HTTPClient.Interface.post/4","doc":"","ref":"Plausible.HTTPClient.Interface.html#c:post/4"},{"type":"type","title":"Plausible.HTTPClient.Interface.finch_request_opts/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:finch_request_opts/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.headers/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:headers/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.params/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:params/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.response/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:response/0"},{"type":"type","title":"Plausible.HTTPClient.Interface.url/0","doc":"","ref":"Plausible.HTTPClient.Interface.html#t:url/0"},{"type":"module","title":"Plausible.HTTPClient.Non200Error","doc":"","ref":"Plausible.HTTPClient.Non200Error.html"},{"type":"function","title":"Plausible.HTTPClient.Non200Error.new/1","doc":"","ref":"Plausible.HTTPClient.Non200Error.html#new/1"},{"type":"type","title":"Plausible.HTTPClient.Non200Error.t/0","doc":"","ref":"Plausible.HTTPClient.Non200Error.html#t:t/0"},{"type":"module","title":"Plausible.Helpers.JSON","doc":"Common helpers for JSON handling","ref":"Plausible.Helpers.JSON.html"},{"type":"function","title":"Plausible.Helpers.JSON.decode_or_fallback/1","doc":"","ref":"Plausible.Helpers.JSON.html#decode_or_fallback/1"},{"type":"module","title":"Plausible.ImportDeletionRepo","doc":"A dedicated repo for import related mutations","ref":"Plausible.ImportDeletionRepo.html"},{"type":"function","title":"Plausible.ImportDeletionRepo.aggregate/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#aggregate/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.aggregate/4","doc":"","ref":"Plausible.ImportDeletionRepo.html#aggregate/4"},{"type":"function","title":"Plausible.ImportDeletionRepo.all/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.checked_out?/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.checkout/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#checkout/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.child_spec/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#child_spec/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.config/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#config/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.default_options/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#default_options/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.delete_all/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#delete_all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.ImportDeletionRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.exists?/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#exists?/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.get/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get!/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_by/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_by/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_by!/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_by!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.ImportDeletionRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_all/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_all/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_or_update/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_or_update!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.ImportDeletionRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.load/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#load/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.one/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#one/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.one!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#one!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.preload/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#preload/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.prepare_query/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.ImportDeletionRepo.html#query/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.ImportDeletionRepo.html#query!/3"},{"type":"function","title":"Plausible.ImportDeletionRepo.reload/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#reload/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.reload!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#reload!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.start_link/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#start_link/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.stop/1","doc":"","ref":"Plausible.ImportDeletionRepo.html#stop/1"},{"type":"function","title":"Plausible.ImportDeletionRepo.stream/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#stream/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.ImportDeletionRepo.html#to_sql/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#update/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update!/2","doc":"","ref":"Plausible.ImportDeletionRepo.html#update!/2"},{"type":"function","title":"Plausible.ImportDeletionRepo.update_all/3","doc":"","ref":"Plausible.ImportDeletionRepo.html#update_all/3"},{"type":"module","title":"Plausible.Imported","doc":"","ref":"Plausible.Imported.html"},{"type":"function","title":"Plausible.Imported.forget/1","doc":"","ref":"Plausible.Imported.html#forget/1"},{"type":"function","title":"Plausible.Imported.tables/0","doc":"","ref":"Plausible.Imported.html#tables/0"},{"type":"module","title":"Plausible.Imported.Buffer","doc":"This GenServer inserts records into Clickhouse `imported_*` tables. Multiple buffers are\nautomatically created for each table. Records are flushed when the table buffer reaches the\nmaximum size, defined by `max_buffer_size/0`.","ref":"Plausible.Imported.Buffer.html"},{"type":"function","title":"Plausible.Imported.Buffer.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Imported.Buffer.html#child_spec/1"},{"type":"function","title":"Plausible.Imported.Buffer.flush/2","doc":"Flushes all table buffers to Clickhouse.","ref":"Plausible.Imported.Buffer.html#flush/2"},{"type":"function","title":"Plausible.Imported.Buffer.handle_continue/2","doc":"","ref":"Plausible.Imported.Buffer.html#handle_continue/2"},{"type":"function","title":"Plausible.Imported.Buffer.init/1","doc":"","ref":"Plausible.Imported.Buffer.html#init/1"},{"type":"function","title":"Plausible.Imported.Buffer.insert_many/3","doc":"Puts the given records into the table buffer.","ref":"Plausible.Imported.Buffer.html#insert_many/3"},{"type":"function","title":"Plausible.Imported.Buffer.size/2","doc":"Returns the total count of items in the given table buffer.","ref":"Plausible.Imported.Buffer.html#size/2"},{"type":"function","title":"Plausible.Imported.Buffer.start_link/0","doc":"","ref":"Plausible.Imported.Buffer.html#start_link/0"},{"type":"function","title":"Plausible.Imported.Buffer.stop/1","doc":"","ref":"Plausible.Imported.Buffer.html#stop/1"},{"type":"module","title":"Plausible.Imported.ImportSources","doc":"Definitions of import sources.","ref":"Plausible.Imported.ImportSources.html"},{"type":"function","title":"Plausible.Imported.ImportSources.by_name/1","doc":"","ref":"Plausible.Imported.ImportSources.html#by_name/1"},{"type":"module","title":"Plausible.Imported.NoopImporter","doc":"Stub import implementation.","ref":"Plausible.Imported.NoopImporter.html"},{"type":"function","title":"Plausible.Imported.NoopImporter.create_job/2","doc":"","ref":"Plausible.Imported.NoopImporter.html#create_job/2"},{"type":"function","title":"Plausible.Imported.NoopImporter.import/2","doc":"","ref":"Plausible.Imported.NoopImporter.html#import/2"},{"type":"function","title":"Plausible.Imported.NoopImporter.name/0","doc":"","ref":"Plausible.Imported.NoopImporter.html#name/0"},{"type":"function","title":"Plausible.Imported.NoopImporter.parse_args/1","doc":"","ref":"Plausible.Imported.NoopImporter.html#parse_args/1"},{"type":"module","title":"Plausible.Imported.UniversalAnalytics","doc":"Import implementation for Universal Analytics.","ref":"Plausible.Imported.UniversalAnalytics.html"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.create_job/2","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#create_job/2"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.from_report/3","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#from_report/3"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.import/2","doc":"Imports stats from a Google Analytics UA view to a Plausible site.\n\nThis function fetches Google Analytics reports which are then passed in batches\nto Clickhouse by the `Plausible.Imported.Buffer` process.","ref":"Plausible.Imported.UniversalAnalytics.html#import/2"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.name/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#name/0"},{"type":"function","title":"Plausible.Imported.UniversalAnalytics.parse_args/1","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#parse_args/1"},{"type":"type","title":"Plausible.Imported.UniversalAnalytics.import_opt/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#t:import_opt/0"},{"type":"type","title":"Plausible.Imported.UniversalAnalytics.job_opt/0","doc":"","ref":"Plausible.Imported.UniversalAnalytics.html#t:job_opt/0"},{"type":"module","title":"Plausible.IngestRepo","doc":"Write-centric Clickhouse access interface","ref":"Plausible.IngestRepo.html"},{"type":"function","title":"Plausible.IngestRepo.aggregate/3","doc":"","ref":"Plausible.IngestRepo.html#aggregate/3"},{"type":"function","title":"Plausible.IngestRepo.aggregate/4","doc":"","ref":"Plausible.IngestRepo.html#aggregate/4"},{"type":"function","title":"Plausible.IngestRepo.all/2","doc":"","ref":"Plausible.IngestRepo.html#all/2"},{"type":"function","title":"Plausible.IngestRepo.checked_out?/0","doc":"","ref":"Plausible.IngestRepo.html#checked_out?/0"},{"type":"function","title":"Plausible.IngestRepo.checkout/2","doc":"","ref":"Plausible.IngestRepo.html#checkout/2"},{"type":"function","title":"Plausible.IngestRepo.child_spec/1","doc":"","ref":"Plausible.IngestRepo.html#child_spec/1"},{"type":"function","title":"Plausible.IngestRepo.config/0","doc":"","ref":"Plausible.IngestRepo.html#config/0"},{"type":"function","title":"Plausible.IngestRepo.default_options/1","doc":"","ref":"Plausible.IngestRepo.html#default_options/1"},{"type":"function","title":"Plausible.IngestRepo.delete/2","doc":"","ref":"Plausible.IngestRepo.html#delete/2"},{"type":"function","title":"Plausible.IngestRepo.delete!/2","doc":"","ref":"Plausible.IngestRepo.html#delete!/2"},{"type":"function","title":"Plausible.IngestRepo.delete_all/2","doc":"","ref":"Plausible.IngestRepo.html#delete_all/2"},{"type":"function","title":"Plausible.IngestRepo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.IngestRepo.html#disconnect_all/2"},{"type":"function","title":"Plausible.IngestRepo.exists?/2","doc":"","ref":"Plausible.IngestRepo.html#exists?/2"},{"type":"function","title":"Plausible.IngestRepo.get/3","doc":"","ref":"Plausible.IngestRepo.html#get/3"},{"type":"function","title":"Plausible.IngestRepo.get!/3","doc":"","ref":"Plausible.IngestRepo.html#get!/3"},{"type":"function","title":"Plausible.IngestRepo.get_by/3","doc":"","ref":"Plausible.IngestRepo.html#get_by/3"},{"type":"function","title":"Plausible.IngestRepo.get_by!/3","doc":"","ref":"Plausible.IngestRepo.html#get_by!/3"},{"type":"function","title":"Plausible.IngestRepo.get_dynamic_repo/0","doc":"","ref":"Plausible.IngestRepo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.IngestRepo.insert/2","doc":"","ref":"Plausible.IngestRepo.html#insert/2"},{"type":"function","title":"Plausible.IngestRepo.insert!/2","doc":"","ref":"Plausible.IngestRepo.html#insert!/2"},{"type":"function","title":"Plausible.IngestRepo.insert_all/3","doc":"","ref":"Plausible.IngestRepo.html#insert_all/3"},{"type":"function","title":"Plausible.IngestRepo.insert_or_update/2","doc":"","ref":"Plausible.IngestRepo.html#insert_or_update/2"},{"type":"function","title":"Plausible.IngestRepo.insert_or_update!/2","doc":"","ref":"Plausible.IngestRepo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.IngestRepo.insert_stream/3","doc":"Similar to `insert_all/2` but with the following differences:\n\n - accepts rows as streams or lists\n - sends rows as a chunked request\n - doesn't autogenerate ids or does any other preprocessing\n\nExample:\n\n Repo.query!(\"create table ecto_ch_demo(a UInt64, b String) engine Null\")\n\n defmodule Demo do\n use Ecto.Schema\n\n @primary_key false\n schema \"ecto_ch_demo\" do\n field :a, Ch, type: \"UInt64\"\n field :b, :string\n end\n end\n\n rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)\n {100_000, nil} = Repo.insert_stream(Demo, rows)\n\n # schemaless\n {100_000, nil} = Repo.insert_stream(\"ecto_ch_demo\", rows, types: [a: Ch.Types.u64(), b: :string])","ref":"Plausible.IngestRepo.html#insert_stream/3"},{"type":"function","title":"Plausible.IngestRepo.load/2","doc":"","ref":"Plausible.IngestRepo.html#load/2"},{"type":"function","title":"Plausible.IngestRepo.one/2","doc":"","ref":"Plausible.IngestRepo.html#one/2"},{"type":"function","title":"Plausible.IngestRepo.one!/2","doc":"","ref":"Plausible.IngestRepo.html#one!/2"},{"type":"function","title":"Plausible.IngestRepo.preload/3","doc":"","ref":"Plausible.IngestRepo.html#preload/3"},{"type":"function","title":"Plausible.IngestRepo.prepare_query/3","doc":"","ref":"Plausible.IngestRepo.html#prepare_query/3"},{"type":"function","title":"Plausible.IngestRepo.put_dynamic_repo/1","doc":"","ref":"Plausible.IngestRepo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.IngestRepo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.IngestRepo.html#query/3"},{"type":"function","title":"Plausible.IngestRepo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.IngestRepo.html#query!/3"},{"type":"function","title":"Plausible.IngestRepo.reload/2","doc":"","ref":"Plausible.IngestRepo.html#reload/2"},{"type":"function","title":"Plausible.IngestRepo.reload!/2","doc":"","ref":"Plausible.IngestRepo.html#reload!/2"},{"type":"function","title":"Plausible.IngestRepo.start_link/1","doc":"","ref":"Plausible.IngestRepo.html#start_link/1"},{"type":"function","title":"Plausible.IngestRepo.stop/1","doc":"","ref":"Plausible.IngestRepo.html#stop/1"},{"type":"function","title":"Plausible.IngestRepo.stream/2","doc":"","ref":"Plausible.IngestRepo.html#stream/2"},{"type":"function","title":"Plausible.IngestRepo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.IngestRepo.html#to_sql/2"},{"type":"function","title":"Plausible.IngestRepo.update/2","doc":"","ref":"Plausible.IngestRepo.html#update/2"},{"type":"function","title":"Plausible.IngestRepo.update!/2","doc":"","ref":"Plausible.IngestRepo.html#update!/2"},{"type":"function","title":"Plausible.IngestRepo.update_all/3","doc":"","ref":"Plausible.IngestRepo.html#update_all/3"},{"type":"module","title":"Plausible.Ingestion.Counters","doc":"This is instrumentation necessary for keeping track of per-domain\ninternal metrics. Due to metric labels cardinality (domain x metric_name),\nthese statistics are not suitable for prometheus/grafana exposure,\nhence an internal storage is used.\n\nThe module installs `Counters.TelemetryHandler` and periodically\nflushes the internal counter aggregates via `Counters.Buffer` interface.\n\nThe underlying database schema is running `SummingMergeTree` engine.\nTo take advantage of automatic roll-ups it provides, upon dispatching the\nbuffered records to Clickhouse this module transforms each `event_timebucket`\naggregate into a 1-minute resolution.\n\nClickhouse connection is set to insert counters asynchronously every time\na pool checkout is made. Those properties are reverted once the insert is done\n(or naturally, if the connection crashes).","ref":"Plausible.Ingestion.Counters.html"},{"type":"function","title":"Plausible.Ingestion.Counters.child_spec/1","doc":"","ref":"Plausible.Ingestion.Counters.html#child_spec/1"},{"type":"function","title":"Plausible.Ingestion.Counters.enabled?/0","doc":"","ref":"Plausible.Ingestion.Counters.html#enabled?/0"},{"type":"function","title":"Plausible.Ingestion.Counters.stop/1","doc":"","ref":"Plausible.Ingestion.Counters.html#stop/1"},{"type":"module","title":"Plausible.Ingestion.Counters.Buffer","doc":"A buffer aggregating counters for internal metrics, within 10 seconds time buckets.\n\nSee `Plausible.Ingestion.Counters` for integration.\n\nFlushing is by default possible only once the 10s bucket is complete\n(its window has moved). This is to avoid race conditions \nwhen clearing up the buffer on dequeue - because there is no atomic \"get and delete\",\nand items are buffered concurrently, there is a gap between get and delete\nin which items written may disappear otherwise.\n\n`aggregate_bucket_fn` and `flush_boundary_fn` control that semantics and\nare configurable only for test purposes.","ref":"Plausible.Ingestion.Counters.Buffer.html"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.aggregate/4","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#aggregate/4"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.bucket_10s/1","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#bucket_10s/1"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.flush/2","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#flush/2"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.new/2","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#new/2"},{"type":"function","title":"Plausible.Ingestion.Counters.Buffer.previous_10s/1","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#previous_10s/1"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.bucket_fn_opt/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:bucket_fn_opt/0"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.t/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:t/0"},{"type":"type","title":"Plausible.Ingestion.Counters.Buffer.unix_timestamp/0","doc":"","ref":"Plausible.Ingestion.Counters.Buffer.html#t:unix_timestamp/0"},{"type":"module","title":"Plausible.Ingestion.Counters.Record","doc":"Clickhouse schema for storing ingest counter metrics","ref":"Plausible.Ingestion.Counters.Record.html"},{"type":"type","title":"Plausible.Ingestion.Counters.Record.t/0","doc":"","ref":"Plausible.Ingestion.Counters.Record.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Counters.TelemetryHandler","doc":"Subscribes to telemetry events emitted by `Plausible.Ingestion.Event`.\nEvery time a request derived event is either dispatched to clickhouse or dropped,\na telemetry event is emitted respectively. That event is captured here,\nits metadata is extracted and sent for internal stats aggregation via\n`Counters.Buffer` interface.","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html"},{"type":"function","title":"Plausible.Ingestion.Counters.TelemetryHandler.handle_event/4","doc":"","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html#handle_event/4"},{"type":"function","title":"Plausible.Ingestion.Counters.TelemetryHandler.install/1","doc":"","ref":"Plausible.Ingestion.Counters.TelemetryHandler.html#install/1"},{"type":"module","title":"Plausible.Ingestion.Event","doc":"This module exposes the `build_and_buffer/1` function capable of\nturning %Plausible.Ingestion.Request{} into a series of events that in turn\nare uniformly either buffered in batches (to Clickhouse) or dropped\n(e.g. due to spam blocklist) from the processing pipeline.","ref":"Plausible.Ingestion.Event.html"},{"type":"function","title":"Plausible.Ingestion.Event.build_and_buffer/1","doc":"","ref":"Plausible.Ingestion.Event.html#build_and_buffer/1"},{"type":"function","title":"Plausible.Ingestion.Event.emit_telemetry_buffered/1","doc":"","ref":"Plausible.Ingestion.Event.html#emit_telemetry_buffered/1"},{"type":"function","title":"Plausible.Ingestion.Event.emit_telemetry_dropped/2","doc":"","ref":"Plausible.Ingestion.Event.html#emit_telemetry_dropped/2"},{"type":"function","title":"Plausible.Ingestion.Event.telemetry_event_buffered/0","doc":"","ref":"Plausible.Ingestion.Event.html#telemetry_event_buffered/0"},{"type":"function","title":"Plausible.Ingestion.Event.telemetry_event_dropped/0","doc":"","ref":"Plausible.Ingestion.Event.html#telemetry_event_dropped/0"},{"type":"type","title":"Plausible.Ingestion.Event.drop_reason/0","doc":"","ref":"Plausible.Ingestion.Event.html#t:drop_reason/0"},{"type":"type","title":"Plausible.Ingestion.Event.t/0","doc":"","ref":"Plausible.Ingestion.Event.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Event.Revenue","doc":"Revenue specific functions for the ingestion scope","ref":"Plausible.Ingestion.Event.Revenue.html"},{"type":"function","title":"Plausible.Ingestion.Event.Revenue.get_revenue_attrs/1","doc":"","ref":"Plausible.Ingestion.Event.Revenue.html#get_revenue_attrs/1"},{"type":"module","title":"Plausible.Ingestion.Request","doc":"The %Plausible.Ingestion.Request{} struct stores all needed fields\nto create an event downstream. Pre-eliminary validation is made\nto detect user errors early.","ref":"Plausible.Ingestion.Request.html"},{"type":"function","title":"Plausible.Ingestion.Request.build/2","doc":"Builds and initially validates %Plausible.Ingestion.Request{} struct from %Plug.Conn{}.","ref":"Plausible.Ingestion.Request.html#build/2"},{"type":"function","title":"Plausible.Ingestion.Request.sanitize_hostname/1","doc":"Removes the \"www\" part of a hostname.","ref":"Plausible.Ingestion.Request.html#sanitize_hostname/1"},{"type":"type","title":"Plausible.Ingestion.Request.t/0","doc":"","ref":"Plausible.Ingestion.Request.html#t:t/0"},{"type":"module","title":"Plausible.Ingestion.Request.Revenue","doc":"Revenue specific functions for the ingestion scope","ref":"Plausible.Ingestion.Request.Revenue.html"},{"type":"function","title":"Plausible.Ingestion.Request.Revenue.put_revenue_source/2","doc":"","ref":"Plausible.Ingestion.Request.Revenue.html#put_revenue_source/2"},{"type":"module","title":"Plausible.Mailer","doc":"","ref":"Plausible.Mailer.html"},{"type":"function","title":"Plausible.Mailer.deliver/1","doc":"","ref":"Plausible.Mailer.html#deliver/1"},{"type":"function","title":"Plausible.Mailer.deliver_later/2","doc":"","ref":"Plausible.Mailer.html#deliver_later/2"},{"type":"function","title":"Plausible.Mailer.deliver_later!/2","doc":"","ref":"Plausible.Mailer.html#deliver_later!/2"},{"type":"function","title":"Plausible.Mailer.deliver_now/2","doc":"","ref":"Plausible.Mailer.html#deliver_now/2"},{"type":"function","title":"Plausible.Mailer.deliver_now!/2","doc":"","ref":"Plausible.Mailer.html#deliver_now!/2"},{"type":"function","title":"Plausible.Mailer.send/1","doc":"","ref":"Plausible.Mailer.html#send/1"},{"type":"type","title":"Plausible.Mailer.result/0","doc":"","ref":"Plausible.Mailer.html#t:result/0"},{"type":"module","title":"Plausible.OpenTelemetry.Sampler","doc":"[Custom OpenTelemetry sampler](https://hexdocs.pm/opentelemetry/readme.html#samplers)\nimplementation that ignores particular traces to reduce noise. Ingestion\nHTTP requests and queries to Oban tables are ignored, for example.\n\nFor non-ignored traces, implements trace ID ratio-based sampling following the method\nfrom [built-in sampler](https://github.com/open-telemetry/opentelemetry-erlang/blob/main/apps/opentelemetry/src/otel_sampler_trace_id_ratio_based.erl).","ref":"Plausible.OpenTelemetry.Sampler.html"},{"type":"module","title":"Plausible.PaddleApi.Mock","doc":"","ref":"Plausible.PaddleApi.Mock.html"},{"type":"function","title":"Plausible.PaddleApi.Mock.fetch_prices/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#fetch_prices/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.get_invoices/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#get_invoices/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.get_subscription/1","doc":"","ref":"Plausible.PaddleApi.Mock.html#get_subscription/1"},{"type":"function","title":"Plausible.PaddleApi.Mock.update_subscription/2","doc":"","ref":"Plausible.PaddleApi.Mock.html#update_subscription/2"},{"type":"function","title":"Plausible.PaddleApi.Mock.update_subscription_preview/2","doc":"","ref":"Plausible.PaddleApi.Mock.html#update_subscription_preview/2"},{"type":"module","title":"Plausible.Pagination","doc":"Cursor-based pagination.","ref":"Plausible.Pagination.html"},{"type":"function","title":"Plausible.Pagination.paginate/4","doc":"","ref":"Plausible.Pagination.html#paginate/4"},{"type":"module","title":"Plausible.Plugins.API.CustomProps","doc":"Plugins API context module for Custom Props.\nAll high level Custom Props operations should be implemented here.","ref":"Plausible.Plugins.API.CustomProps.html"},{"type":"function","title":"Plausible.Plugins.API.CustomProps.disable/2","doc":"","ref":"Plausible.Plugins.API.CustomProps.html#disable/2"},{"type":"function","title":"Plausible.Plugins.API.CustomProps.enable/2","doc":"","ref":"Plausible.Plugins.API.CustomProps.html#enable/2"},{"type":"module","title":"Plausible.Plugins.API.Goals","doc":"Plugins API context module for Goals.\nAll high level Goal operations should be implemented here.","ref":"Plausible.Plugins.API.Goals.html"},{"type":"function","title":"Plausible.Plugins.API.Goals.create/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#create/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.delete/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#delete/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.get/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#get/2"},{"type":"function","title":"Plausible.Plugins.API.Goals.get_goals/2","doc":"","ref":"Plausible.Plugins.API.Goals.html#get_goals/2"},{"type":"type","title":"Plausible.Plugins.API.Goals.create_request/0","doc":"","ref":"Plausible.Plugins.API.Goals.html#t:create_request/0"},{"type":"module","title":"Plausible.Plugins.API.SharedLinks","doc":"Plugins API context module for Shared Links.\nAll high level Shared Links operations should be implemented here.","ref":"Plausible.Plugins.API.SharedLinks.html"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get/2","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get/2"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get_or_create/3","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get_or_create/3"},{"type":"function","title":"Plausible.Plugins.API.SharedLinks.get_shared_links/2","doc":"","ref":"Plausible.Plugins.API.SharedLinks.html#get_shared_links/2"},{"type":"module","title":"Plausible.Plugins.API.Token","doc":"Ecto schema for Plugins API Tokens.\nTokens are stored hashed and require a description.\n\nTokens are considered secret, although the Plugins API\nby nature will expose very little, if any, destructive/insecure operations.\n\nThe raw token version is meant to be presented to the user upon creation.\nIt is prefixed with a plain text identifier allowing source scanning\nfor leaked secrets.","ref":"Plausible.Plugins.API.Token.html"},{"type":"function","title":"Plausible.Plugins.API.Token.generate/1","doc":"","ref":"Plausible.Plugins.API.Token.html#generate/1"},{"type":"function","title":"Plausible.Plugins.API.Token.hash/1","doc":"","ref":"Plausible.Plugins.API.Token.html#hash/1"},{"type":"function","title":"Plausible.Plugins.API.Token.insert_changeset/3","doc":"","ref":"Plausible.Plugins.API.Token.html#insert_changeset/3"},{"type":"function","title":"Plausible.Plugins.API.Token.last_used_humanize/1","doc":"","ref":"Plausible.Plugins.API.Token.html#last_used_humanize/1"},{"type":"function","title":"Plausible.Plugins.API.Token.prefix/0","doc":"Raw tokens are prefixed so that tools like\nhttps://docs.github.com/en/code-security/secret-scanning/about-secret-scanning\ncan scan repositories for accidental secret commits.","ref":"Plausible.Plugins.API.Token.html#prefix/0"},{"type":"type","title":"Plausible.Plugins.API.Token.t/0","doc":"","ref":"Plausible.Plugins.API.Token.html#t:t/0"},{"type":"module","title":"Plausible.Plugins.API.Tokens","doc":"Context module for Plugins API Tokens.\nExposes high-level operation for token-based authentication flows.","ref":"Plausible.Plugins.API.Tokens.html"},{"type":"function","title":"Plausible.Plugins.API.Tokens.any?/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#any?/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.create/3","doc":"","ref":"Plausible.Plugins.API.Tokens.html#create/3"},{"type":"function","title":"Plausible.Plugins.API.Tokens.delete/2","doc":"","ref":"Plausible.Plugins.API.Tokens.html#delete/2"},{"type":"function","title":"Plausible.Plugins.API.Tokens.find/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#find/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.list/1","doc":"","ref":"Plausible.Plugins.API.Tokens.html#list/1"},{"type":"function","title":"Plausible.Plugins.API.Tokens.update_last_seen/2","doc":"","ref":"Plausible.Plugins.API.Tokens.html#update_last_seen/2"},{"type":"module","title":"Plausible.PromEx","doc":"","ref":"Plausible.PromEx.html"},{"type":"function","title":"Plausible.PromEx.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.PromEx.html#child_spec/1"},{"type":"module","title":"Plausible.PromEx.Plugins.PlausibleMetrics","doc":"Custom PromEx plugin for instrumenting code within Plausible app.","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html"},{"type":"function","title":"Plausible.PromEx.Plugins.PlausibleMetrics.execute_cache_metrics/0","doc":"Add telemetry events for Cachex user agents and sessions","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html#execute_cache_metrics/0"},{"type":"function","title":"Plausible.PromEx.Plugins.PlausibleMetrics.execute_write_buffer_metrics/0","doc":"Add telemetry events for Session and Event write buffers","ref":"Plausible.PromEx.Plugins.PlausibleMetrics.html#execute_write_buffer_metrics/0"},{"type":"module","title":"Plausible.Props","doc":"Context module for handling custom event props.","ref":"Plausible.Props.html"},{"type":"function","title":"Plausible.Props.allow/2","doc":"Allows a prop key or a list of props keys to be included in ClickHouse\nqueries. Allowing prop keys does not affect ingestion, as we don't want any\ndata to be dropped or lost.","ref":"Plausible.Props.html#allow/2"},{"type":"function","title":"Plausible.Props.allow_changeset/2","doc":"","ref":"Plausible.Props.html#allow_changeset/2"},{"type":"function","title":"Plausible.Props.allow_existing_props/1","doc":"Allows the 300 most frequent props keys for a specific site over\nthe past 6 months.","ref":"Plausible.Props.html#allow_existing_props/1"},{"type":"function","title":"Plausible.Props.allowed_for/2","doc":"Returns the custom props allowed in queries for the given site. There are\ntwo factors deciding whether a custom property is allowed for a site.\n\n#","ref":"Plausible.Props.html#allowed_for/2"},{"type":"function","title":"1. Subscription plan including the props feature. - Plausible.Props.allowed_for/2","doc":"Internally used keys (i.e. `[\"url\", \"path\"]`) are always allowed,\neven for plans that don't include props. For any other props, access to the\nCustom Properties feature is required.\n\n#","ref":"Plausible.Props.html#allowed_for/2-1-subscription-plan-including-the-props-feature"},{"type":"function","title":"2. The site having an `allowed_event_props` list configured. - Plausible.Props.allowed_for/2","doc":"For customers with a configured `allowed_event_props` list, this function\nreturns that list (+ internally used keys). That helps to filter out garbage\nprops which people might not want to see in their dashboards.\n\nWith the `bypass_setup?` boolean option you can override the requirement of\nthe site having set up props in the `allowed_event_props` list. For example,\nthis is currently used for fetching allowed properties in Stats API queries\nin order to ensure the props feature access.\n\nSince `allowed_event_props` was added after the props feature had already\nbeen used for a while, there are sites with `allowed_event_props = nil`. For\nthose sites, all custom properties that exist in the database are allowed to\nbe queried.","ref":"Plausible.Props.html#allowed_for/2-2-the-site-having-an-allowed_event_props-list-configured"},{"type":"function","title":"Plausible.Props.configured?/1","doc":"Returns whether the site has configured custom props or not.","ref":"Plausible.Props.html#configured?/1"},{"type":"function","title":"Plausible.Props.disallow/2","doc":"Removes previously allowed prop key(s) from the allow list. This means this\nprop key won't be included in ClickHouse queries. This doesn't drop any\nClickHouse data, nor affects ingestion.","ref":"Plausible.Props.html#disallow/2"},{"type":"function","title":"Plausible.Props.ensure_prop_key_accessible/2","doc":"","ref":"Plausible.Props.html#ensure_prop_key_accessible/2"},{"type":"function","title":"Plausible.Props.internal_keys/0","doc":"Lists prop keys used internally.\n\nThese props should be allowed by default, and should not be displayed in the\nprops settings page. For example, `url` is a special prop key used for file\ndownloads and outbound links. It doesn't make sense to remove this prop key\nfrom the allow list, or to suggest users to add this prop key.","ref":"Plausible.Props.html#internal_keys/0"},{"type":"function","title":"Plausible.Props.max_prop_key_length/0","doc":"","ref":"Plausible.Props.html#max_prop_key_length/0"},{"type":"function","title":"Plausible.Props.max_prop_value_length/0","doc":"","ref":"Plausible.Props.html#max_prop_value_length/0"},{"type":"function","title":"Plausible.Props.max_props/0","doc":"","ref":"Plausible.Props.html#max_props/0"},{"type":"function","title":"Plausible.Props.suggest_keys_to_allow/2","doc":"Queries the events table to fetch the 300 most frequent prop keys\nfor a specific site over the past 6 months, excluding keys that are already\nallowed.","ref":"Plausible.Props.html#suggest_keys_to_allow/2"},{"type":"type","title":"Plausible.Props.prop/0","doc":"","ref":"Plausible.Props.html#t:prop/0"},{"type":"module","title":"Plausible.Purge","doc":"Deletes data from a site.\n\nStats are stored on Clickhouse, and unlike other databases data deletion is\ndone asynchronously.\n\nAll import tables have MergeTree's deduplication mechanism _disabled_ by setting\n`replicated_deduplication_window` from default 100 to 0. When enabled, every insert\ninto a given table is compared against hashes of 100 previous inserts (as complete\nparts, not concrete rows) and ignored when match is found. The prupose of that\nmechanism is making inserts of exact same batches idempotent when retrying them\nshortly after - for instance due to timeout, when the client can't easily tell if\nprevious insert succeeded or not. Deduplication, however, only considers inserts,\nnot mutations. Deletions do not affect stored hashes, so further inserts of parts\nthat were deleted will still be treated as duplicates. That's why this feature\nis disabled for import tables.\n\nAlthough deletions are asynchronous, the parts to delete are \"remembered\", so there's\nno risk of overlapping deletion causing problems with import following right after it.\n\nIMPORTANT: Deletion requires revision if/when import tables get moved to sharded CH\ncluster setup. Mutation queries, which have to be run with `ON CLUSTER` in such setup,\ndispatch independent queries across shards and those queries can start at different\ntimes. This in turn means risk of deletions corrupting data of follow-up inserts\nin some edge cases. Ideally, imported entries should be unique for a given import\n- an extra `import_id` column can be introduced, holding identifier. Last processed\nimport identifier should be stored with other site data and should be used for scoping\nimported stats queries. No longer used imports can then be safely removed fully\nasynchronously.\n\n- [Clickhouse `ALTER TABLE ... DELETE` Statement](https://clickhouse.com/docs/en/sql-reference/statements/alter/delete)\n- [Synchronicity of `ALTER` Queries](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries)","ref":"Plausible.Purge.html"},{"type":"function","title":"Plausible.Purge.delete_imported_stats!/1","doc":"Deletes imported stats from Google Analytics, and clears the\n`stats_start_date` field.","ref":"Plausible.Purge.html#delete_imported_stats!/1"},{"type":"function","title":"Plausible.Purge.delete_native_stats!/1","doc":"Move stats pointers so that no historical stats are available.","ref":"Plausible.Purge.html#delete_native_stats!/1"},{"type":"function","title":"Plausible.Purge.reset!/1","doc":"","ref":"Plausible.Purge.html#reset!/1"},{"type":"module","title":"Plausible.RateLimit","doc":"Thin wrapper around `:ets.update_counter/4` and a\nclean-up process to act as a rate limiter.","ref":"Plausible.RateLimit.html"},{"type":"function","title":"Plausible.RateLimit.check_rate/5","doc":"Checks the rate-limit for a key.","ref":"Plausible.RateLimit.html#check_rate/5"},{"type":"function","title":"Plausible.RateLimit.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.RateLimit.html#child_spec/1"},{"type":"function","title":"Plausible.RateLimit.start_link/1","doc":"Starts the process that creates and cleans the ETS table.\n\nAccepts the following options:\n - `GenServer.options()`\n - `:table` for the ETS table name, defaults to `Elixir.Plausible.RateLimit`\n - `:clean_period` for how often to perform garbage collection","ref":"Plausible.RateLimit.html#start_link/1"},{"type":"module","title":"Plausible.Release","doc":"","ref":"Plausible.Release.html"},{"type":"function","title":"Plausible.Release.configure_ref_inspector/0","doc":"","ref":"Plausible.Release.html#configure_ref_inspector/0"},{"type":"function","title":"Plausible.Release.configure_ua_inspector/0","doc":"","ref":"Plausible.Release.html#configure_ua_inspector/0"},{"type":"function","title":"Plausible.Release.createdb/0","doc":"","ref":"Plausible.Release.html#createdb/0"},{"type":"function","title":"Plausible.Release.dump_plans/0","doc":"","ref":"Plausible.Release.html#dump_plans/0"},{"type":"function","title":"Plausible.Release.migrate/0","doc":"","ref":"Plausible.Release.html#migrate/0"},{"type":"function","title":"Plausible.Release.pending_migrations/0","doc":"","ref":"Plausible.Release.html#pending_migrations/0"},{"type":"function","title":"Plausible.Release.rollback/0","doc":"","ref":"Plausible.Release.html#rollback/0"},{"type":"function","title":"Plausible.Release.seed/0","doc":"","ref":"Plausible.Release.html#seed/0"},{"type":"function","title":"Plausible.Release.should_be_first_launch?/0","doc":"","ref":"Plausible.Release.html#should_be_first_launch?/0"},{"type":"module","title":"Plausible.Repo","doc":"","ref":"Plausible.Repo.html"},{"type":"function","title":"Plausible.Repo.aggregate/3","doc":"","ref":"Plausible.Repo.html#aggregate/3"},{"type":"function","title":"Plausible.Repo.aggregate/4","doc":"","ref":"Plausible.Repo.html#aggregate/4"},{"type":"function","title":"Plausible.Repo.all/2","doc":"","ref":"Plausible.Repo.html#all/2"},{"type":"function","title":"Plausible.Repo.checked_out?/0","doc":"","ref":"Plausible.Repo.html#checked_out?/0"},{"type":"function","title":"Plausible.Repo.checkout/2","doc":"","ref":"Plausible.Repo.html#checkout/2"},{"type":"function","title":"Plausible.Repo.child_spec/1","doc":"","ref":"Plausible.Repo.html#child_spec/1"},{"type":"function","title":"Plausible.Repo.config/0","doc":"","ref":"Plausible.Repo.html#config/0"},{"type":"function","title":"Plausible.Repo.default_options/1","doc":"","ref":"Plausible.Repo.html#default_options/1"},{"type":"function","title":"Plausible.Repo.delete/2","doc":"","ref":"Plausible.Repo.html#delete/2"},{"type":"function","title":"Plausible.Repo.delete!/2","doc":"","ref":"Plausible.Repo.html#delete!/2"},{"type":"function","title":"Plausible.Repo.delete_all/2","doc":"","ref":"Plausible.Repo.html#delete_all/2"},{"type":"function","title":"Plausible.Repo.disconnect_all/2","doc":"A convenience function for SQL-based repositories that forces all connections in the\npool to disconnect within the given interval.\n\nSee `Ecto.Adapters.SQL.disconnect_all/3` for more information.","ref":"Plausible.Repo.html#disconnect_all/2"},{"type":"function","title":"Plausible.Repo.exists?/2","doc":"","ref":"Plausible.Repo.html#exists?/2"},{"type":"function","title":"Plausible.Repo.explain/3","doc":"A convenience function for SQL-based repositories that executes an EXPLAIN statement or similar\ndepending on the adapter to obtain statistics for the given query.\n\nSee `Ecto.Adapters.SQL.explain/4` for more information.","ref":"Plausible.Repo.html#explain/3"},{"type":"function","title":"Plausible.Repo.get/3","doc":"","ref":"Plausible.Repo.html#get/3"},{"type":"function","title":"Plausible.Repo.get!/3","doc":"","ref":"Plausible.Repo.html#get!/3"},{"type":"function","title":"Plausible.Repo.get_by/3","doc":"","ref":"Plausible.Repo.html#get_by/3"},{"type":"function","title":"Plausible.Repo.get_by!/3","doc":"","ref":"Plausible.Repo.html#get_by!/3"},{"type":"function","title":"Plausible.Repo.get_dynamic_repo/0","doc":"","ref":"Plausible.Repo.html#get_dynamic_repo/0"},{"type":"function","title":"Plausible.Repo.in_transaction?/0","doc":"","ref":"Plausible.Repo.html#in_transaction?/0"},{"type":"function","title":"Plausible.Repo.insert/2","doc":"","ref":"Plausible.Repo.html#insert/2"},{"type":"function","title":"Plausible.Repo.insert!/2","doc":"","ref":"Plausible.Repo.html#insert!/2"},{"type":"function","title":"Plausible.Repo.insert_all/3","doc":"","ref":"Plausible.Repo.html#insert_all/3"},{"type":"function","title":"Plausible.Repo.insert_or_update/2","doc":"","ref":"Plausible.Repo.html#insert_or_update/2"},{"type":"function","title":"Plausible.Repo.insert_or_update!/2","doc":"","ref":"Plausible.Repo.html#insert_or_update!/2"},{"type":"function","title":"Plausible.Repo.load/2","doc":"","ref":"Plausible.Repo.html#load/2"},{"type":"function","title":"Plausible.Repo.one/2","doc":"","ref":"Plausible.Repo.html#one/2"},{"type":"function","title":"Plausible.Repo.one!/2","doc":"","ref":"Plausible.Repo.html#one!/2"},{"type":"function","title":"Plausible.Repo.paginate/2","doc":"","ref":"Plausible.Repo.html#paginate/2"},{"type":"function","title":"Plausible.Repo.preload/3","doc":"","ref":"Plausible.Repo.html#preload/3"},{"type":"function","title":"Plausible.Repo.prepare_query/3","doc":"","ref":"Plausible.Repo.html#prepare_query/3"},{"type":"function","title":"Plausible.Repo.put_dynamic_repo/1","doc":"","ref":"Plausible.Repo.html#put_dynamic_repo/1"},{"type":"function","title":"Plausible.Repo.query/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query/4` for more information.","ref":"Plausible.Repo.html#query/3"},{"type":"function","title":"Plausible.Repo.query!/3","doc":"A convenience function for SQL-based repositories that executes the given query.\n\nSee `Ecto.Adapters.SQL.query!/4` for more information.","ref":"Plausible.Repo.html#query!/3"},{"type":"function","title":"Plausible.Repo.query_many/3","doc":"A convenience function for SQL-based repositories that executes the given multi-result query.\n\nSee `Ecto.Adapters.SQL.query_many/4` for more information.","ref":"Plausible.Repo.html#query_many/3"},{"type":"function","title":"Plausible.Repo.query_many!/3","doc":"A convenience function for SQL-based repositories that executes the given multi-result query.\n\nSee `Ecto.Adapters.SQL.query_many!/4` for more information.","ref":"Plausible.Repo.html#query_many!/3"},{"type":"function","title":"Plausible.Repo.reload/2","doc":"","ref":"Plausible.Repo.html#reload/2"},{"type":"function","title":"Plausible.Repo.reload!/2","doc":"","ref":"Plausible.Repo.html#reload!/2"},{"type":"function","title":"Plausible.Repo.rollback/1","doc":"","ref":"Plausible.Repo.html#rollback/1"},{"type":"function","title":"Plausible.Repo.scrivener_defaults/0","doc":"","ref":"Plausible.Repo.html#scrivener_defaults/0"},{"type":"function","title":"Plausible.Repo.start_link/1","doc":"","ref":"Plausible.Repo.html#start_link/1"},{"type":"function","title":"Plausible.Repo.stop/1","doc":"","ref":"Plausible.Repo.html#stop/1"},{"type":"function","title":"Plausible.Repo.stream/2","doc":"","ref":"Plausible.Repo.html#stream/2"},{"type":"function","title":"Plausible.Repo.to_sql/2","doc":"A convenience function for SQL-based repositories that translates the given query to SQL.\n\nSee `Ecto.Adapters.SQL.to_sql/3` for more information.","ref":"Plausible.Repo.html#to_sql/2"},{"type":"function","title":"Plausible.Repo.transaction/2","doc":"","ref":"Plausible.Repo.html#transaction/2"},{"type":"function","title":"Plausible.Repo.update/2","doc":"","ref":"Plausible.Repo.html#update/2"},{"type":"function","title":"Plausible.Repo.update!/2","doc":"","ref":"Plausible.Repo.html#update!/2"},{"type":"function","title":"Plausible.Repo.update_all/3","doc":"","ref":"Plausible.Repo.html#update_all/3"},{"type":"module","title":"Plausible.Sentry.Client","doc":"","ref":"Plausible.Sentry.Client.html"},{"type":"function","title":"Plausible.Sentry.Client.child_spec/0","doc":"The Sentry.HTTPClient behaviour requires a child spec to be supplied.\nIn this case we don't want Sentry to manage our Finch instances, hence it's fed\nwith a dummy module for the sake of the contract.\n\nXXX: Submit a Sentry PR making the child spec callback optional.","ref":"Plausible.Sentry.Client.html#child_spec/0"},{"type":"function","title":"Plausible.Sentry.Client.post/3","doc":"","ref":"Plausible.Sentry.Client.html#post/3"},{"type":"module","title":"Plausible.SentryFilter","doc":"Sentry callbacks for filtering and grouping events","ref":"Plausible.SentryFilter.html"},{"type":"function","title":"Plausible.SentryFilter.before_send/1","doc":"","ref":"Plausible.SentryFilter.html#before_send/1"},{"type":"function","title":"Plausible.SentryFilter.exclude_exception?/2","doc":"","ref":"Plausible.SentryFilter.html#exclude_exception?/2"},{"type":"module","title":"Plausible.Session.CacheStore","doc":"","ref":"Plausible.Session.CacheStore.html"},{"type":"function","title":"Plausible.Session.CacheStore.on_event/3","doc":"","ref":"Plausible.Session.CacheStore.html#on_event/3"},{"type":"module","title":"Plausible.Session.Salts","doc":"","ref":"Plausible.Session.Salts.html"},{"type":"function","title":"Plausible.Session.Salts.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"Plausible.Session.Salts.html#child_spec/1"},{"type":"function","title":"Plausible.Session.Salts.fetch/0","doc":"","ref":"Plausible.Session.Salts.html#fetch/0"},{"type":"function","title":"Plausible.Session.Salts.rotate/0","doc":"","ref":"Plausible.Session.Salts.html#rotate/0"},{"type":"function","title":"Plausible.Session.Salts.start_link/1","doc":"","ref":"Plausible.Session.Salts.html#start_link/1"},{"type":"module","title":"Plausible.Site","doc":"Site schema","ref":"Plausible.Site.html"},{"type":"function","title":"Plausible.Site.changeset/2","doc":"","ref":"Plausible.Site.html#changeset/2"},{"type":"function","title":"Plausible.Site.crm_changeset/2","doc":"","ref":"Plausible.Site.html#crm_changeset/2"},{"type":"function","title":"Plausible.Site.import_failure/1","doc":"","ref":"Plausible.Site.html#import_failure/1"},{"type":"function","title":"Plausible.Site.import_success/1","doc":"","ref":"Plausible.Site.html#import_success/1"},{"type":"function","title":"Plausible.Site.local_start_date/1","doc":"Returns the date of the first recorded stat in the timezone configured by the user.\nThis function does 2 transformations:\n UTC %NaiveDateTime{} -> Local %DateTime{} -> Local %Date","ref":"Plausible.Site.html#local_start_date/1"},{"type":"function","title":"Examples - Plausible.Site.local_start_date/1","doc":"iex> Plausible.Site.local_start_date(%Plausible.Site{stats_start_date: nil})\n nil\n\n iex> utc_start = ~N[2022-09-28 00:00:00]\n iex> tz = \"Europe/Helsinki\"\n iex> site = %Plausible.Site{stats_start_date: utc_start, timezone: tz}\n iex> Plausible.Site.local_start_date(site)\n ~D[2022-09-28]\n\n iex> utc_start = ~N[2022-09-28 00:00:00]\n iex> tz = \"America/Los_Angeles\"\n iex> site = %Plausible.Site{stats_start_date: utc_start, timezone: tz}\n iex> Plausible.Site.local_start_date(site)\n ~D[2022-09-27]","ref":"Plausible.Site.html#local_start_date/1-examples"},{"type":"function","title":"Plausible.Site.make_private/1","doc":"","ref":"Plausible.Site.html#make_private/1"},{"type":"function","title":"Plausible.Site.make_public/1","doc":"","ref":"Plausible.Site.html#make_public/1"},{"type":"function","title":"Plausible.Site.new/1","doc":"","ref":"Plausible.Site.html#new/1"},{"type":"function","title":"Plausible.Site.remove_imported_data/1","doc":"","ref":"Plausible.Site.html#remove_imported_data/1"},{"type":"function","title":"Plausible.Site.set_imported_source/2","doc":"","ref":"Plausible.Site.html#set_imported_source/2"},{"type":"function","title":"Plausible.Site.set_native_stats_start_at/2","doc":"","ref":"Plausible.Site.html#set_native_stats_start_at/2"},{"type":"function","title":"Plausible.Site.set_stats_start_date/2","doc":"","ref":"Plausible.Site.html#set_stats_start_date/2"},{"type":"function","title":"Plausible.Site.start_import/5","doc":"","ref":"Plausible.Site.html#start_import/5"},{"type":"function","title":"Plausible.Site.tz_offset/2","doc":"","ref":"Plausible.Site.html#tz_offset/2"},{"type":"function","title":"Plausible.Site.update_changeset/3","doc":"","ref":"Plausible.Site.html#update_changeset/3"},{"type":"type","title":"Plausible.Site.t/0","doc":"","ref":"Plausible.Site.html#t:t/0"},{"type":"module","title":"Plausible.Site.Cache","doc":"The cache allows lookups by both `domain` and `domain_changed_from`\nfields - this is to allow traffic from sites whose domains changed within a certain\ngrace period (see: `Plausible.Site.Transfer`).\n\nTo differentiate cached Site structs from those retrieved directly from the\ndatabase, a virtual schema field `from_cache?: true` is set.\nThis indicates the `Plausible.Site` struct is incomplete in comparison to its\ndatabase counterpart -- to spare bandwidth and query execution time,\nonly selected database columns are retrieved and cached.\n\nThe `@cached_schema_fields` attribute defines the list of DB columns\nqueried on each cache refresh.\n\nAlso see tests for more comprehensive examples.","ref":"Plausible.Site.Cache.html"},{"type":"function","title":"Plausible.Site.Cache.child_spec/1","doc":"","ref":"Plausible.Site.Cache.html#child_spec/1"},{"type":"function","title":"Plausible.Site.Cache.get/2","doc":"","ref":"Plausible.Site.Cache.html#get/2"},{"type":"function","title":"Plausible.Site.Cache.get_site_id/2","doc":"","ref":"Plausible.Site.Cache.html#get_site_id/2"},{"type":"function","title":"Plausible.Site.Cache.hit_rate/1","doc":"","ref":"Plausible.Site.Cache.html#hit_rate/1"},{"type":"function","title":"Plausible.Site.Cache.merge_items/2","doc":"","ref":"Plausible.Site.Cache.html#merge_items/2"},{"type":"function","title":"Plausible.Site.Cache.ready?/1","doc":"Ensures the cache has non-zero size unless no items exist.\nUseful for orchestrating app startup to prevent the service\ngoing up asynchronously with an empty cache.","ref":"Plausible.Site.Cache.html#ready?/1"},{"type":"function","title":"Plausible.Site.Cache.refresh_all/1","doc":"","ref":"Plausible.Site.Cache.html#refresh_all/1"},{"type":"function","title":"Plausible.Site.Cache.refresh_updated_recently/1","doc":"","ref":"Plausible.Site.Cache.html#refresh_updated_recently/1"},{"type":"function","title":"Plausible.Site.Cache.size/1","doc":"","ref":"Plausible.Site.Cache.html#size/1"},{"type":"function","title":"Plausible.Site.Cache.telemetry_event_refresh/2","doc":"","ref":"Plausible.Site.Cache.html#telemetry_event_refresh/2"},{"type":"function","title":"Plausible.Site.Cache.touch_site!/2","doc":"","ref":"Plausible.Site.Cache.html#touch_site!/2"},{"type":"module","title":"Plausible.Site.Domain","doc":"Basic interface for domain changes.\n\nOnce `Plausible.DataMigration.NumericIDs` schema migration is ready, \ndomain change operation will be enabled, accessible to the users.\n\nWe will set a transition period of 72 hours\nduring which, both old and new domains, will be accepted as traffic\nidentifiers to the same site. \n\nA periodic worker will call the `expire/0` function to end it where applicable.\nSee: `Plausible.Workers.ExpireDomainChangeTransitions`.\n\nThe underlying changeset for domain change (see: `Plausible.Site`) relies\non database trigger installed via `Plausible.Repo.Migrations.AllowDomainChange`\nPostgres migration. The trigger checks if either `domain` or `domain_changed_from`\nexist to ensure unicity.","ref":"Plausible.Site.Domain.html"},{"type":"function","title":"Plausible.Site.Domain.change/3","doc":"","ref":"Plausible.Site.Domain.html#change/3"},{"type":"function","title":"Plausible.Site.Domain.expire_change_transitions/1","doc":"","ref":"Plausible.Site.Domain.html#expire_change_transitions/1"},{"type":"module","title":"Plausible.Site.GateKeeper","doc":"Thin wrapper around `Plausible.RateLimit` for gate keeping domain-specific events\nduring the ingestion phase. When the site is allowed, gate keeping\ncheck returns `:allow`, otherwise a `:deny` tagged tuple is returned\nwith one of the following policy markers:\n * `:not_found` (indicates site not found in cache)\n * `:block` (indicates disabled sites)\n * `:throttle` (indicates rate limiting)\n\nRate Limiting buckets are configured per site (externally via the CRM).\nSee: `Plausible.Site`\n\nTo look up each site's configuration, the RateLimiter fetches\na Site by domain using `Plausible.Cache` interface.\n\nThe module defines two policies outside the regular bucket inspection:\n * when the site is not found in cache: not_found\n * when the underlying rate limiting mechanism returns\n an internal error: :allow","ref":"Plausible.Site.GateKeeper.html"},{"type":"function","title":"Plausible.Site.GateKeeper.check/2","doc":"","ref":"Plausible.Site.GateKeeper.html#check/2"},{"type":"function","title":"Plausible.Site.GateKeeper.key/1","doc":"","ref":"Plausible.Site.GateKeeper.html#key/1"},{"type":"type","title":"Plausible.Site.GateKeeper.policy/0","doc":"","ref":"Plausible.Site.GateKeeper.html#t:policy/0"},{"type":"type","title":"Plausible.Site.GateKeeper.t/0","doc":"","ref":"Plausible.Site.GateKeeper.html#t:t/0"},{"type":"module","title":"Plausible.Site.GoogleAuth","doc":"","ref":"Plausible.Site.GoogleAuth.html"},{"type":"function","title":"Plausible.Site.GoogleAuth.changeset/2","doc":"","ref":"Plausible.Site.GoogleAuth.html#changeset/2"},{"type":"function","title":"Plausible.Site.GoogleAuth.set_property/2","doc":"","ref":"Plausible.Site.GoogleAuth.html#set_property/2"},{"type":"module","title":"Plausible.Site.ImportedData","doc":"Embedded schema for analytics imports","ref":"Plausible.Site.ImportedData.html"},{"type":"module","title":"Plausible.Site.Membership","doc":"","ref":"Plausible.Site.Membership.html"},{"type":"function","title":"Plausible.Site.Membership.new/2","doc":"","ref":"Plausible.Site.Membership.html#new/2"},{"type":"function","title":"Plausible.Site.Membership.set_role/2","doc":"","ref":"Plausible.Site.Membership.html#set_role/2"},{"type":"type","title":"Plausible.Site.Membership.role/0","doc":"","ref":"Plausible.Site.Membership.html#t:role/0"},{"type":"type","title":"Plausible.Site.Membership.t/0","doc":"","ref":"Plausible.Site.Membership.html#t:t/0"},{"type":"module","title":"Plausible.Site.Memberships","doc":"API for site memberships and invitations","ref":"Plausible.Site.Memberships.html"},{"type":"function","title":"Plausible.Site.Memberships.accept_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#accept_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.any?/1","doc":"","ref":"Plausible.Site.Memberships.html#any?/1"},{"type":"function","title":"Plausible.Site.Memberships.any_or_pending?/1","doc":"","ref":"Plausible.Site.Memberships.html#any_or_pending?/1"},{"type":"function","title":"Plausible.Site.Memberships.bulk_create_invitation/5","doc":"","ref":"Plausible.Site.Memberships.html#bulk_create_invitation/5"},{"type":"function","title":"Plausible.Site.Memberships.bulk_transfer_ownership_direct/2","doc":"","ref":"Plausible.Site.Memberships.html#bulk_transfer_ownership_direct/2"},{"type":"function","title":"Plausible.Site.Memberships.create_invitation/4","doc":"","ref":"Plausible.Site.Memberships.html#create_invitation/4"},{"type":"function","title":"Plausible.Site.Memberships.pending?/1","doc":"","ref":"Plausible.Site.Memberships.html#pending?/1"},{"type":"function","title":"Plausible.Site.Memberships.pending_ownerships?/1","doc":"","ref":"Plausible.Site.Memberships.html#pending_ownerships?/1"},{"type":"function","title":"Plausible.Site.Memberships.reject_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#reject_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.remove_invitation/2","doc":"","ref":"Plausible.Site.Memberships.html#remove_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.transfer_ownership/2","doc":"","ref":"Plausible.Site.Memberships.html#transfer_ownership/2"},{"type":"module","title":"Plausible.Site.Memberships.AcceptInvitation","doc":"Service for accepting invitations, including ownership transfers.\n\nAccepting invitation accounts for the fact that it's possible\nthat accepting user has an existing membership for the site and\nacts permissively to not unnecessarily disrupt the flow while\nalso maintaining integrity of site memberships. This also applies\nto cases where users update their email address between issuing\nthe invitation and accepting it.","ref":"Plausible.Site.Memberships.AcceptInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.AcceptInvitation.accept_invitation/2","doc":"","ref":"Plausible.Site.Memberships.AcceptInvitation.html#accept_invitation/2"},{"type":"function","title":"Plausible.Site.Memberships.AcceptInvitation.transfer_ownership/2","doc":"","ref":"Plausible.Site.Memberships.AcceptInvitation.html#transfer_ownership/2"},{"type":"module","title":"Plausible.Site.Memberships.CreateInvitation","doc":"Service for inviting new or existing users to a sites, including ownershhip\ntransfers.","ref":"Plausible.Site.Memberships.CreateInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.bulk_create_invitation/5","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#bulk_create_invitation/5"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.bulk_transfer_ownership_direct/2","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#bulk_transfer_ownership_direct/2"},{"type":"function","title":"Plausible.Site.Memberships.CreateInvitation.create_invitation/4","doc":"Invites a new team member to the given site. Returns a\n%Plausible.Auth.Invitation{} struct and sends the invitee an email to accept\nthis invitation.\n\nThe inviter must have enough permissions to invite the new team member,\notherwise this function returns `{:error, :forbidden}`.\n\nIf the new team member role is `:owner`, this function handles the invitation\nas an ownership transfer and requires the inviter to be the owner of the site.","ref":"Plausible.Site.Memberships.CreateInvitation.html#create_invitation/4"},{"type":"type","title":"Plausible.Site.Memberships.CreateInvitation.invite_error/0","doc":"","ref":"Plausible.Site.Memberships.CreateInvitation.html#t:invite_error/0"},{"type":"module","title":"Plausible.Site.Memberships.RejectInvitation","doc":"Service for rejecting invitations.","ref":"Plausible.Site.Memberships.RejectInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.RejectInvitation.reject_invitation/2","doc":"","ref":"Plausible.Site.Memberships.RejectInvitation.html#reject_invitation/2"},{"type":"module","title":"Plausible.Site.Memberships.RemoveInvitation","doc":"Service for removing invitations.","ref":"Plausible.Site.Memberships.RemoveInvitation.html"},{"type":"function","title":"Plausible.Site.Memberships.RemoveInvitation.remove_invitation/2","doc":"","ref":"Plausible.Site.Memberships.RemoveInvitation.html#remove_invitation/2"},{"type":"module","title":"Plausible.Site.MonthlyReport","doc":"","ref":"Plausible.Site.MonthlyReport.html"},{"type":"function","title":"Plausible.Site.MonthlyReport.add_recipient/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.MonthlyReport.changeset/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#changeset/2"},{"type":"function","title":"Plausible.Site.MonthlyReport.remove_recipient/2","doc":"","ref":"Plausible.Site.MonthlyReport.html#remove_recipient/2"},{"type":"module","title":"Plausible.Site.Removal","doc":"A site deletion service stub.","ref":"Plausible.Site.Removal.html"},{"type":"function","title":"Plausible.Site.Removal.run/1","doc":"","ref":"Plausible.Site.Removal.html#run/1"},{"type":"module","title":"Plausible.Site.SharedLink","doc":"","ref":"Plausible.Site.SharedLink.html"},{"type":"function","title":"Plausible.Site.SharedLink.changeset/2","doc":"","ref":"Plausible.Site.SharedLink.html#changeset/2"},{"type":"type","title":"Plausible.Site.SharedLink.t/0","doc":"","ref":"Plausible.Site.SharedLink.html#t:t/0"},{"type":"module","title":"Plausible.Site.SpikeNotification","doc":"","ref":"Plausible.Site.SpikeNotification.html"},{"type":"function","title":"Plausible.Site.SpikeNotification.add_recipient/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.changeset/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#changeset/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.remove_recipient/2","doc":"","ref":"Plausible.Site.SpikeNotification.html#remove_recipient/2"},{"type":"function","title":"Plausible.Site.SpikeNotification.was_sent/1","doc":"","ref":"Plausible.Site.SpikeNotification.html#was_sent/1"},{"type":"module","title":"Plausible.Site.UserPreference","doc":"User-specific site preferences schema","ref":"Plausible.Site.UserPreference.html"},{"type":"function","title":"Plausible.Site.UserPreference.changeset/3","doc":"","ref":"Plausible.Site.UserPreference.html#changeset/3"},{"type":"macro","title":"Plausible.Site.UserPreference.options/0","doc":"","ref":"Plausible.Site.UserPreference.html#options/0"},{"type":"type","title":"Plausible.Site.UserPreference.t/0","doc":"","ref":"Plausible.Site.UserPreference.html#t:t/0"},{"type":"module","title":"Plausible.Site.WeeklyReport","doc":"","ref":"Plausible.Site.WeeklyReport.html"},{"type":"function","title":"Plausible.Site.WeeklyReport.add_recipient/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#add_recipient/2"},{"type":"function","title":"Plausible.Site.WeeklyReport.changeset/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#changeset/2"},{"type":"function","title":"Plausible.Site.WeeklyReport.remove_recipient/2","doc":"","ref":"Plausible.Site.WeeklyReport.html#remove_recipient/2"},{"type":"module","title":"Plausible.SiteAdmin","doc":"","ref":"Plausible.SiteAdmin.html"},{"type":"function","title":"Plausible.SiteAdmin.create_changeset/2","doc":"","ref":"Plausible.SiteAdmin.html#create_changeset/2"},{"type":"function","title":"Plausible.SiteAdmin.custom_index_query/3","doc":"","ref":"Plausible.SiteAdmin.html#custom_index_query/3"},{"type":"function","title":"Plausible.SiteAdmin.form_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#form_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.get_struct_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#get_struct_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.index/1","doc":"","ref":"Plausible.SiteAdmin.html#index/1"},{"type":"function","title":"Plausible.SiteAdmin.list_actions/1","doc":"","ref":"Plausible.SiteAdmin.html#list_actions/1"},{"type":"function","title":"Plausible.SiteAdmin.ordering/1","doc":"","ref":"Plausible.SiteAdmin.html#ordering/1"},{"type":"function","title":"Plausible.SiteAdmin.search_fields/1","doc":"","ref":"Plausible.SiteAdmin.html#search_fields/1"},{"type":"function","title":"Plausible.SiteAdmin.update_changeset/2","doc":"","ref":"Plausible.SiteAdmin.html#update_changeset/2"},{"type":"module","title":"Plausible.Sites","doc":"Sites context functions.","ref":"Plausible.Sites.html"},{"type":"function","title":"Plausible.Sites.create/2","doc":"","ref":"Plausible.Sites.html#create/2"},{"type":"function","title":"Plausible.Sites.create_shared_link/3","doc":"","ref":"Plausible.Sites.html#create_shared_link/3"},{"type":"function","title":"Plausible.Sites.get_by_domain/1","doc":"","ref":"Plausible.Sites.html#get_by_domain/1"},{"type":"function","title":"Plausible.Sites.get_by_domain!/1","doc":"","ref":"Plausible.Sites.html#get_by_domain!/1"},{"type":"function","title":"Plausible.Sites.get_for_user/3","doc":"","ref":"Plausible.Sites.html#get_for_user/3"},{"type":"function","title":"Plausible.Sites.get_for_user!/3","doc":"","ref":"Plausible.Sites.html#get_for_user!/3"},{"type":"function","title":"Plausible.Sites.has_admin_access?/2","doc":"","ref":"Plausible.Sites.html#has_admin_access?/2"},{"type":"function","title":"Plausible.Sites.has_goals?/1","doc":"","ref":"Plausible.Sites.html#has_goals?/1"},{"type":"function","title":"Plausible.Sites.has_stats?/1","doc":"","ref":"Plausible.Sites.html#has_stats?/1"},{"type":"function","title":"Plausible.Sites.is_member?/2","doc":"","ref":"Plausible.Sites.html#is_member?/2"},{"type":"function","title":"Plausible.Sites.list/3","doc":"","ref":"Plausible.Sites.html#list/3"},{"type":"function","title":"Plausible.Sites.list_with_invitations/3","doc":"","ref":"Plausible.Sites.html#list_with_invitations/3"},{"type":"function","title":"Plausible.Sites.locked?/1","doc":"","ref":"Plausible.Sites.html#locked?/1"},{"type":"function","title":"Plausible.Sites.owned_site_ids/1","doc":"","ref":"Plausible.Sites.html#owned_site_ids/1"},{"type":"function","title":"Plausible.Sites.owned_sites_count/1","doc":"","ref":"Plausible.Sites.html#owned_sites_count/1"},{"type":"function","title":"Plausible.Sites.owned_sites_domains/1","doc":"","ref":"Plausible.Sites.html#owned_sites_domains/1"},{"type":"function","title":"Plausible.Sites.role/2","doc":"","ref":"Plausible.Sites.html#role/2"},{"type":"function","title":"Plausible.Sites.set_option/4","doc":"","ref":"Plausible.Sites.html#set_option/4"},{"type":"function","title":"Plausible.Sites.shared_link_url/2","doc":"","ref":"Plausible.Sites.html#shared_link_url/2"},{"type":"function","title":"Plausible.Sites.stats_start_date/1","doc":"Returns the date of the first event of the given site, or `nil` if the site\ndoes not have stats yet.\n\nIf this is the first time the function is called for the site, it queries\nClickhouse and saves the date in the sites table.","ref":"Plausible.Sites.html#stats_start_date/1"},{"type":"function","title":"Plausible.Sites.toggle_pin/2","doc":"","ref":"Plausible.Sites.html#toggle_pin/2"},{"type":"type","title":"Plausible.Sites.list_opt/0","doc":"","ref":"Plausible.Sites.html#t:list_opt/0"},{"type":"module","title":"Plausible.Stats","doc":"","ref":"Plausible.Stats.html"},{"type":"function","title":"Plausible.Stats.aggregate/3","doc":"","ref":"Plausible.Stats.html#aggregate/3"},{"type":"function","title":"Plausible.Stats.breakdown/5","doc":"","ref":"Plausible.Stats.html#breakdown/5"},{"type":"function","title":"Plausible.Stats.current_visitors/1","doc":"","ref":"Plausible.Stats.html#current_visitors/1"},{"type":"function","title":"Plausible.Stats.filter_suggestions/4","doc":"","ref":"Plausible.Stats.html#filter_suggestions/4"},{"type":"function","title":"Plausible.Stats.funnel/3","doc":"","ref":"Plausible.Stats.html#funnel/3"},{"type":"function","title":"Plausible.Stats.timeseries/3","doc":"","ref":"Plausible.Stats.html#timeseries/3"},{"type":"module","title":"Plausible.Stats.Aggregate","doc":"","ref":"Plausible.Stats.Aggregate.html"},{"type":"function","title":"Plausible.Stats.Aggregate.aggregate/3","doc":"","ref":"Plausible.Stats.Aggregate.html#aggregate/3"},{"type":"module","title":"Plausible.Stats.Base","doc":"","ref":"Plausible.Stats.Base.html"},{"type":"function","title":"Plausible.Stats.Base.apply_entry_prop_filter/3","doc":"","ref":"Plausible.Stats.Base.html#apply_entry_prop_filter/3"},{"type":"function","title":"Plausible.Stats.Base.base_event_query/2","doc":"","ref":"Plausible.Stats.Base.html#base_event_query/2"},{"type":"function","title":"Plausible.Stats.Base.dynamic_filter_condition/3","doc":"","ref":"Plausible.Stats.Base.html#dynamic_filter_condition/3"},{"type":"function","title":"Plausible.Stats.Base.filter_by_entry_props/2","doc":"","ref":"Plausible.Stats.Base.html#filter_by_entry_props/2"},{"type":"function","title":"Plausible.Stats.Base.filter_converted_sessions/3","doc":"","ref":"Plausible.Stats.Base.html#filter_converted_sessions/3"},{"type":"function","title":"Plausible.Stats.Base.page_regex/1","doc":"","ref":"Plausible.Stats.Base.html#page_regex/1"},{"type":"function","title":"Plausible.Stats.Base.query_events/2","doc":"","ref":"Plausible.Stats.Base.html#query_events/2"},{"type":"function","title":"Plausible.Stats.Base.query_sessions/2","doc":"","ref":"Plausible.Stats.Base.html#query_sessions/2"},{"type":"function","title":"Plausible.Stats.Base.select_event_metrics/2","doc":"","ref":"Plausible.Stats.Base.html#select_event_metrics/2"},{"type":"function","title":"Plausible.Stats.Base.select_session_metrics/3","doc":"","ref":"Plausible.Stats.Base.html#select_session_metrics/3"},{"type":"function","title":"Plausible.Stats.Base.utc_boundaries/2","doc":"","ref":"Plausible.Stats.Base.html#utc_boundaries/2"},{"type":"module","title":"Plausible.Stats.Breakdown","doc":"","ref":"Plausible.Stats.Breakdown.html"},{"type":"function","title":"Plausible.Stats.Breakdown.breakdown/6","doc":"","ref":"Plausible.Stats.Breakdown.html#breakdown/6"},{"type":"module","title":"Plausible.Stats.Clickhouse","doc":"","ref":"Plausible.Stats.Clickhouse.html"},{"type":"function","title":"Plausible.Stats.Clickhouse.current_visitors/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#current_visitors/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.empty_24h_visitors_hourly_intervals/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#empty_24h_visitors_hourly_intervals/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.has_pageviews?/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#has_pageviews?/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.imported_pageview_count/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#imported_pageview_count/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.last_24h_visitors_hourly_intervals/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#last_24h_visitors_hourly_intervals/2"},{"type":"function","title":"Plausible.Stats.Clickhouse.pageview_start_date_local/1","doc":"","ref":"Plausible.Stats.Clickhouse.html#pageview_start_date_local/1"},{"type":"function","title":"Plausible.Stats.Clickhouse.top_sources/6","doc":"","ref":"Plausible.Stats.Clickhouse.html#top_sources/6"},{"type":"function","title":"Plausible.Stats.Clickhouse.usage_breakdown/2","doc":"","ref":"Plausible.Stats.Clickhouse.html#usage_breakdown/2"},{"type":"module","title":"Plausible.Stats.Compare","doc":"","ref":"Plausible.Stats.Compare.html"},{"type":"function","title":"Plausible.Stats.Compare.calculate_change/3","doc":"","ref":"Plausible.Stats.Compare.html#calculate_change/3"},{"type":"function","title":"Plausible.Stats.Compare.percent_change/2","doc":"","ref":"Plausible.Stats.Compare.html#percent_change/2"},{"type":"module","title":"Plausible.Stats.Comparisons","doc":"This module provides functions for comparing query periods.\n\nIt allows you to compare a given period with a previous period or with the\nsame period from the previous year. For example, you can compare this month's\nmain graph with last month or with the same month from last year.","ref":"Plausible.Stats.Comparisons.html"},{"type":"function","title":"Plausible.Stats.Comparisons.compare/4","doc":"Generates a comparison query based on the source query and comparison mode.\n\nThe mode parameter specifies the type of comparison and can be one of the\nfollowing:\n\n * `\"previous_period\"` - shifts back the query by the same number of days the\n source query has.\n\n * `\"year_over_year\"` - shifts back the query by 1 year.\n\n * `\"custom\"` - compares the query using a custom date range. See options for\n more details.\n\nThe comparison query returned by the function has its end date restricted to\nthe current day. This can be overridden by the `now` option, described below.","ref":"Plausible.Stats.Comparisons.html#compare/4"},{"type":"function","title":"Options - Plausible.Stats.Comparisons.compare/4","doc":"* `:now` - a `NaiveDateTime` struct with the current date and time. This is\n optional and used for testing purposes.\n\n * `:from` - a ISO-8601 date string used when mode is `\"custom\"`.\n\n * `:to` - a ISO-8601 date string used when mode is `\"custom\"`. Must be\n after `from`.\n\n * `:match_day_of_week?` - determines whether the comparison query should be\n adjusted to match the day of the week of the source query. When this option\n is set to true, the comparison query is shifted to start on the same day of\n the week as the source query, rather than on the exact same date. For\n example, if the source query starts on Sunday, January 1st, 2023 and the\n `year_over_year` comparison query is configured to `match_day_of_week?`,\n it will be shifted to start on Sunday, January 2nd, 2022 instead of\n January 1st. Defaults to false.","ref":"Plausible.Stats.Comparisons.html#compare/4-options"},{"type":"type","title":"Plausible.Stats.Comparisons.mode/0","doc":"","ref":"Plausible.Stats.Comparisons.html#t:mode/0"},{"type":"module","title":"Plausible.Stats.CurrentVisitors","doc":"","ref":"Plausible.Stats.CurrentVisitors.html"},{"type":"function","title":"Plausible.Stats.CurrentVisitors.current_visitors/1","doc":"","ref":"Plausible.Stats.CurrentVisitors.html#current_visitors/1"},{"type":"module","title":"Plausible.Stats.CustomProps","doc":"Module for querying user defined 'custom properties'.","ref":"Plausible.Stats.CustomProps.html"},{"type":"function","title":"Plausible.Stats.CustomProps.fetch_prop_names/2","doc":"","ref":"Plausible.Stats.CustomProps.html#fetch_prop_names/2"},{"type":"function","title":"Plausible.Stats.CustomProps.maybe_allowed_props_only/2","doc":"","ref":"Plausible.Stats.CustomProps.html#maybe_allowed_props_only/2"},{"type":"module","title":"Plausible.Stats.EmailReport","doc":"This module exposes a `get/2` function that returns a map\nof stats needed for email reports. These stats include:\n\n* Total pageviews\n* Unique visitors\n* Bounce rate\n* A list of Top 5 sources (excluding \"Direct / None\")\n* A list of Top 5 pages\n\nwhere total pageviews, unique visitors, and bounce rate\nalso include the change compared to previous period.","ref":"Plausible.Stats.EmailReport.html"},{"type":"function","title":"Plausible.Stats.EmailReport.get/2","doc":"","ref":"Plausible.Stats.EmailReport.html#get/2"},{"type":"module","title":"Plausible.Stats.FilterSuggestions","doc":"","ref":"Plausible.Stats.FilterSuggestions.html"},{"type":"function","title":"Plausible.Stats.FilterSuggestions.filter_suggestions/4","doc":"","ref":"Plausible.Stats.FilterSuggestions.html#filter_suggestions/4"},{"type":"module","title":"Plausible.Stats.Filters","doc":"A module for parsing filters used in stat queries.","ref":"Plausible.Stats.Filters.html"},{"type":"function","title":"Plausible.Stats.Filters.event_props/0","doc":"","ref":"Plausible.Stats.Filters.html#event_props/0"},{"type":"function","title":"Plausible.Stats.Filters.parse/1","doc":"Parses different filter formats.\n\nDepending on the format and type of the `filters` argument, returns:\n\n * a decoded map, when `filters` is encoded JSON\n * a parsed filter map, when `filters` is a filter expression string\n * the same map, when `filters` is a map\n\nReturns an empty map when argument type is unexpected (e.g. `nil`).\n\n#","ref":"Plausible.Stats.Filters.html#parse/1"},{"type":"function","title":"Examples: - Plausible.Stats.Filters.parse/1","doc":"iex> Filters.parse(\"{\\\"page\\\":\\\"/blog/**\\\"}\")\n %{\"event:page\" => {:matches, \"/blog/**\"}}\n\n iex> Filters.parse(\"visit:browser!=Chrome\")\n %{\"visit:browser\" => {:is_not, \"Chrome\"}}\n\n iex> Filters.parse(nil)\n %{}","ref":"Plausible.Stats.Filters.html#parse/1-examples"},{"type":"function","title":"Plausible.Stats.Filters.visit_props/0","doc":"","ref":"Plausible.Stats.Filters.html#visit_props/0"},{"type":"module","title":"Plausible.Stats.Filters.Utils","doc":"Contains utility functions shared between `DashboardFilterParser`\nand `StatsAPIFilterParser`.","ref":"Plausible.Stats.Filters.Utils.html"},{"type":"function","title":"Plausible.Stats.Filters.Utils.list_expression?/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#list_expression?/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.parse_member_list/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#parse_member_list/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.remove_escape_chars/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#remove_escape_chars/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.unwrap_goal_value/1","doc":"Does the opposite to `wrap_goal_value`, turning the `{:page, path}`\nand `{:event, name}` tuples into strings. Similarly, when given a\nlist, maps all the list elements into strings with the same logic.","ref":"Plausible.Stats.Filters.Utils.html#unwrap_goal_value/1"},{"type":"function","title":"Examples - Plausible.Stats.Filters.Utils.unwrap_goal_value/1","doc":"iex> Plausible.Stats.Filters.Utils.unwrap_goal_value({:page, \"/register\"})\n \"Visit /register\"\n\n iex> Plausible.Stats.Filters.Utils.unwrap_goal_value({:event, \"Signup\"})\n \"Signup\"\n\n iex> Plausible.Stats.Filters.Utils.unwrap_goal_value([{:event, \"Signup\"}, {:page, \"/register\"}])\n [\"Signup\", \"Visit /register\"]","ref":"Plausible.Stats.Filters.Utils.html#unwrap_goal_value/1-examples"},{"type":"function","title":"Plausible.Stats.Filters.Utils.wildcard_expression?/1","doc":"","ref":"Plausible.Stats.Filters.Utils.html#wildcard_expression?/1"},{"type":"function","title":"Plausible.Stats.Filters.Utils.wrap_goal_value/1","doc":"Wraps the given goal filter into a tuple where the first element\nrepresents the goal type (i.e. `page` or `event`), and the second\nelement is either the page path or the event name.\n\nGiven a list of goal filter values, wraps all values based on the\nsame logic.","ref":"Plausible.Stats.Filters.Utils.html#wrap_goal_value/1"},{"type":"function","title":"Examples - Plausible.Stats.Filters.Utils.wrap_goal_value/1","doc":"iex> Plausible.Stats.Filters.Utils.wrap_goal_value(\"Visit /register\")\n {:page, \"/register\"}\n\n iex> Plausible.Stats.Filters.Utils.wrap_goal_value(\"Signup\")\n {:event, \"Signup\"}\n\n iex> Plausible.Stats.Filters.Utils.wrap_goal_value([\"Signup\", \"Visit /register\"])\n [{:event, \"Signup\"}, {:page, \"/register\"}]","ref":"Plausible.Stats.Filters.Utils.html#wrap_goal_value/1-examples"},{"type":"module","title":"Plausible.Stats.Fragments","doc":"","ref":"Plausible.Stats.Fragments.html"},{"type":"macro","title":"Plausible.Stats.Fragments.bounce_rate/0","doc":"","ref":"Plausible.Stats.Fragments.html#bounce_rate/0"},{"type":"macro","title":"Plausible.Stats.Fragments.coalesce_string/2","doc":"","ref":"Plausible.Stats.Fragments.html#coalesce_string/2"},{"type":"macro","title":"Plausible.Stats.Fragments.get_by_key/3","doc":"Returns value of a key (usually property) under `meta.value` array or similar.\n\nThis macro is used for operating on custom properties.\nCallsites should also check whether key exists first in SQL via `has_key` macro.","ref":"Plausible.Stats.Fragments.html#get_by_key/3"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.get_by_key/3","doc":"`get_by_key(e, :meta, \"some_property_name\")` expands to SQL `meta.value[indexOf(meta.key, \"some_property\")]`","ref":"Plausible.Stats.Fragments.html#get_by_key/3-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.has_key/3","doc":"Returns whether a key (usually property) exists under `meta.key` array or similar.\n\nThis macro is used for operating on custom properties.","ref":"Plausible.Stats.Fragments.html#has_key/3"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.has_key/3","doc":"`has_key(e, :meta, \"some_property_name\")` expands to SQL `has(meta.key, \"some_property_name\")`","ref":"Plausible.Stats.Fragments.html#has_key/3-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.sample_percent/0","doc":"","ref":"Plausible.Stats.Fragments.html#sample_percent/0"},{"type":"macro","title":"Plausible.Stats.Fragments.to_timezone/2","doc":"Converts time or date and time to the specified timezone.\n\nReference: https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions/#totimezone","ref":"Plausible.Stats.Fragments.html#to_timezone/2"},{"type":"macro","title":"Plausible.Stats.Fragments.total/0","doc":"","ref":"Plausible.Stats.Fragments.html#total/0"},{"type":"macro","title":"Plausible.Stats.Fragments.uniq/1","doc":"","ref":"Plausible.Stats.Fragments.html#uniq/1"},{"type":"macro","title":"Plausible.Stats.Fragments.visit_duration/0","doc":"","ref":"Plausible.Stats.Fragments.html#visit_duration/0"},{"type":"macro","title":"Plausible.Stats.Fragments.weekstart_not_before/2","doc":"Returns the weekstart for `date`. If the weekstart is before the `not_before`\nboundary, `not_before` is returned.","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/2"},{"type":"macro","title":"Examples - Plausible.Stats.Fragments.weekstart_not_before/2","doc":"In this pseudo-code example, the fragment returns the weekstart. The\n`not_before` boundary is set to the past Saturday, which is before the\nweekstart, therefore the cap does not apply.\n\n iex> this_wednesday = ~D[2022-11-09]\n ...> past_saturday = ~D[2022-11-05]\n ...> weekstart_not_before(this_wednesday, past_saturday)\n ~D[2022-11-07]\n\n\nIn this other example, the fragment returns Tuesday and not the weekstart.\nThe `not_before` boundary is set to Tuesday, which is past the weekstart,\ntherefore the cap applies.\n\n iex> this_wednesday = ~D[2022-11-09]\n ...> this_tuesday = ~D[2022-11-08]\n ...> weekstart_not_before(this_wednesday, this_tuesday)\n ~D[2022-11-08]","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/2-examples"},{"type":"macro","title":"Plausible.Stats.Fragments.weekstart_not_before/3","doc":"Same as Plausible.Stats.Fragments.weekstart_not_before/2 but converts dates to\nthe specified timezone.","ref":"Plausible.Stats.Fragments.html#weekstart_not_before/3"},{"type":"module","title":"Plausible.Stats.Funnel","doc":"Module responsible for funnel evaluation, i.e. building and executing\nClickHouse funnel query based on `Plausible.Funnel` definition.","ref":"Plausible.Stats.Funnel.html"},{"type":"function","title":"Plausible.Stats.Funnel.funnel/3","doc":"","ref":"Plausible.Stats.Funnel.html#funnel/3"},{"type":"module","title":"Plausible.Stats.Goal.Revenue","doc":"Revenue specific functions for the stats scope","ref":"Plausible.Stats.Goal.Revenue.html"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.average_revenue_query/1","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#average_revenue_query/1"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.cast_revenue_metrics_to_money/2","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#cast_revenue_metrics_to_money/2"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.get_revenue_tracking_currency/3","doc":"Returns the common currency for the goal filters in a query. If there are no\ngoal filters, multiple currencies or the site owner does not have access to\nrevenue goals, `nil` is returned and revenue metrics are dropped.\n\nAggregating revenue data works only for same currency goals. If the query is\nfiltered by goals with different currencies, for example, one USD and other\nEUR, revenue metrics are dropped.","ref":"Plausible.Stats.Goal.Revenue.html#get_revenue_tracking_currency/3"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.revenue_metrics/0","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#revenue_metrics/0"},{"type":"function","title":"Plausible.Stats.Goal.Revenue.total_revenue_query/1","doc":"","ref":"Plausible.Stats.Goal.Revenue.html#total_revenue_query/1"},{"type":"module","title":"Plausible.Stats.Imported","doc":"","ref":"Plausible.Stats.Imported.html"},{"type":"function","title":"Plausible.Stats.Imported.merge_imported/5","doc":"","ref":"Plausible.Stats.Imported.html#merge_imported/5"},{"type":"function","title":"Plausible.Stats.Imported.merge_imported_timeseries/4","doc":"","ref":"Plausible.Stats.Imported.html#merge_imported_timeseries/4"},{"type":"module","title":"Plausible.Stats.Interval","doc":"Collection of functions to work with intervals.\n\nThe interval of a query defines the granularity of the data. You can think of\nit as a `GROUP BY` clause. Possible values are `minute`, `hour`, `date`,\n`week`, and `month`.","ref":"Plausible.Stats.Interval.html"},{"type":"function","title":"Plausible.Stats.Interval.default_for_date_range/1","doc":"Returns the suggested interval for the given `Date.Range` struct.","ref":"Plausible.Stats.Interval.html#default_for_date_range/1"},{"type":"function","title":"Plausible.Stats.Interval.default_for_period/1","doc":"Returns the suggested interval for the given time period.","ref":"Plausible.Stats.Interval.html#default_for_period/1"},{"type":"function","title":"Plausible.Stats.Interval.list/0","doc":"","ref":"Plausible.Stats.Interval.html#list/0"},{"type":"function","title":"Plausible.Stats.Interval.valid?/1","doc":"","ref":"Plausible.Stats.Interval.html#valid?/1"},{"type":"function","title":"Plausible.Stats.Interval.valid_by_period/1","doc":"","ref":"Plausible.Stats.Interval.html#valid_by_period/1"},{"type":"function","title":"Plausible.Stats.Interval.valid_for_period?/3","doc":"Returns whether the given interval is valid for a time period.\n\nIntervals longer than periods are not supported, e.g. current month stats with\na month interval, or today stats with a week interval.\n\nThere are two dynamic states:\n* `custom` period is only applicable with `month` or `week` intervals,\n if the `opts[:from]` and `opts[:to]` range difference exceeds 12 months\n* `all` period's interval options depend on particular site's `stats_start_date`\n - daily interval is excluded if the all-time range exceeds 12 months","ref":"Plausible.Stats.Interval.html#valid_for_period?/3"},{"type":"type","title":"Plausible.Stats.Interval.opt/0","doc":"","ref":"Plausible.Stats.Interval.html#t:opt/0"},{"type":"type","title":"Plausible.Stats.Interval.opts/0","doc":"","ref":"Plausible.Stats.Interval.html#t:opts/0"},{"type":"type","title":"Plausible.Stats.Interval.t/0","doc":"","ref":"Plausible.Stats.Interval.html#t:t/0"},{"type":"module","title":"Plausible.Stats.Props","doc":"","ref":"Plausible.Stats.Props.html"},{"type":"function","title":"Plausible.Stats.Props.event_props/0","doc":"","ref":"Plausible.Stats.Props.html#event_props/0"},{"type":"function","title":"Plausible.Stats.Props.valid_prop?/1","doc":"","ref":"Plausible.Stats.Props.html#valid_prop?/1"},{"type":"module","title":"Plausible.Stats.Query","doc":"","ref":"Plausible.Stats.Query.html"},{"type":"function","title":"Plausible.Stats.Query.from/2","doc":"","ref":"Plausible.Stats.Query.html#from/2"},{"type":"function","title":"Plausible.Stats.Query.get_all_filters_by_prefix/2","doc":"","ref":"Plausible.Stats.Query.html#get_all_filters_by_prefix/2"},{"type":"function","title":"Plausible.Stats.Query.get_filter_by_prefix/2","doc":"","ref":"Plausible.Stats.Query.html#get_filter_by_prefix/2"},{"type":"function","title":"Plausible.Stats.Query.has_event_filters?/1","doc":"","ref":"Plausible.Stats.Query.html#has_event_filters?/1"},{"type":"function","title":"Plausible.Stats.Query.include_imported?/3","doc":"","ref":"Plausible.Stats.Query.html#include_imported?/3"},{"type":"function","title":"Plausible.Stats.Query.put_filter/3","doc":"","ref":"Plausible.Stats.Query.html#put_filter/3"},{"type":"function","title":"Plausible.Stats.Query.remove_event_filters/2","doc":"","ref":"Plausible.Stats.Query.html#remove_event_filters/2"},{"type":"function","title":"Plausible.Stats.Query.trace/2","doc":"","ref":"Plausible.Stats.Query.html#trace/2"},{"type":"type","title":"Plausible.Stats.Query.t/0","doc":"","ref":"Plausible.Stats.Query.html#t:t/0"},{"type":"module","title":"Plausible.Stats.Sampling","doc":"Sampling related functions","ref":"Plausible.Stats.Sampling.html"},{"type":"function","title":"Plausible.Stats.Sampling.add_query_hint/1","doc":"","ref":"Plausible.Stats.Sampling.html#add_query_hint/1"},{"type":"function","title":"Plausible.Stats.Sampling.add_query_hint/2","doc":"","ref":"Plausible.Stats.Sampling.html#add_query_hint/2"},{"type":"function","title":"Plausible.Stats.Sampling.put_threshold/2","doc":"","ref":"Plausible.Stats.Sampling.html#put_threshold/2"},{"type":"module","title":"Plausible.Stats.Timeseries","doc":"","ref":"Plausible.Stats.Timeseries.html"},{"type":"function","title":"Plausible.Stats.Timeseries.timeseries/3","doc":"","ref":"Plausible.Stats.Timeseries.html#timeseries/3"},{"type":"type","title":"Plausible.Stats.Timeseries.results/0","doc":"","ref":"Plausible.Stats.Timeseries.html#t:results/0"},{"type":"module","title":"Plausible.Stats.Util","doc":"Utilities for modifying stat results","ref":"Plausible.Stats.Util.html"},{"type":"function","title":"Plausible.Stats.Util.remove_internal_visits_metric/1","doc":"","ref":"Plausible.Stats.Util.html#remove_internal_visits_metric/1"},{"type":"function","title":"Plausible.Stats.Util.remove_internal_visits_metric/2","doc":"`__internal_visits` is fetched when querying bounce rate and visit duration, as it\nis needed to calculate these from imported data. This function removes that metric\nfrom all entries in the results list.","ref":"Plausible.Stats.Util.html#remove_internal_visits_metric/2"},{"type":"module","title":"Plausible.Test.Support.HTML","doc":"Floki wrappers to help make assertions about HTML/DOM structures","ref":"Plausible.Test.Support.HTML.html"},{"type":"function","title":"Plausible.Test.Support.HTML.class_of_element/2","doc":"","ref":"Plausible.Test.Support.HTML.html#class_of_element/2"},{"type":"function","title":"Plausible.Test.Support.HTML.element_exists?/2","doc":"","ref":"Plausible.Test.Support.HTML.html#element_exists?/2"},{"type":"function","title":"Plausible.Test.Support.HTML.find/2","doc":"","ref":"Plausible.Test.Support.HTML.html#find/2"},{"type":"function","title":"Plausible.Test.Support.HTML.form_exists?/2","doc":"","ref":"Plausible.Test.Support.HTML.html#form_exists?/2"},{"type":"function","title":"Plausible.Test.Support.HTML.name_of/1","doc":"","ref":"Plausible.Test.Support.HTML.html#name_of/1"},{"type":"function","title":"Plausible.Test.Support.HTML.submit_button/2","doc":"","ref":"Plausible.Test.Support.HTML.html#submit_button/2"},{"type":"function","title":"Plausible.Test.Support.HTML.text/1","doc":"","ref":"Plausible.Test.Support.HTML.html#text/1"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_attr/2","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_attr/2"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_attr/3","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_attr/3"},{"type":"function","title":"Plausible.Test.Support.HTML.text_of_element/2","doc":"","ref":"Plausible.Test.Support.HTML.html#text_of_element/2"},{"type":"module","title":"Plausible.Test.Support.HTTPMocker","doc":"Currently only supports post request, it's a drop-in replacement\nfor our exvcr usage that wasn't ever needed (e.g. we had no way to\nre-record the cassettes anyway).","ref":"Plausible.Test.Support.HTTPMocker.html"},{"type":"module","title":"Plausible.TestUtils","doc":"","ref":"Plausible.TestUtils.html"},{"type":"function","title":"Plausible.TestUtils.add_imported_data/1","doc":"","ref":"Plausible.TestUtils.html#add_imported_data/1"},{"type":"function","title":"Plausible.TestUtils.await_clickhouse_count/2","doc":"","ref":"Plausible.TestUtils.html#await_clickhouse_count/2"},{"type":"function","title":"Plausible.TestUtils.create_api_key/1","doc":"","ref":"Plausible.TestUtils.html#create_api_key/1"},{"type":"function","title":"Plausible.TestUtils.create_events/1","doc":"","ref":"Plausible.TestUtils.html#create_events/1"},{"type":"function","title":"Plausible.TestUtils.create_new_site/1","doc":"","ref":"Plausible.TestUtils.html#create_new_site/1"},{"type":"function","title":"Plausible.TestUtils.create_pageviews/1","doc":"","ref":"Plausible.TestUtils.html#create_pageviews/1"},{"type":"function","title":"Plausible.TestUtils.create_sessions/1","doc":"","ref":"Plausible.TestUtils.html#create_sessions/1"},{"type":"function","title":"Plausible.TestUtils.create_site/1","doc":"","ref":"Plausible.TestUtils.html#create_site/1"},{"type":"function","title":"Plausible.TestUtils.create_user/1","doc":"","ref":"Plausible.TestUtils.html#create_user/1"},{"type":"function","title":"Plausible.TestUtils.eventually/3","doc":"","ref":"Plausible.TestUtils.html#eventually/3"},{"type":"function","title":"Plausible.TestUtils.generate_usage_for/3","doc":"","ref":"Plausible.TestUtils.html#generate_usage_for/3"},{"type":"function","title":"Plausible.TestUtils.init_session/1","doc":"","ref":"Plausible.TestUtils.html#init_session/1"},{"type":"function","title":"Plausible.TestUtils.log_in/1","doc":"","ref":"Plausible.TestUtils.html#log_in/1"},{"type":"macro","title":"Plausible.TestUtils.patch_env/2","doc":"","ref":"Plausible.TestUtils.html#patch_env/2"},{"type":"function","title":"Plausible.TestUtils.populate_stats/1","doc":"","ref":"Plausible.TestUtils.html#populate_stats/1"},{"type":"function","title":"Plausible.TestUtils.populate_stats/2","doc":"","ref":"Plausible.TestUtils.html#populate_stats/2"},{"type":"function","title":"Plausible.TestUtils.random_ip/0","doc":"","ref":"Plausible.TestUtils.html#random_ip/0"},{"type":"function","title":"Plausible.TestUtils.relative_time/1","doc":"","ref":"Plausible.TestUtils.html#relative_time/1"},{"type":"macro","title":"Plausible.TestUtils.setup_patch_env/2","doc":"","ref":"Plausible.TestUtils.html#setup_patch_env/2"},{"type":"function","title":"Plausible.TestUtils.to_naive_truncate/1","doc":"","ref":"Plausible.TestUtils.html#to_naive_truncate/1"},{"type":"function","title":"Plausible.TestUtils.use_api_key/1","doc":"","ref":"Plausible.TestUtils.html#use_api_key/1"},{"type":"module","title":"Plausible.Themes","doc":"","ref":"Plausible.Themes.html"},{"type":"function","title":"Plausible.Themes.options/0","doc":"","ref":"Plausible.Themes.html#options/0"},{"type":"module","title":"Plausible.Timezones","doc":"","ref":"Plausible.Timezones.html"},{"type":"function","title":"Plausible.Timezones.options/1","doc":"","ref":"Plausible.Timezones.html#options/1"},{"type":"function","title":"Plausible.Timezones.to_date_in_timezone/2","doc":"","ref":"Plausible.Timezones.html#to_date_in_timezone/2"},{"type":"function","title":"Plausible.Timezones.to_utc_datetime/2","doc":"","ref":"Plausible.Timezones.html#to_utc_datetime/2"},{"type":"module","title":"Plausible.Users","doc":"User context","ref":"Plausible.Users.html"},{"type":"function","title":"Plausible.Users.accept_traffic_until/1","doc":"","ref":"Plausible.Users.html#accept_traffic_until/1"},{"type":"function","title":"Plausible.Users.allow_next_upgrade_override/1","doc":"","ref":"Plausible.Users.html#allow_next_upgrade_override/1"},{"type":"function","title":"Plausible.Users.has_email_code?/1","doc":"","ref":"Plausible.Users.html#has_email_code?/1"},{"type":"function","title":"Plausible.Users.maybe_reset_next_upgrade_override/1","doc":"","ref":"Plausible.Users.html#maybe_reset_next_upgrade_override/1"},{"type":"function","title":"Plausible.Users.on_trial?/1","doc":"","ref":"Plausible.Users.html#on_trial?/1"},{"type":"function","title":"Plausible.Users.trial_days_left/1","doc":"","ref":"Plausible.Users.html#trial_days_left/1"},{"type":"function","title":"Plausible.Users.update_accept_traffic_until/1","doc":"","ref":"Plausible.Users.html#update_accept_traffic_until/1"},{"type":"function","title":"Plausible.Users.with_subscription/1","doc":"","ref":"Plausible.Users.html#with_subscription/1"},{"type":"module","title":"Plausible.Workers.AcceptTrafficUntil","doc":"A worker meant to be run once a day that sends out e-mail notifications to site\nowners assuming:\n - their sites still receive traffic (i.e. have stats for yesterday)\n - `site.accept_traffic_until` is approaching either tomorrow or exactly in 7 days\n\nUsers having no sites or sites that receive no traffic, won't be notified.\nWe make a tiny effort here to make sure we send the same notification at most once a day.","ref":"Plausible.Workers.AcceptTrafficUntil.html"},{"type":"function","title":"Plausible.Workers.AcceptTrafficUntil.dry_run/1","doc":"","ref":"Plausible.Workers.AcceptTrafficUntil.html#dry_run/1"},{"type":"module","title":"Plausible.Workers.CheckUsage","doc":"","ref":"Plausible.Workers.CheckUsage.html"},{"type":"function","title":"Plausible.Workers.CheckUsage.check_enterprise_subscriber/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#check_enterprise_subscriber/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.day_of_month/1","doc":"","ref":"Plausible.Workers.CheckUsage.html#day_of_month/1"},{"type":"function","title":"Plausible.Workers.CheckUsage.exceeds_last_two_usage_cycles?/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#exceeds_last_two_usage_cycles?/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.last_day_of_month/1","doc":"","ref":"Plausible.Workers.CheckUsage.html#last_day_of_month/1"},{"type":"macro","title":"Plausible.Workers.CheckUsage.least/2","doc":"","ref":"Plausible.Workers.CheckUsage.html#least/2"},{"type":"macro","title":"Plausible.Workers.CheckUsage.yesterday/0","doc":"","ref":"Plausible.Workers.CheckUsage.html#yesterday/0"},{"type":"module","title":"Plausible.Workers.CleanInvitations","doc":"","ref":"Plausible.Workers.CleanInvitations.html"},{"type":"module","title":"Plausible.Workers.ExpireDomainChangeTransitions","doc":"Periodic worker that expires domain change transition period.\nOld domains are frozen for a given time, so users can still access them\nbefore redeploying their scripts and integrations.","ref":"Plausible.Workers.ExpireDomainChangeTransitions.html"},{"type":"module","title":"Plausible.Workers.ImportAnalytics","doc":"Worker for running analytics import jobs.","ref":"Plausible.Workers.ImportAnalytics.html"},{"type":"function","title":"Plausible.Workers.ImportAnalytics.import_failed/2","doc":"","ref":"Plausible.Workers.ImportAnalytics.html#import_failed/2"},{"type":"function","title":"Plausible.Workers.ImportAnalytics.import_success/2","doc":"","ref":"Plausible.Workers.ImportAnalytics.html#import_success/2"},{"type":"module","title":"Plausible.Workers.LockSites","doc":"","ref":"Plausible.Workers.LockSites.html"},{"type":"module","title":"Plausible.Workers.NotifyAnnualRenewal","doc":"","ref":"Plausible.Workers.NotifyAnnualRenewal.html"},{"type":"function","title":"Plausible.Workers.NotifyAnnualRenewal.perform/1","doc":"Sends a notification at most 7 days and at least 1 day before the renewal of an annual subscription","ref":"Plausible.Workers.NotifyAnnualRenewal.html#perform/1"},{"type":"module","title":"Plausible.Workers.RotateSalts","doc":"","ref":"Plausible.Workers.RotateSalts.html"},{"type":"module","title":"Plausible.Workers.ScheduleEmailReports","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.first_of_month_9am/1","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html#first_of_month_9am/1"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.monday_9am/1","doc":"","ref":"Plausible.Workers.ScheduleEmailReports.html#monday_9am/1"},{"type":"function","title":"Plausible.Workers.ScheduleEmailReports.perform/1","doc":"Email reports should be sent on Monday at 9am according to the timezone\nof a site. This job runs every day at midnight to ensure that all sites\nhave a scheduled job for email reports.","ref":"Plausible.Workers.ScheduleEmailReports.html#perform/1"},{"type":"module","title":"Plausible.Workers.SendCheckStatsEmails","doc":"","ref":"Plausible.Workers.SendCheckStatsEmails.html"},{"type":"module","title":"Plausible.Workers.SendEmailReport","doc":"","ref":"Plausible.Workers.SendEmailReport.html"},{"type":"module","title":"Plausible.Workers.SendSiteSetupEmails","doc":"","ref":"Plausible.Workers.SendSiteSetupEmails.html"},{"type":"module","title":"Plausible.Workers.SendTrialNotifications","doc":"","ref":"Plausible.Workers.SendTrialNotifications.html"},{"type":"module","title":"Plausible.Workers.SpikeNotifier","doc":"","ref":"Plausible.Workers.SpikeNotifier.html"},{"type":"module","title":"PlausibleWeb","doc":"","ref":"PlausibleWeb.html"},{"type":"macro","title":"PlausibleWeb.__using__/1","doc":"When used, dispatch to the appropriate controller/view/etc.","ref":"PlausibleWeb.html#__using__/1"},{"type":"function","title":"PlausibleWeb.channel/0","doc":"","ref":"PlausibleWeb.html#channel/0"},{"type":"function","title":"PlausibleWeb.controller/0","doc":"","ref":"PlausibleWeb.html#controller/0"},{"type":"function","title":"PlausibleWeb.live_view/1","doc":"","ref":"PlausibleWeb.html#live_view/1"},{"type":"function","title":"PlausibleWeb.open_api_schema/0","doc":"","ref":"PlausibleWeb.html#open_api_schema/0"},{"type":"function","title":"PlausibleWeb.plugins_api_controller/0","doc":"","ref":"PlausibleWeb.html#plugins_api_controller/0"},{"type":"function","title":"PlausibleWeb.plugins_api_view/0","doc":"","ref":"PlausibleWeb.html#plugins_api_view/0"},{"type":"function","title":"PlausibleWeb.router/0","doc":"","ref":"PlausibleWeb.html#router/0"},{"type":"function","title":"PlausibleWeb.view/0","doc":"","ref":"PlausibleWeb.html#view/0"},{"type":"module","title":"PlausibleWeb.AdminController","doc":"","ref":"PlausibleWeb.AdminController.html"},{"type":"function","title":"PlausibleWeb.AdminController.usage/2","doc":"","ref":"PlausibleWeb.AdminController.html#usage/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalController","doc":"","ref":"PlausibleWeb.Api.ExternalController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.error/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#error/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.event/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#event/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.health/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#health/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalController.info/2","doc":"","ref":"PlausibleWeb.Api.ExternalController.html#info/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalSitesController","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.create_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#create_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.delete_goal/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#delete_goal/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.delete_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#delete_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.find_or_create_goal/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#find_or_create_goal/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.find_or_create_shared_link/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#find_or_create_shared_link/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.get_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#get_site/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalSitesController.update_site/2","doc":"","ref":"PlausibleWeb.Api.ExternalSitesController.html#update_site/2"},{"type":"module","title":"PlausibleWeb.Api.ExternalStatsController","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.aggregate/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#aggregate/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.breakdown/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#breakdown/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.realtime_visitors/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#realtime_visitors/2"},{"type":"function","title":"PlausibleWeb.Api.ExternalStatsController.timeseries/2","doc":"","ref":"PlausibleWeb.Api.ExternalStatsController.html#timeseries/2"},{"type":"module","title":"PlausibleWeb.Api.Helpers","doc":"","ref":"PlausibleWeb.Api.Helpers.html"},{"type":"function","title":"PlausibleWeb.Api.Helpers.bad_request/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#bad_request/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.not_found/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#not_found/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.payment_required/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#payment_required/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.too_many_requests/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#too_many_requests/2"},{"type":"function","title":"PlausibleWeb.Api.Helpers.unauthorized/2","doc":"","ref":"PlausibleWeb.Api.Helpers.html#unauthorized/2"},{"type":"module","title":"PlausibleWeb.Api.InternalController","doc":"","ref":"PlausibleWeb.Api.InternalController.html"},{"type":"function","title":"PlausibleWeb.Api.InternalController.disable_feature/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#disable_feature/2"},{"type":"function","title":"PlausibleWeb.Api.InternalController.domain_status/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#domain_status/2"},{"type":"function","title":"PlausibleWeb.Api.InternalController.sites/2","doc":"","ref":"PlausibleWeb.Api.InternalController.html#sites/2"},{"type":"module","title":"PlausibleWeb.Api.PaddleController","doc":"","ref":"PlausibleWeb.Api.PaddleController.html"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.verified_signature?/1","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#verified_signature?/1"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.verify_signature/2","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#verify_signature/2"},{"type":"function","title":"PlausibleWeb.Api.PaddleController.webhook/2","doc":"","ref":"PlausibleWeb.Api.PaddleController.html#webhook/2"},{"type":"module","title":"PlausibleWeb.Api.StatsController","doc":"","ref":"PlausibleWeb.Api.StatsController.html"},{"type":"function","title":"PlausibleWeb.Api.StatsController.all_custom_prop_values/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#all_custom_prop_values/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.browser_versions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#browser_versions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.browsers/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#browsers/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.cities/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#cities/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.conversions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#conversions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.countries/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#countries/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.current_visitors/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#current_visitors/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.custom_prop_values/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#custom_prop_values/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.entry_pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#entry_pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.exit_pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#exit_pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.filter_suggestions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#filter_suggestions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.format_money/1","doc":"","ref":"PlausibleWeb.Api.StatsController.html#format_money/1"},{"type":"function","title":"PlausibleWeb.Api.StatsController.format_revenue_metric/1","doc":"","ref":"PlausibleWeb.Api.StatsController.html#format_revenue_metric/1"},{"type":"function","title":"PlausibleWeb.Api.StatsController.funnel/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#funnel/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.main_graph/2","doc":"Returns a time-series based on given parameters.","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2"},{"type":"function","title":"Parameters - PlausibleWeb.Api.StatsController.main_graph/2","doc":"This API accepts the following parameters:\n\n * `period` - x-axis of the graph, e.g. `12mo`, `day`, `custom`.\n\n * `metric` - y-axis of the graph, e.g. `visits`, `visitors`, `pageviews`.\n See the Stats API [\"Metrics\"](https://plausible.io/docs/stats-api#metrics)\n section for more details. Defaults to `visitors`.\n\n * `interval` - granularity of the time-series data. You can think of it as\n a `GROUP BY` clause. Possible values are `minute`, `hour`, `date`, `week`,\n and `month`. The default depends on the `period` parameter. Check\n `Plausible.Query.from/2` for each default.\n\n * `filters` - optional filters to drill down data. See the Stats API\n [\"Filtering\"](https://plausible.io/docs/stats-api#filtering) section for\n more details.\n\n * `with_imported` - boolean indicating whether to include Google Analytics\n imported data or not. Defaults to `false`.\n\nFull example:\n```elixir\n%{\n \"from\" => \"2021-09-06\",\n \"interval\" => \"month\",\n \"metric\" => \"visitors\",\n \"period\" => \"custom\",\n \"to\" => \"2021-12-13\"\n}\n```","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2-parameters"},{"type":"function","title":"Response - PlausibleWeb.Api.StatsController.main_graph/2","doc":"Returns a map with the following keys:\n\n * `plot` - list of values for the requested metric representing the y-axis\n of the graph.\n\n * `labels` - list of date times representing the x-axis of the graph.\n\n * `present_index` - index of the element representing the current date in\n `labels` and `plot` lists.\n\n * `interval` - the interval used for querying.\n\n * `with_imported` - boolean indicating whether the Google Analytics data\n was queried or not.\n\n * `imported_source` - the source of the imported data, when applicable.\n Currently only Google Analytics is supported.\n\n * `full_intervals` - map of dates indicating whether the interval has been\n cut off by the requested date range or not. For example, if looking at a\n month week-by-week, some weeks may be cut off by the month boundaries.\n It's useful to adjust the graph display slightly in case the interval is\n not 'full' so that the user understands why the numbers might be lower for\n those partial periods.\n\nFull example:\n```elixir\n%{\n \"full_intervals\" => %{\n \"2021-09-01\" => false,\n \"2021-10-01\" => true,\n \"2021-11-01\" => true,\n \"2021-12-01\" => false\n },\n \"imported_source\" => nil,\n \"interval\" => \"month\",\n \"labels\" => [\"2021-09-01\", \"2021-10-01\", \"2021-11-01\", \"2021-12-01\"],\n \"plot\" => [0, 0, 0, 0],\n \"present_index\" => nil,\n \"with_imported\" => false\n}\n```","ref":"PlausibleWeb.Api.StatsController.html#main_graph/2-response"},{"type":"function","title":"PlausibleWeb.Api.StatsController.operating_system_versions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#operating_system_versions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.operating_systems/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#operating_systems/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.pages/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#pages/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.referrer_drilldown/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#referrer_drilldown/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.referrers/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#referrers/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.regions/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#regions/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.screen_sizes/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#screen_sizes/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.sources/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#sources/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.top_stats/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#top_stats/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_campaigns/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_campaigns/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_contents/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_contents/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_mediums/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_mediums/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_sources/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_sources/2"},{"type":"function","title":"PlausibleWeb.Api.StatsController.utm_terms/2","doc":"","ref":"PlausibleWeb.Api.StatsController.html#utm_terms/2"},{"type":"module","title":"PlausibleWeb.AuthController","doc":"","ref":"PlausibleWeb.AuthController.html"},{"type":"function","title":"PlausibleWeb.AuthController.activate/2","doc":"","ref":"PlausibleWeb.AuthController.html#activate/2"},{"type":"function","title":"PlausibleWeb.AuthController.activate_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#activate_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.cancel_update_email/2","doc":"","ref":"PlausibleWeb.AuthController.html#cancel_update_email/2"},{"type":"function","title":"PlausibleWeb.AuthController.create_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#create_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.delete_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#delete_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.delete_me/2","doc":"","ref":"PlausibleWeb.AuthController.html#delete_me/2"},{"type":"function","title":"PlausibleWeb.AuthController.disable_2fa/2","doc":"","ref":"PlausibleWeb.AuthController.html#disable_2fa/2"},{"type":"function","title":"PlausibleWeb.AuthController.generate_2fa_recovery_codes/2","doc":"","ref":"PlausibleWeb.AuthController.html#generate_2fa_recovery_codes/2"},{"type":"function","title":"PlausibleWeb.AuthController.google_auth_callback/2","doc":"","ref":"PlausibleWeb.AuthController.html#google_auth_callback/2"},{"type":"function","title":"PlausibleWeb.AuthController.initiate_2fa_setup/2","doc":"","ref":"PlausibleWeb.AuthController.html#initiate_2fa_setup/2"},{"type":"function","title":"PlausibleWeb.AuthController.login/2","doc":"","ref":"PlausibleWeb.AuthController.html#login/2"},{"type":"function","title":"PlausibleWeb.AuthController.login_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#login_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.logout/2","doc":"","ref":"PlausibleWeb.AuthController.html#logout/2"},{"type":"function","title":"PlausibleWeb.AuthController.new_api_key/2","doc":"","ref":"PlausibleWeb.AuthController.html#new_api_key/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_request/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_request/2"},{"type":"function","title":"PlausibleWeb.AuthController.password_reset_request_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#password_reset_request_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.register/2","doc":"","ref":"PlausibleWeb.AuthController.html#register/2"},{"type":"function","title":"PlausibleWeb.AuthController.register_from_invitation/2","doc":"","ref":"PlausibleWeb.AuthController.html#register_from_invitation/2"},{"type":"function","title":"PlausibleWeb.AuthController.request_activation_code/2","doc":"","ref":"PlausibleWeb.AuthController.html#request_activation_code/2"},{"type":"function","title":"PlausibleWeb.AuthController.save_settings/2","doc":"","ref":"PlausibleWeb.AuthController.html#save_settings/2"},{"type":"function","title":"PlausibleWeb.AuthController.update_email/2","doc":"","ref":"PlausibleWeb.AuthController.html#update_email/2"},{"type":"function","title":"PlausibleWeb.AuthController.user_settings/2","doc":"","ref":"PlausibleWeb.AuthController.html#user_settings/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_recovery_code/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_recovery_code/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_recovery_code_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_recovery_code_form/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_setup/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_setup/2"},{"type":"function","title":"PlausibleWeb.AuthController.verify_2fa_setup_form/2","doc":"","ref":"PlausibleWeb.AuthController.html#verify_2fa_setup_form/2"},{"type":"module","title":"PlausibleWeb.AuthPlug","doc":"","ref":"PlausibleWeb.AuthPlug.html"},{"type":"function","title":"PlausibleWeb.AuthPlug.call/2","doc":"","ref":"PlausibleWeb.AuthPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthPlug.init/1","doc":"","ref":"PlausibleWeb.AuthPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthView","doc":"","ref":"PlausibleWeb.AuthView.html"},{"type":"function","title":"PlausibleWeb.AuthView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.AuthView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.AuthView.activate.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#activate.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.delimit_integer/1","doc":"","ref":"PlausibleWeb.AuthView.html#delimit_integer/1"},{"type":"function","title":"PlausibleWeb.AuthView.format_invoices/1","doc":"","ref":"PlausibleWeb.AuthView.html#format_invoices/1"},{"type":"function","title":"PlausibleWeb.AuthView.generate_2fa_recovery_codes.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#generate_2fa_recovery_codes.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.initiate_2fa_setup.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#initiate_2fa_setup.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.login_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#login_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.new_api_key.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#new_api_key.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_request_form.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_request_form.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.password_reset_request_success.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#password_reset_request_success.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.present_subscription_status/1","doc":"","ref":"PlausibleWeb.AuthView.html#present_subscription_status/1"},{"type":"function","title":"PlausibleWeb.AuthView.register_success.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#register_success.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.AuthView.html#render/2"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_colors/1","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_colors/1"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_interval/1","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_interval/1"},{"type":"function","title":"PlausibleWeb.AuthView.subscription_quota/2","doc":"","ref":"PlausibleWeb.AuthView.html#subscription_quota/2"},{"type":"function","title":"PlausibleWeb.AuthView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.AuthView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.AuthView.user_settings.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#user_settings.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa_recovery_code.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa_recovery_code.html/1"},{"type":"function","title":"PlausibleWeb.AuthView.verify_2fa_setup.html/1","doc":"","ref":"PlausibleWeb.AuthView.html#verify_2fa_setup.html/1"},{"type":"module","title":"PlausibleWeb.AuthorizeSiteAccess","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html"},{"type":"function","title":"PlausibleWeb.AuthorizeSiteAccess.call/2","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeSiteAccess.init/1","doc":"","ref":"PlausibleWeb.AuthorizeSiteAccess.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthorizeSitesApiPlug","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html"},{"type":"function","title":"PlausibleWeb.AuthorizeSitesApiPlug.call/2","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeSitesApiPlug.init/1","doc":"","ref":"PlausibleWeb.AuthorizeSitesApiPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AuthorizeStatsApiPlug","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html"},{"type":"function","title":"PlausibleWeb.AuthorizeStatsApiPlug.call/2","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.AuthorizeStatsApiPlug.init/1","doc":"","ref":"PlausibleWeb.AuthorizeStatsApiPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.AvatarController","doc":"This module proxies requests to BASE_URL/avatar/:hash to www.gravatar.com/avatar/:hash.\n\nThe purpose is to make use of Gravatar's convenient avatar service without exposing information\nthat could be used for tracking the Plausible user. Compared to requesting the Gravatar directly\nfrom the browser, this proxy module protects the Plausible user from disclosing to Gravatar:\n1. The client IP address\n2. User-Agent\n3. Referer header which can be used to track which site the user is visiting (i.e. plausible.io or self-hosted URL)\n\nThe downside is the added latency from the request having to go through the Plausible server, rather than contacting the\nlocal CDN server operated by Gravatar's service.","ref":"PlausibleWeb.AvatarController.html"},{"type":"function","title":"PlausibleWeb.AvatarController.avatar/2","doc":"","ref":"PlausibleWeb.AvatarController.html#avatar/2"},{"type":"module","title":"PlausibleWeb.BillingController","doc":"","ref":"PlausibleWeb.BillingController.html"},{"type":"function","title":"PlausibleWeb.BillingController.change_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#change_plan/2"},{"type":"function","title":"PlausibleWeb.BillingController.change_plan_preview/2","doc":"","ref":"PlausibleWeb.BillingController.html#change_plan_preview/2"},{"type":"function","title":"PlausibleWeb.BillingController.choose_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#choose_plan/2"},{"type":"function","title":"PlausibleWeb.BillingController.ping_subscription/2","doc":"","ref":"PlausibleWeb.BillingController.html#ping_subscription/2"},{"type":"function","title":"PlausibleWeb.BillingController.upgrade_success/2","doc":"","ref":"PlausibleWeb.BillingController.html#upgrade_success/2"},{"type":"function","title":"PlausibleWeb.BillingController.upgrade_to_enterprise_plan/2","doc":"","ref":"PlausibleWeb.BillingController.html#upgrade_to_enterprise_plan/2"},{"type":"module","title":"PlausibleWeb.BillingView","doc":"","ref":"PlausibleWeb.BillingView.html"},{"type":"function","title":"PlausibleWeb.BillingView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.BillingView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.BillingView.change_enterprise_plan_contact_us.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#change_enterprise_plan_contact_us.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.change_plan_preview.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#change_plan_preview.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.choose_plan.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#choose_plan.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.present_currency/1","doc":"","ref":"PlausibleWeb.BillingView.html#present_currency/1"},{"type":"function","title":"PlausibleWeb.BillingView.present_date/1","doc":"","ref":"PlausibleWeb.BillingView.html#present_date/1"},{"type":"function","title":"PlausibleWeb.BillingView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.BillingView.html#render/2"},{"type":"function","title":"PlausibleWeb.BillingView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.BillingView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.BillingView.upgrade_success.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#upgrade_success.html/1"},{"type":"function","title":"PlausibleWeb.BillingView.upgrade_to_enterprise_plan.html/1","doc":"","ref":"PlausibleWeb.BillingView.html#upgrade_to_enterprise_plan.html/1"},{"type":"module","title":"PlausibleWeb.CRMAuthPlug","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html"},{"type":"function","title":"PlausibleWeb.CRMAuthPlug.call/2","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.CRMAuthPlug.init/1","doc":"","ref":"PlausibleWeb.CRMAuthPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Captcha","doc":"","ref":"PlausibleWeb.Captcha.html"},{"type":"function","title":"PlausibleWeb.Captcha.enabled?/0","doc":"","ref":"PlausibleWeb.Captcha.html#enabled?/0"},{"type":"function","title":"PlausibleWeb.Captcha.sitekey/0","doc":"","ref":"PlausibleWeb.Captcha.html#sitekey/0"},{"type":"function","title":"PlausibleWeb.Captcha.verify/1","doc":"","ref":"PlausibleWeb.Captcha.html#verify/1"},{"type":"module","title":"PlausibleWeb.Components.Billing.PlanBenefits","doc":"This module exposes functions for rendering and returning plan\nbenefits for Growth, Business, and Enterprise plans.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_business/2","doc":"Returns Business benefits for the given Business plan.\n\nA second argument is also required - list of Growth benefits. This\nis because we don't want to list the same benefits in both Growth\nand Business. Everything in Growth is also included in Business.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_business/2"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_enterprise/1","doc":"This function only takes a list of business benefits. Since all\nlimits and features of enterprise plans are configurable, we can\nsay on the upgrade page that enterprise plans include everything\nin Business.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_enterprise/1"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.for_growth/1","doc":"This function takes a growth plan and returns a list representing\nthe different benefits a user gets when subscribing to this plan.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#for_growth/1"},{"type":"function","title":"PlausibleWeb.Components.Billing.PlanBenefits.render/1","doc":"This function takes a list of benefits returned by either one of:\n\n* `for_growth/1`\n* `for_business/2`\n* `for_enterprise/1`.\n\nand renders them as HTML.\n\nThe benefits in the given list can be either strings or functions\nreturning a Phoenix component. This allows, for example, to render\nlinks within the plan benefit text.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Billing.PlanBenefits.render/1","doc":"* `benefits` (`:list`) (required)\n* `class` (`:string`) - Defaults to `nil`.","ref":"PlausibleWeb.Components.Billing.PlanBenefits.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Components.Generic","doc":"Generic reusable components","ref":"PlausibleWeb.Components.Generic.html"},{"type":"function","title":"PlausibleWeb.Components.Generic.button/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.button/1","doc":"* `type` (`:string`) - Defaults to `\"button\"`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* `disabled` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#button/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.button/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#button/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.button_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#button_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.button_link/1","doc":"* `href` (`:string`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#button_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.button_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#button_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.docs_info/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#docs_info/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.docs_info/1","doc":"* `slug` (`:string`) (required)","ref":"PlausibleWeb.Components.Generic.html#docs_info/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.dropdown/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dropdown/1"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.dropdown/1","doc":"* `button` (required) - Accepts attributes:\n\n * `class` (`:string`)\n* `panel` (required) - Accepts attributes:\n\n * `class` (`:string`)","ref":"PlausibleWeb.Components.Generic.html#dropdown/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.dropdown_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.dropdown_link/1","doc":"* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.dropdown_link/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Components.Generic.html#dropdown_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.dynamic_icon/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#dynamic_icon/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.dynamic_icon/1","doc":"* `name` (`:atom`) (required)\n* `outline` (`:boolean`) - Defaults to `true`.\n* `solid` (`:boolean`) - Defaults to `false`.\n* `mini` (`:boolean`) - Defaults to `false`.\n* Global attributes are accepted. Supports all globals plus: `[\"fill\", \"stroke\", \"stroke-width\"]`.","ref":"PlausibleWeb.Components.Generic.html#dynamic_icon/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.notice/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#notice/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.notice/1","doc":"* `title` (`:any`) - Defaults to `nil`.\n* `size` (`:atom`) - Defaults to `:sm`.\n* `theme` (`:atom`) - Defaults to `:yellow`.\n* `dismissable_id` (`:any`) - Defaults to `nil`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#notice/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.notice/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#notice/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.spinner/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#spinner/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.spinner/1","doc":"* `class` (`:any`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#spinner/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Generic.styled_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#styled_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.styled_link/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Components.Generic.html#styled_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.styled_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#styled_link/1-slots"},{"type":"function","title":"PlausibleWeb.Components.Generic.unstyled_link/1","doc":"","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Generic.unstyled_link/1","doc":"* `href` (`:string`) (required)\n* `new_tab` (`:boolean`) - Defaults to `false`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* `id` (`:any`) - Defaults to `nil`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Generic.unstyled_link/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Generic.html#unstyled_link/1-slots"},{"type":"module","title":"PlausibleWeb.Components.Google","doc":"Google-related components","ref":"PlausibleWeb.Components.Google.html"},{"type":"function","title":"PlausibleWeb.Components.Google.button/1","doc":"","ref":"PlausibleWeb.Components.Google.html#button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Google.button/1","doc":"* `to` (`:string`) (required)\n* `id` (`:string`) (required)","ref":"PlausibleWeb.Components.Google.html#button/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.Google.logo/1","doc":"","ref":"PlausibleWeb.Components.Google.html#logo/1"},{"type":"module","title":"PlausibleWeb.Components.Settings","doc":"An umbrella module for the Integrations settings section","ref":"PlausibleWeb.Components.Settings.html"},{"type":"function","title":"PlausibleWeb.Components.Settings.settings_google_import/1","doc":"","ref":"PlausibleWeb.Components.Settings.html#settings_google_import/1"},{"type":"function","title":"PlausibleWeb.Components.Settings.settings_search_console/1","doc":"","ref":"PlausibleWeb.Components.Settings.html#settings_search_console/1"},{"type":"module","title":"PlausibleWeb.Components.Site.Feature","doc":"Phoenix Component for rendering a user-facing feature toggle\ncapable of flipping booleans in `Plausible.Site` via the `toggle_feature` controller action.","ref":"PlausibleWeb.Components.Site.Feature.html"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Components.Site.Feature.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Components.Site.Feature.html#render/2"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.target/4","doc":"","ref":"PlausibleWeb.Components.Site.Feature.html#target/4"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Components.Site.Feature.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.Components.Site.Feature.toggle/1","doc":"","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.Site.Feature.toggle/1","doc":"* `site` (`Plausible.Site`) (required)\n* `feature_mod` (`:atom`) (required) - Must be one of `Plausible.Billing.Feature.Goals`, `Plausible.Billing.Feature.StatsAPI`, `Plausible.Billing.Feature.Props`, `Plausible.Billing.Feature.Funnels`, or `Plausible.Billing.Feature.RevenueGoals`.\n* `conn` (`Plug.Conn`) (required)","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.Site.Feature.toggle/1","doc":"* `inner_block`","ref":"PlausibleWeb.Components.Site.Feature.html#toggle/1-slots"},{"type":"module","title":"PlausibleWeb.Components.TwoFactor","doc":"Reusable components specific to 2FA","ref":"PlausibleWeb.Components.TwoFactor.html"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.modal/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.modal/1","doc":"* `id` (`:string`) (required)\n* `state_param` (`:string`) (required)\n* `form_data` (`:any`) (required)\n* `form_target` (`:string`) (required)\n* `onsubmit` (`:string`) - Defaults to `nil`.\n* `title` (`:string`) (required)","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Components.TwoFactor.modal/1","doc":"* `icon` (required)\n* `inner_block` (required)\n* `buttons` (required)","ref":"PlausibleWeb.Components.TwoFactor.html#modal/1-slots"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.qr_code/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#qr_code/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.qr_code/1","doc":"* `text` (`:string`) (required)\n* `scale` (`:integer`) - Defaults to `4`.","ref":"PlausibleWeb.Components.TwoFactor.html#qr_code/1-attributes"},{"type":"function","title":"PlausibleWeb.Components.TwoFactor.verify_2fa_input/1","doc":"","ref":"PlausibleWeb.Components.TwoFactor.html#verify_2fa_input/1"},{"type":"function","title":"Attributes - PlausibleWeb.Components.TwoFactor.verify_2fa_input/1","doc":"* `id` (`:string`) - Defaults to `\"verify-button\"`.\n* `form` (`:any`) (required)\n* `field` (`:any`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Components.TwoFactor.html#verify_2fa_input/1-attributes"},{"type":"module","title":"PlausibleWeb.ConnCase","doc":"This module defines the test case to be used by\ntests that require setting up a connection.\n\nSuch tests rely on `Phoenix.ConnTest` and also\nimport other functionality to make it easier\nto build common data structures and query the data layer.\n\nFinally, if the test case interacts with the database,\nit cannot be async. For this reason, every test runs\ninside a transaction which is reset at the beginning\nof the test unless the test case is marked as async.","ref":"PlausibleWeb.ConnCase.html"},{"type":"module","title":"PlausibleWeb.ControllerHelpers","doc":"","ref":"PlausibleWeb.ControllerHelpers.html"},{"type":"function","title":"PlausibleWeb.ControllerHelpers.render_error/2","doc":"","ref":"PlausibleWeb.ControllerHelpers.html#render_error/2"},{"type":"function","title":"PlausibleWeb.ControllerHelpers.render_error/3","doc":"","ref":"PlausibleWeb.ControllerHelpers.html#render_error/3"},{"type":"module","title":"PlausibleWeb.Controllers.API.Revenue","doc":"Revenue specific functions for the API scope","ref":"PlausibleWeb.Controllers.API.Revenue.html"},{"type":"function","title":"PlausibleWeb.Controllers.API.Revenue.format_money/1","doc":"","ref":"PlausibleWeb.Controllers.API.Revenue.html#format_money/1"},{"type":"function","title":"PlausibleWeb.Controllers.API.Revenue.format_revenue_metric/1","doc":"","ref":"PlausibleWeb.Controllers.API.Revenue.html#format_revenue_metric/1"},{"type":"module","title":"PlausibleWeb.Dogfood","doc":"Plausible tracking itself functions","ref":"PlausibleWeb.Dogfood.html"},{"type":"function","title":"PlausibleWeb.Dogfood.api_destination/0","doc":"Temporary override to do more testing of the new ingest.plausible.io endpoint for accepting events. In staging and locally\nwill fall back to staging.plausible.io/api/event and localhost:8000/api/event respectively.","ref":"PlausibleWeb.Dogfood.html#api_destination/0"},{"type":"function","title":"PlausibleWeb.Dogfood.domain/1","doc":"","ref":"PlausibleWeb.Dogfood.html#domain/1"},{"type":"function","title":"PlausibleWeb.Dogfood.script_url/0","doc":"","ref":"PlausibleWeb.Dogfood.html#script_url/0"},{"type":"module","title":"PlausibleWeb.Email","doc":"","ref":"PlausibleWeb.Email.html"},{"type":"function","title":"PlausibleWeb.Email.activation_email/2","doc":"","ref":"PlausibleWeb.Email.html#activation_email/2"},{"type":"function","title":"PlausibleWeb.Email.approaching_accept_traffic_until/1","doc":"","ref":"PlausibleWeb.Email.html#approaching_accept_traffic_until/1"},{"type":"function","title":"PlausibleWeb.Email.approaching_accept_traffic_until_tomorrow/1","doc":"","ref":"PlausibleWeb.Email.html#approaching_accept_traffic_until_tomorrow/1"},{"type":"function","title":"PlausibleWeb.Email.base_email/0","doc":"","ref":"PlausibleWeb.Email.html#base_email/0"},{"type":"function","title":"PlausibleWeb.Email.base_email/1","doc":"","ref":"PlausibleWeb.Email.html#base_email/1"},{"type":"function","title":"PlausibleWeb.Email.cancellation_email/1","doc":"","ref":"PlausibleWeb.Email.html#cancellation_email/1"},{"type":"function","title":"PlausibleWeb.Email.check_stats_email/1","doc":"","ref":"PlausibleWeb.Email.html#check_stats_email/1"},{"type":"function","title":"PlausibleWeb.Email.create_site_email/1","doc":"","ref":"PlausibleWeb.Email.html#create_site_email/1"},{"type":"function","title":"PlausibleWeb.Email.dashboard_locked/3","doc":"","ref":"PlausibleWeb.Email.html#dashboard_locked/3"},{"type":"function","title":"PlausibleWeb.Email.enterprise_over_limit_internal_email/4","doc":"","ref":"PlausibleWeb.Email.html#enterprise_over_limit_internal_email/4"},{"type":"function","title":"PlausibleWeb.Email.error_report/3","doc":"","ref":"PlausibleWeb.Email.html#error_report/3"},{"type":"function","title":"PlausibleWeb.Email.existing_user_invitation/1","doc":"","ref":"PlausibleWeb.Email.html#existing_user_invitation/1"},{"type":"function","title":"PlausibleWeb.Email.import_failure/3","doc":"","ref":"PlausibleWeb.Email.html#import_failure/3"},{"type":"function","title":"PlausibleWeb.Email.import_success/3","doc":"","ref":"PlausibleWeb.Email.html#import_success/3"},{"type":"function","title":"PlausibleWeb.Email.invitation_accepted/1","doc":"","ref":"PlausibleWeb.Email.html#invitation_accepted/1"},{"type":"function","title":"PlausibleWeb.Email.invitation_rejected/1","doc":"","ref":"PlausibleWeb.Email.html#invitation_rejected/1"},{"type":"function","title":"PlausibleWeb.Email.mailer_email_from/0","doc":"","ref":"PlausibleWeb.Email.html#mailer_email_from/0"},{"type":"function","title":"PlausibleWeb.Email.new_user_invitation/1","doc":"","ref":"PlausibleWeb.Email.html#new_user_invitation/1"},{"type":"function","title":"PlausibleWeb.Email.over_limit_email/3","doc":"","ref":"PlausibleWeb.Email.html#over_limit_email/3"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_accepted/1","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_accepted/1"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_rejected/1","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_rejected/1"},{"type":"function","title":"PlausibleWeb.Email.ownership_transfer_request/2","doc":"","ref":"PlausibleWeb.Email.html#ownership_transfer_request/2"},{"type":"function","title":"PlausibleWeb.Email.password_reset_email/2","doc":"","ref":"PlausibleWeb.Email.html#password_reset_email/2"},{"type":"function","title":"PlausibleWeb.Email.priority_email/0","doc":"Unlike the default 'base' emails, priority emails cannot be unsubscribed from. This is achieved\n by sending them through a dedicated 'priority' message stream in Postmark.","ref":"PlausibleWeb.Email.html#priority_email/0"},{"type":"function","title":"PlausibleWeb.Email.priority_email/1","doc":"","ref":"PlausibleWeb.Email.html#priority_email/1"},{"type":"function","title":"PlausibleWeb.Email.render/3","doc":"Render an Phoenix template and set the body on the email.\n\nPass an atom as the template name (:welcome_email) to render HTML *and* plain\ntext emails. Use a string if you only want to render one type, e.g.\n\"welcome_email.text\" or \"welcome_email.html\". Scroll to the top for more examples.","ref":"PlausibleWeb.Email.html#render/3"},{"type":"function","title":"PlausibleWeb.Email.site_member_removed/1","doc":"","ref":"PlausibleWeb.Email.html#site_member_removed/1"},{"type":"function","title":"PlausibleWeb.Email.site_setup_help/2","doc":"","ref":"PlausibleWeb.Email.html#site_setup_help/2"},{"type":"function","title":"PlausibleWeb.Email.site_setup_success/2","doc":"","ref":"PlausibleWeb.Email.html#site_setup_success/2"},{"type":"function","title":"PlausibleWeb.Email.spike_notification/5","doc":"","ref":"PlausibleWeb.Email.html#spike_notification/5"},{"type":"function","title":"PlausibleWeb.Email.stats_report/2","doc":"","ref":"PlausibleWeb.Email.html#stats_report/2"},{"type":"function","title":"PlausibleWeb.Email.trial_one_week_reminder/1","doc":"","ref":"PlausibleWeb.Email.html#trial_one_week_reminder/1"},{"type":"function","title":"PlausibleWeb.Email.trial_over_email/1","doc":"","ref":"PlausibleWeb.Email.html#trial_over_email/1"},{"type":"function","title":"PlausibleWeb.Email.trial_upgrade_email/3","doc":"","ref":"PlausibleWeb.Email.html#trial_upgrade_email/3"},{"type":"function","title":"PlausibleWeb.Email.two_factor_disabled_email/1","doc":"","ref":"PlausibleWeb.Email.html#two_factor_disabled_email/1"},{"type":"function","title":"PlausibleWeb.Email.two_factor_enabled_email/1","doc":"","ref":"PlausibleWeb.Email.html#two_factor_enabled_email/1"},{"type":"function","title":"PlausibleWeb.Email.welcome_email/1","doc":"","ref":"PlausibleWeb.Email.html#welcome_email/1"},{"type":"function","title":"PlausibleWeb.Email.yearly_expiration_notification/1","doc":"","ref":"PlausibleWeb.Email.html#yearly_expiration_notification/1"},{"type":"function","title":"PlausibleWeb.Email.yearly_renewal_notification/1","doc":"","ref":"PlausibleWeb.Email.html#yearly_renewal_notification/1"},{"type":"module","title":"PlausibleWeb.EmailView","doc":"","ref":"PlausibleWeb.EmailView.html"},{"type":"function","title":"PlausibleWeb.EmailView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.EmailView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.EmailView.activation_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#activation_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.approaching_accept_traffic_until.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#approaching_accept_traffic_until.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.cancellation_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#cancellation_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.check_stats_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#check_stats_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.create_site_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#create_site_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.dashboard_locked.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#dashboard_locked.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.date_format/1","doc":"","ref":"PlausibleWeb.EmailView.html#date_format/1"},{"type":"function","title":"PlausibleWeb.EmailView.enterprise_over_limit_internal.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#enterprise_over_limit_internal.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.error_report_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#error_report_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.existing_user_invitation.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#existing_user_invitation.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.google_analytics_import.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#google_analytics_import.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.greet_recipient/1","doc":"","ref":"PlausibleWeb.EmailView.html#greet_recipient/1"},{"type":"function","title":"PlausibleWeb.EmailView.invitation_accepted.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#invitation_accepted.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.invitation_rejected.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#invitation_rejected.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.new_user_invitation.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#new_user_invitation.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.over_limit.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#over_limit.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_accepted.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_accepted.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_rejected.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_rejected.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.ownership_transfer_request.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#ownership_transfer_request.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.password_reset_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#password_reset_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.plausible_url/0","doc":"","ref":"PlausibleWeb.EmailView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.EmailView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.EmailView.html#render/2"},{"type":"function","title":"PlausibleWeb.EmailView.sentry_link/2","doc":"","ref":"PlausibleWeb.EmailView.html#sentry_link/2"},{"type":"function","title":"PlausibleWeb.EmailView.site_member_removed.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_member_removed.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.site_setup_help_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_setup_help_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.site_setup_success_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#site_setup_success_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.spike_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#spike_notification.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.EmailView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.EmailView.trial_one_week_reminder.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_one_week_reminder.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.trial_over_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_over_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.trial_upgrade_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#trial_upgrade_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.two_factor_disabled_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#two_factor_disabled_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.two_factor_enabled_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#two_factor_enabled_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.welcome_email.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#welcome_email.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.yearly_expiration_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#yearly_expiration_notification.html/1"},{"type":"function","title":"PlausibleWeb.EmailView.yearly_renewal_notification.html/1","doc":"","ref":"PlausibleWeb.EmailView.html#yearly_renewal_notification.html/1"},{"type":"module","title":"PlausibleWeb.Endpoint","doc":"","ref":"PlausibleWeb.Endpoint.html"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast/3","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast/3"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast!/3","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast!/3"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast_from/4","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast_from/4"},{"type":"function","title":"PlausibleWeb.Endpoint.broadcast_from!/4","doc":"","ref":"PlausibleWeb.Endpoint.html#broadcast_from!/4"},{"type":"function","title":"PlausibleWeb.Endpoint.call/2","doc":"","ref":"PlausibleWeb.Endpoint.html#call/2"},{"type":"function","title":"PlausibleWeb.Endpoint.child_spec/1","doc":"Returns the child specification to start the endpoint\nunder a supervision tree.","ref":"PlausibleWeb.Endpoint.html#child_spec/1"},{"type":"function","title":"PlausibleWeb.Endpoint.config/2","doc":"Returns the endpoint configuration for `key`\n\nReturns `default` if the key does not exist.","ref":"PlausibleWeb.Endpoint.html#config/2"},{"type":"function","title":"PlausibleWeb.Endpoint.config_change/2","doc":"Reloads the configuration given the application environment changes.","ref":"PlausibleWeb.Endpoint.html#config_change/2"},{"type":"function","title":"PlausibleWeb.Endpoint.host/0","doc":"Returns the host for the given endpoint.","ref":"PlausibleWeb.Endpoint.html#host/0"},{"type":"function","title":"PlausibleWeb.Endpoint.init/1","doc":"","ref":"PlausibleWeb.Endpoint.html#init/1"},{"type":"function","title":"PlausibleWeb.Endpoint.local_broadcast/3","doc":"","ref":"PlausibleWeb.Endpoint.html#local_broadcast/3"},{"type":"function","title":"PlausibleWeb.Endpoint.local_broadcast_from/4","doc":"","ref":"PlausibleWeb.Endpoint.html#local_broadcast_from/4"},{"type":"function","title":"PlausibleWeb.Endpoint.path/1","doc":"Generates the path information when routing to this endpoint.","ref":"PlausibleWeb.Endpoint.html#path/1"},{"type":"function","title":"PlausibleWeb.Endpoint.runtime_session/2","doc":"","ref":"PlausibleWeb.Endpoint.html#runtime_session/2"},{"type":"function","title":"PlausibleWeb.Endpoint.runtime_session_opts/0","doc":"","ref":"PlausibleWeb.Endpoint.html#runtime_session_opts/0"},{"type":"function","title":"PlausibleWeb.Endpoint.script_name/0","doc":"Generates the script name.","ref":"PlausibleWeb.Endpoint.html#script_name/0"},{"type":"function","title":"PlausibleWeb.Endpoint.secure_cookie?/0","doc":"","ref":"PlausibleWeb.Endpoint.html#secure_cookie?/0"},{"type":"function","title":"PlausibleWeb.Endpoint.server_info/1","doc":"Returns the address and port that the server is running on","ref":"PlausibleWeb.Endpoint.html#server_info/1"},{"type":"function","title":"PlausibleWeb.Endpoint.start_link/1","doc":"Starts the endpoint supervision tree.\n\nAll other options are merged into the endpoint configuration.","ref":"PlausibleWeb.Endpoint.html#start_link/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_integrity/1","doc":"Generates a base64-encoded cryptographic hash (sha512) to a static file\nin `priv/static`. Meant to be used for Subresource Integrity with CDNs.","ref":"PlausibleWeb.Endpoint.html#static_integrity/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_lookup/1","doc":"Returns a two item tuple with the first item being the `static_path`\nand the second item being the `static_integrity`.","ref":"PlausibleWeb.Endpoint.html#static_lookup/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_path/1","doc":"Generates a route to a static file in `priv/static`.","ref":"PlausibleWeb.Endpoint.html#static_path/1"},{"type":"function","title":"PlausibleWeb.Endpoint.static_url/0","doc":"Generates the static URL without any path information.\n\nIt uses the configuration under `:static_url` to generate\nsuch. It falls back to `:url` if `:static_url` is not set.","ref":"PlausibleWeb.Endpoint.html#static_url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.struct_url/0","doc":"Generates the endpoint base URL but as a `URI` struct.\n\nIt uses the configuration under `:url` to generate such.\nUseful for manipulating the URL data and passing it to\nURL helpers.","ref":"PlausibleWeb.Endpoint.html#struct_url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.subscribe/2","doc":"","ref":"PlausibleWeb.Endpoint.html#subscribe/2"},{"type":"function","title":"PlausibleWeb.Endpoint.unsubscribe/1","doc":"","ref":"PlausibleWeb.Endpoint.html#unsubscribe/1"},{"type":"function","title":"PlausibleWeb.Endpoint.url/0","doc":"Generates the endpoint base URL without any path information.\n\nIt uses the configuration under `:url` to generate such.","ref":"PlausibleWeb.Endpoint.html#url/0"},{"type":"function","title":"PlausibleWeb.Endpoint.websocket_url/0","doc":"","ref":"PlausibleWeb.Endpoint.html#websocket_url/0"},{"type":"module","title":"PlausibleWeb.ErrorHelpers","doc":"","ref":"PlausibleWeb.ErrorHelpers.html"},{"type":"function","title":"PlausibleWeb.ErrorHelpers.error_tag/2","doc":"","ref":"PlausibleWeb.ErrorHelpers.html#error_tag/2"},{"type":"function","title":"PlausibleWeb.ErrorHelpers.translate_error/1","doc":"","ref":"PlausibleWeb.ErrorHelpers.html#translate_error/1"},{"type":"module","title":"PlausibleWeb.ErrorReportController","doc":"","ref":"PlausibleWeb.ErrorReportController.html"},{"type":"function","title":"PlausibleWeb.ErrorReportController.submit_error_report/2","doc":"","ref":"PlausibleWeb.ErrorReportController.html#submit_error_report/2"},{"type":"module","title":"PlausibleWeb.ErrorView","doc":"","ref":"PlausibleWeb.ErrorView.html"},{"type":"function","title":"PlausibleWeb.ErrorView.404_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#404_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.ErrorView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.ErrorView.generic_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#generic_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.ErrorView.html#render/2"},{"type":"function","title":"PlausibleWeb.ErrorView.server_error.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#server_error.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.server_error_report_thanks.html/1","doc":"","ref":"PlausibleWeb.ErrorView.html#server_error_report_thanks.html/1"},{"type":"function","title":"PlausibleWeb.ErrorView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.ErrorView.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Favicon","doc":"A Plug that fetches favicon images from DuckDuckGo and returns them\nto the Plausible frontend.\n\nThe proxying is there so we can reduce the number of third-party domains that\nthe browser clients need to connect to. Our goal is to have 0 third-party domain\nconnections on the website for privacy reasons.\n\nThis module also maps between categorized sources and their respective URLs for favicons.\nWhat does that mean exactly? During ingestion we use `PlausibleWeb.RefInspector.parse/1` to\ncategorize our referrer sources like so:\n\ngoogle.com -> Google\ngoogle.co.uk -> Google\ngoogle.com.au -> Google\n\nSo when we show Google as a source in the dashboard, the request to this plug will come as:\nhttps://plausible/io/favicon/sources/Google\n\nNow, when we want to show a favicon for Google, we need to convert Google -> google.com or\nsome other hostname owned by Google:\nhttps://icons.duckduckgo.com/ip3/google.com.ico\n\nThe mapping from source category -> source hostname is stored in \"priv/referer_favicon_domains.json\" and\nmanaged by `Mix.Tasks.GenerateReferrerFavicons.run/1`","ref":"PlausibleWeb.Favicon.html"},{"type":"function","title":"PlausibleWeb.Favicon.call/2","doc":"Proxies HTTP request to DuckDuckGo favicon service. Swallows hop-by-hop HTTP\nheaders that should not be forwarded as defined in [RFC 2616](https://www.rfc-editor.org/rfc/rfc2616#section-13.5.1)","ref":"PlausibleWeb.Favicon.html#call/2"},{"type":"function","title":"Placeholder - PlausibleWeb.Favicon.call/2","doc":"Cases where we show a placeholder icon instead:\n\n1. In case of network error to DuckDuckGo\n2. In case of non-2xx status code from DuckDuckGo\n3. In case of broken image response body from DuckDuckGo\n\nI'm not sure why DDG sometimes returns a broken PNG image in their response\nbut we filter that out. When the icon request fails, we show a placeholder\nfavicon instead. The placeholder is an emoji from\n[https://favicon.io/emoji-favicons/](https://favicon.io/emoji-favicons/)\n\nDuckDuckGo favicon service has some issues with [SVG favicons](https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/).\nFor some reason, they return them with `content-type=image/x-icon` whereas SVG\nicons should be returned with `content-type=image/svg+xml`. This Plug detects\nwhen the response body starts with `\n<.input name=\"my-input\" errors={[\"oh no!\"]} />","ref":"PlausibleWeb.Live.Components.Form.html#input/1-examples"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.input/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `name` (`:any`)\n* `label` (`:string`) - Defaults to `nil`.\n* `value` (`:any`)\n* `type` (`:string`) - Defaults to `\"text\"`.\n* `field` (`Phoenix.HTML.FormField`) - a form field struct retrieved from the form, for example: @form[:email].\n* `errors` (`:list`) - Defaults to `[]`.\n* `checked` (`:boolean`) - the checked flag for checkbox inputs.\n* `prompt` (`:string`) - the prompt for select inputs. Defaults to `nil`.\n* `options` (`:list`) - the options to pass to Phoenix.HTML.Form.options_for_select/2.\n* `multiple` (`:boolean`) - the multiple flag for select inputs. Defaults to `false`.\n* Global attributes are accepted. Supports all globals plus: `[\"accept\", \"autocomplete\", \"capture\", \"cols\", \"disabled\", \"form\", \"list\", \"max\", \"maxlength\", \"min\", \"minlength\", \"multiple\", \"pattern\", \"placeholder\", \"readonly\", \"required\", \"rows\", \"size\", \"step\"]`.","ref":"PlausibleWeb.Live.Components.Form.html#input/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Form.input/1","doc":"* `inner_block`","ref":"PlausibleWeb.Live.Components.Form.html#input/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.input_with_clipboard/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#input_with_clipboard/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.input_with_clipboard/1","doc":"* `id` (`:string`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.\n* `name` (`:string`) (required)\n* `label` (`:string`) (required)\n* `value` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.Components.Form.html#input_with_clipboard/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.label/1","doc":"Renders a label.","ref":"PlausibleWeb.Live.Components.Form.html#label/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.label/1","doc":"* `for` (`:string`) - Defaults to `nil`.","ref":"PlausibleWeb.Live.Components.Form.html#label/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Form.label/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Live.Components.Form.html#label/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.password_input_with_strength/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#password_input_with_strength/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.password_input_with_strength/1","doc":"* `id` (`:any`) - Defaults to `nil`.\n* `label` (`:string`) - Defaults to `nil`.\n* `field` (`Phoenix.HTML.FormField`) (required) - a form field struct retrieved from the form, for example: @form[:password].\n* `strength` (`:any`)\n* Global attributes are accepted. Supports all globals plus: `[\"autocomplete\", \"disabled\", \"form\", \"maxlength\", \"minlength\", \"readonly\", \"required\", \"size\"]`.","ref":"PlausibleWeb.Live.Components.Form.html#password_input_with_strength/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.password_length_hint/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#password_length_hint/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.password_length_hint/1","doc":"* `minimum` (`:integer`) (required)\n* `class` (`:any`)\n* `ok_class` (`:any`)\n* `error_class` (`:any`)\n* `field` (`Phoenix.HTML.FormField`) (required) - a form field struct retrieved from the form, for example: @form[:password].","ref":"PlausibleWeb.Live.Components.Form.html#password_length_hint/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.strength_meter/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#strength_meter/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Form.strength_meter/1","doc":"* `score` (`:integer`) - Defaults to `0`.\n* `warning` (`:string`) - Defaults to `\"\"`.\n* `suggestions` (`:list`) - Defaults to `[]`.","ref":"PlausibleWeb.Live.Components.Form.html#strength_meter/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Form.translate_error/1","doc":"","ref":"PlausibleWeb.Live.Components.Form.html#translate_error/1"},{"type":"module","title":"PlausibleWeb.Live.Components.Modal","doc":"LiveView implementation of modal component.\n\nThis component is a general purpose modal implementation for LiveView\nwith emphasis on keeping nested components largely agnostic of the fact\nthat they are placed in a modal and maintaining good user experience\non connections with high latency.","ref":"PlausibleWeb.Live.Components.Modal.html"},{"type":"module","title":"Usage - PlausibleWeb.Live.Components.Modal","doc":"An example use case for a modal is embedding a form inside\nexisting live view which allows adding new entries of some kind:\n\n```\n<.live_component module={Modal} id=\"some-form-modal\">\n <.live_component\n module={SomeForm}\n id=\"some-form\"\n on_save_form={\n fn entry, socket ->\n send(self(), {:entry_added, entry})\n Modal.close(socket, \"some-form-modal\")\n end\n }\n />\n\n```\n\nThen somewhere in the same live view the modal is rendered in:\n\n```\n<.button x-data x-on:click={Modal.JS.open(\"goals-form-modal\")}>\n + Add Entry\n\n```","ref":"PlausibleWeb.Live.Components.Modal.html#module-usage"},{"type":"module","title":"Explanation - PlausibleWeb.Live.Components.Modal","doc":"The component embedded inside the modal is always rendered when\nthe live view is mounted but is kept hidden until `Modal.JS.open`\nis called on it. On subsequent openings within the same session\nthe contents of the modal are completely remounted. This assures\nthat any stateful components inside the modal are reset to their\ninitial state.\n\n`Modal` exposes two functions for managing window state:\n\n * `Modal.JS.open/1` - to open the modal from the frontend. It's\n important to make sure the element triggering that call is\n wrapped in an Alpine UI component - or is an Alpine component\n itself - adding `x-data` attribute without any value is enough\n to ensure that.\n * `Modal.close/2` - to close the modal from the backend; usually\n done inside wrapped component's `handle_event/2`. The example\n qouted above shows one way to implement this, under that assumption\n that the component exposes a callback, like this:\n\n ```\n defmodule SomeForm do\n use Phoenix.LiveComponent\n\n def update(assigns, socket) do\n # ...\n\n {:ok, assign(socket, :on_save_form, assigns.on_save_form)}\n end\n\n #...\n\n def handle_event(\"save-form\", %{\"form\" => form}, socket) do\n case save_entry(form) do\n {:ok, entry} ->\n {:noreply, socket.assigns.on_save_form(entry, socket)}\n\n # error case handling ...\n end\n end\n end\n ```\n\n Using callback approach has an added benefit of making the\n component more flexible.","ref":"PlausibleWeb.Live.Components.Modal.html#module-explanation"},{"type":"function","title":"PlausibleWeb.Live.Components.Modal.close/2","doc":"","ref":"PlausibleWeb.Live.Components.Modal.html#close/2"},{"type":"function","title":"PlausibleWeb.Live.Components.Modal.render/1","doc":"","ref":"PlausibleWeb.Live.Components.Modal.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Modal.render/1","doc":"* `id` (`:any`) (required)\n* `class` (`:string`) - Defaults to `\"\"`.","ref":"PlausibleWeb.Live.Components.Modal.html#render/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Components.Modal.render/1","doc":"* `inner_block` (required)","ref":"PlausibleWeb.Live.Components.Modal.html#render/1-slots"},{"type":"module","title":"PlausibleWeb.Live.Components.Pagination","doc":"Pagination components for LiveViews.","ref":"PlausibleWeb.Live.Components.Pagination.html"},{"type":"function","title":"PlausibleWeb.Live.Components.Pagination.pagination/1","doc":"","ref":"PlausibleWeb.Live.Components.Pagination.html#pagination/1"},{"type":"module","title":"PlausibleWeb.Live.Components.Visitors","doc":"Component rendering mini-graph of site's visitors over the last 24 hours.\n\nThe `gradient_defs` component should be rendered once before using `chart`\none or more times.\n\nAccepts input generated via `Plausible.Stats.Clickhouse.last_24h_visitors_hourly_intervals/2`.","ref":"PlausibleWeb.Live.Components.Visitors.html"},{"type":"function","title":"PlausibleWeb.Live.Components.Visitors.chart/1","doc":"","ref":"PlausibleWeb.Live.Components.Visitors.html#chart/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Components.Visitors.chart/1","doc":"* `intervals` (`:list`) (required)\n* `height` (`:integer`) - Defaults to `50`.\n* `tick` (`:integer`) - Defaults to `20`.","ref":"PlausibleWeb.Live.Components.Visitors.html#chart/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Components.Visitors.gradient_defs/1","doc":"","ref":"PlausibleWeb.Live.Components.Visitors.html#gradient_defs/1"},{"type":"module","title":"PlausibleWeb.Live.Flash","doc":"Flash component for LiveViews - works also when embedded within dead views","ref":"PlausibleWeb.Live.Flash.html"},{"type":"function","title":"PlausibleWeb.Live.Flash.clear_flash_button/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#clear_flash_button/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.flash/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#flash/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Flash.flash/1","doc":"* `key` (`:string`) - Defaults to `nil`.\n* `on_close` (`:any`) - Defaults to `\"lv:clear-flash\"`.\n* `class` (`:string`) - Defaults to `\"\"`.\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.Flash.html#flash/1-attributes"},{"type":"function","title":"Slots - PlausibleWeb.Live.Flash.flash/1","doc":"* `icon` (required)\n* `title`\n* `message` (required)","ref":"PlausibleWeb.Live.Flash.html#flash/1-slots"},{"type":"function","title":"PlausibleWeb.Live.Flash.flash_messages/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#flash_messages/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.icon_error/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#icon_error/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.icon_success/1","doc":"","ref":"PlausibleWeb.Live.Flash.html#icon_success/1"},{"type":"function","title":"PlausibleWeb.Live.Flash.put_live_flash/3","doc":"","ref":"PlausibleWeb.Live.Flash.html#put_live_flash/3"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings","doc":"LiveView allowing listing, creating and deleting funnels.","ref":"PlausibleWeb.Live.FunnelSettings.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings.Form","doc":"Phoenix LiveComponent that renders a form used for setting up funnels.\nMakes use of dynamically placed `PlausibleWeb.Live.FunnelSettings.ComboBox` components\nto allow building searchable funnel definitions out of list of goals available.","ref":"PlausibleWeb.Live.FunnelSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.add_step_button/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#add_step_button/1"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.evaluation/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#evaluation/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.FunnelSettings.Form.evaluation/1","doc":"* `at` (`:integer`) (required)\n* `result` (`:map`) (required)","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#evaluation/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.handle_info/2","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.mount/3","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.remove_step_button/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#remove_step_button/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.FunnelSettings.Form.remove_step_button/1","doc":"* `step_idx` (`:integer`) (required)","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#remove_step_button/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.Form.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.FunnelSettings.List","doc":"Phoenix LiveComponent module that renders a list of funnels with their names\nand the number of steps they have.\n\nEach funnel is displayed with a delete button, which triggers a confirmation\nmessage before deleting the funnel from the UI. If there are no funnels\nconfigured for the site, a message is displayed indicating so.","ref":"PlausibleWeb.Live.FunnelSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.FunnelSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.FunnelSettings.List.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings","doc":"LiveView allowing listing, creating and deleting goals.","ref":"PlausibleWeb.Live.GoalSettings.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings.Form","doc":"Live view for the goal creation form","ref":"PlausibleWeb.Live.GoalSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.custom_event_fields/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#custom_event_fields/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.Form.custom_event_fields/1","doc":"* `f` (`Phoenix.HTML.Form`)\n* `site` (`Plausible.Site`)\n* `current_user` (`Plausible.Auth.User`)\n* `has_access_to_revenue_goals?` (`:boolean`)\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.GoalSettings.Form.html#custom_event_fields/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.pageview_fields/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageview_fields/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.Form.pageview_fields/1","doc":"* `f` (`Phoenix.HTML.Form`)\n* `site` (`Plausible.Site`)\n* Global attributes are accepted.","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageview_fields/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.pageviews_tab/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#pageviews_tab/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#render/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.suggest_page_paths/3","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#suggest_page_paths/3"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.tabs/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#tabs/1"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.Form.update/2","doc":"","ref":"PlausibleWeb.Live.GoalSettings.Form.html#update/2"},{"type":"module","title":"PlausibleWeb.Live.GoalSettings.List","doc":"Phoenix LiveComponent module that renders a list of goals","ref":"PlausibleWeb.Live.GoalSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.GoalSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.GoalSettings.List.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.GoalSettings.List.render/1","doc":"* `goals` (`:list`) (required)\n* `domain` (`:string`) (required)\n* `filter_text` (`:string`)\n* `site` (`Plausible.Site`) (required)","ref":"PlausibleWeb.Live.GoalSettings.List.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Live.Plugins.API.Settings","doc":"LiveView allowing listing, creating and revoking Plugins API tokens.","ref":"PlausibleWeb.Live.Plugins.API.Settings.html"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.mount/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.Settings.render/1","doc":"","ref":"PlausibleWeb.Live.Plugins.API.Settings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.Plugins.API.TokenForm","doc":"Live view for the goal creation form","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.mount/3","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Plugins.API.TokenForm.render/1","doc":"","ref":"PlausibleWeb.Live.Plugins.API.TokenForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings","doc":"LiveView allowing listing, allowing and disallowing custom event properties.","ref":"PlausibleWeb.Live.PropsSettings.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.handle_event/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.handle_info/2","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.mount/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings.Form","doc":"Live view for the custom props creation form","ref":"PlausibleWeb.Live.PropsSettings.Form.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.handle_event/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.handle_info/2","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.mount/3","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.Form.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.Form.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.PropsSettings.List","doc":"Phoenix LiveComponent module that renders a list of custom properties","ref":"PlausibleWeb.Live.PropsSettings.List.html"},{"type":"function","title":"PlausibleWeb.Live.PropsSettings.List.render/1","doc":"","ref":"PlausibleWeb.Live.PropsSettings.List.html#render/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.PropsSettings.List.render/1","doc":"* `props` (`:list`) (required)\n* `domain` (`:string`) (required)\n* `filter_text` (`:string`)","ref":"PlausibleWeb.Live.PropsSettings.List.html#render/1-attributes"},{"type":"module","title":"PlausibleWeb.Live.RegisterForm","doc":"LiveView for registration form.","ref":"PlausibleWeb.Live.RegisterForm.html"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.mount/3","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.RegisterForm.render/1","doc":"","ref":"PlausibleWeb.Live.RegisterForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.ResetPasswordForm","doc":"LiveView for password reset form.","ref":"PlausibleWeb.Live.ResetPasswordForm.html"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.handle_event/3","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.handle_info/2","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.mount/3","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.ResetPasswordForm.render/1","doc":"","ref":"PlausibleWeb.Live.ResetPasswordForm.html#render/1"},{"type":"module","title":"PlausibleWeb.Live.SentryContext","doc":"This module tries to supply LiveViews with some common Sentry context\n(without it, there is practically none).\n\nUse via `use PlausibleWeb.Live.SentryContext` in your LiveView module,\nor preferably via `use PlausibleWeb, :live_view`.\n\nIn case you have multiple LiveViews, there is `use PlausibleWeb, live_view: :no_sentry_context`\nexposed that allows you to skip using this module. This is because\nonly the root LiveView has access to `connect_info` and an exception will be\nthrown otherwise.","ref":"PlausibleWeb.Live.SentryContext.html"},{"type":"function","title":"PlausibleWeb.Live.SentryContext.on_mount/4","doc":"","ref":"PlausibleWeb.Live.SentryContext.html#on_mount/4"},{"type":"module","title":"PlausibleWeb.Live.Sites","doc":"LiveView for sites index.","ref":"PlausibleWeb.Live.Sites.html"},{"type":"function","title":"PlausibleWeb.Live.Sites.ellipsis_menu/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#ellipsis_menu/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.favicon/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#favicon/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_event/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_event/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_info/2","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_info/2"},{"type":"function","title":"PlausibleWeb.Live.Sites.handle_params/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#handle_params/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.icon_pin/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#icon_pin/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.icon_pin/1","doc":"* Global attributes are accepted.","ref":"PlausibleWeb.Live.Sites.html#icon_pin/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.invitation/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#invitation/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.invitation/1","doc":"* `site` (`Plausible.Site`) (required)\n* `invitation` (`Plausible.Auth.Invitation`) (required)\n* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#invitation/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.invitation_modal/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#invitation_modal/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.invitation_modal/1","doc":"* `user` (`Plausible.Auth.User`) (required)","ref":"PlausibleWeb.Live.Sites.html#invitation_modal/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.mount/3","doc":"","ref":"PlausibleWeb.Live.Sites.html#mount/3"},{"type":"function","title":"PlausibleWeb.Live.Sites.percentage_change/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#percentage_change/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.percentage_change/1","doc":"* `change` (`:integer`) (required)","ref":"PlausibleWeb.Live.Sites.html#percentage_change/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.render/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#render/1"},{"type":"function","title":"PlausibleWeb.Live.Sites.search_form/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#search_form/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.search_form/1","doc":"* `filter_text` (`:string`) - Defaults to `\"\"`.\n* `uri` (`URI`) (required)","ref":"PlausibleWeb.Live.Sites.html#search_form/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.site/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#site/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.site/1","doc":"* `site` (`Plausible.Site`) (required)\n* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#site/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.site_stats/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#site_stats/1"},{"type":"function","title":"Attributes - PlausibleWeb.Live.Sites.site_stats/1","doc":"* `hourly_stats` (`:map`) (required)","ref":"PlausibleWeb.Live.Sites.html#site_stats/1-attributes"},{"type":"function","title":"PlausibleWeb.Live.Sites.upgrade_nag_screen/1","doc":"","ref":"PlausibleWeb.Live.Sites.html#upgrade_nag_screen/1"},{"type":"module","title":"PlausibleWeb.MJML.StatsReport","doc":"MJML rendered for the weekly or monthly report e-mail","ref":"PlausibleWeb.MJML.StatsReport.html"},{"type":"function","title":"PlausibleWeb.MJML.StatsReport.debug_mjml_template/0","doc":"Returns the raw MJML template. Useful for debugging rendering issues.","ref":"PlausibleWeb.MJML.StatsReport.html#debug_mjml_template/0"},{"type":"function","title":"PlausibleWeb.MJML.StatsReport.render/1","doc":"Safely render the MJML template using Phoenix.HTML","ref":"PlausibleWeb.MJML.StatsReport.html#render/1"},{"type":"module","title":"PlausibleWeb.PageController","doc":"","ref":"PlausibleWeb.PageController.html"},{"type":"function","title":"PlausibleWeb.PageController.index/2","doc":"The root path is never accessible in Plausible.Cloud because it is handled by the upstream reverse proxy.\n\nThis controller action is only ever triggered in self-hosted Plausible.","ref":"PlausibleWeb.PageController.html#index/2"},{"type":"module","title":"PlausibleWeb.PageView","doc":"","ref":"PlausibleWeb.PageView.html"},{"type":"function","title":"PlausibleWeb.PageView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.PageView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.PageView.index.html/1","doc":"","ref":"PlausibleWeb.PageView.html#index.html/1"},{"type":"function","title":"PlausibleWeb.PageView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.PageView.html#render/2"},{"type":"function","title":"PlausibleWeb.PageView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.PageView.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps","doc":"Controller for the CustomProp resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.disable/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#disable/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.enable/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#enable/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.CustomProps.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.Goals","doc":"Controller for the Goal resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.create/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#create/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.delete/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#delete/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.delete_bulk/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#delete_bulk/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.get/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#get/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.index/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#index/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.Goals.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.Goals.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","doc":"Controller for the Shared Link resource under Plugins API","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.create/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#create/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.get/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#get/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.index/2","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#index/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.open_api_operation/1","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#open_api_operation/1"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.shared_security/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#shared_security/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.shared_tags/0","doc":"","ref":"PlausibleWeb.Plugins.API.Controllers.SharedLinks.html#shared_tags/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Errors","doc":"Common responses for Plugins API","ref":"PlausibleWeb.Plugins.API.Errors.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Errors.error/3","doc":"","ref":"PlausibleWeb.Plugins.API.Errors.html#error/3"},{"type":"function","title":"PlausibleWeb.Plugins.API.Errors.unauthorized/1","doc":"","ref":"PlausibleWeb.Plugins.API.Errors.html#unauthorized/1"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp","doc":"OpenAPI schema for Goal","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","doc":"OpenAPI schema for Custom Property disable request","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","doc":"OpenAPI schema for Custom Property creation request","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","doc":"OpenAPI schema for SharedLink list response","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Error","doc":"OpenAPI schema for an error included in a response","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Error.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Error.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Error.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal","doc":"OpenAPI schema for Goal","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","doc":"OpenAPI schema for Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","doc":"OpenAPI schema for Custom Event Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","doc":"OpenAPI schema for Pageview Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","doc":"OpenAPI schema for Custom Event Goal creation request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","doc":"OpenAPI schema for Custom Event Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","doc":"OpenAPI schema for bulk Goal deletion request","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","doc":"OpenAPI schema for Goals list response","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","doc":"OpenAPI schema for Pageview Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","doc":"OpenAPI schema for Revenue Goal object","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","doc":"OpenAPI schema for common Goal Type\n\nFuture-proof: funnels etc.","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Goal.Type.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Link","doc":"OpenAPI Link schema","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Link.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Link.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Link.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.NotFound","doc":"OpenAPI schema for a generic 404 response","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.NotFound.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.NotFound.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.NotFound.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","doc":"Pagination metadata OpenAPI schema","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","doc":"OpenAPI schema for a generic 402 response","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink","doc":"OpenAPI schema for SharedLink object","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","doc":"OpenAPI schema for SharedLink creation request","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","doc":"OpenAPI schema for SharedLink list response","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","doc":"OpenAPI schema for a generic 401 response","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.Unauthorized.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","doc":"OpenAPI schema for a generic 422 response","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.schema/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html#schema/0"},{"type":"type","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.t/0","doc":"","ref":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity.html#t:t/0"},{"type":"module","title":"PlausibleWeb.Plugins.API.Spec","doc":"OpenAPI specification for the Plugins API","ref":"PlausibleWeb.Plugins.API.Spec.html"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.CustomProp","doc":"View for rendering Custom Props in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.CustomProp.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.CustomProp.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Error","doc":"View for rendering Plugins REST API errors","ref":"PlausibleWeb.Plugins.API.Views.Error.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Error.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Error.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Error.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Error.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Goal","doc":"View for rendering Goals in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.Goal.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Goal.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Goal.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.Pagination","doc":"A view capable of rendering pagination metadata included\nin responses containing lists of objects.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.render_metadata_links/4","doc":"","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#render_metadata_links/4"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.Pagination.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.Pagination.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.Plugins.API.Views.SharedLink","doc":"View for rendering Shared Links in the Plugins API","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#render/2"},{"type":"function","title":"PlausibleWeb.Plugins.API.Views.SharedLink.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Plugins.API.Views.SharedLink.html#template_not_found/2"},{"type":"module","title":"PlausibleWeb.PluginsAPICase","doc":"This module defines the test case to be used by\ntests that require setting up a Plugins API connection.","ref":"PlausibleWeb.PluginsAPICase.html"},{"type":"module","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI","doc":"Plug for Basic HTTP Authentication using\nPlugins API Tokens lookup.","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html"},{"type":"function","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI.call/2","doc":"","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html#call/2"},{"type":"function","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI.init/1","doc":"","ref":"PlausibleWeb.Plugs.AuthorizePluginsAPI.html#init/1"},{"type":"module","title":"PlausibleWeb.Plugs.ErrorHandler","doc":"A thin macro wrapper around Plug.ErrorHandler that adds Sentry context\n containing a readable support hash presented to the users.\n To be used in the user-facing APIs, so that we don't leak internal\n server errors.\n\n Usage: `use PlausibleWeb.Plugs.ErrorHandler`","ref":"PlausibleWeb.Plugs.ErrorHandler.html"},{"type":"module","title":"PlausibleWeb.Plugs.MaybeDisableRegistration","doc":"Plug toggling registration according to selfhosted state.","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html"},{"type":"function","title":"PlausibleWeb.Plugs.MaybeDisableRegistration.call/2","doc":"","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html#call/2"},{"type":"function","title":"PlausibleWeb.Plugs.MaybeDisableRegistration.init/1","doc":"","ref":"PlausibleWeb.Plugs.MaybeDisableRegistration.html#init/1"},{"type":"module","title":"PlausibleWeb.Plugs.NoRobots","doc":"Rejects bot requests by any means available.\n\nWe're adding `x-robots-tag` to the response header and annotate the conn\nwith \"noindex, nofollow\" under `private.robots` key.\n\nThe only exception is, if the request is trying to access our live demo\nat plausible.io/plausible.io - in which case we'll allow indexing, but deny\nfollowing links and skip the bot detection, in kind robots we trust.","ref":"PlausibleWeb.Plugs.NoRobots.html"},{"type":"module","title":"PlausibleWeb.RefInspector","doc":"","ref":"PlausibleWeb.RefInspector.html"},{"type":"function","title":"PlausibleWeb.RefInspector.parse/1","doc":"","ref":"PlausibleWeb.RefInspector.html#parse/1"},{"type":"function","title":"PlausibleWeb.RefInspector.right_uri?/1","doc":"","ref":"PlausibleWeb.RefInspector.html#right_uri?/1"},{"type":"module","title":"PlausibleWeb.RemoteIp","doc":"","ref":"PlausibleWeb.RemoteIp.html"},{"type":"function","title":"PlausibleWeb.RemoteIp.get/1","doc":"","ref":"PlausibleWeb.RemoteIp.html#get/1"},{"type":"module","title":"PlausibleWeb.RequireAccountPlug","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html"},{"type":"function","title":"PlausibleWeb.RequireAccountPlug.call/2","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.RequireAccountPlug.init/1","doc":"","ref":"PlausibleWeb.RequireAccountPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.RequireLoggedOutPlug","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html"},{"type":"function","title":"PlausibleWeb.RequireLoggedOutPlug.call/2","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.RequireLoggedOutPlug.init/1","doc":"","ref":"PlausibleWeb.RequireLoggedOutPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Router","doc":"","ref":"PlausibleWeb.Router.html"},{"type":"function","title":"PlausibleWeb.Router.api/2","doc":"","ref":"PlausibleWeb.Router.html#api/2"},{"type":"function","title":"PlausibleWeb.Router.app_layout/2","doc":"","ref":"PlausibleWeb.Router.html#app_layout/2"},{"type":"function","title":"PlausibleWeb.Router.browser/2","doc":"","ref":"PlausibleWeb.Router.html#browser/2"},{"type":"function","title":"PlausibleWeb.Router.call/2","doc":"Callback invoked by Plug on every request.","ref":"PlausibleWeb.Router.html#call/2"},{"type":"function","title":"PlausibleWeb.Router.csrf/2","doc":"","ref":"PlausibleWeb.Router.html#csrf/2"},{"type":"function","title":"PlausibleWeb.Router.flags/2","doc":"","ref":"PlausibleWeb.Router.html#flags/2"},{"type":"function","title":"PlausibleWeb.Router.focus_layout/2","doc":"","ref":"PlausibleWeb.Router.html#focus_layout/2"},{"type":"function","title":"PlausibleWeb.Router.init/1","doc":"Callback required by Plug that initializes the router\nfor serving web requests.","ref":"PlausibleWeb.Router.html#init/1"},{"type":"function","title":"PlausibleWeb.Router.internal_stats_api/2","doc":"","ref":"PlausibleWeb.Router.html#internal_stats_api/2"},{"type":"function","title":"PlausibleWeb.Router.kaffy_browser/2","doc":"","ref":"PlausibleWeb.Router.html#kaffy_browser/2"},{"type":"function","title":"PlausibleWeb.Router.plugins_api/2","doc":"","ref":"PlausibleWeb.Router.html#plugins_api/2"},{"type":"function","title":"PlausibleWeb.Router.plugins_api_auth/2","doc":"","ref":"PlausibleWeb.Router.html#plugins_api_auth/2"},{"type":"function","title":"PlausibleWeb.Router.public_api/2","doc":"","ref":"PlausibleWeb.Router.html#public_api/2"},{"type":"function","title":"PlausibleWeb.Router.shared_link/2","doc":"","ref":"PlausibleWeb.Router.html#shared_link/2"},{"type":"module","title":"PlausibleWeb.SessionTimeoutPlug","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html"},{"type":"function","title":"PlausibleWeb.SessionTimeoutPlug.call/2","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html#call/2"},{"type":"function","title":"PlausibleWeb.SessionTimeoutPlug.init/1","doc":"","ref":"PlausibleWeb.SessionTimeoutPlug.html#init/1"},{"type":"module","title":"PlausibleWeb.Site.MembershipController","doc":"This controller deals with user management via the UI in Site Settings -> People. It's important to enforce permissions in this controller.\n\n Owner - Can manage users, can trigger a 'transfer ownership' request\n Admin - Can manage users\n Viewer - Can not access user management settings\n Anyone - Can accept invitations\n\n Everything else should be explicitly disallowed.","ref":"PlausibleWeb.Site.MembershipController.html"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.invite_member/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#invite_member/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.invite_member_form/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#invite_member_form/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.remove_member/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#remove_member/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.transfer_ownership/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#transfer_ownership/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.transfer_ownership_form/2","doc":"","ref":"PlausibleWeb.Site.MembershipController.html#transfer_ownership_form/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipController.update_role/2","doc":"Updates the role of a user. The user being updated could be the same or different from the user taking\n the action. When updating the role, it's important to enforce permissions:\n\n Owner - Can update anyone's role except for themselves. If they want to change their own role, they have to use the 'transfer ownership' feature.\n Admin - Can update anyone's role except for owners. Can downgrade their own access to 'viewer'. Can promote a viewer to admin.","ref":"PlausibleWeb.Site.MembershipController.html#update_role/2"},{"type":"module","title":"PlausibleWeb.Site.MembershipView","doc":"","ref":"PlausibleWeb.Site.MembershipView.html"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.Site.MembershipView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.invite_member_form.html/1","doc":"","ref":"PlausibleWeb.Site.MembershipView.html#invite_member_form.html/1"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.Site.MembershipView.html#render/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.Site.MembershipView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.Site.MembershipView.transfer_ownership_form.html/1","doc":"","ref":"PlausibleWeb.Site.MembershipView.html#transfer_ownership_form.html/1"},{"type":"module","title":"PlausibleWeb.SiteController","doc":"","ref":"PlausibleWeb.SiteController.html"},{"type":"function","title":"PlausibleWeb.SiteController.add_monthly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_monthly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_snippet/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_snippet/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_snippet_after_domain_change/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_snippet_after_domain_change/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_spike_notification_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_spike_notification_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.add_weekly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#add_weekly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.change_domain/2","doc":"","ref":"PlausibleWeb.SiteController.html#change_domain/2"},{"type":"function","title":"PlausibleWeb.SiteController.change_domain_submit/2","doc":"","ref":"PlausibleWeb.SiteController.html#change_domain_submit/2"},{"type":"function","title":"PlausibleWeb.SiteController.create_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#create_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.create_site/2","doc":"","ref":"PlausibleWeb.SiteController.html#create_site/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_google_auth/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_google_auth/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.delete_site/2","doc":"","ref":"PlausibleWeb.SiteController.html#delete_site/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_monthly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_monthly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_spike_notification/2"},{"type":"function","title":"PlausibleWeb.SiteController.disable_weekly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#disable_weekly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.edit_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#edit_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_monthly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_monthly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_spike_notification/2"},{"type":"function","title":"PlausibleWeb.SiteController.enable_weekly_report/2","doc":"","ref":"PlausibleWeb.SiteController.html#enable_weekly_report/2"},{"type":"function","title":"PlausibleWeb.SiteController.forget_imported/2","doc":"","ref":"PlausibleWeb.SiteController.html#forget_imported/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_confirm/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_confirm/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_user_metric_notice/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_user_metric_notice/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_view_id/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_view_id/2"},{"type":"function","title":"PlausibleWeb.SiteController.import_from_google_view_id_form/2","doc":"","ref":"PlausibleWeb.SiteController.html#import_from_google_view_id_form/2"},{"type":"function","title":"PlausibleWeb.SiteController.make_private/2","doc":"","ref":"PlausibleWeb.SiteController.html#make_private/2"},{"type":"function","title":"PlausibleWeb.SiteController.make_public/2","doc":"","ref":"PlausibleWeb.SiteController.html#make_public/2"},{"type":"function","title":"PlausibleWeb.SiteController.new/2","doc":"","ref":"PlausibleWeb.SiteController.html#new/2"},{"type":"function","title":"PlausibleWeb.SiteController.new_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#new_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_monthly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_monthly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_spike_notification_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_spike_notification_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.remove_weekly_report_recipient/2","doc":"","ref":"PlausibleWeb.SiteController.html#remove_weekly_report_recipient/2"},{"type":"function","title":"PlausibleWeb.SiteController.reset_stats/2","doc":"","ref":"PlausibleWeb.SiteController.html#reset_stats/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_danger_zone/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_danger_zone/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_email_reports/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_email_reports/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_funnels/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_funnels/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_general/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_general/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_goals/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_goals/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_integrations/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_integrations/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_people/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_people/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_props/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_props/2"},{"type":"function","title":"PlausibleWeb.SiteController.settings_visibility/2","doc":"","ref":"PlausibleWeb.SiteController.html#settings_visibility/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_feature_visibility/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_feature_visibility/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_google_auth/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_google_auth/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_settings/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_settings/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_shared_link/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_shared_link/2"},{"type":"function","title":"PlausibleWeb.SiteController.update_spike_notification/2","doc":"","ref":"PlausibleWeb.SiteController.html#update_spike_notification/2"},{"type":"module","title":"PlausibleWeb.SiteView","doc":"","ref":"PlausibleWeb.SiteView.html"},{"type":"function","title":"PlausibleWeb.SiteView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.SiteView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.SiteView.change_domain.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#change_domain.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.edit_shared_link.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#edit_shared_link.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_confirm.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_confirm.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_user_metric_form.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_user_metric_form.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.import_from_google_view_id_form.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#import_from_google_view_id_form.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.new.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#new.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.new_shared_link.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#new_shared_link.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.plausible_url/0","doc":"","ref":"PlausibleWeb.SiteView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.SiteView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.SiteView.html#render/2"},{"type":"function","title":"PlausibleWeb.SiteView.render_snippet/1","doc":"","ref":"PlausibleWeb.SiteView.html#render_snippet/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_danger_zone.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_danger_zone.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_email_reports.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_email_reports.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_funnels.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_funnels.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_general.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_general.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_goals.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_goals.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_google_import.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_google_import.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_integrations.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_integrations.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_people.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_people.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_props.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_props.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_search_console.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_search_console.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.settings_visibility.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#settings_visibility.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.shared_link_dest/2","doc":"","ref":"PlausibleWeb.SiteView.html#shared_link_dest/2"},{"type":"function","title":"PlausibleWeb.SiteView.snippet.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#snippet.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.snippet_after_domain_change.html/1","doc":"","ref":"PlausibleWeb.SiteView.html#snippet_after_domain_change.html/1"},{"type":"function","title":"PlausibleWeb.SiteView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.SiteView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.SiteView.with_indefinite_article/1","doc":"","ref":"PlausibleWeb.SiteView.html#with_indefinite_article/1"},{"type":"module","title":"PlausibleWeb.StatsController","doc":"This controller is responsible for rendering stats dashboards.\n\nThe stats dashboards are currently the only part of the app that uses client-side\nrendering. Since the dashboards are heavily interactive, they are built with React\nwhich is an appropriate choice for highly interactive browser UIs.\n\n \nsequenceDiagram\n Browser->>StatsController: GET /mydomain.com\n StatsController-->>Browser: StatsView.render(\"stats.html\")\n Note left of Browser: ReactDom.render(Dashboard)\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/top-stats\n Api.StatsController --) Browser: {\"top_stats\": [...]}\n Note left of Browser: TopStats.render()\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/main-graph\n Api.StatsController --) Browser: [{\"plot\": [...], \"labels\": [...]}, ...]\n Note left of Browser: VisitorGraph.render()\n\n Browser -) Api.StatsController: GET /api/stats/mydomain.com/sources\n Api.StatsController --) Browser: [{\"name\": \"Google\", \"visitors\": 292150}, ...]\n Note left of Browser: Sources.render()\n\n Note over Browser,StatsController: And so on, for all reports in the viewport\n \n\nThis reasoning for this sequence is as follows:\n 1. First paint is fast because it doesn't do any data aggregation yet - good UX\n 2. The basic structure of the dashboard is rendered with spinners before reports are ready - good UX\n 2. Rendering on the frontend allows for maximum interactivity. Re-rendering and re-fetching can be as granular as needed.\n 3. Routing on the frontend allows the user to navigate the dashboard without reloading the page and losing context\n 4. Rendering on the frontend allows caching results in the browser to reduce pressure on backends and storage\n 3.1 No client-side caching has been implemented yet. This is still theoretical. See https://github.com/plausible/analytics/discussions/1278\n 3.2 This is a big potential opportunity, because analytics data is mostly immutable. Clients can cache all historical data.\n 5. Since frontend rendering & navigation is harder to build and maintain than regular server-rendered HTML, we don't use SPA-style rendering anywhere else\n .The only place currently where the benefits outweigh the costs is the dashboard.","ref":"PlausibleWeb.StatsController.html"},{"type":"function","title":"PlausibleWeb.StatsController.authenticate_shared_link/2","doc":"","ref":"PlausibleWeb.StatsController.html#authenticate_shared_link/2"},{"type":"function","title":"PlausibleWeb.StatsController.csv_export/2","doc":"The export is limited to 300 entries for other reports and 100 entries for pages because bigger result sets\nstart causing failures. Since we request data like time on page or bounce_rate for pages in a separate query\nusing the IN filter, it causes the requests to balloon in payload size.","ref":"PlausibleWeb.StatsController.html#csv_export/2"},{"type":"function","title":"PlausibleWeb.StatsController.shared_link/2","doc":"Authorizes and renders a shared link:\n 1. Shared link with no password protection: needs to just make sure the shared link entry is still\n in our database. This check makes sure shared link access can be revoked by the site admins. If the\n shared link exists, render it directly.\n\n 2. Shared link with password protection: Same checks as without the password, but an extra step is taken to\n protect the page with a password. When the user passes the password challenge, a cookie is set with Plausible.Auth.Token.sign_shared_link().\n The cookie allows the user to access the dashboard for 24 hours without entering the password again.\n\n #","ref":"PlausibleWeb.StatsController.html#shared_link/2"},{"type":"function","title":"Backwards compatibility - PlausibleWeb.StatsController.shared_link/2","doc":"The URL format for shared links was changed in [this pull request](https://github.com/plausible/analytics/pull/752) in order\n to make the URLs easier to bookmark. The old format is supported along with the new in order to not break old links.\n\n See: https://plausible.io/docs/shared-links","ref":"PlausibleWeb.StatsController.html#shared_link/2-backwards-compatibility"},{"type":"function","title":"PlausibleWeb.StatsController.stats/2","doc":"","ref":"PlausibleWeb.StatsController.html#stats/2"},{"type":"module","title":"PlausibleWeb.StatsView","doc":"","ref":"PlausibleWeb.StatsView.html"},{"type":"function","title":"PlausibleWeb.StatsView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.StatsView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.StatsView.large_number_format/1","doc":"","ref":"PlausibleWeb.StatsView.html#large_number_format/1"},{"type":"function","title":"PlausibleWeb.StatsView.plausible_url/0","doc":"","ref":"PlausibleWeb.StatsView.html#plausible_url/0"},{"type":"function","title":"PlausibleWeb.StatsView.pretty_stats_url/1","doc":"Returns a readable stats URL.\n\nNative Phoenix router functions percent-encode all diacritics, resulting in\nugly URLs, e.g. `https://plausible.io/café.com` transforms into\n`https://plausible.io/caf%C3%A9.com`.\n\nThis function encodes only the slash (`/`) character from the site's domain.","ref":"PlausibleWeb.StatsView.html#pretty_stats_url/1"},{"type":"function","title":"Examples - PlausibleWeb.StatsView.pretty_stats_url/1","doc":"iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"user.gittea.io/repo\"})\n \"http://localhost:8000/user.gittea.io%2Frepo\"\n\n iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"anakin.test\"})\n \"http://localhost:8000/anakin.test\"\n\n iex> PlausibleWeb.StatsView.pretty_stats_url(%Plausible.Site{domain: \"café.test\"})\n \"http://localhost:8000/café.test\"","ref":"PlausibleWeb.StatsView.html#pretty_stats_url/1-examples"},{"type":"function","title":"PlausibleWeb.StatsView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.StatsView.html#render/2"},{"type":"function","title":"PlausibleWeb.StatsView.shared_link_password.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#shared_link_password.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.site_locked.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#site_locked.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.stats.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#stats.html/1"},{"type":"function","title":"PlausibleWeb.StatsView.stats_container_class/1","doc":"","ref":"PlausibleWeb.StatsView.html#stats_container_class/1"},{"type":"function","title":"PlausibleWeb.StatsView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.StatsView.html#template_not_found/2"},{"type":"function","title":"PlausibleWeb.StatsView.waiting_first_pageview.html/1","doc":"","ref":"PlausibleWeb.StatsView.html#waiting_first_pageview.html/1"},{"type":"module","title":"PlausibleWeb.Tracker","doc":"","ref":"PlausibleWeb.Tracker.html"},{"type":"function","title":"PlausibleWeb.Tracker.call/2","doc":"","ref":"PlausibleWeb.Tracker.html#call/2"},{"type":"function","title":"PlausibleWeb.Tracker.child_spec/1","doc":"Returns a specification to start this module under a supervisor.\n\nSee `Supervisor`.","ref":"PlausibleWeb.Tracker.html#child_spec/1"},{"type":"function","title":"PlausibleWeb.Tracker.init/1","doc":"","ref":"PlausibleWeb.Tracker.html#init/1"},{"type":"module","title":"PlausibleWeb.TwoFactor.Session","doc":"Functions for managing session data related to Two-Factor\nAuthentication.","ref":"PlausibleWeb.TwoFactor.Session.html"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.clear_2fa_user/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#clear_2fa_user/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.clear_remember_2fa/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#clear_remember_2fa/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.get_2fa_user/1","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#get_2fa_user/1"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.maybe_set_remember_2fa/3","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#maybe_set_remember_2fa/3"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.remember_2fa?/2","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#remember_2fa?/2"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.remember_2fa_days/0","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#remember_2fa_days/0"},{"type":"function","title":"PlausibleWeb.TwoFactor.Session.set_2fa_user/2","doc":"","ref":"PlausibleWeb.TwoFactor.Session.html#set_2fa_user/2"},{"type":"module","title":"PlausibleWeb.UnsubscribeController","doc":"","ref":"PlausibleWeb.UnsubscribeController.html"},{"type":"function","title":"PlausibleWeb.UnsubscribeController.monthly_report/2","doc":"","ref":"PlausibleWeb.UnsubscribeController.html#monthly_report/2"},{"type":"function","title":"PlausibleWeb.UnsubscribeController.weekly_report/2","doc":"","ref":"PlausibleWeb.UnsubscribeController.html#weekly_report/2"},{"type":"module","title":"PlausibleWeb.UnsubscribeView","doc":"","ref":"PlausibleWeb.UnsubscribeView.html"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.__resource__/0","doc":"The resource name, as an atom, for this view","ref":"PlausibleWeb.UnsubscribeView.html#__resource__/0"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.render/2","doc":"Renders the given template locally.","ref":"PlausibleWeb.UnsubscribeView.html#render/2"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.success.html/1","doc":"","ref":"PlausibleWeb.UnsubscribeView.html#success.html/1"},{"type":"function","title":"PlausibleWeb.UnsubscribeView.template_not_found/2","doc":"Callback invoked when no template is found.\nBy default it raises but can be customized\nto render a particular template.","ref":"PlausibleWeb.UnsubscribeView.html#template_not_found/2"},{"type":"extras","title":"Introduction","doc":"# Plausible Analytics\n\n \n \n \n \n \n \n Simple Metrics |\n Lightweight Script |\n Privacy Focused |\n Open Source |\n Docs |\n Contributing \n \n \n\n[Plausible Analytics](https://plausible.io/) is an easy to use, lightweight (< 1 KB), open source and privacy-friendly alternative to Google Analytics. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR. You can self-host or have us run Plausible for you in the cloud. Here's [the live demo of our own website stats](https://plausible.io/plausible.io). Made and hosted in the EU 🇪🇺\n\nWe are dedicated to making web analytics more privacy-friendly. Our mission is to reduce corporate surveillance by providing an alternative web analytics tool which doesn’t come from the AdTech world. We are completely independent and solely funded by our subscribers.\n\n![Plausible Analytics](https://plausible.io/docs/img/plausible-analytics.png)","ref":"readme.html"},{"type":"extras","title":"Why Plausible? - Introduction","doc":"Here's what makes Plausible a great Google Analytics alternative and why we're trusted by 11,000+ paying subscribers to deliver their website and business insights:\n\n- **Clutter Free**: Plausible Analytics provides [simple web analytics](https://plausible.io/simple-web-analytics) and it cuts through the noise. No layers of menus, no need for custom reports. Get all the important insights on one single page. No training necessary.\n- **GDPR/CCPA/PECR compliant**: Measure traffic, not individuals. No personal data or IP addresses are ever stored in our database. We don't use cookies or any other persistent identifiers. [Read more about our data policy](https://plausible.io/data-policy)\n- **Lightweight**: Plausible Analytics works by loading a script on your website, like Google Analytics. Our script is [45x smaller](https://plausible.io/lightweight-web-analytics), making your website quicker to load. You can also send events directly to our [events API](https://plausible.io/docs/events-api).\n- **Email or Slack reports**: Keep an eye on your traffic with weekly and/or monthly email or Slack reports. You can also get traffic spike notifications.\n- **Invite team members and share stats**: You have the option to be transparent and open your web analytics to everyone. Your website stats are private by default but you can choose to make them public so anyone with your custom link can view them. You can [invite team members](https://plausible.io/docs/users-roles) and assign user roles too.\n- **Define key goals and track conversions**: Create custom events with custom dimensions to track conversions and attribution to understand and identify the trends that matter. Includes easy ways to track outbound link clicks, file downloads and 404 error pages.\n- **Search keywords**: Integrate your dashboard with Google Search Console to get the most accurate reporting on your search keywords.\n- **SPA support**: Plausible is built with modern web frameworks in mind and it works automatically with any pushState based router on the frontend. We also support frameworks that use the URL hash for routing. See [our documentation](https://plausible.io/docs/hash-based-routing).\n- **Smooth transition from Google Analytics**: There's a realtime dashboard, entry pages report and integration with Search Console. You can track your paid campaigns and conversions. You can invite team members. You can even [import your historical Google Analytics stats](https://plausible.io/docs/google-analytics-import). Learn how to [get the most out of your Plausible experience](https://plausible.io/docs/your-plausible-experience) and join thousands who have already migrated from Google Analytics.\n\nInterested to learn more? [Read more on our website](https://plausible.io), learn more about the team and the goals of the project on [our about page](https://plausible.io/about) or explore [the documentation](https://plausible.io/docs).","ref":"readme.html#why-plausible"},{"type":"extras","title":"Why is Plausible Analytics Cloud not free like Google Analytics? - Introduction","doc":"Plausible Analytics is an independently owned and actively developed project. To keep the project development going, to stay in business, to continue putting effort into building a better product and to cover our costs, we need to charge a fee.\n\nGoogle Analytics is free because Google has built their company and their wealth by collecting and analyzing huge amounts of personal information from web users and using these personal and behavioral insights to sell advertisements.\n\nPlausible has no part in that business model. No personal data is being collected and analyzed either. With Plausible, you 100% own and control all of your website data. This data is not being shared with or sold to any third-parties.\n\nWe choose the subscription business model rather than the business model of surveillance capitalism. See reasons why we believe you should [stop using Google Analytics on your website](https://plausible.io/blog/remove-google-analytics).","ref":"readme.html#why-is-plausible-analytics-cloud-not-free-like-google-analytics"},{"type":"extras","title":"Getting started with Plausible - Introduction","doc":"The easiest way to get started with Plausible is with [our official managed service in the cloud](https://plausible.io/#pricing). It takes 2 minutes to start counting your stats with a worldwide CDN, high availability, backups, security and maintenance all done for you by us.\n\nIn order to be compliant with the GDPR and the Schrems II ruling, all visitor data for our managed service in the cloud is exclusively processed on servers and cloud infrastructure owned and operated by European providers. Your website data never leaves the EU.\n\nOur managed hosting can save a substantial amount of developer time and resources. For most sites this ends up being the best value option and the revenue goes to funding the maintenance and further development of Plausible. So you’ll be supporting open source software and getting a great service!\n\n#","ref":"readme.html#getting-started-with-plausible"},{"type":"extras","title":"Can Plausible Analytics be self-hosted? - Introduction","doc":"Plausible is [open source web analytics](https://plausible.io/open-source-website-analytics) and we have a free as in beer [self-hosted solution](https://plausible.io/self-hosted-web-analytics). Here are the differences between Plausible Analytics managed hosting in the cloud and the self-hosting:\n\n| | Plausible Cloud | Self-Hosting |\n| ------------- | ------------- | ------------- |\n| **Infrastructure management** | Easy and convenient. It takes 2 minutes to start counting your stats with a worldwide CDN, high availability, backups, security and maintenance all done for you by us. We manage everything so you don’t have to worry about anything and can focus on your stats. | You do it all yourself. You need to get a server and you need to manage your infrastructure. You are responsible for installation, maintenance, upgrades, server capacity, uptime, backup, security, stability, consistency, loading time and so on.|\n| **Release schedule** | Continuously developed and improved with new features and updates multiple times per week. | [It's a long term release](https://plausible.io/blog/building-open-source) published twice per year so latest features and improvements won't be immediately available.|\n| **Premium features** | All features available as listed in [our pricing plans](https://plausible.io/#pricing). | Selected premium features such as funnels and ecommerce revenue goals are not available as we aim to ensure a protective barrier around our cloud offering.|\n| **Bot filtering** | Advanced bot filtering for more accurate stats. Our algorithm detects and excludes non-human traffic patterns. We also exclude known bots by the User-Agent header and filter out traffic from data centers and referrer spam domains. | Basic bot filtering that targets the most common non-human traffic based on the User-Agent header and referrer spam domains.|\n| **Server location** | All visitor data is exclusively processed on EU-owned cloud infrastructure. We keep your site data on a secure, encrypted and green energy powered server in Germany. This ensures that your site data is protected by the strict European Union data privacy laws and ensures compliance with GDPR. Your website data never leaves the EU. | You have full control and can host your instance on any server in any country that you wish. Host it on a server in your basement or host it with any cloud provider wherever you want, even those that are not GDPR compliant.|\n| **Data portability** | You see all your site stats and metrics on our modern-looking, simple to use and fast loading dashboard. You can only see the stats aggregated in the dashboard. You can download the stats using the [CSV export](https://plausible.io/docs/export-stats), [stats API](https://plausible.io/docs/stats-api) or tools such as the [Data Studio Connector](https://plausible.io/docs/integration-guides#google-data-studio). | Do you want access to the raw data? Self-hosting gives you that option. You can take the data directly from the ClickHouse database. |\n| **Premium support** | Real support delivered by real human beings who build and maintain Plausible. | Premium support is not included. Self-hosting is community supported only.|\n| **Costs** | There's a cost associated with providing an analytics service so we charge a subscription fee. We choose the subscription business model rather than the business model of surveillance capitalism. Your money funds further development of Plausible. | You need to pay for your server, CDN, backups and whatever other cost there is associated with running the infrastructure. You never have to pay any fees to us. Your money goes to 3rd party companies with no connection to us.|\n\nInterested in self-hosting Plausible on your server? Take a look at our [self-hosting installation instructions](https://plausible.io/docs/self-hosting).\n\nPlausible Self-Hosted is a community supported project and there are no guarantees that you will get support from the creators of Plausible to troubleshoot your self-hosting issues. There is a [community supported forum](https://github.com/plausible/analytics/discussions/categories/self-hosted-support) where you can ask for help.\n\nOur only source of funding is our premium, managed service for running Plausible in the cloud. If you're looking for an alternative way to support the project, we've put together some sponsorship packages. If you choose to self-host Plausible you can [become a sponsor](https://github.com/sponsors/plausible) which is a great way to give back to the community and to contribute to the long-term sustainability of the project.","ref":"readme.html#can-plausible-analytics-be-self-hosted"},{"type":"extras","title":"Technology - Introduction","doc":"Plausible Analytics is a standard Elixir/Phoenix application backed by a PostgreSQL database for general data and a Clickhouse\ndatabase for stats. On the frontend we use [TailwindCSS](https://tailwindcss.com/) for styling and React to make the dashboard interactive.","ref":"readme.html#technology"},{"type":"extras","title":"Contributors - Introduction","doc":"For anyone wishing to contribute to Plausible, we recommend taking a look at [our contributor guide](https://github.com/plausible/analytics/blob/master/CONTRIBUTING.md).","ref":"readme.html#contributors"},{"type":"extras","title":"Feedback & Roadmap - Introduction","doc":"We welcome feedback from our community. We have a public roadmap driven by the features suggested by the community members. Take a look at our [feedback board](https://plausible.io/feedback). Please let us know if you have any requests and vote on open issues so we can better prioritize.\n\nTo stay up to date with all the latest news and product updates, make sure to follow us on [X (formerly Twitter)](https://twitter.com/plausiblehq), [LinkedIn](https://www.linkedin.com/company/plausible-analytics/) or [Mastodon](https://fosstodon.org/@plausible).","ref":"readme.html#feedback-roadmap"},{"type":"extras","title":"License & Trademarks - Introduction","doc":"Plausible is open source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can [find it here](https://github.com/plausible/analytics/blob/master/LICENSE.md).\n\nTo avoid issues with AGPL virality, we've released the JavaScript tracker which gets included on your website under the MIT license. You can [find it here](https://github.com/plausible/analytics/blob/master/tracker/LICENSE.md).\n\nCopyright (c) 2018-present Plausible Insights OÜ. Plausible Analytics name and logo are trademarks of Plausible Insights OÜ. Please see our [trademark guidelines](https://plausible.io/trademark) for info on acceptable usage.","ref":"readme.html#license-trademarks"},{"type":"extras","title":"Contributing","doc":"# Contributing\n\nWe welcome everyone to contribute to Plausible. This document is to help you on setting up your environment, finding a task, and opening pull requests.","ref":"contributing.html"},{"type":"extras","title":"Development setup - Contributing","doc":"The easiest way to get up and running is to [install](https://docs.docker.com/get-docker/) and use Docker for running both Postgres and Clickhouse.\n\nMake sure Docker, Elixir, Erlang and Node.js are all installed on your development machine. The [`.tool-versions`](https://github.com/plausible/analytics/blob/master/.tool-versions) file is available to use with [asdf](https://github.com/asdf-vm/asdf) or similar tools.\n\n#","ref":"contributing.html#development-setup"},{"type":"extras","title":"Start the environment - Contributing","doc":"1. Run both `make postgres` and `make clickhouse`.\n2. You can set up everything with `make install`, alternatively run each command separately:\n 1. Run `mix deps.get`. This will download the required Elixir dependencies.\n 2. Run `mix ecto.create`. This will create the required databases in both Postgres and Clickhouse.\n 3. Run `mix ecto.migrate` to build the database schema.\n 4. Run `mix run priv/repo/seeds.exs` to seed the database. Check the [Seeds](#Seeds) section for more.\n 5. Run `npm ci --prefix assets` to install the required client-side dependencies.\n 6. Run `npm ci --prefix tracker` to install the required tracker dependencies.\n 7. Run `mix assets.setup` to install Tailwind and Esbuild\n 8. Run `npm run deploy --prefix tracker` to generate tracker files in `priv/tracker/js`\n 9. Run `mix download_country_database` to fetch geolocation database\n3. Run `make server` or `mix phx.server` to start the Phoenix server.\n4. The system is now available on `localhost:8000`.\n\n#","ref":"contributing.html#start-the-environment"},{"type":"extras","title":"Seeds - Contributing","doc":"You can optionally seed your database to automatically create an account and a site with stats:\n\n1. Run `mix run priv/repo/seeds.exs` to seed the database.\n2. Start the server with `make server` and navigate to `http://localhost:8000/login`.\n3. Log in with the following e-mail and password combination: `user@plausible.test` and `plausible`.\n4. You should now have a `dummy.site` site with generated stats.\n\nAlternatively, you can manually create a new account:\n\n1. Navigate to `http://localhost:8000/register` and fill in the form.\n2. Fill in the rest of the forms and for the domain use `dummy.site`\n3. Skip the JS snippet and click start collecting data.\n4. Run `mix send_pageview` from the terminal to generate a fake pageview event for the dummy site.\n5. You should now be all set!\n\n#","ref":"contributing.html#seeds"},{"type":"extras","title":"Stopping Docker containers - Contributing","doc":"1. Stop and remove the Postgres container with `make postgres-stop`.\n2. Stop and remove the Clickhouse container with `make clickhouse-stop`.\n\nVolumes are preserved. You'll find that the Postgres and Clickhouse state are retained when you bring them up again the next time: no need to re-register and so on.\n\nNote: Since we are deleting the containers, be careful when deleting volumes with `docker volume prune`. You might accidentally delete the database and would have to go through re-registration process.\n\n#","ref":"contributing.html#stopping-docker-containers"},{"type":"extras","title":"Pre-commit hooks - Contributing","doc":"`pre-commit` requires Python to be available locally and covers Elixir, JavaScript, and CSS. Set up with `pip install --user pre-commit` followed by `pre-commit install`. Conversely, if the prompts are far too bothersome, remove with `pre-commit uninstall`.","ref":"contributing.html#pre-commit-hooks"},{"type":"extras","title":"Finding a task - Contributing","doc":"Bugs can be found in our [issue tracker](https://github.com/plausible/analytics/issues). Issues are usually up for grabs.\n\nNew features need to be discussed with the core team and the community first. If you're tackling a feature, please make sure it has been already discussed in the [Discussions tab](https://github.com/plausible/analytics/discussions). We kindly ask contributors to use the discussion comment section to propose a solution before opening a pull request.\n\nPull requests without an associated issue or discussion may still be merged, but we will focus on changes that have already been talked through.","ref":"contributing.html#finding-a-task"}],"content_type":"text/markdown"} \ No newline at end of file diff --git a/dist/sidebar_items-D48A0781.js b/dist/sidebar_items-C805698E.js similarity index 85% rename from dist/sidebar_items-D48A0781.js rename to dist/sidebar_items-C805698E.js index fc68e954b..ad2d11421 100644 --- a/dist/sidebar_items-D48A0781.js +++ b/dist/sidebar_items-C805698E.js @@ -1 +1 @@ -sidebarNodes={"modules":[{"id":"ObanErrorReporter","deprecated":false,"group":"","title":"ObanErrorReporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/4","deprecated":false,"title":"handle_event(list, measure, meta, _)","anchor":"handle_event/4"}],"key":"functions"}]},{"id":"Plausible","deprecated":false,"group":"","title":"Plausible","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"do_on_full_build/1","deprecated":false,"title":"do_on_full_build(list)","anchor":"do_on_full_build/1"},{"id":"full_build?/0","deprecated":false,"title":"full_build?()","anchor":"full_build?/0"},{"id":"on_full_build/1","deprecated":false,"title":"on_full_build(clauses)","anchor":"on_full_build/1"},{"id":"small_build?/0","deprecated":false,"title":"small_build?()","anchor":"small_build?/0"}],"key":"functions"}]},{"id":"Plausible.AsyncInsertRepo","deprecated":false,"group":"","title":"Plausible.AsyncInsertRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Auth","deprecated":false,"group":"","title":"Plausible.Auth","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_api_key/3","deprecated":false,"title":"create_api_key(user, name, key)","anchor":"create_api_key/3"},{"id":"create_user/3","deprecated":false,"title":"create_user(name, email, pwd)","anchor":"create_user/3"},{"id":"delete_api_key/2","deprecated":false,"title":"delete_api_key(user, id)","anchor":"delete_api_key/2"},{"id":"delete_user/1","deprecated":false,"title":"delete_user(user)","anchor":"delete_user/1"},{"id":"enterprise_configured?/1","deprecated":false,"title":"enterprise_configured?(user)","anchor":"enterprise_configured?/1"},{"id":"find_api_key/1","deprecated":false,"title":"find_api_key(raw_key)","anchor":"find_api_key/1"},{"id":"find_user_by/1","deprecated":false,"title":"find_user_by(opts)","anchor":"find_user_by/1"},{"id":"has_active_sites?/2","deprecated":false,"title":"has_active_sites?(user, roles \\\\ [:owner, :admin, :viewer])","anchor":"has_active_sites?/2"},{"id":"is_super_admin?/1","deprecated":false,"title":"is_super_admin?(user_id)","anchor":"is_super_admin?/1"},{"id":"user_owns_sites?/1","deprecated":false,"title":"user_owns_sites?(user)","anchor":"user_owns_sites?/1"}],"key":"functions"}]},{"id":"Plausible.Auth.ApiKey","deprecated":false,"group":"","title":"Plausible.Auth.ApiKey","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(schema, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"do_hash/1","deprecated":false,"title":"do_hash(key)","anchor":"do_hash/1"},{"id":"process_key/1","deprecated":false,"title":"process_key(changeset)","anchor":"process_key/1"},{"id":"update/2","deprecated":false,"title":"update(schema, attrs \\\\ %{})","anchor":"update/2"}],"key":"functions"}]},{"id":"Plausible.Auth.ApiKeyAdmin","deprecated":false,"group":"","title":"Plausible.Auth.ApiKeyAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_changeset/2","deprecated":false,"title":"create_changeset(schema, attrs)","anchor":"create_changeset/2"},{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(schema, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Auth.EmailActivationCode","deprecated":false,"group":"","title":"Plausible.Auth.EmailActivationCode","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"generate_code/0","deprecated":false,"title":"generate_code()","anchor":"generate_code/0"},{"id":"new/2","deprecated":false,"title":"new(user, now)","anchor":"new/2"}],"key":"functions"}]},{"id":"Plausible.Auth.EmailVerification","deprecated":false,"group":"","title":"Plausible.Auth.EmailVerification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"any?/1","deprecated":false,"title":"any?(user)","anchor":"any?/1"},{"id":"expired?/1","deprecated":false,"title":"expired?(verification)","anchor":"expired?/1"},{"id":"issue_code/2","deprecated":false,"title":"issue_code(user, now \\\\ NaiveDateTime.utc_now())","anchor":"issue_code/2"},{"id":"verify_code/2","deprecated":false,"title":"verify_code(user, code)","anchor":"verify_code/2"}],"key":"functions"}]},{"id":"Plausible.Auth.GracePeriod","deprecated":false,"group":"","title":"Plausible.Auth.GracePeriod","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"active?/1","deprecated":false,"title":"active?(user)","anchor":"active?/1"},{"id":"end_changeset/1","deprecated":false,"title":"end_changeset(user)","anchor":"end_changeset/1"},{"id":"expired?/1","deprecated":false,"title":"expired?(user)","anchor":"expired?/1"},{"id":"remove_changeset/1","deprecated":false,"title":"remove_changeset(user)","anchor":"remove_changeset/1"},{"id":"start_changeset/1","deprecated":false,"title":"start_changeset(user)","anchor":"start_changeset/1"},{"id":"start_manual_lock_changeset/1","deprecated":false,"title":"start_manual_lock_changeset(user)","anchor":"start_manual_lock_changeset/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Invitation","deprecated":false,"group":"","title":"Plausible.Auth.Invitation","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(attrs \\\\ %{})","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Password","deprecated":false,"group":"","title":"Plausible.Auth.Password","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dummy_calculation/0","deprecated":false,"title":"dummy_calculation()","anchor":"dummy_calculation/0"},{"id":"hash/1","deprecated":false,"title":"hash(password)","anchor":"hash/1"},{"id":"match?/2","deprecated":false,"title":"match?(password, hash)","anchor":"match?/2"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP","deprecated":false,"group":"","title":"Plausible.Auth.TOTP","sections":[{"id":"Setup","anchor":"module-setup"},{"id":"Management","anchor":"module-management"},{"id":"Validation","anchor":"module-validation"},{"id":"Code validity","anchor":"module-code-validity"},{"id":"TOTP Token","anchor":"module-totp-token"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(user, password)","anchor":"disable/2"},{"id":"enable/3","deprecated":false,"title":"enable(user, code, opts \\\\ [])","anchor":"enable/3"},{"id":"enabled?/1","deprecated":false,"title":"enabled?(user)","anchor":"enabled?/1"},{"id":"generate_recovery_codes/1","deprecated":false,"title":"generate_recovery_codes(map)","anchor":"generate_recovery_codes/1"},{"id":"generate_recovery_codes/2","deprecated":false,"title":"generate_recovery_codes(user, password)","anchor":"generate_recovery_codes/2"},{"id":"initiate/1","deprecated":false,"title":"initiate(user)","anchor":"initiate/1"},{"id":"initiated?/1","deprecated":false,"title":"initiated?(user)","anchor":"initiated?/1"},{"id":"reset_token/1","deprecated":false,"title":"reset_token(user)","anchor":"reset_token/1"},{"id":"use_recovery_code/2","deprecated":false,"title":"use_recovery_code(user, code)","anchor":"use_recovery_code/2"},{"id":"validate_code/3","deprecated":false,"title":"validate_code(user, code, opts \\\\ [])","anchor":"validate_code/3"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP.EncryptedBinary","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.EncryptedBinary","sections":[]},{"id":"Plausible.Auth.TOTP.RecoveryCode","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.RecoveryCode","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(user, code)","anchor":"changeset/2"},{"id":"changeset_to_map/2","deprecated":false,"title":"changeset_to_map(changeset, now)","anchor":"changeset_to_map/2"},{"id":"generate_codes/1","deprecated":false,"title":"generate_codes(count)","anchor":"generate_codes/1"},{"id":"match?/2","deprecated":false,"title":"match?(recovery_code, input_code)","anchor":"match?/2"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP.Vault","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.Vault","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(config \\\\ [])","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Token","deprecated":false,"group":"","title":"Plausible.Auth.Token","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"sign_password_reset/1","deprecated":false,"title":"sign_password_reset(email)","anchor":"sign_password_reset/1"},{"id":"sign_shared_link/1","deprecated":false,"title":"sign_shared_link(slug)","anchor":"sign_shared_link/1"},{"id":"verify_password_reset/1","deprecated":false,"title":"verify_password_reset(token)","anchor":"verify_password_reset/1"},{"id":"verify_shared_link/1","deprecated":false,"title":"verify_shared_link(token)","anchor":"verify_shared_link/1"}],"key":"functions"}]},{"id":"Plausible.Auth.User","deprecated":false,"group":"","title":"Plausible.Auth.User","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"cancel_email_changeset/1","deprecated":false,"title":"cancel_email_changeset(user)","anchor":"cancel_email_changeset/1"},{"id":"changeset/2","deprecated":false,"title":"changeset(user, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"email_changeset/2","deprecated":false,"title":"email_changeset(user, attrs \\\\ %{})","anchor":"email_changeset/2"},{"id":"end_trial/1","deprecated":false,"title":"end_trial(user)","anchor":"end_trial/1"},{"id":"hash_password/1","deprecated":false,"title":"hash_password(changeset)","anchor":"hash_password/1"},{"id":"new/1","deprecated":false,"title":"new(attrs \\\\ %{})","anchor":"new/1"},{"id":"password_strength/1","deprecated":false,"title":"password_strength(changeset)","anchor":"password_strength/1"},{"id":"profile_img_url/1","deprecated":false,"title":"profile_img_url(user)","anchor":"profile_img_url/1"},{"id":"remove_trial_expiry/1","deprecated":false,"title":"remove_trial_expiry(user)","anchor":"remove_trial_expiry/1"},{"id":"set_password/2","deprecated":false,"title":"set_password(user, password)","anchor":"set_password/2"},{"id":"settings_changeset/2","deprecated":false,"title":"settings_changeset(user, attrs \\\\ %{})","anchor":"settings_changeset/2"},{"id":"start_trial/1","deprecated":false,"title":"start_trial(user)","anchor":"start_trial/1"},{"id":"subscription_accept_traffic_until_offset_days/0","deprecated":false,"title":"subscription_accept_traffic_until_offset_days()","anchor":"subscription_accept_traffic_until_offset_days/0"},{"id":"trial_accept_traffic_until_offset_days/0","deprecated":false,"title":"trial_accept_traffic_until_offset_days()","anchor":"trial_accept_traffic_until_offset_days/0"}],"key":"functions"}]},{"id":"Plausible.Auth.UserAdmin","deprecated":false,"group":"","title":"Plausible.Auth.UserAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"delete/2","deprecated":false,"title":"delete(conn, map)","anchor":"delete/2"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"resource_actions/1","deprecated":false,"title":"resource_actions(_)","anchor":"resource_actions/1"}],"key":"functions"}]},{"id":"Plausible.Billing","deprecated":false,"group":"","title":"Plausible.Billing","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"active_subscription_for/1","deprecated":false,"title":"active_subscription_for(user_id)","anchor":"active_subscription_for/1"},{"id":"cancelled_subscription_notice_dismiss_id/1","deprecated":false,"title":"cancelled_subscription_notice_dismiss_id(user)","anchor":"cancelled_subscription_notice_dismiss_id/1"},{"id":"change_plan/2","deprecated":false,"title":"change_plan(user, new_plan_id)","anchor":"change_plan/2"},{"id":"change_plan_preview/2","deprecated":false,"title":"change_plan_preview(subscription, new_plan_id)","anchor":"change_plan_preview/2"},{"id":"check_needs_to_upgrade/1","deprecated":false,"title":"check_needs_to_upgrade(user)","anchor":"check_needs_to_upgrade/1"},{"id":"format_price/1","deprecated":false,"title":"format_price(money)","anchor":"format_price/1"},{"id":"has_active_subscription?/1","deprecated":false,"title":"has_active_subscription?(user_id)","anchor":"has_active_subscription?/1"},{"id":"paddle_api/0","deprecated":false,"title":"paddle_api()","anchor":"paddle_api/0"},{"id":"subscription_cancelled/1","deprecated":false,"title":"subscription_cancelled(params)","anchor":"subscription_cancelled/1"},{"id":"subscription_created/1","deprecated":false,"title":"subscription_created(params)","anchor":"subscription_created/1"},{"id":"subscription_payment_succeeded/1","deprecated":false,"title":"subscription_payment_succeeded(params)","anchor":"subscription_payment_succeeded/1"},{"id":"subscription_updated/1","deprecated":false,"title":"subscription_updated(params)","anchor":"subscription_updated/1"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.Feature","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.Feature","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(feature)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(mod)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(feature)","anchor":"load/1"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.FeatureList","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.FeatureList","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(list)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(list)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(list)","anchor":"load/1"},{"id":"render_form/5","deprecated":false,"title":"render_form(conn, changeset, form, field, options)","anchor":"render_form/5"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.Limit","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.Limit","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(other)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(other)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(other)","anchor":"load/1"},{"id":"render_form/5","deprecated":false,"title":"render_form(conn, changeset, form, field, options)","anchor":"render_form/5"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.EnterprisePlan","deprecated":false,"group":"","title":"Plausible.Billing.EnterprisePlan","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(model, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Billing.EnterprisePlanAdmin","deprecated":false,"group":"","title":"Plausible.Billing.EnterprisePlanAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(schema)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(enterprise_plan, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Billing.Feature","deprecated":false,"group":"","title":"Plausible.Billing.Feature","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"check_availability/1","deprecated":false,"title":"check_availability(t)","anchor":"c:check_availability/1"},{"id":"display_name/0","deprecated":false,"title":"display_name()","anchor":"c:display_name/0"},{"id":"enabled?/1","deprecated":false,"title":"enabled?(t)","anchor":"c:enabled?/1"},{"id":"free?/0","deprecated":false,"title":"free?()","anchor":"c:free?/0"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"opted_out?/1","deprecated":false,"title":"opted_out?(t)","anchor":"c:opted_out?/1"},{"id":"toggle/2","deprecated":false,"title":"toggle(t, t)","anchor":"c:toggle/2"},{"id":"toggle_field/0","deprecated":false,"title":"toggle_field()","anchor":"c:toggle_field/0"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"list/0","deprecated":false,"title":"list()","anchor":"list/0"}],"key":"functions"}]},{"id":"Plausible.Billing.PaddleApi","deprecated":false,"group":"","title":"Plausible.Billing.PaddleApi","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"checkout_domain/0","deprecated":false,"title":"checkout_domain()","anchor":"checkout_domain/0"},{"id":"fetch_prices/1","deprecated":false,"title":"fetch_prices(product_ids)","anchor":"fetch_prices/1"},{"id":"get_invoices/1","deprecated":false,"title":"get_invoices(subscription)","anchor":"get_invoices/1"},{"id":"get_subscription/1","deprecated":false,"title":"get_subscription(paddle_subscription_id)","anchor":"get_subscription/1"},{"id":"update_subscription/2","deprecated":false,"title":"update_subscription(paddle_subscription_id, params)","anchor":"update_subscription/2"},{"id":"update_subscription_preview/2","deprecated":false,"title":"update_subscription_preview(paddle_subscription_id, new_plan_id)","anchor":"update_subscription_preview/2"},{"id":"vendors_domain/0","deprecated":false,"title":"vendors_domain()","anchor":"vendors_domain/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Plans","deprecated":false,"group":"","title":"Plausible.Billing.Plans","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all/0","deprecated":false,"title":"all()","anchor":"all/0"},{"id":"available_plans_for/2","deprecated":false,"title":"available_plans_for(user, opts \\\\ [])","anchor":"available_plans_for/2"},{"id":"business_plans_for/1","deprecated":false,"title":"business_plans_for(user)","anchor":"business_plans_for/1"},{"id":"business_tier?/1","deprecated":false,"title":"business_tier?(subscription)","anchor":"business_tier?/1"},{"id":"business_tier_launch/0","deprecated":false,"title":"business_tier_launch()","anchor":"business_tier_launch/0"},{"id":"find/1","deprecated":false,"title":"find(product_id)","anchor":"find/1"},{"id":"get_price_for/1","deprecated":false,"title":"get_price_for(enterprise_plan)","anchor":"get_price_for/1"},{"id":"get_regular_plan/2","deprecated":false,"title":"get_regular_plan(subscription, opts \\\\ [])","anchor":"get_regular_plan/2"},{"id":"get_subscription_plan/1","deprecated":false,"title":"get_subscription_plan(subscription)","anchor":"get_subscription_plan/1"},{"id":"growth_plans_for/1","deprecated":false,"title":"growth_plans_for(user)","anchor":"growth_plans_for/1"},{"id":"latest_enterprise_plan_with_price/1","deprecated":false,"title":"latest_enterprise_plan_with_price(user)","anchor":"latest_enterprise_plan_with_price/1"},{"id":"subscription_interval/1","deprecated":false,"title":"subscription_interval(subscription)","anchor":"subscription_interval/1"},{"id":"suggest/2","deprecated":false,"title":"suggest(user, usage_during_cycle)","anchor":"suggest/2"},{"id":"suggest_tier/1","deprecated":false,"title":"suggest_tier(user)","anchor":"suggest_tier/1"},{"id":"with_prices/1","deprecated":false,"title":"with_prices(plans)","anchor":"with_prices/1"},{"id":"yearly_product_ids/0","deprecated":false,"title":"yearly_product_ids()","anchor":"yearly_product_ids/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Quota","deprecated":false,"group":"","title":"Plausible.Billing.Quota","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"limit/0","deprecated":false,"title":"limit()","anchor":"t:limit/0"},{"id":"monthly_pageview_usage/0","deprecated":false,"title":"monthly_pageview_usage()","anchor":"t:monthly_pageview_usage/0"},{"id":"over_limits_error/0","deprecated":false,"title":"over_limits_error()","anchor":"t:over_limits_error/0"},{"id":"period/0","deprecated":false,"title":"period()","anchor":"t:period/0"},{"id":"usage_cycle/0","deprecated":false,"title":"usage_cycle()","anchor":"t:usage_cycle/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"allowed_features_for/1","deprecated":false,"title":"allowed_features_for(user)","anchor":"allowed_features_for/1"},{"id":"below_limit?/2","deprecated":false,"title":"below_limit?(usage, limit)","anchor":"below_limit?/2"},{"id":"ensure_can_add_new_site/1","deprecated":false,"title":"ensure_can_add_new_site(user)","anchor":"ensure_can_add_new_site/1"},{"id":"ensure_within_plan_limits/3","deprecated":false,"title":"ensure_within_plan_limits(user_or_usage, plan, opts \\\\ [])","anchor":"ensure_within_plan_limits/3"},{"id":"features_usage/1","deprecated":false,"title":"features_usage(user)","anchor":"features_usage/1"},{"id":"monthly_pageview_limit/1","deprecated":false,"title":"monthly_pageview_limit(user)","anchor":"monthly_pageview_limit/1"},{"id":"monthly_pageview_usage/2","deprecated":false,"title":"monthly_pageview_usage(user, site_ids \\\\ nil)","anchor":"monthly_pageview_usage/2"},{"id":"pageview_allowance_margin/0","deprecated":false,"title":"pageview_allowance_margin()","anchor":"pageview_allowance_margin/0"},{"id":"site_limit/1","deprecated":false,"title":"site_limit(user)","anchor":"site_limit/1"},{"id":"site_usage/1","deprecated":false,"title":"site_usage(user)","anchor":"site_usage/1"},{"id":"team_member_limit/1","deprecated":false,"title":"team_member_limit(user)","anchor":"team_member_limit/1"},{"id":"team_member_usage/1","deprecated":false,"title":"team_member_usage(user)","anchor":"team_member_usage/1"},{"id":"usage/2","deprecated":false,"title":"usage(user, opts \\\\ [])","anchor":"usage/2"},{"id":"usage_cycle/4","deprecated":false,"title":"usage_cycle(user, cycle, owned_site_ids \\\\ nil, today \\\\ Timex.today())","anchor":"usage_cycle/4"},{"id":"within_limit?/2","deprecated":false,"title":"within_limit?(usage, limit)","anchor":"within_limit?/2"}],"key":"functions"}]},{"id":"Plausible.Billing.SiteLocker","deprecated":false,"group":"","title":"Plausible.Billing.SiteLocker","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"lock_reason/0","deprecated":false,"title":"lock_reason()","anchor":"t:lock_reason/0"},{"id":"update_opt/0","deprecated":false,"title":"update_opt()","anchor":"t:update_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"send_grace_period_end_email/1","deprecated":false,"title":"send_grace_period_end_email(user)","anchor":"send_grace_period_end_email/1"},{"id":"set_lock_status_for/2","deprecated":false,"title":"set_lock_status_for(user, status)","anchor":"set_lock_status_for/2"},{"id":"update_sites_for/2","deprecated":false,"title":"update_sites_for(user, opts \\\\ [])","anchor":"update_sites_for/2"}],"key":"functions"}]},{"id":"Plausible.Billing.Subscription.Status","deprecated":false,"group":"","title":"Plausible.Billing.Subscription.Status","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"status/0","deprecated":false,"title":"status()","anchor":"t:status/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"active/0","deprecated":false,"title":"active()","anchor":"active/0"},{"id":"active?/1","deprecated":false,"title":"active?(subscription)","anchor":"active?/1"},{"id":"deleted/0","deprecated":false,"title":"deleted()","anchor":"deleted/0"},{"id":"deleted?/1","deprecated":false,"title":"deleted?(subscription)","anchor":"deleted?/1"},{"id":"in?/2","deprecated":false,"title":"in?(subscription, expected)","anchor":"in?/2"},{"id":"past_due/0","deprecated":false,"title":"past_due()","anchor":"past_due/0"},{"id":"past_due?/1","deprecated":false,"title":"past_due?(subscription)","anchor":"past_due?/1"},{"id":"paused/0","deprecated":false,"title":"paused()","anchor":"paused/0"},{"id":"paused?/1","deprecated":false,"title":"paused?(subscription)","anchor":"paused?/1"},{"id":"valid_statuses/0","deprecated":false,"title":"valid_statuses()","anchor":"valid_statuses/0"}],"key":"functions"}]},{"id":"Plausible.Cache","deprecated":false,"group":"","title":"Plausible.Cache","sections":[],"nodeGroups":[{"name":"Callbacks","nodes":[{"id":"base_db_query/0","deprecated":false,"title":"base_db_query()","anchor":"c:base_db_query/0"},{"id":"child_id/0","deprecated":false,"title":"child_id()","anchor":"c:child_id/0"},{"id":"count_all/0","deprecated":false,"title":"count_all()","anchor":"c:count_all/0"},{"id":"get_from_source/1","deprecated":false,"title":"get_from_source(any)","anchor":"c:get_from_source/1"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"unwrap_cache_keys/1","deprecated":false,"title":"unwrap_cache_keys(list)","anchor":"c:unwrap_cache_keys/1"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"}],"key":"functions"}]},{"id":"Plausible.Cache.Warmer","deprecated":false,"group":"","title":"Plausible.Cache.Warmer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"}],"key":"functions"}]},{"id":"Plausible.ChangesetHelpers","deprecated":false,"group":"","title":"Plausible.ChangesetHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"traverse_errors/1","deprecated":false,"title":"traverse_errors(changeset)","anchor":"traverse_errors/1"}],"key":"functions"}]},{"id":"Plausible.Cldr","deprecated":false,"group":"","title":"Plausible.Cldr","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_name?/1","deprecated":false,"title":"available_locale_name?(locale_name)","anchor":"available_locale_name?/1"},{"id":"default_locale/0","deprecated":false,"title":"default_locale()","anchor":"default_locale/0"},{"id":"default_territory/0","deprecated":false,"title":"default_territory()","anchor":"default_territory/0"},{"id":"ellipsis/2","deprecated":false,"title":"ellipsis(string, options \\\\ [])","anchor":"ellipsis/2"},{"id":"get_locale/0","deprecated":false,"title":"get_locale()","anchor":"get_locale/0"},{"id":"known_calendars/0","deprecated":false,"title":"known_calendars()","anchor":"known_calendars/0"},{"id":"known_currencies/0","deprecated":false,"title":"known_currencies()","anchor":"known_currencies/0"},{"id":"known_gettext_locale_name/1","deprecated":false,"title":"known_gettext_locale_name(locale_name)","anchor":"known_gettext_locale_name/1"},{"id":"known_gettext_locale_name?/1","deprecated":false,"title":"known_gettext_locale_name?(locale_name)","anchor":"known_gettext_locale_name?/1"},{"id":"known_gettext_locale_names/0","deprecated":false,"title":"known_gettext_locale_names()","anchor":"known_gettext_locale_names/0"},{"id":"known_locale_name/1","deprecated":false,"title":"known_locale_name(locale_name)","anchor":"known_locale_name/1"},{"id":"known_locale_name?/1","deprecated":false,"title":"known_locale_name?(locale_name)","anchor":"known_locale_name?/1"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"known_number_system_types/0","deprecated":false,"title":"known_number_system_types()","anchor":"known_number_system_types/0"},{"id":"known_number_systems/0","deprecated":false,"title":"known_number_systems()","anchor":"known_number_systems/0"},{"id":"known_rbnf_locale_name/1","deprecated":false,"title":"known_rbnf_locale_name(locale_name)","anchor":"known_rbnf_locale_name/1"},{"id":"known_rbnf_locale_name?/1","deprecated":false,"title":"known_rbnf_locale_name?(locale_name)","anchor":"known_rbnf_locale_name?/1"},{"id":"known_rbnf_locale_names/0","deprecated":false,"title":"known_rbnf_locale_names()","anchor":"known_rbnf_locale_names/0"},{"id":"known_territories/0","deprecated":false,"title":"known_territories()","anchor":"known_territories/0"},{"id":"normalize_lenient_parse/3","deprecated":false,"title":"normalize_lenient_parse(string, scope, locale \\\\ get_locale())","anchor":"normalize_lenient_parse/3"},{"id":"put_gettext_locale/1","deprecated":false,"title":"put_gettext_locale(locale)","anchor":"put_gettext_locale/1"},{"id":"put_locale/1","deprecated":false,"title":"put_locale(locale_name)","anchor":"put_locale/1"},{"id":"quote/2","deprecated":false,"title":"quote(string, options \\\\ [])","anchor":"quote/2"},{"id":"unknown_locale_names/0","deprecated":false,"title":"unknown_locale_names()","anchor":"unknown_locale_names/0"},{"id":"validate_calendar/1","deprecated":false,"title":"validate_calendar(calendar)","anchor":"validate_calendar/1"},{"id":"validate_currency/1","deprecated":false,"title":"validate_currency(currency)","anchor":"validate_currency/1"},{"id":"validate_locale/1","deprecated":false,"title":"validate_locale(locale)","anchor":"validate_locale/1"},{"id":"validate_number_system/1","deprecated":false,"title":"validate_number_system(number_system)","anchor":"validate_number_system/1"},{"id":"validate_number_system_type/1","deprecated":false,"title":"validate_number_system_type(number_system_type)","anchor":"validate_number_system_type/1"},{"id":"validate_territory/1","deprecated":false,"title":"validate_territory(territory)","anchor":"validate_territory/1"},{"id":"with_locale/2","deprecated":false,"title":"with_locale(locale, fun)","anchor":"with_locale/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.AcceptLanguage","deprecated":false,"group":"","title":"Plausible.Cldr.AcceptLanguage","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"best_match/1","deprecated":false,"title":"best_match(accept_language)","anchor":"best_match/1"},{"id":"parse/1","deprecated":false,"title":"parse(tokens_or_string)","anchor":"parse/1"},{"id":"parse!/1","deprecated":false,"title":"parse!(accept_language)","anchor":"parse!/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Currency","deprecated":false,"group":"","title":"Plausible.Cldr.Currency","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"currencies_for_locale/3","deprecated":false,"title":"currencies_for_locale(locale, only \\\\ :all, except \\\\ nil)","anchor":"currencies_for_locale/3"},{"id":"currencies_for_locale!/3","deprecated":false,"title":"currencies_for_locale!(locale, only \\\\ :all, except \\\\ nil)","anchor":"currencies_for_locale!/3"},{"id":"currency_for_code/2","deprecated":false,"title":"currency_for_code(currency_or_currency_code, options \\\\ [locale: Plausible.Cldr.default_locale()])","anchor":"currency_for_code/2"},{"id":"currency_for_code!/2","deprecated":false,"title":"currency_for_code!(currency_or_currency_code, options \\\\ [locale: Plausible.Cldr.default_locale()])","anchor":"currency_for_code!/2"},{"id":"currency_from_locale/1","deprecated":false,"title":"currency_from_locale(locale)","anchor":"currency_from_locale/1"},{"id":"currency_history_for_locale/1","deprecated":false,"title":"currency_history_for_locale(language_tag)","anchor":"currency_history_for_locale/1"},{"id":"currency_strings/3","deprecated":false,"title":"currency_strings(locale, only \\\\ :all, except \\\\ nil)","anchor":"currency_strings/3"},{"id":"currency_strings!/3","deprecated":false,"title":"currency_strings!(locale_name, only \\\\ :all, except \\\\ nil)","anchor":"currency_strings!/3"},{"id":"current_currency_from_locale/1","deprecated":false,"title":"current_currency_from_locale(locale)","anchor":"current_currency_from_locale/1"},{"id":"current_territory_currencies/0","deprecated":false,"title":"current_territory_currencies()","anchor":"current_territory_currencies/0"},{"id":"known_currencies/0","deprecated":false,"title":"known_currencies()","anchor":"known_currencies/0"},{"id":"known_currency?/1","deprecated":false,"title":"known_currency?(code)","anchor":"known_currency?/1"},{"id":"known_currency_code/1","deprecated":false,"title":"known_currency_code(currency_code)","anchor":"known_currency_code/1"},{"id":"known_currency_code?/1","deprecated":false,"title":"known_currency_code?(currency_code)","anchor":"known_currency_code?/1"},{"id":"known_currency_codes/0","deprecated":false,"title":"known_currency_codes()","anchor":"known_currency_codes/0"},{"id":"new/2","deprecated":false,"title":"new(currency, options \\\\ [])","anchor":"new/2"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, currency, options \\\\ [])","anchor":"pluralize/3"},{"id":"strings_for_currency/2","deprecated":false,"title":"strings_for_currency(currency, locale)","anchor":"strings_for_currency/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Locale","deprecated":false,"group":"","title":"Plausible.Cldr.Locale","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fallback_locale_names/1","deprecated":false,"title":"fallback_locale_names(locale)","anchor":"fallback_locale_names/1"},{"id":"fallback_locales/1","deprecated":false,"title":"fallback_locales(locale)","anchor":"fallback_locales/1"},{"id":"locale_for_territory/1","deprecated":false,"title":"locale_for_territory(territory)","anchor":"locale_for_territory/1"},{"id":"locale_from_host/2","deprecated":false,"title":"locale_from_host(host, options \\\\ [])","anchor":"locale_from_host/2"},{"id":"new/1","deprecated":false,"title":"new(locale_name)","anchor":"new/1"},{"id":"new!/1","deprecated":false,"title":"new!(locale_name)","anchor":"new!/1"},{"id":"script_direction_from_locale/1","deprecated":false,"title":"script_direction_from_locale(locale)","anchor":"script_direction_from_locale/1"},{"id":"territory_from_host/1","deprecated":false,"title":"territory_from_host(host)","anchor":"territory_from_host/1"},{"id":"territory_from_locale/1","deprecated":false,"title":"territory_from_locale(locale)","anchor":"territory_from_locale/1"},{"id":"timezone_from_locale/1","deprecated":false,"title":"timezone_from_locale(locale)","anchor":"timezone_from_locale/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number","deprecated":false,"group":"","title":"Plausible.Cldr.Number","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"parse/2","deprecated":false,"title":"parse(string, options \\\\ [])","anchor":"parse/2"},{"id":"resolve_currencies/2","deprecated":false,"title":"resolve_currencies(list, options \\\\ [])","anchor":"resolve_currencies/2"},{"id":"resolve_currency/2","deprecated":false,"title":"resolve_currency(string, options \\\\ [])","anchor":"resolve_currency/2"},{"id":"resolve_per/2","deprecated":false,"title":"resolve_per(string, options \\\\ [])","anchor":"resolve_per/2"},{"id":"resolve_pers/2","deprecated":false,"title":"resolve_pers(list, options \\\\ [])","anchor":"resolve_pers/2"},{"id":"scan/2","deprecated":false,"title":"scan(string, options \\\\ [])","anchor":"scan/2"},{"id":"to_approx_string/2","deprecated":false,"title":"to_approx_string(number, options \\\\ [])","anchor":"to_approx_string/2"},{"id":"to_at_least_string/2","deprecated":false,"title":"to_at_least_string(number, options \\\\ [])","anchor":"to_at_least_string/2"},{"id":"to_at_most_string/2","deprecated":false,"title":"to_at_most_string(number, options \\\\ [])","anchor":"to_at_most_string/2"},{"id":"to_range_string/2","deprecated":false,"title":"to_range_string(range, options \\\\ [])","anchor":"to_range_string/2"},{"id":"to_string/2","deprecated":false,"title":"to_string(number, options \\\\ default_options())","anchor":"to_string/2"},{"id":"to_string!/2","deprecated":false,"title":"to_string!(number, options \\\\ default_options())","anchor":"to_string!/2"},{"id":"validate_number_system/2","deprecated":false,"title":"validate_number_system(locale, number_system)","anchor":"validate_number_system/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Cardinal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Cardinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_names/0","deprecated":false,"title":"available_locale_names()","anchor":"available_locale_names/0"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(number, locale, rounding \\\\ Math.default_rounding())","anchor":"plural_rule/3"},{"id":"plural_rules/0","deprecated":false,"title":"plural_rules()","anchor":"plural_rules/0"},{"id":"plural_rules_for/1","deprecated":false,"title":"plural_rules_for(locale_name)","anchor":"plural_rules_for/1"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, locale_name, substitutions)","anchor":"pluralize/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Format","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Format","sections":[{"id":"Number Pattern Examples","anchor":"module-number-pattern-examples"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_formats_for/1","deprecated":false,"title":"all_formats_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"all_formats_for/1"},{"id":"all_formats_for!/1","deprecated":false,"title":"all_formats_for!(locale \\\\ Plausible.Cldr.get_locale())","anchor":"all_formats_for!/1"},{"id":"currency_spacing/2","deprecated":false,"title":"currency_spacing(locale, number_system)","anchor":"currency_spacing/2"},{"id":"decimal_format_list/0","deprecated":false,"title":"decimal_format_list()","anchor":"decimal_format_list/0"},{"id":"decimal_format_list_for/1","deprecated":false,"title":"decimal_format_list_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"decimal_format_list_for/1"},{"id":"default_grouping_for/1","deprecated":false,"title":"default_grouping_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"default_grouping_for/1"},{"id":"default_grouping_for!/1","deprecated":false,"title":"default_grouping_for!(locale)","anchor":"default_grouping_for!/1"},{"id":"formats_for/2","deprecated":false,"title":"formats_for(locale \\\\ Plausible.Cldr.default_locale(), number_system \\\\ Cldr.Number.System.default_number_system_type())","anchor":"formats_for/2"},{"id":"formats_for!/2","deprecated":false,"title":"formats_for!(locale \\\\ Plausible.Cldr.default_locale(), number_system \\\\ Cldr.Number.System.default_number_system_type())","anchor":"formats_for!/2"},{"id":"minimum_grouping_digits_for/1","deprecated":false,"title":"minimum_grouping_digits_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"minimum_grouping_digits_for/1"},{"id":"minimum_grouping_digits_for!/1","deprecated":false,"title":"minimum_grouping_digits_for!(locale)","anchor":"minimum_grouping_digits_for!/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Formatter.Decimal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Formatter.Decimal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"metadata!/1","deprecated":false,"title":"metadata!(format)","anchor":"metadata!/1"},{"id":"to_string/3","deprecated":false,"title":"to_string(number, format, options \\\\ [])","anchor":"to_string/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Ordinal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Ordinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_names/0","deprecated":false,"title":"available_locale_names()","anchor":"available_locale_names/0"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(number, locale, rounding \\\\ Math.default_rounding())","anchor":"plural_rule/3"},{"id":"plural_rules/0","deprecated":false,"title":"plural_rules()","anchor":"plural_rules/0"},{"id":"plural_rules_for/1","deprecated":false,"title":"plural_rules_for(locale_name)","anchor":"plural_rules_for/1"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, locale_name, substitutions)","anchor":"pluralize/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.PluralRule.Range","deprecated":false,"group":"","title":"Plausible.Cldr.Number.PluralRule.Range","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(first, last, locale)","anchor":"plural_rule/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Symbol","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Symbol","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_decimal_symbols/0","deprecated":false,"title":"all_decimal_symbols()","anchor":"all_decimal_symbols/0"},{"id":"all_decimal_symbols_class/0","deprecated":false,"title":"all_decimal_symbols_class()","anchor":"all_decimal_symbols_class/0"},{"id":"all_grouping_symbols/0","deprecated":false,"title":"all_grouping_symbols()","anchor":"all_grouping_symbols/0"},{"id":"all_grouping_symbols_class/0","deprecated":false,"title":"all_grouping_symbols_class()","anchor":"all_grouping_symbols_class/0"},{"id":"number_symbols_for/1","deprecated":false,"title":"number_symbols_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"number_symbols_for/1"},{"id":"number_symbols_for/2","deprecated":false,"title":"number_symbols_for(locale, number_system)","anchor":"number_symbols_for/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.System","deprecated":false,"group":"","title":"Plausible.Cldr.Number.System","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"number_system_for/2","deprecated":false,"title":"number_system_for(locale, system_name)","anchor":"number_system_for/2"},{"id":"number_system_from_locale/1","deprecated":false,"title":"number_system_from_locale(locale)","anchor":"number_system_from_locale/1"},{"id":"number_system_names_for/1","deprecated":false,"title":"number_system_names_for(locale)","anchor":"number_system_names_for/1"},{"id":"number_system_names_for!/1","deprecated":false,"title":"number_system_names_for!(locale)","anchor":"number_system_names_for!/1"},{"id":"number_system_types_for/1","deprecated":false,"title":"number_system_types_for(locale)","anchor":"number_system_types_for/1"},{"id":"number_systems_for/1","deprecated":false,"title":"number_systems_for(locale)","anchor":"number_systems_for/1"},{"id":"number_systems_for!/1","deprecated":false,"title":"number_systems_for!(locale)","anchor":"number_systems_for!/1"},{"id":"number_systems_like/2","deprecated":false,"title":"number_systems_like(locale, number_system)","anchor":"number_systems_like/2"},{"id":"system_name_from/2","deprecated":false,"title":"system_name_from(system_name, locale)","anchor":"system_name_from/2"},{"id":"to_system/2","deprecated":false,"title":"to_system(number, system)","anchor":"to_system/2"},{"id":"to_system!/2","deprecated":false,"title":"to_system!(number, system_name)","anchor":"to_system!/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Transliterate","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Transliterate","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"transliterate/3","deprecated":false,"title":"transliterate(sequence, locale \\\\ Plausible.Cldr.get_locale(), number_system \\\\ System.default_number_system_type())","anchor":"transliterate/3"},{"id":"transliterate!/3","deprecated":false,"title":"transliterate!(sequence, locale, number_system)","anchor":"transliterate!/3"},{"id":"transliterate_digits/3","deprecated":false,"title":"transliterate_digits(digits, from_system, to_system)","anchor":"transliterate_digits/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.NumberSystem","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.NumberSystem","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"armenian_lower/1","deprecated":false,"title":"armenian_lower(number)","anchor":"armenian_lower/1"},{"id":"armenian_lower/2","deprecated":false,"title":"armenian_lower(number, locale)","anchor":"armenian_lower/2"},{"id":"armenian_upper/1","deprecated":false,"title":"armenian_upper(number)","anchor":"armenian_upper/1"},{"id":"armenian_upper/2","deprecated":false,"title":"armenian_upper(number, locale)","anchor":"armenian_upper/2"},{"id":"cyrillic_lower/1","deprecated":false,"title":"cyrillic_lower(number)","anchor":"cyrillic_lower/1"},{"id":"cyrillic_lower/2","deprecated":false,"title":"cyrillic_lower(number, locale)","anchor":"cyrillic_lower/2"},{"id":"cyrillic_lower_1_10/2","deprecated":false,"title":"cyrillic_lower_1_10(number, language_tag)","anchor":"cyrillic_lower_1_10/2"},{"id":"cyrillic_lower_final/2","deprecated":false,"title":"cyrillic_lower_final(number, language_tag)","anchor":"cyrillic_lower_final/2"},{"id":"cyrillic_lower_post/2","deprecated":false,"title":"cyrillic_lower_post(number, language_tag)","anchor":"cyrillic_lower_post/2"},{"id":"cyrillic_lower_thousands/2","deprecated":false,"title":"cyrillic_lower_thousands(number, language_tag)","anchor":"cyrillic_lower_thousands/2"},{"id":"ethiopic/1","deprecated":false,"title":"ethiopic(number)","anchor":"ethiopic/1"},{"id":"ethiopic/2","deprecated":false,"title":"ethiopic(number, locale)","anchor":"ethiopic/2"},{"id":"ethiopic_p1/2","deprecated":false,"title":"ethiopic_p1(number, language_tag)","anchor":"ethiopic_p1/2"},{"id":"ethiopic_p2/2","deprecated":false,"title":"ethiopic_p2(number, language_tag)","anchor":"ethiopic_p2/2"},{"id":"ethiopic_p3/2","deprecated":false,"title":"ethiopic_p3(number, language_tag)","anchor":"ethiopic_p3/2"},{"id":"ethiopic_p/2","deprecated":false,"title":"ethiopic_p(number, language_tag)","anchor":"ethiopic_p/2"},{"id":"georgian/1","deprecated":false,"title":"georgian(number)","anchor":"georgian/1"},{"id":"georgian/2","deprecated":false,"title":"georgian(number, locale)","anchor":"georgian/2"},{"id":"greek_lower/1","deprecated":false,"title":"greek_lower(number)","anchor":"greek_lower/1"},{"id":"greek_lower/2","deprecated":false,"title":"greek_lower(number, locale)","anchor":"greek_lower/2"},{"id":"greek_numeral_majuscules/2","deprecated":false,"title":"greek_numeral_majuscules(number, language_tag)","anchor":"greek_numeral_majuscules/2"},{"id":"greek_numeral_minuscules/2","deprecated":false,"title":"greek_numeral_minuscules(number, language_tag)","anchor":"greek_numeral_minuscules/2"},{"id":"greek_upper/1","deprecated":false,"title":"greek_upper(number)","anchor":"greek_upper/1"},{"id":"greek_upper/2","deprecated":false,"title":"greek_upper(number, locale)","anchor":"greek_upper/2"},{"id":"hebrew/1","deprecated":false,"title":"hebrew(number)","anchor":"hebrew/1"},{"id":"hebrew/2","deprecated":false,"title":"hebrew(number, locale)","anchor":"hebrew/2"},{"id":"hebrew_0_99/2","deprecated":false,"title":"hebrew_0_99(number, language_tag)","anchor":"hebrew_0_99/2"},{"id":"hebrew_item/1","deprecated":false,"title":"hebrew_item(number)","anchor":"hebrew_item/1"},{"id":"hebrew_item/2","deprecated":false,"title":"hebrew_item(number, locale)","anchor":"hebrew_item/2"},{"id":"hebrew_item_hundreds/2","deprecated":false,"title":"hebrew_item_hundreds(number, language_tag)","anchor":"hebrew_item_hundreds/2"},{"id":"hebrew_thousands/2","deprecated":false,"title":"hebrew_thousands(number, language_tag)","anchor":"hebrew_thousands/2"},{"id":"roman_lower/1","deprecated":false,"title":"roman_lower(number)","anchor":"roman_lower/1"},{"id":"roman_lower/2","deprecated":false,"title":"roman_lower(number, locale)","anchor":"roman_lower/2"},{"id":"roman_upper/1","deprecated":false,"title":"roman_upper(number)","anchor":"roman_upper/1"},{"id":"roman_upper/2","deprecated":false,"title":"roman_upper(number, locale)","anchor":"roman_upper/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"},{"id":"tamil/1","deprecated":false,"title":"tamil(number)","anchor":"tamil/1"},{"id":"tamil/2","deprecated":false,"title":"tamil(number, locale)","anchor":"tamil/2"},{"id":"tamil_thousands/2","deprecated":false,"title":"tamil_thousands(number, language_tag)","anchor":"tamil_thousands/2"},{"id":"zz_default/1","deprecated":false,"title":"zz_default(number)","anchor":"zz_default/1"},{"id":"zz_default/2","deprecated":false,"title":"zz_default(number, locale)","anchor":"zz_default/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.Ordinal","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.Ordinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"digits_ordinal/2","deprecated":false,"title":"digits_ordinal(number, locale)","anchor":"digits_ordinal/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.Spellout","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.Spellout","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"and/2","deprecated":false,"title":"number and language_tag","anchor":"and/2"},{"id":"and_o/2","deprecated":false,"title":"and_o(number, language_tag)","anchor":"and_o/2"},{"id":"commas/2","deprecated":false,"title":"commas(number, language_tag)","anchor":"commas/2"},{"id":"commas_o/2","deprecated":false,"title":"commas_o(number, language_tag)","anchor":"commas_o/2"},{"id":"r2d_year/2","deprecated":false,"title":"r2d_year(number, language_tag)","anchor":"r2d_year/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"},{"id":"spellout_cardinal/2","deprecated":false,"title":"spellout_cardinal(number, locale)","anchor":"spellout_cardinal/2"},{"id":"spellout_cardinal_verbose/2","deprecated":false,"title":"spellout_cardinal_verbose(number, locale)","anchor":"spellout_cardinal_verbose/2"},{"id":"spellout_numbering/2","deprecated":false,"title":"spellout_numbering(number, locale)","anchor":"spellout_numbering/2"},{"id":"spellout_numbering_verbose/2","deprecated":false,"title":"spellout_numbering_verbose(number, locale)","anchor":"spellout_numbering_verbose/2"},{"id":"spellout_numbering_year/2","deprecated":false,"title":"spellout_numbering_year(number, locale)","anchor":"spellout_numbering_year/2"},{"id":"spellout_ordinal/2","deprecated":false,"title":"spellout_ordinal(number, locale)","anchor":"spellout_ordinal/2"},{"id":"spellout_ordinal_verbose/2","deprecated":false,"title":"spellout_ordinal_verbose(number, locale)","anchor":"spellout_ordinal_verbose/2"},{"id":"th/2","deprecated":false,"title":"th(number, language_tag)","anchor":"th/2"},{"id":"tieth/2","deprecated":false,"title":"tieth(number, language_tag)","anchor":"tieth/2"}],"key":"functions"}]},{"id":"Plausible.ClickhouseEventV2","deprecated":false,"group":"","title":"Plausible.ClickhouseEventV2","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(attrs)","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.ClickhouseRepo","deprecated":false,"group":"","title":"Plausible.ClickhouseRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"parallel_tasks/1","deprecated":false,"title":"parallel_tasks(queries)","anchor":"parallel_tasks/1"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"}],"key":"functions"}]},{"id":"Plausible.ClickhouseSessionV2","deprecated":false,"group":"","title":"Plausible.ClickhouseSessionV2","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"random_uint64/0","deprecated":false,"title":"random_uint64()","anchor":"random_uint64/0"}],"key":"functions"}]},{"id":"Plausible.ClickhouseSessionV2.BoolUInt8","deprecated":false,"group":"","title":"Plausible.ClickhouseSessionV2.BoolUInt8","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"}],"key":"functions"}]},{"id":"Plausible.ConfigHelpers","deprecated":false,"group":"","title":"Plausible.ConfigHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_int_from_path_or_env/3","deprecated":false,"title":"get_int_from_path_or_env(config_dir, var_name, default \\\\ nil)","anchor":"get_int_from_path_or_env/3"},{"id":"get_var_from_path_or_env/3","deprecated":false,"title":"get_var_from_path_or_env(config_dir, var_name, default \\\\ nil)","anchor":"get_var_from_path_or_env/3"}],"key":"functions"}]},{"id":"Plausible.DataCase","deprecated":false,"group":"","title":"Plausible.DataCase","sections":[]},{"id":"Plausible.DataMigration","deprecated":false,"group":"","title":"Plausible.DataMigration","sections":[]},{"id":"Plausible.DataMigration.NumericIDs","deprecated":false,"group":"","title":"Plausible.DataMigration.NumericIDs","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/3","deprecated":false,"title":"confirm(message, func, default_choice \\\\ :yes)","anchor":"confirm/3"},{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"},{"id":"run_sql/2","deprecated":false,"title":"run_sql(name, assigns \\\\ [])","anchor":"run_sql/2"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"key":"functions"}]},{"id":"Plausible.DataMigration.Repo","deprecated":false,"group":"","title":"Plausible.DataMigration.Repo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start/2","deprecated":false,"title":"start(url, max_threads)","anchor":"start/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.DebugReplayInfo","deprecated":false,"group":"","title":"Plausible.DebugReplayInfo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"deserialize/1","deprecated":false,"title":"deserialize(replay_info)","anchor":"deserialize/1"},{"id":"include_sentry_replay_info/0","deprecated":false,"title":"include_sentry_replay_info()","anchor":"include_sentry_replay_info/0"}],"key":"functions"}]},{"id":"Plausible.Ecto.EventName","deprecated":false,"group":"","title":"Plausible.Ecto.EventName","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(val)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(val)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(val)","anchor":"load/1"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Factory","deprecated":false,"group":"","title":"Plausible.Factory","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api_key_factory/0","deprecated":false,"title":"api_key_factory()","anchor":"api_key_factory/0"},{"id":"build/2","deprecated":false,"title":"build(factory_name, attrs \\\\ %{})","anchor":"build/2"},{"id":"build_list/3","deprecated":false,"title":"build_list(number_of_records, factory_name, attrs \\\\ %{})","anchor":"build_list/3"},{"id":"build_pair/2","deprecated":false,"title":"build_pair(factory_name, attrs \\\\ %{})","anchor":"build_pair/2"},{"id":"business_subscription_factory/0","deprecated":false,"title":"business_subscription_factory()","anchor":"business_subscription_factory/0"},{"id":"ch_session_factory/0","deprecated":false,"title":"ch_session_factory()","anchor":"ch_session_factory/0"},{"id":"create/1","deprecated":false,"title":"create(_)","anchor":"create/1"},{"id":"create/2","deprecated":false,"title":"create(_, _)","anchor":"create/2"},{"id":"create_list/3","deprecated":false,"title":"create_list(_, _, _)","anchor":"create_list/3"},{"id":"create_pair/2","deprecated":false,"title":"create_pair(_, _)","anchor":"create_pair/2"},{"id":"enterprise_plan_factory/0","deprecated":false,"title":"enterprise_plan_factory()","anchor":"enterprise_plan_factory/0"},{"id":"event_factory/0","deprecated":false,"title":"event_factory()","anchor":"event_factory/0"},{"id":"factory/1","deprecated":false,"title":"factory(factory_name)","anchor":"factory/1"},{"id":"goal_factory/0","deprecated":false,"title":"goal_factory()","anchor":"goal_factory/0"},{"id":"google_auth_factory/0","deprecated":false,"title":"google_auth_factory()","anchor":"google_auth_factory/0"},{"id":"growth_subscription_factory/0","deprecated":false,"title":"growth_subscription_factory()","anchor":"growth_subscription_factory/0"},{"id":"imported_browsers_factory/0","deprecated":false,"title":"imported_browsers_factory()","anchor":"imported_browsers_factory/0"},{"id":"imported_devices_factory/0","deprecated":false,"title":"imported_devices_factory()","anchor":"imported_devices_factory/0"},{"id":"imported_entry_pages_factory/0","deprecated":false,"title":"imported_entry_pages_factory()","anchor":"imported_entry_pages_factory/0"},{"id":"imported_exit_pages_factory/0","deprecated":false,"title":"imported_exit_pages_factory()","anchor":"imported_exit_pages_factory/0"},{"id":"imported_locations_factory/0","deprecated":false,"title":"imported_locations_factory()","anchor":"imported_locations_factory/0"},{"id":"imported_operating_systems_factory/0","deprecated":false,"title":"imported_operating_systems_factory()","anchor":"imported_operating_systems_factory/0"},{"id":"imported_pages_factory/0","deprecated":false,"title":"imported_pages_factory()","anchor":"imported_pages_factory/0"},{"id":"imported_sources_factory/0","deprecated":false,"title":"imported_sources_factory()","anchor":"imported_sources_factory/0"},{"id":"imported_visitors_factory/0","deprecated":false,"title":"imported_visitors_factory()","anchor":"imported_visitors_factory/0"},{"id":"insert/1","deprecated":false,"title":"insert(already_built_record)","anchor":"insert/1"},{"id":"insert/2","deprecated":false,"title":"insert(already_built_record, function_opts)","anchor":"insert/2"},{"id":"insert/3","deprecated":false,"title":"insert(factory_name, attrs, opts)","anchor":"insert/3"},{"id":"insert_list/3","deprecated":false,"title":"insert_list(number_of_records, factory_name, attrs \\\\ %{})","anchor":"insert_list/3"},{"id":"insert_list/4","deprecated":false,"title":"insert_list(number_of_records, factory_name, attrs, opts)","anchor":"insert_list/4"},{"id":"insert_pair/2","deprecated":false,"title":"insert_pair(factory_name, attrs \\\\ %{})","anchor":"insert_pair/2"},{"id":"insert_pair/3","deprecated":false,"title":"insert_pair(factory_name, attrs, opts)","anchor":"insert_pair/3"},{"id":"invitation_factory/0","deprecated":false,"title":"invitation_factory()","anchor":"invitation_factory/0"},{"id":"monthly_report_factory/0","deprecated":false,"title":"monthly_report_factory()","anchor":"monthly_report_factory/0"},{"id":"pageview_factory/0","deprecated":false,"title":"pageview_factory()","anchor":"pageview_factory/0"},{"id":"params_for/2","deprecated":false,"title":"params_for(factory_name, attrs \\\\ %{})","anchor":"params_for/2"},{"id":"params_with_assocs/2","deprecated":false,"title":"params_with_assocs(factory_name, attrs \\\\ %{})","anchor":"params_with_assocs/2"},{"id":"shared_link_factory/0","deprecated":false,"title":"shared_link_factory()","anchor":"shared_link_factory/0"},{"id":"site_factory/1","deprecated":false,"title":"site_factory(attrs)","anchor":"site_factory/1"},{"id":"site_membership_factory/0","deprecated":false,"title":"site_membership_factory()","anchor":"site_membership_factory/0"},{"id":"spike_notification_factory/0","deprecated":false,"title":"spike_notification_factory()","anchor":"spike_notification_factory/0"},{"id":"string_params_for/2","deprecated":false,"title":"string_params_for(factory_name, attrs \\\\ %{})","anchor":"string_params_for/2"},{"id":"string_params_with_assocs/2","deprecated":false,"title":"string_params_with_assocs(factory_name, attrs \\\\ %{})","anchor":"string_params_with_assocs/2"},{"id":"subscription_factory/0","deprecated":false,"title":"subscription_factory()","anchor":"subscription_factory/0"},{"id":"user_factory/1","deprecated":false,"title":"user_factory(attrs)","anchor":"user_factory/1"},{"id":"weekly_report_factory/0","deprecated":false,"title":"weekly_report_factory()","anchor":"weekly_report_factory/0"}],"key":"functions"}]},{"id":"Plausible.Funnel","deprecated":false,"group":"","title":"Plausible.Funnel","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(funnel \\\\ %__MODULE__{}, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"max_steps/0","deprecated":false,"title":"max_steps()","anchor":"max_steps/0"},{"id":"min_steps/0","deprecated":false,"title":"min_steps()","anchor":"min_steps/0"},{"id":"put_step_orders/1","deprecated":false,"title":"put_step_orders(changeset)","anchor":"put_step_orders/1"}],"key":"functions"}]},{"id":"Plausible.Funnel.Const","deprecated":false,"group":"","title":"Plausible.Funnel.Const","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"max_steps/0","deprecated":false,"title":"max_steps()","anchor":"max_steps/0"},{"id":"min_steps/0","deprecated":false,"title":"min_steps()","anchor":"min_steps/0"}],"key":"functions"}]},{"id":"Plausible.Funnel.Step","deprecated":false,"group":"","title":"Plausible.Funnel.Step","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(step, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Funnels","deprecated":false,"group":"","title":"Plausible.Funnels","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/3","deprecated":false,"title":"create(site, name, steps)","anchor":"create/3"},{"id":"create_changeset/3","deprecated":false,"title":"create_changeset(site, name, steps)","anchor":"create_changeset/3"},{"id":"delete/2","deprecated":false,"title":"delete(site_id, funnel_id)","anchor":"delete/2"},{"id":"ephemeral_definition/3","deprecated":false,"title":"ephemeral_definition(site, name, steps)","anchor":"ephemeral_definition/3"},{"id":"get/2","deprecated":false,"title":"get(site_id, by)","anchor":"get/2"},{"id":"list/1","deprecated":false,"title":"list(site)","anchor":"list/1"}],"key":"functions"}]},{"id":"Plausible.Geo","deprecated":false,"group":"","title":"Plausible.Geo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"await_loader/0","deprecated":false,"title":"await_loader()","anchor":"await_loader/0"},{"id":"database_type/0","deprecated":false,"title":"database_type()","anchor":"database_type/0"},{"id":"load_db/1","deprecated":false,"title":"load_db(opts)","anchor":"load_db/1"},{"id":"lookup/1","deprecated":false,"title":"lookup(ip_address)","anchor":"lookup/1"}],"key":"functions"}]},{"id":"Plausible.Goal","deprecated":false,"group":"","title":"Plausible.Goal","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(goal, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Goal.Revenue","deprecated":false,"group":"","title":"Plausible.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"currency_options/0","deprecated":false,"title":"currency_options()","anchor":"currency_options/0"},{"id":"revenue?/1","deprecated":false,"title":"revenue?(goal)","anchor":"revenue?/1"},{"id":"valid_currencies/0","deprecated":false,"title":"valid_currencies()","anchor":"valid_currencies/0"}],"key":"functions"}]},{"id":"Plausible.Goals","deprecated":false,"group":"","title":"Plausible.Goals","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"count/1","deprecated":false,"title":"count(site)","anchor":"count/1"},{"id":"create/3","deprecated":false,"title":"create(site, params, opts \\\\ [])","anchor":"create/3"},{"id":"delete/2","deprecated":false,"title":"delete(id, site_id)","anchor":"delete/2"},{"id":"find_or_create/2","deprecated":false,"title":"find_or_create(site, map)","anchor":"find_or_create/2"},{"id":"for_site/2","deprecated":false,"title":"for_site(site, opts \\\\ [])","anchor":"for_site/2"},{"id":"for_site_query/2","deprecated":false,"title":"for_site_query(site, opts \\\\ [])","anchor":"for_site_query/2"}],"key":"functions"}]},{"id":"Plausible.Google.Api","deprecated":false,"group":"","title":"Plausible.Google.Api","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"google_analytics_view/0","deprecated":false,"title":"google_analytics_view()","anchor":"t:google_analytics_view/0"},{"id":"import_auth/0","deprecated":false,"title":"import_auth()","anchor":"t:import_auth/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"fetch_and_persist/2","deprecated":false,"title":"fetch_and_persist(report_request, opts \\\\ [])","anchor":"fetch_and_persist/2"},{"id":"fetch_stats/3","deprecated":false,"title":"fetch_stats(site, map, limit)","anchor":"fetch_stats/3"},{"id":"fetch_verified_properties/1","deprecated":false,"title":"fetch_verified_properties(auth)","anchor":"fetch_verified_properties/1"},{"id":"get_view/2","deprecated":false,"title":"get_view(access_token, lookup_id)","anchor":"get_view/2"},{"id":"import_analytics/4","deprecated":false,"title":"import_analytics(date_range, view_id, auth, persist_fn)","anchor":"import_analytics/4"},{"id":"import_authorize_url/2","deprecated":false,"title":"import_authorize_url(site_id, redirect_to)","anchor":"import_authorize_url/2"},{"id":"list_views/1","deprecated":false,"title":"list_views(access_token)","anchor":"list_views/1"},{"id":"search_console_authorize_url/2","deprecated":false,"title":"search_console_authorize_url(site_id, redirect_to)","anchor":"search_console_authorize_url/2"}],"key":"functions"}]},{"id":"Plausible.Google.Api.Mock","deprecated":false,"group":"","title":"Plausible.Google.Api.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_stats/3","deprecated":false,"title":"fetch_stats(auth, query, limit)","anchor":"fetch_stats/3"}],"key":"functions"}]},{"id":"Plausible.Google.HTTP","deprecated":false,"group":"","title":"Plausible.Google.HTTP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_access_token/1","deprecated":false,"title":"fetch_access_token(code)","anchor":"fetch_access_token/1"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(view_id, access_token)","anchor":"get_analytics_start_date/2"},{"id":"get_report/1","deprecated":false,"title":"get_report(report_request)","anchor":"get_report/1"},{"id":"list_sites/1","deprecated":false,"title":"list_sites(access_token)","anchor":"list_sites/1"},{"id":"list_stats/5","deprecated":false,"title":"list_stats(access_token, property, date_range, limit, page \\\\ nil)","anchor":"list_stats/5"},{"id":"list_views_for_user/1","deprecated":false,"title":"list_views_for_user(access_token)","anchor":"list_views_for_user/1"},{"id":"refresh_auth_token/1","deprecated":false,"title":"refresh_auth_token(refresh_token)","anchor":"refresh_auth_token/1"}],"key":"functions"}]},{"id":"Plausible.Google.ReportRequest","deprecated":false,"group":"","title":"Plausible.Google.ReportRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"full_report/0","deprecated":false,"title":"full_report()","anchor":"full_report/0"}],"key":"functions"}]},{"id":"Plausible.HTTPClient","deprecated":false,"group":"","title":"Plausible.HTTPClient","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/3","deprecated":false,"title":"get(url, headers \\\\ [], params \\\\ nil)","anchor":"get/3"},{"id":"impl/0","deprecated":false,"title":"impl()","anchor":"impl/0"},{"id":"post/4","deprecated":false,"title":"post(url, headers \\\\ [], params \\\\ nil, finch_req_opts \\\\ [])","anchor":"post/4"}],"key":"functions"}]},{"id":"Plausible.HTTPClient.Interface","deprecated":false,"group":"","title":"Plausible.HTTPClient.Interface","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"finch_request_opts/0","deprecated":false,"title":"finch_request_opts()","anchor":"t:finch_request_opts/0"},{"id":"headers/0","deprecated":false,"title":"headers()","anchor":"t:headers/0"},{"id":"params/0","deprecated":false,"title":"params()","anchor":"t:params/0"},{"id":"response/0","deprecated":false,"title":"response()","anchor":"t:response/0"},{"id":"url/0","deprecated":false,"title":"url()","anchor":"t:url/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"get/1","deprecated":false,"title":"get(url)","anchor":"c:get/1"},{"id":"get/2","deprecated":false,"title":"get(url, headers)","anchor":"c:get/2"},{"id":"get/3","deprecated":false,"title":"get(url, headers, params)","anchor":"c:get/3"},{"id":"post/3","deprecated":false,"title":"post(url, headers, params)","anchor":"c:post/3"},{"id":"post/4","deprecated":false,"title":"post(url, headers, params, finch_request_opts)","anchor":"c:post/4"}],"key":"callbacks"}]},{"id":"Plausible.HTTPClient.Non200Error","deprecated":false,"group":"","title":"Plausible.HTTPClient.Non200Error","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(response)","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.Helpers.JSON","deprecated":false,"group":"","title":"Plausible.Helpers.JSON","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"decode_or_fallback/1","deprecated":false,"title":"decode_or_fallback(raw)","anchor":"decode_or_fallback/1"}],"key":"functions"}]},{"id":"Plausible.ImportDeletionRepo","deprecated":false,"group":"","title":"Plausible.ImportDeletionRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Imported","deprecated":false,"group":"","title":"Plausible.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"forget/1","deprecated":false,"title":"forget(site)","anchor":"forget/1"},{"id":"tables/0","deprecated":false,"title":"tables()","anchor":"tables/0"}],"key":"functions"}]},{"id":"Plausible.Imported.Buffer","deprecated":false,"group":"","title":"Plausible.Imported.Buffer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"flush/2","deprecated":false,"title":"flush(pid, timeout \\\\ :infinity)","anchor":"flush/2"},{"id":"handle_continue/2","deprecated":false,"title":"handle_continue(arg, state)","anchor":"handle_continue/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"insert_many/3","deprecated":false,"title":"insert_many(pid, table_name, records)","anchor":"insert_many/3"},{"id":"size/2","deprecated":false,"title":"size(pid, table_name)","anchor":"size/2"},{"id":"start_link/0","deprecated":false,"title":"start_link()","anchor":"start_link/0"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Imported.ImportSources","deprecated":false,"group":"","title":"Plausible.Imported.ImportSources","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"by_name/1","deprecated":false,"title":"by_name(name)","anchor":"by_name/1"}],"key":"functions"}]},{"id":"Plausible.Imported.NoopImporter","deprecated":false,"group":"","title":"Plausible.Imported.NoopImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_job/2","deprecated":false,"title":"create_job(site, opts)","anchor":"create_job/2"},{"id":"import/2","deprecated":false,"title":"import(site, arg2)","anchor":"import/2"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"name/0"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(opts)","anchor":"parse_args/1"}],"key":"functions"}]},{"id":"Plausible.Imported.UniversalAnalytics","deprecated":false,"group":"","title":"Plausible.Imported.UniversalAnalytics","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"import_opt/0","deprecated":false,"title":"import_opt()","anchor":"t:import_opt/0"},{"id":"job_opt/0","deprecated":false,"title":"job_opt()","anchor":"t:job_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create_job/2","deprecated":false,"title":"create_job(site, opts)","anchor":"create_job/2"},{"id":"from_report/3","deprecated":false,"title":"from_report(data, site_id, table)","anchor":"from_report/3"},{"id":"import/2","deprecated":false,"title":"import(site, opts)","anchor":"import/2"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"name/0"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(args)","anchor":"parse_args/1"}],"key":"functions"}]},{"id":"Plausible.IngestRepo","deprecated":false,"group":"","title":"Plausible.IngestRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters.Buffer","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.Buffer","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"bucket_fn_opt/0","deprecated":false,"title":"bucket_fn_opt()","anchor":"t:bucket_fn_opt/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"},{"id":"unix_timestamp/0","deprecated":false,"title":"unix_timestamp()","anchor":"t:unix_timestamp/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"aggregate/4","deprecated":false,"title":"aggregate(buffer, metric, domain, timestamp)","anchor":"aggregate/4"},{"id":"bucket_10s/1","deprecated":false,"title":"bucket_10s(datetime)","anchor":"bucket_10s/1"},{"id":"flush/2","deprecated":false,"title":"flush(buffer, now \\\\ DateTime.utc_now())","anchor":"flush/2"},{"id":"new/2","deprecated":false,"title":"new(buffer_name, opts \\\\ [])","anchor":"new/2"},{"id":"previous_10s/1","deprecated":false,"title":"previous_10s(datetime)","anchor":"previous_10s/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters.Record","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.Record","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"id":"Plausible.Ingestion.Counters.TelemetryHandler","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.TelemetryHandler","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/4","deprecated":false,"title":"handle_event(list, measurements, map, buffer)","anchor":"handle_event/4"},{"id":"install/1","deprecated":false,"title":"install(buffer)","anchor":"install/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Event","deprecated":false,"group":"","title":"Plausible.Ingestion.Event","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"drop_reason/0","deprecated":false,"title":"drop_reason()","anchor":"t:drop_reason/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"build_and_buffer/1","deprecated":false,"title":"build_and_buffer(request)","anchor":"build_and_buffer/1"},{"id":"emit_telemetry_buffered/1","deprecated":false,"title":"emit_telemetry_buffered(event)","anchor":"emit_telemetry_buffered/1"},{"id":"emit_telemetry_dropped/2","deprecated":false,"title":"emit_telemetry_dropped(event, reason)","anchor":"emit_telemetry_dropped/2"},{"id":"telemetry_event_buffered/0","deprecated":false,"title":"telemetry_event_buffered()","anchor":"telemetry_event_buffered/0"},{"id":"telemetry_event_dropped/0","deprecated":false,"title":"telemetry_event_dropped()","anchor":"telemetry_event_dropped/0"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Event.Revenue","deprecated":false,"group":"","title":"Plausible.Ingestion.Event.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_revenue_attrs/1","deprecated":false,"title":"get_revenue_attrs(event)","anchor":"get_revenue_attrs/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Request","deprecated":false,"group":"","title":"Plausible.Ingestion.Request","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"build/2","deprecated":false,"title":"build(conn, now \\\\ NaiveDateTime.utc_now())","anchor":"build/2"},{"id":"sanitize_hostname/1","deprecated":false,"title":"sanitize_hostname(hostname)","anchor":"sanitize_hostname/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Request.Revenue","deprecated":false,"group":"","title":"Plausible.Ingestion.Request.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"put_revenue_source/2","deprecated":false,"title":"put_revenue_source(changeset, request_body)","anchor":"put_revenue_source/2"}],"key":"functions"}]},{"id":"Plausible.Mailer","deprecated":false,"group":"","title":"Plausible.Mailer","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"result/0","deprecated":false,"title":"result()","anchor":"t:result/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"deliver/1","deprecated":false,"title":"deliver(email)","anchor":"deliver/1"},{"id":"deliver_later/2","deprecated":false,"title":"deliver_later(email, opts \\\\ [])","anchor":"deliver_later/2"},{"id":"deliver_later!/2","deprecated":false,"title":"deliver_later!(email, opts \\\\ [])","anchor":"deliver_later!/2"},{"id":"deliver_now/2","deprecated":false,"title":"deliver_now(email, opts \\\\ [])","anchor":"deliver_now/2"},{"id":"deliver_now!/2","deprecated":false,"title":"deliver_now!(email, opts \\\\ [])","anchor":"deliver_now!/2"},{"id":"send/1","deprecated":false,"title":"send(email)","anchor":"send/1"}],"key":"functions"}]},{"id":"Plausible.OpenTelemetry.Sampler","deprecated":false,"group":"","title":"Plausible.OpenTelemetry.Sampler","sections":[]},{"id":"Plausible.PaddleApi.Mock","deprecated":false,"group":"","title":"Plausible.PaddleApi.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_prices/1","deprecated":false,"title":"fetch_prices(product_ids)","anchor":"fetch_prices/1"},{"id":"get_invoices/1","deprecated":false,"title":"get_invoices(subscription)","anchor":"get_invoices/1"},{"id":"get_subscription/1","deprecated":false,"title":"get_subscription(_)","anchor":"get_subscription/1"},{"id":"update_subscription/2","deprecated":false,"title":"update_subscription(_, map)","anchor":"update_subscription/2"},{"id":"update_subscription_preview/2","deprecated":false,"title":"update_subscription_preview(user, new_plan_id)","anchor":"update_subscription_preview/2"}],"key":"functions"}]},{"id":"Plausible.Pagination","deprecated":false,"group":"","title":"Plausible.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"paginate/4","deprecated":false,"title":"paginate(queryable, params, opts, repo_opts \\\\ [])","anchor":"paginate/4"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.CustomProps","deprecated":false,"group":"","title":"Plausible.Plugins.API.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(site, prop_or_props)","anchor":"disable/2"},{"id":"enable/2","deprecated":false,"title":"enable(site, prop_or_props)","anchor":"enable/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Goals","deprecated":false,"group":"","title":"Plausible.Plugins.API.Goals","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"create_request/0","deprecated":false,"title":"create_request()","anchor":"t:create_request/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(site, goal_or_goals)","anchor":"create/2"},{"id":"delete/2","deprecated":false,"title":"delete(site, id_or_ids)","anchor":"delete/2"},{"id":"get/2","deprecated":false,"title":"get(site, id)","anchor":"get/2"},{"id":"get_goals/2","deprecated":false,"title":"get_goals(site, params)","anchor":"get_goals/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.SharedLinks","deprecated":false,"group":"","title":"Plausible.Plugins.API.SharedLinks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/2","deprecated":false,"title":"get(site, id)","anchor":"get/2"},{"id":"get_or_create/3","deprecated":false,"title":"get_or_create(site, name, password \\\\ nil)","anchor":"get_or_create/3"},{"id":"get_shared_links/2","deprecated":false,"title":"get_shared_links(site, params)","anchor":"get_shared_links/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Token","deprecated":false,"group":"","title":"Plausible.Plugins.API.Token","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"generate/1","deprecated":false,"title":"generate(random_bytes \\\\ random_bytes())","anchor":"generate/1"},{"id":"hash/1","deprecated":false,"title":"hash(raw)","anchor":"hash/1"},{"id":"insert_changeset/3","deprecated":false,"title":"insert_changeset(site, map, attrs \\\\ %{})","anchor":"insert_changeset/3"},{"id":"last_used_humanize/1","deprecated":false,"title":"last_used_humanize(token)","anchor":"last_used_humanize/1"},{"id":"prefix/0","deprecated":false,"title":"prefix()","anchor":"prefix/0"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Tokens","deprecated":false,"group":"","title":"Plausible.Plugins.API.Tokens","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"any?/1","deprecated":false,"title":"any?(site)","anchor":"any?/1"},{"id":"create/3","deprecated":false,"title":"create(site, description, generated_token \\\\ Token.generate())","anchor":"create/3"},{"id":"delete/2","deprecated":false,"title":"delete(site, token_id)","anchor":"delete/2"},{"id":"find/1","deprecated":false,"title":"find(raw)","anchor":"find/1"},{"id":"list/1","deprecated":false,"title":"list(site)","anchor":"list/1"},{"id":"update_last_seen/2","deprecated":false,"title":"update_last_seen(token, now \\\\ NaiveDateTime.utc_now())","anchor":"update_last_seen/2"}],"key":"functions"}]},{"id":"Plausible.PromEx","deprecated":false,"group":"","title":"Plausible.PromEx","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"}],"key":"functions"}]},{"id":"Plausible.PromEx.Plugins.PlausibleMetrics","deprecated":false,"group":"","title":"Plausible.PromEx.Plugins.PlausibleMetrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"execute_cache_metrics/0","deprecated":false,"title":"execute_cache_metrics()","anchor":"execute_cache_metrics/0"},{"id":"execute_write_buffer_metrics/0","deprecated":false,"title":"execute_write_buffer_metrics()","anchor":"execute_write_buffer_metrics/0"}],"key":"functions"}]},{"id":"Plausible.Props","deprecated":false,"group":"","title":"Plausible.Props","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"prop/0","deprecated":false,"title":"prop()","anchor":"t:prop/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"allow/2","deprecated":false,"title":"allow(site, prop_or_props)","anchor":"allow/2"},{"id":"allow_changeset/2","deprecated":false,"title":"allow_changeset(site, prop_or_props)","anchor":"allow_changeset/2"},{"id":"allow_existing_props/1","deprecated":false,"title":"allow_existing_props(site)","anchor":"allow_existing_props/1"},{"id":"allowed_for/2","deprecated":false,"title":"allowed_for(site, opts \\\\ [])","anchor":"allowed_for/2"},{"id":"configured?/1","deprecated":false,"title":"configured?(site)","anchor":"configured?/1"},{"id":"disallow/2","deprecated":false,"title":"disallow(site, prop_or_props)","anchor":"disallow/2"},{"id":"ensure_prop_key_accessible/2","deprecated":false,"title":"ensure_prop_key_accessible(prop_key, user)","anchor":"ensure_prop_key_accessible/2"},{"id":"internal_keys/0","deprecated":false,"title":"internal_keys()","anchor":"internal_keys/0"},{"id":"max_prop_key_length/0","deprecated":false,"title":"max_prop_key_length()","anchor":"max_prop_key_length/0"},{"id":"max_prop_value_length/0","deprecated":false,"title":"max_prop_value_length()","anchor":"max_prop_value_length/0"},{"id":"max_props/0","deprecated":false,"title":"max_props()","anchor":"max_props/0"},{"id":"suggest_keys_to_allow/2","deprecated":false,"title":"suggest_keys_to_allow(site, limit \\\\ 300)","anchor":"suggest_keys_to_allow/2"}],"key":"functions"}]},{"id":"Plausible.Purge","deprecated":false,"group":"","title":"Plausible.Purge","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"delete_imported_stats!/1","deprecated":false,"title":"delete_imported_stats!(site)","anchor":"delete_imported_stats!/1"},{"id":"delete_native_stats!/1","deprecated":false,"title":"delete_native_stats!(site)","anchor":"delete_native_stats!/1"},{"id":"reset!/1","deprecated":false,"title":"reset!(site)","anchor":"reset!/1"}],"key":"functions"}]},{"id":"Plausible.RateLimit","deprecated":false,"group":"","title":"Plausible.RateLimit","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"check_rate/5","deprecated":false,"title":"check_rate(table \\\\ __MODULE__, key, scale, limit, increment \\\\ 1)","anchor":"check_rate/5"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Release","deprecated":false,"group":"","title":"Plausible.Release","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"configure_ref_inspector/0","deprecated":false,"title":"configure_ref_inspector()","anchor":"configure_ref_inspector/0"},{"id":"configure_ua_inspector/0","deprecated":false,"title":"configure_ua_inspector()","anchor":"configure_ua_inspector/0"},{"id":"createdb/0","deprecated":false,"title":"createdb()","anchor":"createdb/0"},{"id":"dump_plans/0","deprecated":false,"title":"dump_plans()","anchor":"dump_plans/0"},{"id":"migrate/0","deprecated":false,"title":"migrate()","anchor":"migrate/0"},{"id":"pending_migrations/0","deprecated":false,"title":"pending_migrations()","anchor":"pending_migrations/0"},{"id":"rollback/0","deprecated":false,"title":"rollback()","anchor":"rollback/0"},{"id":"seed/0","deprecated":false,"title":"seed()","anchor":"seed/0"},{"id":"should_be_first_launch?/0","deprecated":false,"title":"should_be_first_launch?()","anchor":"should_be_first_launch?/0"}],"key":"functions"}]},{"id":"Plausible.Repo","deprecated":false,"group":"","title":"Plausible.Repo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"explain/3","deprecated":false,"title":"explain(operation, queryable, opts \\\\ [])","anchor":"explain/3"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"in_transaction?/0","deprecated":false,"title":"in_transaction?()","anchor":"in_transaction?/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"paginate/2","deprecated":false,"title":"paginate(pageable, options \\\\ [])","anchor":"paginate/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"query_many/3","deprecated":false,"title":"query_many(sql, params \\\\ [], opts \\\\ [])","anchor":"query_many/3"},{"id":"query_many!/3","deprecated":false,"title":"query_many!(sql, params \\\\ [], opts \\\\ [])","anchor":"query_many!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"rollback/1","deprecated":false,"title":"rollback(value)","anchor":"rollback/1"},{"id":"scrivener_defaults/0","deprecated":false,"title":"scrivener_defaults()","anchor":"scrivener_defaults/0"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"transaction/2","deprecated":false,"title":"transaction(fun_or_multi, opts \\\\ [])","anchor":"transaction/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Sentry.Client","deprecated":false,"group":"","title":"Plausible.Sentry.Client","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/0","deprecated":false,"title":"child_spec()","anchor":"child_spec/0"},{"id":"post/3","deprecated":false,"title":"post(url, headers, body)","anchor":"post/3"}],"key":"functions"}]},{"id":"Plausible.SentryFilter","deprecated":false,"group":"","title":"Plausible.SentryFilter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"before_send/1","deprecated":false,"title":"before_send(event)","anchor":"before_send/1"},{"id":"exclude_exception?/2","deprecated":false,"title":"exclude_exception?(exception, source)","anchor":"exclude_exception?/2"}],"key":"functions"}]},{"id":"Plausible.Session.CacheStore","deprecated":false,"group":"","title":"Plausible.Session.CacheStore","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_event/3","deprecated":false,"title":"on_event(event, prev_user_id, buffer \\\\ WriteBuffer)","anchor":"on_event/3"}],"key":"functions"}]},{"id":"Plausible.Session.Salts","deprecated":false,"group":"","title":"Plausible.Session.Salts","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(arg)","anchor":"child_spec/1"},{"id":"fetch/0","deprecated":false,"title":"fetch()","anchor":"fetch/0"},{"id":"rotate/0","deprecated":false,"title":"rotate()","anchor":"rotate/0"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Site","deprecated":false,"group":"","title":"Plausible.Site","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(site, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"crm_changeset/2","deprecated":false,"title":"crm_changeset(site, attrs)","anchor":"crm_changeset/2"},{"id":"import_failure/1","deprecated":false,"title":"import_failure(site)","anchor":"import_failure/1"},{"id":"import_success/1","deprecated":false,"title":"import_success(site)","anchor":"import_success/1"},{"id":"local_start_date/1","deprecated":false,"title":"local_start_date(site)","anchor":"local_start_date/1"},{"id":"make_private/1","deprecated":false,"title":"make_private(site)","anchor":"make_private/1"},{"id":"make_public/1","deprecated":false,"title":"make_public(site)","anchor":"make_public/1"},{"id":"new/1","deprecated":false,"title":"new(params)","anchor":"new/1"},{"id":"remove_imported_data/1","deprecated":false,"title":"remove_imported_data(site)","anchor":"remove_imported_data/1"},{"id":"set_imported_source/2","deprecated":false,"title":"set_imported_source(site, imported_source)","anchor":"set_imported_source/2"},{"id":"set_native_stats_start_at/2","deprecated":false,"title":"set_native_stats_start_at(site, val)","anchor":"set_native_stats_start_at/2"},{"id":"set_stats_start_date/2","deprecated":false,"title":"set_stats_start_date(site, val)","anchor":"set_stats_start_date/2"},{"id":"start_import/5","deprecated":false,"title":"start_import(site, start_date, end_date, imported_source, status \\\\ \"importing\")","anchor":"start_import/5"},{"id":"tz_offset/2","deprecated":false,"title":"tz_offset(site, utc_now \\\\ DateTime.utc_now())","anchor":"tz_offset/2"},{"id":"update_changeset/3","deprecated":false,"title":"update_changeset(site, attrs \\\\ %{}, opts \\\\ [])","anchor":"update_changeset/3"}],"key":"functions"}]},{"id":"Plausible.Site.Cache","deprecated":false,"group":"","title":"Plausible.Site.Cache","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"get/2","deprecated":false,"title":"get(key, opts \\\\ [])","anchor":"get/2"},{"id":"get_site_id/2","deprecated":false,"title":"get_site_id(domain, opts \\\\ [])","anchor":"get_site_id/2"},{"id":"hit_rate/1","deprecated":false,"title":"hit_rate(cache_name \\\\ name())","anchor":"hit_rate/1"},{"id":"merge_items/2","deprecated":false,"title":"merge_items(new_items, opts \\\\ [])","anchor":"merge_items/2"},{"id":"ready?/1","deprecated":false,"title":"ready?(cache_name \\\\ name())","anchor":"ready?/1"},{"id":"refresh_all/1","deprecated":false,"title":"refresh_all(opts \\\\ [])","anchor":"refresh_all/1"},{"id":"refresh_updated_recently/1","deprecated":false,"title":"refresh_updated_recently(opts \\\\ [])","anchor":"refresh_updated_recently/1"},{"id":"size/1","deprecated":false,"title":"size(cache_name \\\\ name())","anchor":"size/1"},{"id":"telemetry_event_refresh/2","deprecated":false,"title":"telemetry_event_refresh(cache_name \\\\ name(), mode)","anchor":"telemetry_event_refresh/2"},{"id":"touch_site!/2","deprecated":false,"title":"touch_site!(site, now)","anchor":"touch_site!/2"}],"key":"functions"}]},{"id":"Plausible.Site.Domain","deprecated":false,"group":"","title":"Plausible.Site.Domain","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"change/3","deprecated":false,"title":"change(site, new_domain, opts \\\\ [])","anchor":"change/3"},{"id":"expire_change_transitions/1","deprecated":false,"title":"expire_change_transitions(expire_threshold_hours \\\\ 72)","anchor":"expire_change_transitions/1"}],"key":"functions"}]},{"id":"Plausible.Site.GateKeeper","deprecated":false,"group":"","title":"Plausible.Site.GateKeeper","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"policy/0","deprecated":false,"title":"policy()","anchor":"t:policy/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"check/2","deprecated":false,"title":"check(domain, opts \\\\ [])","anchor":"check/2"},{"id":"key/1","deprecated":false,"title":"key(domain)","anchor":"key/1"}],"key":"functions"}]},{"id":"Plausible.Site.GoogleAuth","deprecated":false,"group":"","title":"Plausible.Site.GoogleAuth","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(auth, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"set_property/2","deprecated":false,"title":"set_property(auth, attrs \\\\ %{})","anchor":"set_property/2"}],"key":"functions"}]},{"id":"Plausible.Site.ImportedData","deprecated":false,"group":"","title":"Plausible.Site.ImportedData","sections":[]},{"id":"Plausible.Site.Membership","deprecated":false,"group":"","title":"Plausible.Site.Membership","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"role/0","deprecated":false,"title":"role()","anchor":"t:role/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/2","deprecated":false,"title":"new(site, user)","anchor":"new/2"},{"id":"set_role/2","deprecated":false,"title":"set_role(changeset, role)","anchor":"set_role/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships","deprecated":false,"group":"","title":"Plausible.Site.Memberships","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(invitation_id, user)","anchor":"accept_invitation/2"},{"id":"any?/1","deprecated":false,"title":"any?(user)","anchor":"any?/1"},{"id":"any_or_pending?/1","deprecated":false,"title":"any_or_pending?(user)","anchor":"any_or_pending?/1"},{"id":"bulk_create_invitation/5","deprecated":false,"title":"bulk_create_invitation(sites, inviter, invitee_email, role, opts)","anchor":"bulk_create_invitation/5"},{"id":"bulk_transfer_ownership_direct/2","deprecated":false,"title":"bulk_transfer_ownership_direct(sites, new_owner)","anchor":"bulk_transfer_ownership_direct/2"},{"id":"create_invitation/4","deprecated":false,"title":"create_invitation(site, inviter, invitee_email, role)","anchor":"create_invitation/4"},{"id":"pending?/1","deprecated":false,"title":"pending?(email)","anchor":"pending?/1"},{"id":"pending_ownerships?/1","deprecated":false,"title":"pending_ownerships?(email)","anchor":"pending_ownerships?/1"},{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(invitation_id, user)","anchor":"reject_invitation/2"},{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(invitation_id, site)","anchor":"remove_invitation/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(site, user)","anchor":"transfer_ownership/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.AcceptInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.AcceptInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(invitation_id, user)","anchor":"accept_invitation/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(site, user)","anchor":"transfer_ownership/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.CreateInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.CreateInvitation","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"invite_error/0","deprecated":false,"title":"invite_error()","anchor":"t:invite_error/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"bulk_create_invitation/5","deprecated":false,"title":"bulk_create_invitation(sites, inviter, invitee_email, role, opts \\\\ [])","anchor":"bulk_create_invitation/5"},{"id":"bulk_transfer_ownership_direct/2","deprecated":false,"title":"bulk_transfer_ownership_direct(sites, new_owner)","anchor":"bulk_transfer_ownership_direct/2"},{"id":"create_invitation/4","deprecated":false,"title":"create_invitation(site, inviter, invitee_email, role)","anchor":"create_invitation/4"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.RejectInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.RejectInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(invitation_id, user)","anchor":"reject_invitation/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.RemoveInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.RemoveInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(invitation_id, site)","anchor":"remove_invitation/2"}],"key":"functions"}]},{"id":"Plausible.Site.MonthlyReport","deprecated":false,"group":"","title":"Plausible.Site.MonthlyReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(report, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(settings, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(report, recipient)","anchor":"remove_recipient/2"}],"key":"functions"}]},{"id":"Plausible.Site.Removal","deprecated":false,"group":"","title":"Plausible.Site.Removal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(domain)","anchor":"run/1"}],"key":"functions"}]},{"id":"Plausible.Site.SharedLink","deprecated":false,"group":"","title":"Plausible.Site.SharedLink","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(link, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Site.SpikeNotification","deprecated":false,"group":"","title":"Plausible.Site.SpikeNotification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(schema, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(schema, attrs)","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(schema, recipient)","anchor":"remove_recipient/2"},{"id":"was_sent/1","deprecated":false,"title":"was_sent(schema)","anchor":"was_sent/1"}],"key":"functions"}]},{"id":"Plausible.Site.UserPreference","deprecated":false,"group":"","title":"Plausible.Site.UserPreference","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/3","deprecated":false,"title":"changeset(user, site, attrs \\\\ %{})","anchor":"changeset/3"},{"id":"options/0","deprecated":false,"title":"options()","anchor":"options/0"}],"key":"functions"}]},{"id":"Plausible.Site.WeeklyReport","deprecated":false,"group":"","title":"Plausible.Site.WeeklyReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(report, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(settings, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(report, recipient)","anchor":"remove_recipient/2"}],"key":"functions"}]},{"id":"Plausible.SiteAdmin","deprecated":false,"group":"","title":"Plausible.SiteAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_changeset/2","deprecated":false,"title":"create_changeset(schema, attrs)","anchor":"create_changeset/2"},{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"get_struct_fields/1","deprecated":false,"title":"get_struct_fields(module)","anchor":"get_struct_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"list_actions/1","deprecated":false,"title":"list_actions(conn)","anchor":"list_actions/1"},{"id":"ordering/1","deprecated":false,"title":"ordering(schema)","anchor":"ordering/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(schema, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Sites","deprecated":false,"group":"","title":"Plausible.Sites","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"list_opt/0","deprecated":false,"title":"list_opt()","anchor":"t:list_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(user, params)","anchor":"create/2"},{"id":"create_shared_link/3","deprecated":false,"title":"create_shared_link(site, name, password \\\\ nil)","anchor":"create_shared_link/3"},{"id":"get_by_domain/1","deprecated":false,"title":"get_by_domain(domain)","anchor":"get_by_domain/1"},{"id":"get_by_domain!/1","deprecated":false,"title":"get_by_domain!(domain)","anchor":"get_by_domain!/1"},{"id":"get_for_user/3","deprecated":false,"title":"get_for_user(user_id, domain, roles \\\\ [:owner, :admin, :viewer])","anchor":"get_for_user/3"},{"id":"get_for_user!/3","deprecated":false,"title":"get_for_user!(user_id, domain, roles \\\\ [:owner, :admin, :viewer])","anchor":"get_for_user!/3"},{"id":"has_admin_access?/2","deprecated":false,"title":"has_admin_access?(user_id, site)","anchor":"has_admin_access?/2"},{"id":"has_goals?/1","deprecated":false,"title":"has_goals?(site)","anchor":"has_goals?/1"},{"id":"has_stats?/1","deprecated":false,"title":"has_stats?(site)","anchor":"has_stats?/1"},{"id":"is_member?/2","deprecated":false,"title":"is_member?(user_id, site)","anchor":"is_member?/2"},{"id":"list/3","deprecated":false,"title":"list(user, pagination_params, opts \\\\ [])","anchor":"list/3"},{"id":"list_with_invitations/3","deprecated":false,"title":"list_with_invitations(user, pagination_params, opts \\\\ [])","anchor":"list_with_invitations/3"},{"id":"locked?/1","deprecated":false,"title":"locked?(site)","anchor":"locked?/1"},{"id":"owned_site_ids/1","deprecated":false,"title":"owned_site_ids(user)","anchor":"owned_site_ids/1"},{"id":"owned_sites_count/1","deprecated":false,"title":"owned_sites_count(user)","anchor":"owned_sites_count/1"},{"id":"owned_sites_domains/1","deprecated":false,"title":"owned_sites_domains(user)","anchor":"owned_sites_domains/1"},{"id":"role/2","deprecated":false,"title":"role(user_id, site)","anchor":"role/2"},{"id":"set_option/4","deprecated":false,"title":"set_option(user, site, option, value)","anchor":"set_option/4"},{"id":"shared_link_url/2","deprecated":false,"title":"shared_link_url(site, link)","anchor":"shared_link_url/2"},{"id":"stats_start_date/1","deprecated":false,"title":"stats_start_date(site)","anchor":"stats_start_date/1"},{"id":"toggle_pin/2","deprecated":false,"title":"toggle_pin(user, site)","anchor":"toggle_pin/2"}],"key":"functions"}]},{"id":"Plausible.Stats","deprecated":false,"group":"","title":"Plausible.Stats","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(site, query, metrics)","anchor":"aggregate/3"},{"id":"breakdown/5","deprecated":false,"title":"breakdown(site, query, prop, metrics, pagination)","anchor":"breakdown/5"},{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"},{"id":"filter_suggestions/4","deprecated":false,"title":"filter_suggestions(site, query, filter_name, filter_search)","anchor":"filter_suggestions/4"},{"id":"funnel/3","deprecated":false,"title":"funnel(site, query, funnel)","anchor":"funnel/3"},{"id":"timeseries/3","deprecated":false,"title":"timeseries(site, query, metrics)","anchor":"timeseries/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Aggregate","deprecated":false,"group":"","title":"Plausible.Stats.Aggregate","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(site, query, metrics)","anchor":"aggregate/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Base","deprecated":false,"group":"","title":"Plausible.Stats.Base","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"apply_entry_prop_filter/3","deprecated":false,"title":"apply_entry_prop_filter(sessions_q, prop_name, arg3)","anchor":"apply_entry_prop_filter/3"},{"id":"base_event_query/2","deprecated":false,"title":"base_event_query(site, query)","anchor":"base_event_query/2"},{"id":"dynamic_filter_condition/3","deprecated":false,"title":"dynamic_filter_condition(query, filter_key, db_field)","anchor":"dynamic_filter_condition/3"},{"id":"filter_by_entry_props/2","deprecated":false,"title":"filter_by_entry_props(sessions_q, query)","anchor":"filter_by_entry_props/2"},{"id":"filter_converted_sessions/3","deprecated":false,"title":"filter_converted_sessions(db_query, site, query)","anchor":"filter_converted_sessions/3"},{"id":"page_regex/1","deprecated":false,"title":"page_regex(expr)","anchor":"page_regex/1"},{"id":"query_events/2","deprecated":false,"title":"query_events(site, query)","anchor":"query_events/2"},{"id":"query_sessions/2","deprecated":false,"title":"query_sessions(site, query)","anchor":"query_sessions/2"},{"id":"select_event_metrics/2","deprecated":false,"title":"select_event_metrics(q, list)","anchor":"select_event_metrics/2"},{"id":"select_session_metrics/3","deprecated":false,"title":"select_session_metrics(q, list, query)","anchor":"select_session_metrics/3"},{"id":"utc_boundaries/2","deprecated":false,"title":"utc_boundaries(query, site)","anchor":"utc_boundaries/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Breakdown","deprecated":false,"group":"","title":"Plausible.Stats.Breakdown","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"breakdown/6","deprecated":false,"title":"breakdown(site, query, property, metrics, pagination, opts \\\\ [])","anchor":"breakdown/6"}],"key":"functions"}]},{"id":"Plausible.Stats.Clickhouse","deprecated":false,"group":"","title":"Plausible.Stats.Clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(site, query)","anchor":"current_visitors/2"},{"id":"empty_24h_visitors_hourly_intervals/2","deprecated":false,"title":"empty_24h_visitors_hourly_intervals(sites, now \\\\ NaiveDateTime.utc_now())","anchor":"empty_24h_visitors_hourly_intervals/2"},{"id":"has_pageviews?/1","deprecated":false,"title":"has_pageviews?(site)","anchor":"has_pageviews?/1"},{"id":"imported_pageview_count/1","deprecated":false,"title":"imported_pageview_count(site)","anchor":"imported_pageview_count/1"},{"id":"last_24h_visitors_hourly_intervals/2","deprecated":false,"title":"last_24h_visitors_hourly_intervals(sites, now \\\\ NaiveDateTime.utc_now())","anchor":"last_24h_visitors_hourly_intervals/2"},{"id":"pageview_start_date_local/1","deprecated":false,"title":"pageview_start_date_local(site)","anchor":"pageview_start_date_local/1"},{"id":"top_sources/6","deprecated":false,"title":"top_sources(site, query, limit, page, show_noref \\\\ false, include_details)","anchor":"top_sources/6"},{"id":"usage_breakdown/2","deprecated":false,"title":"usage_breakdown(domains, date_range)","anchor":"usage_breakdown/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Compare","deprecated":false,"group":"","title":"Plausible.Stats.Compare","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"calculate_change/3","deprecated":false,"title":"calculate_change(arg1, old_count, new_count)","anchor":"calculate_change/3"},{"id":"percent_change/2","deprecated":false,"title":"percent_change(old_count, new_count)","anchor":"percent_change/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Comparisons","deprecated":false,"group":"","title":"Plausible.Stats.Comparisons","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"mode/0","deprecated":false,"title":"mode()","anchor":"t:mode/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"compare/4","deprecated":false,"title":"compare(site, source_query, mode, opts \\\\ [])","anchor":"compare/4"}],"key":"functions"}]},{"id":"Plausible.Stats.CurrentVisitors","deprecated":false,"group":"","title":"Plausible.Stats.CurrentVisitors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"}],"key":"functions"}]},{"id":"Plausible.Stats.CustomProps","deprecated":false,"group":"","title":"Plausible.Stats.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_prop_names/2","deprecated":false,"title":"fetch_prop_names(site, query)","anchor":"fetch_prop_names/2"},{"id":"maybe_allowed_props_only/2","deprecated":false,"title":"maybe_allowed_props_only(q, site)","anchor":"maybe_allowed_props_only/2"}],"key":"functions"}]},{"id":"Plausible.Stats.EmailReport","deprecated":false,"group":"","title":"Plausible.Stats.EmailReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/2","deprecated":false,"title":"get(site, query)","anchor":"get/2"}],"key":"functions"}]},{"id":"Plausible.Stats.FilterSuggestions","deprecated":false,"group":"","title":"Plausible.Stats.FilterSuggestions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"filter_suggestions/4","deprecated":false,"title":"filter_suggestions(site, query, filter_name, filter_search)","anchor":"filter_suggestions/4"}],"key":"functions"}]},{"id":"Plausible.Stats.Filters","deprecated":false,"group":"","title":"Plausible.Stats.Filters","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_props/0","deprecated":false,"title":"event_props()","anchor":"event_props/0"},{"id":"parse/1","deprecated":false,"title":"parse(filters)","anchor":"parse/1"},{"id":"visit_props/0","deprecated":false,"title":"visit_props()","anchor":"visit_props/0"}],"key":"functions"}]},{"id":"Plausible.Stats.Filters.Utils","deprecated":false,"group":"","title":"Plausible.Stats.Filters.Utils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"list_expression?/1","deprecated":false,"title":"list_expression?(expression)","anchor":"list_expression?/1"},{"id":"parse_member_list/1","deprecated":false,"title":"parse_member_list(raw_value)","anchor":"parse_member_list/1"},{"id":"remove_escape_chars/1","deprecated":false,"title":"remove_escape_chars(value)","anchor":"remove_escape_chars/1"},{"id":"unwrap_goal_value/1","deprecated":false,"title":"unwrap_goal_value(goals)","anchor":"unwrap_goal_value/1"},{"id":"wildcard_expression?/1","deprecated":false,"title":"wildcard_expression?(expression)","anchor":"wildcard_expression?/1"},{"id":"wrap_goal_value/1","deprecated":false,"title":"wrap_goal_value(goals)","anchor":"wrap_goal_value/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Fragments","deprecated":false,"group":"","title":"Plausible.Stats.Fragments","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bounce_rate/0","deprecated":false,"title":"bounce_rate()","anchor":"bounce_rate/0"},{"id":"coalesce_string/2","deprecated":false,"title":"coalesce_string(fieldA, fieldB)","anchor":"coalesce_string/2"},{"id":"get_by_key/3","deprecated":false,"title":"get_by_key(table, meta_column, key)","anchor":"get_by_key/3"},{"id":"has_key/3","deprecated":false,"title":"has_key(table, meta_column, key)","anchor":"has_key/3"},{"id":"sample_percent/0","deprecated":false,"title":"sample_percent()","anchor":"sample_percent/0"},{"id":"to_timezone/2","deprecated":false,"title":"to_timezone(date, timezone)","anchor":"to_timezone/2"},{"id":"total/0","deprecated":false,"title":"total()","anchor":"total/0"},{"id":"uniq/1","deprecated":false,"title":"uniq(user_id)","anchor":"uniq/1"},{"id":"visit_duration/0","deprecated":false,"title":"visit_duration()","anchor":"visit_duration/0"},{"id":"weekstart_not_before/2","deprecated":false,"title":"weekstart_not_before(date, not_before)","anchor":"weekstart_not_before/2"},{"id":"weekstart_not_before/3","deprecated":false,"title":"weekstart_not_before(date, not_before, timezone)","anchor":"weekstart_not_before/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Funnel","deprecated":false,"group":"","title":"Plausible.Stats.Funnel","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"funnel/3","deprecated":false,"title":"funnel(site, query, funnel_id)","anchor":"funnel/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Goal.Revenue","deprecated":false,"group":"","title":"Plausible.Stats.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"average_revenue_query/1","deprecated":false,"title":"average_revenue_query(query)","anchor":"average_revenue_query/1"},{"id":"cast_revenue_metrics_to_money/2","deprecated":false,"title":"cast_revenue_metrics_to_money(results, revenue_goals)","anchor":"cast_revenue_metrics_to_money/2"},{"id":"get_revenue_tracking_currency/3","deprecated":false,"title":"get_revenue_tracking_currency(site, query, metrics)","anchor":"get_revenue_tracking_currency/3"},{"id":"revenue_metrics/0","deprecated":false,"title":"revenue_metrics()","anchor":"revenue_metrics/0"},{"id":"total_revenue_query/1","deprecated":false,"title":"total_revenue_query(query)","anchor":"total_revenue_query/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported","deprecated":false,"group":"","title":"Plausible.Stats.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"merge_imported/5","deprecated":false,"title":"merge_imported(q, site, query, property, metrics)","anchor":"merge_imported/5"},{"id":"merge_imported_timeseries/4","deprecated":false,"title":"merge_imported_timeseries(native_q, site, query, metrics)","anchor":"merge_imported_timeseries/4"}],"key":"functions"}]},{"id":"Plausible.Stats.Interval","deprecated":false,"group":"","title":"Plausible.Stats.Interval","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"opt/0","deprecated":false,"title":"opt()","anchor":"t:opt/0"},{"id":"opts/0","deprecated":false,"title":"opts()","anchor":"t:opts/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"default_for_date_range/1","deprecated":false,"title":"default_for_date_range(range)","anchor":"default_for_date_range/1"},{"id":"default_for_period/1","deprecated":false,"title":"default_for_period(period)","anchor":"default_for_period/1"},{"id":"list/0","deprecated":false,"title":"list()","anchor":"list/0"},{"id":"valid?/1","deprecated":false,"title":"valid?(interval)","anchor":"valid?/1"},{"id":"valid_by_period/1","deprecated":false,"title":"valid_by_period(opts \\\\ [])","anchor":"valid_by_period/1"},{"id":"valid_for_period?/3","deprecated":false,"title":"valid_for_period?(period, interval, opts \\\\ [])","anchor":"valid_for_period?/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Props","deprecated":false,"group":"","title":"Plausible.Stats.Props","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_props/0","deprecated":false,"title":"event_props()","anchor":"event_props/0"},{"id":"valid_prop?/1","deprecated":false,"title":"valid_prop?(prop)","anchor":"valid_prop?/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Query","deprecated":false,"group":"","title":"Plausible.Stats.Query","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"from/2","deprecated":false,"title":"from(site, params)","anchor":"from/2"},{"id":"get_all_filters_by_prefix/2","deprecated":false,"title":"get_all_filters_by_prefix(query, prefix)","anchor":"get_all_filters_by_prefix/2"},{"id":"get_filter_by_prefix/2","deprecated":false,"title":"get_filter_by_prefix(query, prefix)","anchor":"get_filter_by_prefix/2"},{"id":"has_event_filters?/1","deprecated":false,"title":"has_event_filters?(query)","anchor":"has_event_filters?/1"},{"id":"include_imported?/3","deprecated":false,"title":"include_imported?(query, site, requested?)","anchor":"include_imported?/3"},{"id":"put_filter/3","deprecated":false,"title":"put_filter(query, key, val)","anchor":"put_filter/3"},{"id":"remove_event_filters/2","deprecated":false,"title":"remove_event_filters(query, opts)","anchor":"remove_event_filters/2"},{"id":"trace/2","deprecated":false,"title":"trace(query, metrics)","anchor":"trace/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Sampling","deprecated":false,"group":"","title":"Plausible.Stats.Sampling","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_query_hint/1","deprecated":false,"title":"add_query_hint(query)","anchor":"add_query_hint/1"},{"id":"add_query_hint/2","deprecated":false,"title":"add_query_hint(db_query, query)","anchor":"add_query_hint/2"},{"id":"put_threshold/2","deprecated":false,"title":"put_threshold(query, params)","anchor":"put_threshold/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Timeseries","deprecated":false,"group":"","title":"Plausible.Stats.Timeseries","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"results/0","deprecated":false,"title":"results()","anchor":"t:results/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"timeseries/3","deprecated":false,"title":"timeseries(site, query, metrics)","anchor":"timeseries/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Util","deprecated":false,"group":"","title":"Plausible.Stats.Util","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"remove_internal_visits_metric/1","deprecated":false,"title":"remove_internal_visits_metric(result)","anchor":"remove_internal_visits_metric/1"},{"id":"remove_internal_visits_metric/2","deprecated":false,"title":"remove_internal_visits_metric(results, metrics)","anchor":"remove_internal_visits_metric/2"}],"key":"functions"}]},{"id":"Plausible.Test.Support.HTML","deprecated":false,"group":"","title":"Plausible.Test.Support.HTML","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"class_of_element/2","deprecated":false,"title":"class_of_element(html, element)","anchor":"class_of_element/2"},{"id":"element_exists?/2","deprecated":false,"title":"element_exists?(html, selector)","anchor":"element_exists?/2"},{"id":"find/2","deprecated":false,"title":"find(html, value)","anchor":"find/2"},{"id":"form_exists?/2","deprecated":false,"title":"form_exists?(html, action_path)","anchor":"form_exists?/2"},{"id":"name_of/1","deprecated":false,"title":"name_of(element)","anchor":"name_of/1"},{"id":"submit_button/2","deprecated":false,"title":"submit_button(html, form)","anchor":"submit_button/2"},{"id":"text/1","deprecated":false,"title":"text(element)","anchor":"text/1"},{"id":"text_of_attr/2","deprecated":false,"title":"text_of_attr(element, attr)","anchor":"text_of_attr/2"},{"id":"text_of_attr/3","deprecated":false,"title":"text_of_attr(html, element, attr)","anchor":"text_of_attr/3"},{"id":"text_of_element/2","deprecated":false,"title":"text_of_element(html, element)","anchor":"text_of_element/2"}],"key":"functions"}]},{"id":"Plausible.Test.Support.HTTPMocker","deprecated":false,"group":"","title":"Plausible.Test.Support.HTTPMocker","sections":[]},{"id":"Plausible.TestUtils","deprecated":false,"group":"","title":"Plausible.TestUtils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_imported_data/1","deprecated":false,"title":"add_imported_data(map)","anchor":"add_imported_data/1"},{"id":"await_clickhouse_count/2","deprecated":false,"title":"await_clickhouse_count(query, expected)","anchor":"await_clickhouse_count/2"},{"id":"create_api_key/1","deprecated":false,"title":"create_api_key(map)","anchor":"create_api_key/1"},{"id":"create_events/1","deprecated":false,"title":"create_events(events)","anchor":"create_events/1"},{"id":"create_new_site/1","deprecated":false,"title":"create_new_site(map)","anchor":"create_new_site/1"},{"id":"create_pageviews/1","deprecated":false,"title":"create_pageviews(pageviews)","anchor":"create_pageviews/1"},{"id":"create_sessions/1","deprecated":false,"title":"create_sessions(sessions)","anchor":"create_sessions/1"},{"id":"create_site/1","deprecated":false,"title":"create_site(map)","anchor":"create_site/1"},{"id":"create_user/1","deprecated":false,"title":"create_user(_)","anchor":"create_user/1"},{"id":"eventually/3","deprecated":false,"title":"eventually(expectation, wait_time_ms \\\\ 50, retries \\\\ 10)","anchor":"eventually/3"},{"id":"generate_usage_for/3","deprecated":false,"title":"generate_usage_for(site, i, timestamp \\\\ NaiveDateTime.utc_now())","anchor":"generate_usage_for/3"},{"id":"init_session/1","deprecated":false,"title":"init_session(conn)","anchor":"init_session/1"},{"id":"log_in/1","deprecated":false,"title":"log_in(map)","anchor":"log_in/1"},{"id":"patch_env/2","deprecated":false,"title":"patch_env(env_key, value)","anchor":"patch_env/2"},{"id":"populate_stats/1","deprecated":false,"title":"populate_stats(events)","anchor":"populate_stats/1"},{"id":"populate_stats/2","deprecated":false,"title":"populate_stats(site, events)","anchor":"populate_stats/2"},{"id":"random_ip/0","deprecated":false,"title":"random_ip()","anchor":"random_ip/0"},{"id":"relative_time/1","deprecated":false,"title":"relative_time(shifts)","anchor":"relative_time/1"},{"id":"setup_patch_env/2","deprecated":false,"title":"setup_patch_env(env_key, value)","anchor":"setup_patch_env/2"},{"id":"to_naive_truncate/1","deprecated":false,"title":"to_naive_truncate(dt)","anchor":"to_naive_truncate/1"},{"id":"use_api_key/1","deprecated":false,"title":"use_api_key(map)","anchor":"use_api_key/1"}],"key":"functions"}]},{"id":"Plausible.Themes","deprecated":false,"group":"","title":"Plausible.Themes","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"options/0","deprecated":false,"title":"options()","anchor":"options/0"}],"key":"functions"}]},{"id":"Plausible.Timezones","deprecated":false,"group":"","title":"Plausible.Timezones","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"options/1","deprecated":false,"title":"options(now \\\\ DateTime.utc_now())","anchor":"options/1"},{"id":"to_date_in_timezone/2","deprecated":false,"title":"to_date_in_timezone(dt, timezone)","anchor":"to_date_in_timezone/2"},{"id":"to_utc_datetime/2","deprecated":false,"title":"to_utc_datetime(naive_date_time, timezone)","anchor":"to_utc_datetime/2"}],"key":"functions"}]},{"id":"Plausible.Users","deprecated":false,"group":"","title":"Plausible.Users","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_traffic_until/1","deprecated":false,"title":"accept_traffic_until(user)","anchor":"accept_traffic_until/1"},{"id":"allow_next_upgrade_override/1","deprecated":false,"title":"allow_next_upgrade_override(user)","anchor":"allow_next_upgrade_override/1"},{"id":"has_email_code?/1","deprecated":false,"title":"has_email_code?(user)","anchor":"has_email_code?/1"},{"id":"maybe_reset_next_upgrade_override/1","deprecated":false,"title":"maybe_reset_next_upgrade_override(user)","anchor":"maybe_reset_next_upgrade_override/1"},{"id":"on_trial?/1","deprecated":false,"title":"on_trial?(user)","anchor":"on_trial?/1"},{"id":"trial_days_left/1","deprecated":false,"title":"trial_days_left(user)","anchor":"trial_days_left/1"},{"id":"update_accept_traffic_until/1","deprecated":false,"title":"update_accept_traffic_until(user)","anchor":"update_accept_traffic_until/1"},{"id":"with_subscription/1","deprecated":false,"title":"with_subscription(user)","anchor":"with_subscription/1"}],"key":"functions"}]},{"id":"Plausible.Workers.AcceptTrafficUntil","deprecated":false,"group":"","title":"Plausible.Workers.AcceptTrafficUntil","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dry_run/1","deprecated":false,"title":"dry_run(date)","anchor":"dry_run/1"}],"key":"functions"}]},{"id":"Plausible.Workers.CheckUsage","deprecated":false,"group":"","title":"Plausible.Workers.CheckUsage","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"check_enterprise_subscriber/2","deprecated":false,"title":"check_enterprise_subscriber(subscriber, quota_mod)","anchor":"check_enterprise_subscriber/2"},{"id":"day_of_month/1","deprecated":false,"title":"day_of_month(date)","anchor":"day_of_month/1"},{"id":"exceeds_last_two_usage_cycles?/2","deprecated":false,"title":"exceeds_last_two_usage_cycles?(usage, limit)","anchor":"exceeds_last_two_usage_cycles?/2"},{"id":"last_day_of_month/1","deprecated":false,"title":"last_day_of_month(day)","anchor":"last_day_of_month/1"},{"id":"least/2","deprecated":false,"title":"least(left, right)","anchor":"least/2"},{"id":"yesterday/0","deprecated":false,"title":"yesterday()","anchor":"yesterday/0"}],"key":"functions"}]},{"id":"Plausible.Workers.CleanInvitations","deprecated":false,"group":"","title":"Plausible.Workers.CleanInvitations","sections":[]},{"id":"Plausible.Workers.ExpireDomainChangeTransitions","deprecated":false,"group":"","title":"Plausible.Workers.ExpireDomainChangeTransitions","sections":[]},{"id":"Plausible.Workers.ImportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ImportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"import_failed/2","deprecated":false,"title":"import_failed(source, site)","anchor":"import_failed/2"},{"id":"import_success/2","deprecated":false,"title":"import_success(source, site)","anchor":"import_success/2"}],"key":"functions"}]},{"id":"Plausible.Workers.LockSites","deprecated":false,"group":"","title":"Plausible.Workers.LockSites","sections":[]},{"id":"Plausible.Workers.NotifyAnnualRenewal","deprecated":false,"group":"","title":"Plausible.Workers.NotifyAnnualRenewal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.RotateSalts","deprecated":false,"group":"","title":"Plausible.Workers.RotateSalts","sections":[]},{"id":"Plausible.Workers.ScheduleEmailReports","deprecated":false,"group":"","title":"Plausible.Workers.ScheduleEmailReports","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"first_of_month_9am/1","deprecated":false,"title":"first_of_month_9am(timezone)","anchor":"first_of_month_9am/1"},{"id":"monday_9am/1","deprecated":false,"title":"monday_9am(timezone)","anchor":"monday_9am/1"},{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.SendCheckStatsEmails","deprecated":false,"group":"","title":"Plausible.Workers.SendCheckStatsEmails","sections":[]},{"id":"Plausible.Workers.SendEmailReport","deprecated":false,"group":"","title":"Plausible.Workers.SendEmailReport","sections":[]},{"id":"Plausible.Workers.SendSiteSetupEmails","deprecated":false,"group":"","title":"Plausible.Workers.SendSiteSetupEmails","sections":[]},{"id":"Plausible.Workers.SendTrialNotifications","deprecated":false,"group":"","title":"Plausible.Workers.SendTrialNotifications","sections":[]},{"id":"Plausible.Workers.SpikeNotifier","deprecated":false,"group":"","title":"Plausible.Workers.SpikeNotifier","sections":[]},{"id":"PlausibleWeb","deprecated":false,"group":"","title":"PlausibleWeb","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__using__/1","deprecated":false,"title":"__using__(which)","anchor":"__using__/1"},{"id":"channel/0","deprecated":false,"title":"channel()","anchor":"channel/0"},{"id":"controller/0","deprecated":false,"title":"controller()","anchor":"controller/0"},{"id":"live_view/1","deprecated":false,"title":"live_view(opts \\\\ [])","anchor":"live_view/1"},{"id":"open_api_schema/0","deprecated":false,"title":"open_api_schema()","anchor":"open_api_schema/0"},{"id":"plugins_api_controller/0","deprecated":false,"title":"plugins_api_controller()","anchor":"plugins_api_controller/0"},{"id":"plugins_api_view/0","deprecated":false,"title":"plugins_api_view()","anchor":"plugins_api_view/0"},{"id":"router/0","deprecated":false,"title":"router()","anchor":"router/0"},{"id":"view/0","deprecated":false,"title":"view()","anchor":"view/0"}],"key":"functions"}]},{"id":"PlausibleWeb.AdminController","deprecated":false,"group":"","title":"PlausibleWeb.AdminController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"usage/2","deprecated":false,"title":"usage(conn, params)","anchor":"usage/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/2","deprecated":false,"title":"error(conn, params)","anchor":"error/2"},{"id":"event/2","deprecated":false,"title":"event(conn, params)","anchor":"event/2"},{"id":"health/2","deprecated":false,"title":"health(conn, params)","anchor":"health/2"},{"id":"info/2","deprecated":false,"title":"info(conn, params)","anchor":"info/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalSitesController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalSitesController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_site/2","deprecated":false,"title":"create_site(conn, params)","anchor":"create_site/2"},{"id":"delete_goal/2","deprecated":false,"title":"delete_goal(conn, params)","anchor":"delete_goal/2"},{"id":"delete_site/2","deprecated":false,"title":"delete_site(conn, map)","anchor":"delete_site/2"},{"id":"find_or_create_goal/2","deprecated":false,"title":"find_or_create_goal(conn, params)","anchor":"find_or_create_goal/2"},{"id":"find_or_create_shared_link/2","deprecated":false,"title":"find_or_create_shared_link(conn, params)","anchor":"find_or_create_shared_link/2"},{"id":"get_site/2","deprecated":false,"title":"get_site(conn, map)","anchor":"get_site/2"},{"id":"update_site/2","deprecated":false,"title":"update_site(conn, params)","anchor":"update_site/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalStatsController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalStatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/2","deprecated":false,"title":"aggregate(conn, params)","anchor":"aggregate/2"},{"id":"breakdown/2","deprecated":false,"title":"breakdown(conn, params)","anchor":"breakdown/2"},{"id":"realtime_visitors/2","deprecated":false,"title":"realtime_visitors(conn, params)","anchor":"realtime_visitors/2"},{"id":"timeseries/2","deprecated":false,"title":"timeseries(conn, params)","anchor":"timeseries/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.Helpers","deprecated":false,"group":"","title":"PlausibleWeb.Api.Helpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bad_request/2","deprecated":false,"title":"bad_request(conn, msg)","anchor":"bad_request/2"},{"id":"not_found/2","deprecated":false,"title":"not_found(conn, msg)","anchor":"not_found/2"},{"id":"payment_required/2","deprecated":false,"title":"payment_required(conn, msg)","anchor":"payment_required/2"},{"id":"too_many_requests/2","deprecated":false,"title":"too_many_requests(conn, msg)","anchor":"too_many_requests/2"},{"id":"unauthorized/2","deprecated":false,"title":"unauthorized(conn, msg)","anchor":"unauthorized/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.InternalController","deprecated":false,"group":"","title":"PlausibleWeb.Api.InternalController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable_feature/2","deprecated":false,"title":"disable_feature(conn, map)","anchor":"disable_feature/2"},{"id":"domain_status/2","deprecated":false,"title":"domain_status(conn, map)","anchor":"domain_status/2"},{"id":"sites/2","deprecated":false,"title":"sites(conn, params)","anchor":"sites/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.PaddleController","deprecated":false,"group":"","title":"PlausibleWeb.Api.PaddleController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"verified_signature?/1","deprecated":false,"title":"verified_signature?(params)","anchor":"verified_signature?/1"},{"id":"verify_signature/2","deprecated":false,"title":"verify_signature(conn, opts)","anchor":"verify_signature/2"},{"id":"webhook/2","deprecated":false,"title":"webhook(conn, params)","anchor":"webhook/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.StatsController","deprecated":false,"group":"","title":"PlausibleWeb.Api.StatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_custom_prop_values/2","deprecated":false,"title":"all_custom_prop_values(conn, params)","anchor":"all_custom_prop_values/2"},{"id":"browser_versions/2","deprecated":false,"title":"browser_versions(conn, params)","anchor":"browser_versions/2"},{"id":"browsers/2","deprecated":false,"title":"browsers(conn, params)","anchor":"browsers/2"},{"id":"cities/2","deprecated":false,"title":"cities(conn, params)","anchor":"cities/2"},{"id":"conversions/2","deprecated":false,"title":"conversions(conn, params)","anchor":"conversions/2"},{"id":"countries/2","deprecated":false,"title":"countries(conn, params)","anchor":"countries/2"},{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(conn, _)","anchor":"current_visitors/2"},{"id":"custom_prop_values/2","deprecated":false,"title":"custom_prop_values(conn, params)","anchor":"custom_prop_values/2"},{"id":"entry_pages/2","deprecated":false,"title":"entry_pages(conn, params)","anchor":"entry_pages/2"},{"id":"exit_pages/2","deprecated":false,"title":"exit_pages(conn, params)","anchor":"exit_pages/2"},{"id":"filter_suggestions/2","deprecated":false,"title":"filter_suggestions(conn, params)","anchor":"filter_suggestions/2"},{"id":"format_money/1","deprecated":false,"title":"format_money(money)","anchor":"format_money/1"},{"id":"format_revenue_metric/1","deprecated":false,"title":"format_revenue_metric(metric_value)","anchor":"format_revenue_metric/1"},{"id":"funnel/2","deprecated":false,"title":"funnel(conn, params)","anchor":"funnel/2"},{"id":"main_graph/2","deprecated":false,"title":"main_graph(conn, params)","anchor":"main_graph/2"},{"id":"operating_system_versions/2","deprecated":false,"title":"operating_system_versions(conn, params)","anchor":"operating_system_versions/2"},{"id":"operating_systems/2","deprecated":false,"title":"operating_systems(conn, params)","anchor":"operating_systems/2"},{"id":"pages/2","deprecated":false,"title":"pages(conn, params)","anchor":"pages/2"},{"id":"referrer_drilldown/2","deprecated":false,"title":"referrer_drilldown(conn, params)","anchor":"referrer_drilldown/2"},{"id":"referrers/2","deprecated":false,"title":"referrers(conn, params)","anchor":"referrers/2"},{"id":"regions/2","deprecated":false,"title":"regions(conn, params)","anchor":"regions/2"},{"id":"screen_sizes/2","deprecated":false,"title":"screen_sizes(conn, params)","anchor":"screen_sizes/2"},{"id":"sources/2","deprecated":false,"title":"sources(conn, params)","anchor":"sources/2"},{"id":"top_stats/2","deprecated":false,"title":"top_stats(conn, params)","anchor":"top_stats/2"},{"id":"utm_campaigns/2","deprecated":false,"title":"utm_campaigns(conn, params)","anchor":"utm_campaigns/2"},{"id":"utm_contents/2","deprecated":false,"title":"utm_contents(conn, params)","anchor":"utm_contents/2"},{"id":"utm_mediums/2","deprecated":false,"title":"utm_mediums(conn, params)","anchor":"utm_mediums/2"},{"id":"utm_sources/2","deprecated":false,"title":"utm_sources(conn, params)","anchor":"utm_sources/2"},{"id":"utm_terms/2","deprecated":false,"title":"utm_terms(conn, params)","anchor":"utm_terms/2"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthController","deprecated":false,"group":"","title":"PlausibleWeb.AuthController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"activate/2","deprecated":false,"title":"activate(conn, map)","anchor":"activate/2"},{"id":"activate_form/2","deprecated":false,"title":"activate_form(conn, params)","anchor":"activate_form/2"},{"id":"cancel_update_email/2","deprecated":false,"title":"cancel_update_email(conn, params)","anchor":"cancel_update_email/2"},{"id":"create_api_key/2","deprecated":false,"title":"create_api_key(conn, map)","anchor":"create_api_key/2"},{"id":"delete_api_key/2","deprecated":false,"title":"delete_api_key(conn, map)","anchor":"delete_api_key/2"},{"id":"delete_me/2","deprecated":false,"title":"delete_me(conn, params)","anchor":"delete_me/2"},{"id":"disable_2fa/2","deprecated":false,"title":"disable_2fa(conn, map)","anchor":"disable_2fa/2"},{"id":"generate_2fa_recovery_codes/2","deprecated":false,"title":"generate_2fa_recovery_codes(conn, map)","anchor":"generate_2fa_recovery_codes/2"},{"id":"google_auth_callback/2","deprecated":false,"title":"google_auth_callback(conn, params)","anchor":"google_auth_callback/2"},{"id":"initiate_2fa_setup/2","deprecated":false,"title":"initiate_2fa_setup(conn, params)","anchor":"initiate_2fa_setup/2"},{"id":"login/2","deprecated":false,"title":"login(conn, map)","anchor":"login/2"},{"id":"login_form/2","deprecated":false,"title":"login_form(conn, params)","anchor":"login_form/2"},{"id":"logout/2","deprecated":false,"title":"logout(conn, params)","anchor":"logout/2"},{"id":"new_api_key/2","deprecated":false,"title":"new_api_key(conn, params)","anchor":"new_api_key/2"},{"id":"password_reset/2","deprecated":false,"title":"password_reset(conn, params)","anchor":"password_reset/2"},{"id":"password_reset_form/2","deprecated":false,"title":"password_reset_form(conn, params)","anchor":"password_reset_form/2"},{"id":"password_reset_request/2","deprecated":false,"title":"password_reset_request(conn, params)","anchor":"password_reset_request/2"},{"id":"password_reset_request_form/2","deprecated":false,"title":"password_reset_request_form(conn, _)","anchor":"password_reset_request_form/2"},{"id":"register/2","deprecated":false,"title":"register(conn, map)","anchor":"register/2"},{"id":"register_from_invitation/2","deprecated":false,"title":"register_from_invitation(conn, map)","anchor":"register_from_invitation/2"},{"id":"request_activation_code/2","deprecated":false,"title":"request_activation_code(conn, params)","anchor":"request_activation_code/2"},{"id":"save_settings/2","deprecated":false,"title":"save_settings(conn, map)","anchor":"save_settings/2"},{"id":"update_email/2","deprecated":false,"title":"update_email(conn, map)","anchor":"update_email/2"},{"id":"user_settings/2","deprecated":false,"title":"user_settings(conn, params)","anchor":"user_settings/2"},{"id":"verify_2fa/2","deprecated":false,"title":"verify_2fa(conn, params)","anchor":"verify_2fa/2"},{"id":"verify_2fa_form/2","deprecated":false,"title":"verify_2fa_form(conn, _)","anchor":"verify_2fa_form/2"},{"id":"verify_2fa_recovery_code/2","deprecated":false,"title":"verify_2fa_recovery_code(conn, map)","anchor":"verify_2fa_recovery_code/2"},{"id":"verify_2fa_recovery_code_form/2","deprecated":false,"title":"verify_2fa_recovery_code_form(conn, params)","anchor":"verify_2fa_recovery_code_form/2"},{"id":"verify_2fa_setup/2","deprecated":false,"title":"verify_2fa_setup(conn, map)","anchor":"verify_2fa_setup/2"},{"id":"verify_2fa_setup_form/2","deprecated":false,"title":"verify_2fa_setup_form(conn, params)","anchor":"verify_2fa_setup_form/2"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthView","deprecated":false,"group":"","title":"PlausibleWeb.AuthView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"activate.html/1","deprecated":false,"title":"activate.html(assigns)","anchor":"activate.html/1"},{"id":"delimit_integer/1","deprecated":false,"title":"delimit_integer(number)","anchor":"delimit_integer/1"},{"id":"format_invoices/1","deprecated":false,"title":"format_invoices(invoice_list)","anchor":"format_invoices/1"},{"id":"generate_2fa_recovery_codes.html/1","deprecated":false,"title":"generate_2fa_recovery_codes.html(assigns)","anchor":"generate_2fa_recovery_codes.html/1"},{"id":"initiate_2fa_setup.html/1","deprecated":false,"title":"initiate_2fa_setup.html(assigns)","anchor":"initiate_2fa_setup.html/1"},{"id":"login_form.html/1","deprecated":false,"title":"login_form.html(assigns)","anchor":"login_form.html/1"},{"id":"new_api_key.html/1","deprecated":false,"title":"new_api_key.html(assigns)","anchor":"new_api_key.html/1"},{"id":"password_reset_form.html/1","deprecated":false,"title":"password_reset_form.html(assigns)","anchor":"password_reset_form.html/1"},{"id":"password_reset_request_form.html/1","deprecated":false,"title":"password_reset_request_form.html(assigns)","anchor":"password_reset_request_form.html/1"},{"id":"password_reset_request_success.html/1","deprecated":false,"title":"password_reset_request_success.html(assigns)","anchor":"password_reset_request_success.html/1"},{"id":"present_subscription_status/1","deprecated":false,"title":"present_subscription_status(status)","anchor":"present_subscription_status/1"},{"id":"register_success.html/1","deprecated":false,"title":"register_success.html(assigns)","anchor":"register_success.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"subscription_colors/1","deprecated":false,"title":"subscription_colors(_)","anchor":"subscription_colors/1"},{"id":"subscription_interval/1","deprecated":false,"title":"subscription_interval(subscription)","anchor":"subscription_interval/1"},{"id":"subscription_quota/2","deprecated":false,"title":"subscription_quota(subscription, options \\\\ [])","anchor":"subscription_quota/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"user_settings.html/1","deprecated":false,"title":"user_settings.html(assigns)","anchor":"user_settings.html/1"},{"id":"verify_2fa.html/1","deprecated":false,"title":"verify_2fa.html(assigns)","anchor":"verify_2fa.html/1"},{"id":"verify_2fa_recovery_code.html/1","deprecated":false,"title":"verify_2fa_recovery_code.html(assigns)","anchor":"verify_2fa_recovery_code.html/1"},{"id":"verify_2fa_setup.html/1","deprecated":false,"title":"verify_2fa_setup.html(assigns)","anchor":"verify_2fa_setup.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeSiteAccess","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeSiteAccess","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, allowed_roles)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(allowed_roles)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeSitesApiPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeSitesApiPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeStatsApiPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeStatsApiPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AvatarController","deprecated":false,"group":"","title":"PlausibleWeb.AvatarController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"avatar/2","deprecated":false,"title":"avatar(conn, params)","anchor":"avatar/2"}],"key":"functions"}]},{"id":"PlausibleWeb.BillingController","deprecated":false,"group":"","title":"PlausibleWeb.BillingController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"change_plan/2","deprecated":false,"title":"change_plan(conn, map)","anchor":"change_plan/2"},{"id":"change_plan_preview/2","deprecated":false,"title":"change_plan_preview(conn, map)","anchor":"change_plan_preview/2"},{"id":"choose_plan/2","deprecated":false,"title":"choose_plan(conn, params)","anchor":"choose_plan/2"},{"id":"ping_subscription/2","deprecated":false,"title":"ping_subscription(conn, params)","anchor":"ping_subscription/2"},{"id":"upgrade_success/2","deprecated":false,"title":"upgrade_success(conn, params)","anchor":"upgrade_success/2"},{"id":"upgrade_to_enterprise_plan/2","deprecated":false,"title":"upgrade_to_enterprise_plan(conn, params)","anchor":"upgrade_to_enterprise_plan/2"}],"key":"functions"}]},{"id":"PlausibleWeb.BillingView","deprecated":false,"group":"","title":"PlausibleWeb.BillingView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"change_enterprise_plan_contact_us.html/1","deprecated":false,"title":"change_enterprise_plan_contact_us.html(assigns)","anchor":"change_enterprise_plan_contact_us.html/1"},{"id":"change_plan_preview.html/1","deprecated":false,"title":"change_plan_preview.html(assigns)","anchor":"change_plan_preview.html/1"},{"id":"choose_plan.html/1","deprecated":false,"title":"choose_plan.html(assigns)","anchor":"choose_plan.html/1"},{"id":"present_currency/1","deprecated":false,"title":"present_currency(arg)","anchor":"present_currency/1"},{"id":"present_date/1","deprecated":false,"title":"present_date(date)","anchor":"present_date/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"upgrade_success.html/1","deprecated":false,"title":"upgrade_success.html(assigns)","anchor":"upgrade_success.html/1"},{"id":"upgrade_to_enterprise_plan.html/1","deprecated":false,"title":"upgrade_to_enterprise_plan.html(assigns)","anchor":"upgrade_to_enterprise_plan.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.CRMAuthPlug","deprecated":false,"group":"","title":"PlausibleWeb.CRMAuthPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Captcha","deprecated":false,"group":"","title":"PlausibleWeb.Captcha","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"sitekey/0","deprecated":false,"title":"sitekey()","anchor":"sitekey/0"},{"id":"verify/1","deprecated":false,"title":"verify(token)","anchor":"verify/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Billing.PlanBenefits","deprecated":false,"group":"","title":"PlausibleWeb.Components.Billing.PlanBenefits","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"for_business/2","deprecated":false,"title":"for_business(plan, growth_benefits)","anchor":"for_business/2"},{"id":"for_enterprise/1","deprecated":false,"title":"for_enterprise(business_benefits)","anchor":"for_enterprise/1"},{"id":"for_growth/1","deprecated":false,"title":"for_growth(plan)","anchor":"for_growth/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Generic","deprecated":false,"group":"","title":"PlausibleWeb.Components.Generic","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"button/1","deprecated":false,"title":"button(assigns)","anchor":"button/1"},{"id":"button_link/1","deprecated":false,"title":"button_link(assigns)","anchor":"button_link/1"},{"id":"docs_info/1","deprecated":false,"title":"docs_info(assigns)","anchor":"docs_info/1"},{"id":"dropdown/1","deprecated":false,"title":"dropdown(assigns)","anchor":"dropdown/1"},{"id":"dropdown_link/1","deprecated":false,"title":"dropdown_link(assigns)","anchor":"dropdown_link/1"},{"id":"dynamic_icon/1","deprecated":false,"title":"dynamic_icon(assigns)","anchor":"dynamic_icon/1"},{"id":"notice/1","deprecated":false,"title":"notice(assigns)","anchor":"notice/1"},{"id":"spinner/1","deprecated":false,"title":"spinner(assigns)","anchor":"spinner/1"},{"id":"styled_link/1","deprecated":false,"title":"styled_link(assigns)","anchor":"styled_link/1"},{"id":"unstyled_link/1","deprecated":false,"title":"unstyled_link(assigns)","anchor":"unstyled_link/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Google","deprecated":false,"group":"","title":"PlausibleWeb.Components.Google","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"button/1","deprecated":false,"title":"button(assigns)","anchor":"button/1"},{"id":"logo/1","deprecated":false,"title":"logo(assigns \\\\ %{})","anchor":"logo/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Settings","deprecated":false,"group":"","title":"PlausibleWeb.Components.Settings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"settings_google_import/1","deprecated":false,"title":"settings_google_import(assigns)","anchor":"settings_google_import/1"},{"id":"settings_search_console/1","deprecated":false,"title":"settings_search_console(assigns)","anchor":"settings_search_console/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Site.Feature","deprecated":false,"group":"","title":"PlausibleWeb.Components.Site.Feature","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"target/4","deprecated":false,"title":"target(site, setting, conn, set_to)","anchor":"target/4"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"toggle/1","deprecated":false,"title":"toggle(assigns)","anchor":"toggle/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.TwoFactor","deprecated":false,"group":"","title":"PlausibleWeb.Components.TwoFactor","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"modal/1","deprecated":false,"title":"modal(assigns)","anchor":"modal/1"},{"id":"qr_code/1","deprecated":false,"title":"qr_code(assigns)","anchor":"qr_code/1"},{"id":"verify_2fa_input/1","deprecated":false,"title":"verify_2fa_input(assigns)","anchor":"verify_2fa_input/1"}],"key":"functions"}]},{"id":"PlausibleWeb.ConnCase","deprecated":false,"group":"","title":"PlausibleWeb.ConnCase","sections":[]},{"id":"PlausibleWeb.ControllerHelpers","deprecated":false,"group":"","title":"PlausibleWeb.ControllerHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render_error/2","deprecated":false,"title":"render_error(conn, status)","anchor":"render_error/2"},{"id":"render_error/3","deprecated":false,"title":"render_error(conn, status, message)","anchor":"render_error/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Controllers.API.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Controllers.API.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"format_money/1","deprecated":false,"title":"format_money(value)","anchor":"format_money/1"},{"id":"format_revenue_metric/1","deprecated":false,"title":"format_revenue_metric(arg)","anchor":"format_revenue_metric/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Dogfood","deprecated":false,"group":"","title":"PlausibleWeb.Dogfood","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api_destination/0","deprecated":false,"title":"api_destination()","anchor":"api_destination/0"},{"id":"domain/1","deprecated":false,"title":"domain(conn)","anchor":"domain/1"},{"id":"script_url/0","deprecated":false,"title":"script_url()","anchor":"script_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Email","deprecated":false,"group":"","title":"PlausibleWeb.Email","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"activation_email/2","deprecated":false,"title":"activation_email(user, code)","anchor":"activation_email/2"},{"id":"approaching_accept_traffic_until/1","deprecated":false,"title":"approaching_accept_traffic_until(notification)","anchor":"approaching_accept_traffic_until/1"},{"id":"approaching_accept_traffic_until_tomorrow/1","deprecated":false,"title":"approaching_accept_traffic_until_tomorrow(notification)","anchor":"approaching_accept_traffic_until_tomorrow/1"},{"id":"base_email/0","deprecated":false,"title":"base_email()","anchor":"base_email/0"},{"id":"base_email/1","deprecated":false,"title":"base_email(map)","anchor":"base_email/1"},{"id":"cancellation_email/1","deprecated":false,"title":"cancellation_email(user)","anchor":"cancellation_email/1"},{"id":"check_stats_email/1","deprecated":false,"title":"check_stats_email(user)","anchor":"check_stats_email/1"},{"id":"create_site_email/1","deprecated":false,"title":"create_site_email(user)","anchor":"create_site_email/1"},{"id":"dashboard_locked/3","deprecated":false,"title":"dashboard_locked(user, usage, suggested_plan)","anchor":"dashboard_locked/3"},{"id":"enterprise_over_limit_internal_email/4","deprecated":false,"title":"enterprise_over_limit_internal_email(user, pageview_usage, site_usage, site_allowance)","anchor":"enterprise_over_limit_internal_email/4"},{"id":"error_report/3","deprecated":false,"title":"error_report(reported_by, trace_id, feedback)","anchor":"error_report/3"},{"id":"existing_user_invitation/1","deprecated":false,"title":"existing_user_invitation(invitation)","anchor":"existing_user_invitation/1"},{"id":"import_failure/3","deprecated":false,"title":"import_failure(source, user, site)","anchor":"import_failure/3"},{"id":"import_success/3","deprecated":false,"title":"import_success(source, user, site)","anchor":"import_success/3"},{"id":"invitation_accepted/1","deprecated":false,"title":"invitation_accepted(invitation)","anchor":"invitation_accepted/1"},{"id":"invitation_rejected/1","deprecated":false,"title":"invitation_rejected(invitation)","anchor":"invitation_rejected/1"},{"id":"mailer_email_from/0","deprecated":false,"title":"mailer_email_from()","anchor":"mailer_email_from/0"},{"id":"new_user_invitation/1","deprecated":false,"title":"new_user_invitation(invitation)","anchor":"new_user_invitation/1"},{"id":"over_limit_email/3","deprecated":false,"title":"over_limit_email(user, usage, suggested_plan)","anchor":"over_limit_email/3"},{"id":"ownership_transfer_accepted/1","deprecated":false,"title":"ownership_transfer_accepted(invitation)","anchor":"ownership_transfer_accepted/1"},{"id":"ownership_transfer_rejected/1","deprecated":false,"title":"ownership_transfer_rejected(invitation)","anchor":"ownership_transfer_rejected/1"},{"id":"ownership_transfer_request/2","deprecated":false,"title":"ownership_transfer_request(invitation, new_owner_account)","anchor":"ownership_transfer_request/2"},{"id":"password_reset_email/2","deprecated":false,"title":"password_reset_email(email, reset_link)","anchor":"password_reset_email/2"},{"id":"priority_email/0","deprecated":false,"title":"priority_email()","anchor":"priority_email/0"},{"id":"priority_email/1","deprecated":false,"title":"priority_email(map)","anchor":"priority_email/1"},{"id":"render/3","deprecated":false,"title":"render(email, template, assigns \\\\ [])","anchor":"render/3"},{"id":"site_member_removed/1","deprecated":false,"title":"site_member_removed(membership)","anchor":"site_member_removed/1"},{"id":"site_setup_help/2","deprecated":false,"title":"site_setup_help(user, site)","anchor":"site_setup_help/2"},{"id":"site_setup_success/2","deprecated":false,"title":"site_setup_success(user, site)","anchor":"site_setup_success/2"},{"id":"spike_notification/5","deprecated":false,"title":"spike_notification(email, site, current_visitors, sources, dashboard_link)","anchor":"spike_notification/5"},{"id":"stats_report/2","deprecated":false,"title":"stats_report(email, assigns)","anchor":"stats_report/2"},{"id":"trial_one_week_reminder/1","deprecated":false,"title":"trial_one_week_reminder(user)","anchor":"trial_one_week_reminder/1"},{"id":"trial_over_email/1","deprecated":false,"title":"trial_over_email(user)","anchor":"trial_over_email/1"},{"id":"trial_upgrade_email/3","deprecated":false,"title":"trial_upgrade_email(user, day, usage)","anchor":"trial_upgrade_email/3"},{"id":"two_factor_disabled_email/1","deprecated":false,"title":"two_factor_disabled_email(user)","anchor":"two_factor_disabled_email/1"},{"id":"two_factor_enabled_email/1","deprecated":false,"title":"two_factor_enabled_email(user)","anchor":"two_factor_enabled_email/1"},{"id":"welcome_email/1","deprecated":false,"title":"welcome_email(user)","anchor":"welcome_email/1"},{"id":"yearly_expiration_notification/1","deprecated":false,"title":"yearly_expiration_notification(user)","anchor":"yearly_expiration_notification/1"},{"id":"yearly_renewal_notification/1","deprecated":false,"title":"yearly_renewal_notification(user)","anchor":"yearly_renewal_notification/1"}],"key":"functions"}]},{"id":"PlausibleWeb.EmailView","deprecated":false,"group":"","title":"PlausibleWeb.EmailView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"activation_email.html/1","deprecated":false,"title":"activation_email.html(assigns)","anchor":"activation_email.html/1"},{"id":"approaching_accept_traffic_until.html/1","deprecated":false,"title":"approaching_accept_traffic_until.html(assigns)","anchor":"approaching_accept_traffic_until.html/1"},{"id":"cancellation_email.html/1","deprecated":false,"title":"cancellation_email.html(assigns)","anchor":"cancellation_email.html/1"},{"id":"check_stats_email.html/1","deprecated":false,"title":"check_stats_email.html(assigns)","anchor":"check_stats_email.html/1"},{"id":"create_site_email.html/1","deprecated":false,"title":"create_site_email.html(assigns)","anchor":"create_site_email.html/1"},{"id":"dashboard_locked.html/1","deprecated":false,"title":"dashboard_locked.html(assigns)","anchor":"dashboard_locked.html/1"},{"id":"date_format/1","deprecated":false,"title":"date_format(date)","anchor":"date_format/1"},{"id":"enterprise_over_limit_internal.html/1","deprecated":false,"title":"enterprise_over_limit_internal.html(assigns)","anchor":"enterprise_over_limit_internal.html/1"},{"id":"error_report_email.html/1","deprecated":false,"title":"error_report_email.html(assigns)","anchor":"error_report_email.html/1"},{"id":"existing_user_invitation.html/1","deprecated":false,"title":"existing_user_invitation.html(assigns)","anchor":"existing_user_invitation.html/1"},{"id":"google_analytics_import.html/1","deprecated":false,"title":"google_analytics_import.html(assigns)","anchor":"google_analytics_import.html/1"},{"id":"greet_recipient/1","deprecated":false,"title":"greet_recipient(_)","anchor":"greet_recipient/1"},{"id":"invitation_accepted.html/1","deprecated":false,"title":"invitation_accepted.html(assigns)","anchor":"invitation_accepted.html/1"},{"id":"invitation_rejected.html/1","deprecated":false,"title":"invitation_rejected.html(assigns)","anchor":"invitation_rejected.html/1"},{"id":"new_user_invitation.html/1","deprecated":false,"title":"new_user_invitation.html(assigns)","anchor":"new_user_invitation.html/1"},{"id":"over_limit.html/1","deprecated":false,"title":"over_limit.html(assigns)","anchor":"over_limit.html/1"},{"id":"ownership_transfer_accepted.html/1","deprecated":false,"title":"ownership_transfer_accepted.html(assigns)","anchor":"ownership_transfer_accepted.html/1"},{"id":"ownership_transfer_rejected.html/1","deprecated":false,"title":"ownership_transfer_rejected.html(assigns)","anchor":"ownership_transfer_rejected.html/1"},{"id":"ownership_transfer_request.html/1","deprecated":false,"title":"ownership_transfer_request.html(assigns)","anchor":"ownership_transfer_request.html/1"},{"id":"password_reset_email.html/1","deprecated":false,"title":"password_reset_email.html(assigns)","anchor":"password_reset_email.html/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"sentry_link/2","deprecated":false,"title":"sentry_link(trace_id, dsn \\\\ Sentry.Config.dsn())","anchor":"sentry_link/2"},{"id":"site_member_removed.html/1","deprecated":false,"title":"site_member_removed.html(assigns)","anchor":"site_member_removed.html/1"},{"id":"site_setup_help_email.html/1","deprecated":false,"title":"site_setup_help_email.html(assigns)","anchor":"site_setup_help_email.html/1"},{"id":"site_setup_success_email.html/1","deprecated":false,"title":"site_setup_success_email.html(assigns)","anchor":"site_setup_success_email.html/1"},{"id":"spike_notification.html/1","deprecated":false,"title":"spike_notification.html(assigns)","anchor":"spike_notification.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"trial_one_week_reminder.html/1","deprecated":false,"title":"trial_one_week_reminder.html(assigns)","anchor":"trial_one_week_reminder.html/1"},{"id":"trial_over_email.html/1","deprecated":false,"title":"trial_over_email.html(assigns)","anchor":"trial_over_email.html/1"},{"id":"trial_upgrade_email.html/1","deprecated":false,"title":"trial_upgrade_email.html(assigns)","anchor":"trial_upgrade_email.html/1"},{"id":"two_factor_disabled_email.html/1","deprecated":false,"title":"two_factor_disabled_email.html(assigns)","anchor":"two_factor_disabled_email.html/1"},{"id":"two_factor_enabled_email.html/1","deprecated":false,"title":"two_factor_enabled_email.html(assigns)","anchor":"two_factor_enabled_email.html/1"},{"id":"welcome_email.html/1","deprecated":false,"title":"welcome_email.html(assigns)","anchor":"welcome_email.html/1"},{"id":"yearly_expiration_notification.html/1","deprecated":false,"title":"yearly_expiration_notification.html(assigns)","anchor":"yearly_expiration_notification.html/1"},{"id":"yearly_renewal_notification.html/1","deprecated":false,"title":"yearly_renewal_notification.html(assigns)","anchor":"yearly_renewal_notification.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Endpoint","deprecated":false,"group":"","title":"PlausibleWeb.Endpoint","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"broadcast/3","deprecated":false,"title":"broadcast(topic, event, msg)","anchor":"broadcast/3"},{"id":"broadcast!/3","deprecated":false,"title":"broadcast!(topic, event, msg)","anchor":"broadcast!/3"},{"id":"broadcast_from/4","deprecated":false,"title":"broadcast_from(from, topic, event, msg)","anchor":"broadcast_from/4"},{"id":"broadcast_from!/4","deprecated":false,"title":"broadcast_from!(from, topic, event, msg)","anchor":"broadcast_from!/4"},{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/2","deprecated":false,"title":"config(key, default \\\\ nil)","anchor":"config/2"},{"id":"config_change/2","deprecated":false,"title":"config_change(changed, removed)","anchor":"config_change/2"},{"id":"host/0","deprecated":false,"title":"host()","anchor":"host/0"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"local_broadcast/3","deprecated":false,"title":"local_broadcast(topic, event, msg)","anchor":"local_broadcast/3"},{"id":"local_broadcast_from/4","deprecated":false,"title":"local_broadcast_from(from, topic, event, msg)","anchor":"local_broadcast_from/4"},{"id":"path/1","deprecated":false,"title":"path(path)","anchor":"path/1"},{"id":"runtime_session/2","deprecated":false,"title":"runtime_session(conn, opts)","anchor":"runtime_session/2"},{"id":"runtime_session_opts/0","deprecated":false,"title":"runtime_session_opts()","anchor":"runtime_session_opts/0"},{"id":"script_name/0","deprecated":false,"title":"script_name()","anchor":"script_name/0"},{"id":"secure_cookie?/0","deprecated":false,"title":"secure_cookie?()","anchor":"secure_cookie?/0"},{"id":"server_info/1","deprecated":false,"title":"server_info(scheme)","anchor":"server_info/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"static_integrity/1","deprecated":false,"title":"static_integrity(path)","anchor":"static_integrity/1"},{"id":"static_lookup/1","deprecated":false,"title":"static_lookup(path)","anchor":"static_lookup/1"},{"id":"static_path/1","deprecated":false,"title":"static_path(path)","anchor":"static_path/1"},{"id":"static_url/0","deprecated":false,"title":"static_url()","anchor":"static_url/0"},{"id":"struct_url/0","deprecated":false,"title":"struct_url()","anchor":"struct_url/0"},{"id":"subscribe/2","deprecated":false,"title":"subscribe(topic, opts \\\\ [])","anchor":"subscribe/2"},{"id":"unsubscribe/1","deprecated":false,"title":"unsubscribe(topic)","anchor":"unsubscribe/1"},{"id":"url/0","deprecated":false,"title":"url()","anchor":"url/0"},{"id":"websocket_url/0","deprecated":false,"title":"websocket_url()","anchor":"websocket_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorHelpers","deprecated":false,"group":"","title":"PlausibleWeb.ErrorHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error_tag/2","deprecated":false,"title":"error_tag(assigns, field)","anchor":"error_tag/2"},{"id":"translate_error/1","deprecated":false,"title":"translate_error(arg)","anchor":"translate_error/1"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorReportController","deprecated":false,"group":"","title":"PlausibleWeb.ErrorReportController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"submit_error_report/2","deprecated":false,"title":"submit_error_report(conn, arg2)","anchor":"submit_error_report/2"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorView","deprecated":false,"group":"","title":"PlausibleWeb.ErrorView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"404_error.html/1","deprecated":false,"title":"404_error.html(assigns)","anchor":"404_error.html/1"},{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"generic_error.html/1","deprecated":false,"title":"generic_error.html(assigns)","anchor":"generic_error.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"server_error.html/1","deprecated":false,"title":"server_error.html(assigns)","anchor":"server_error.html/1"},{"id":"server_error_report_thanks.html/1","deprecated":false,"title":"server_error_report_thanks.html(assigns)","anchor":"server_error_report_thanks.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Favicon","deprecated":false,"group":"","title":"PlausibleWeb.Favicon","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, list)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(_)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.FirstLaunchPlug","deprecated":false,"group":"","title":"PlausibleWeb.FirstLaunchPlug","sections":[]},{"id":"PlausibleWeb.FirstLaunchPlug.Test","deprecated":false,"group":"","title":"PlausibleWeb.FirstLaunchPlug.Test","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"skip/1","deprecated":false,"title":"skip(context)","anchor":"skip/1"}],"key":"functions"}]},{"id":"PlausibleWeb.FormHelpers","deprecated":false,"group":"","title":"PlausibleWeb.FormHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"styled_error/1","deprecated":false,"title":"styled_error(error)","anchor":"styled_error/1"},{"id":"styled_label/4","deprecated":false,"title":"styled_label(form, field, text, opts \\\\ [])","anchor":"styled_label/4"},{"id":"styled_select/4","deprecated":false,"title":"styled_select(form, field, options, opts \\\\ [])","anchor":"styled_select/4"},{"id":"styled_text_input/3","deprecated":false,"title":"styled_text_input(form, field, opts \\\\ [])","anchor":"styled_text_input/3"}],"key":"functions"}]},{"id":"PlausibleWeb.InvitationController","deprecated":false,"group":"","title":"PlausibleWeb.InvitationController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(conn, map)","anchor":"accept_invitation/2"},{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(conn, map)","anchor":"reject_invitation/2"},{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(conn, map)","anchor":"remove_invitation/2"}],"key":"functions"}]},{"id":"PlausibleWeb.LastSeenPlug","deprecated":false,"group":"","title":"PlausibleWeb.LastSeenPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.LayoutView","deprecated":false,"group":"","title":"PlausibleWeb.LayoutView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"app.html/1","deprecated":false,"title":"app.html(assigns)","anchor":"app.html/1"},{"id":"base_email.html/1","deprecated":false,"title":"base_email.html(assigns)","anchor":"base_email.html/1"},{"id":"base_error.html/1","deprecated":false,"title":"base_error.html(assigns)","anchor":"base_error.html/1"},{"id":"embedded.html/1","deprecated":false,"title":"embedded.html(assigns)","anchor":"embedded.html/1"},{"id":"feedback_link/1","deprecated":false,"title":"feedback_link(user)","anchor":"feedback_link/1"},{"id":"focus.html/1","deprecated":false,"title":"focus.html(assigns)","anchor":"focus.html/1"},{"id":"grace_period_end/1","deprecated":false,"title":"grace_period_end(user)","anchor":"grace_period_end/1"},{"id":"home_dest/1","deprecated":false,"title":"home_dest(conn)","anchor":"home_dest/1"},{"id":"is_current_tab/2","deprecated":false,"title":"is_current_tab(conn, tab)","anchor":"is_current_tab/2"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"priority_email.html/1","deprecated":false,"title":"priority_email.html(assigns)","anchor":"priority_email.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_layout/3","deprecated":false,"title":"render_layout(layout, assigns, list)","anchor":"render_layout/3"},{"id":"settings_tabs/1","deprecated":false,"title":"settings_tabs(conn)","anchor":"settings_tabs/1"},{"id":"site_settings.html/1","deprecated":false,"title":"site_settings.html(assigns)","anchor":"site_settings.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"trial_notificaton/1","deprecated":false,"title":"trial_notificaton(user)","anchor":"trial_notificaton/1"},{"id":"websocket_url/0","deprecated":false,"title":"websocket_url()","anchor":"websocket_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.LayoutView.JWT","deprecated":false,"group":"","title":"PlausibleWeb.LayoutView.JWT","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"generate_and_sign/2","deprecated":false,"title":"generate_and_sign(extra_claims \\\\ %{}, key \\\\ __default_signer__())","anchor":"generate_and_sign/2"},{"id":"generate_and_sign!/2","deprecated":false,"title":"generate_and_sign!(extra_claims \\\\ %{}, key \\\\ __default_signer__())","anchor":"generate_and_sign!/2"},{"id":"verify_and_validate/3","deprecated":false,"title":"verify_and_validate(bearer_token, key \\\\ __default_signer__(), context \\\\ %{})","anchor":"verify_and_validate/3"},{"id":"verify_and_validate!/3","deprecated":false,"title":"verify_and_validate!(bearer_token, key \\\\ __default_signer__(), context \\\\ %{})","anchor":"verify_and_validate!/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.ChoosePlan","deprecated":false,"group":"","title":"PlausibleWeb.Live.ChoosePlan","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"two_months_free/1","deprecated":false,"title":"two_months_free(assigns)","anchor":"two_months_free/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.ComboBox","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.ComboBox","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dropdown/1","deprecated":false,"title":"dropdown(assigns)","anchor":"dropdown/1"},{"id":"dropdown_anchor/1","deprecated":false,"title":"dropdown_anchor(assigns)","anchor":"dropdown_anchor/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, params, socket)","anchor":"handle_event/3"},{"id":"option/1","deprecated":false,"title":"option(assigns)","anchor":"option/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"select_option/4","deprecated":false,"title":"select_option(js \\\\ %JS{}, id, submit_value, display_value)","anchor":"select_option/4"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.ComboBox.StaticSearch","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.ComboBox.StaticSearch","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"suggest/3","deprecated":false,"title":"suggest(input, choices, opts \\\\ [])","anchor":"suggest/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/1","deprecated":false,"title":"error(assigns)","anchor":"error/1"},{"id":"input/1","deprecated":false,"title":"input(assigns)","anchor":"input/1"},{"id":"input_with_clipboard/1","deprecated":false,"title":"input_with_clipboard(assigns)","anchor":"input_with_clipboard/1"},{"id":"label/1","deprecated":false,"title":"label(assigns)","anchor":"label/1"},{"id":"password_input_with_strength/1","deprecated":false,"title":"password_input_with_strength(assigns)","anchor":"password_input_with_strength/1"},{"id":"password_length_hint/1","deprecated":false,"title":"password_length_hint(assigns)","anchor":"password_length_hint/1"},{"id":"strength_meter/1","deprecated":false,"title":"strength_meter(assigns)","anchor":"strength_meter/1"},{"id":"translate_error/1","deprecated":false,"title":"translate_error(arg)","anchor":"translate_error/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Modal","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Modal","sections":[{"id":"Usage","anchor":"module-usage"},{"id":"Explanation","anchor":"module-explanation"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"close/2","deprecated":false,"title":"close(socket, id)","anchor":"close/2"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Pagination","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"pagination/1","deprecated":false,"title":"pagination(assigns)","anchor":"pagination/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Visitors","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Visitors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"chart/1","deprecated":false,"title":"chart(assigns)","anchor":"chart/1"},{"id":"gradient_defs/1","deprecated":false,"title":"gradient_defs(assigns)","anchor":"gradient_defs/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Flash","deprecated":false,"group":"","title":"PlausibleWeb.Live.Flash","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clear_flash_button/1","deprecated":false,"title":"clear_flash_button(assigns)","anchor":"clear_flash_button/1"},{"id":"flash/1","deprecated":false,"title":"flash(assigns)","anchor":"flash/1"},{"id":"flash_messages/1","deprecated":false,"title":"flash_messages(assigns)","anchor":"flash_messages/1"},{"id":"icon_error/1","deprecated":false,"title":"icon_error(assigns)","anchor":"icon_error/1"},{"id":"icon_success/1","deprecated":false,"title":"icon_success(assigns)","anchor":"icon_success/1"},{"id":"put_live_flash/3","deprecated":false,"title":"put_live_flash(socket, key, message)","anchor":"put_live_flash/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_step_button/1","deprecated":false,"title":"add_step_button(assigns)","anchor":"add_step_button/1"},{"id":"evaluation/1","deprecated":false,"title":"evaluation(assigns)","anchor":"evaluation/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"remove_step_button/1","deprecated":false,"title":"remove_step_button(assigns)","anchor":"remove_step_button/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_event_fields/1","deprecated":false,"title":"custom_event_fields(assigns)","anchor":"custom_event_fields/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"pageview_fields/1","deprecated":false,"title":"pageview_fields(assigns)","anchor":"pageview_fields/1"},{"id":"pageviews_tab/1","deprecated":false,"title":"pageviews_tab(assigns)","anchor":"pageviews_tab/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"suggest_page_paths/3","deprecated":false,"title":"suggest_page_paths(input, options, site)","anchor":"suggest_page_paths/3"},{"id":"tabs/1","deprecated":false,"title":"tabs(assigns)","anchor":"tabs/1"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Plugins.API.Settings","deprecated":false,"group":"","title":"PlausibleWeb.Live.Plugins.API.Settings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Plugins.API.TokenForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.Plugins.API.TokenForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.RegisterForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.RegisterForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, params, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.ResetPasswordForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.ResetPasswordForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.SentryContext","deprecated":false,"group":"","title":"PlausibleWeb.Live.SentryContext","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_mount/4","deprecated":false,"title":"on_mount(atom, params, session, socket)","anchor":"on_mount/4"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Sites","deprecated":false,"group":"","title":"PlausibleWeb.Live.Sites","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ellipsis_menu/1","deprecated":false,"title":"ellipsis_menu(assigns)","anchor":"ellipsis_menu/1"},{"id":"favicon/1","deprecated":false,"title":"favicon(assigns)","anchor":"favicon/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"handle_params/3","deprecated":false,"title":"handle_params(params, uri, socket)","anchor":"handle_params/3"},{"id":"icon_pin/1","deprecated":false,"title":"icon_pin(assigns)","anchor":"icon_pin/1"},{"id":"invitation/1","deprecated":false,"title":"invitation(assigns)","anchor":"invitation/1"},{"id":"invitation_modal/1","deprecated":false,"title":"invitation_modal(assigns)","anchor":"invitation_modal/1"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"percentage_change/1","deprecated":false,"title":"percentage_change(assigns)","anchor":"percentage_change/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"search_form/1","deprecated":false,"title":"search_form(assigns)","anchor":"search_form/1"},{"id":"site/1","deprecated":false,"title":"site(assigns)","anchor":"site/1"},{"id":"site_stats/1","deprecated":false,"title":"site_stats(assigns)","anchor":"site_stats/1"},{"id":"upgrade_nag_screen/1","deprecated":false,"title":"upgrade_nag_screen(assigns)","anchor":"upgrade_nag_screen/1"}],"key":"functions"}]},{"id":"PlausibleWeb.MJML.StatsReport","deprecated":false,"group":"","title":"PlausibleWeb.MJML.StatsReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"debug_mjml_template/0","deprecated":false,"title":"debug_mjml_template()","anchor":"debug_mjml_template/0"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.PageController","deprecated":false,"group":"","title":"PlausibleWeb.PageController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"}],"key":"functions"}]},{"id":"PlausibleWeb.PageView","deprecated":false,"group":"","title":"PlausibleWeb.PageView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"index.html/1","deprecated":false,"title":"index.html(assigns)","anchor":"index.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"base_uri/0","deprecated":false,"title":"base_uri()","anchor":"base_uri/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.CustomProps","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(conn, params)","anchor":"disable/2"},{"id":"enable/2","deprecated":false,"title":"enable(conn, params)","anchor":"enable/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.Goals","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Goals","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(conn, params)","anchor":"create/2"},{"id":"delete/2","deprecated":false,"title":"delete(conn, params)","anchor":"delete/2"},{"id":"delete_bulk/2","deprecated":false,"title":"delete_bulk(conn, params)","anchor":"delete_bulk/2"},{"id":"get/2","deprecated":false,"title":"get(conn, params)","anchor":"get/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(conn, params)","anchor":"create/2"},{"id":"get/2","deprecated":false,"title":"get(conn, params)","anchor":"get/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Errors","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Errors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/3","deprecated":false,"title":"error(conn, status, message)","anchor":"error/3"},{"id":"unauthorized/1","deprecated":false,"title":"unauthorized(conn)","anchor":"unauthorized/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Router","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Router","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api/2","deprecated":false,"title":"api(conn, _)","anchor":"api/2"},{"id":"auth/2","deprecated":false,"title":"auth(conn, _)","anchor":"auth/2"},{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Error","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Error","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Link","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Link","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.NotFound","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.NotFound","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Spec","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Spec","sections":[]},{"id":"PlausibleWeb.Plugins.API.Views.CustomProp","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.CustomProp","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Error","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Error","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Goal","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Goal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Pagination","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_metadata_links/4","deprecated":false,"title":"render_metadata_links(meta, helper_fn, helper_fn_args, existing_params \\\\ %{})","anchor":"render_metadata_links/4"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.SharedLink","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.SharedLink","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.PluginsAPICase","deprecated":false,"group":"","title":"PlausibleWeb.PluginsAPICase","sections":[]},{"id":"PlausibleWeb.Plugs.AuthorizePluginsAPI","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts \\\\ [])","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugs.ErrorHandler","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.ErrorHandler","sections":[]},{"id":"PlausibleWeb.Plugs.MaybeDisableRegistration","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.MaybeDisableRegistration","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugs.NoRobots","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.NoRobots","sections":[]},{"id":"PlausibleWeb.RefInspector","deprecated":false,"group":"","title":"PlausibleWeb.RefInspector","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"parse/1","deprecated":false,"title":"parse(ref)","anchor":"parse/1"},{"id":"right_uri?/1","deprecated":false,"title":"right_uri?(arg1)","anchor":"right_uri?/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RemoteIp","deprecated":false,"group":"","title":"PlausibleWeb.RemoteIp","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/1","deprecated":false,"title":"get(conn)","anchor":"get/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RequireAccountPlug","deprecated":false,"group":"","title":"PlausibleWeb.RequireAccountPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RequireLoggedOutPlug","deprecated":false,"group":"","title":"PlausibleWeb.RequireLoggedOutPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Router","deprecated":false,"group":"","title":"PlausibleWeb.Router","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api/2","deprecated":false,"title":"api(conn, _)","anchor":"api/2"},{"id":"app_layout/2","deprecated":false,"title":"app_layout(conn, _)","anchor":"app_layout/2"},{"id":"browser/2","deprecated":false,"title":"browser(conn, _)","anchor":"browser/2"},{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"csrf/2","deprecated":false,"title":"csrf(conn, _)","anchor":"csrf/2"},{"id":"flags/2","deprecated":false,"title":"flags(conn, _)","anchor":"flags/2"},{"id":"focus_layout/2","deprecated":false,"title":"focus_layout(conn, _)","anchor":"focus_layout/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"internal_stats_api/2","deprecated":false,"title":"internal_stats_api(conn, _)","anchor":"internal_stats_api/2"},{"id":"kaffy_browser/2","deprecated":false,"title":"kaffy_browser(conn, _)","anchor":"kaffy_browser/2"},{"id":"public_api/2","deprecated":false,"title":"public_api(conn, _)","anchor":"public_api/2"},{"id":"shared_link/2","deprecated":false,"title":"shared_link(conn, _)","anchor":"shared_link/2"}],"key":"functions"}]},{"id":"PlausibleWeb.SessionTimeoutPlug","deprecated":false,"group":"","title":"PlausibleWeb.SessionTimeoutPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts \\\\ [])","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Site.MembershipController","deprecated":false,"group":"","title":"PlausibleWeb.Site.MembershipController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"invite_member/2","deprecated":false,"title":"invite_member(conn, map)","anchor":"invite_member/2"},{"id":"invite_member_form/2","deprecated":false,"title":"invite_member_form(conn, params)","anchor":"invite_member_form/2"},{"id":"remove_member/2","deprecated":false,"title":"remove_member(conn, map)","anchor":"remove_member/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(conn, map)","anchor":"transfer_ownership/2"},{"id":"transfer_ownership_form/2","deprecated":false,"title":"transfer_ownership_form(conn, params)","anchor":"transfer_ownership_form/2"},{"id":"update_role/2","deprecated":false,"title":"update_role(conn, map)","anchor":"update_role/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Site.MembershipView","deprecated":false,"group":"","title":"PlausibleWeb.Site.MembershipView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"invite_member_form.html/1","deprecated":false,"title":"invite_member_form.html(assigns)","anchor":"invite_member_form.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"transfer_ownership_form.html/1","deprecated":false,"title":"transfer_ownership_form.html(assigns)","anchor":"transfer_ownership_form.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.SiteController","deprecated":false,"group":"","title":"PlausibleWeb.SiteController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_monthly_report_recipient/2","deprecated":false,"title":"add_monthly_report_recipient(conn, map)","anchor":"add_monthly_report_recipient/2"},{"id":"add_snippet/2","deprecated":false,"title":"add_snippet(conn, params)","anchor":"add_snippet/2"},{"id":"add_snippet_after_domain_change/2","deprecated":false,"title":"add_snippet_after_domain_change(conn, params)","anchor":"add_snippet_after_domain_change/2"},{"id":"add_spike_notification_recipient/2","deprecated":false,"title":"add_spike_notification_recipient(conn, map)","anchor":"add_spike_notification_recipient/2"},{"id":"add_weekly_report_recipient/2","deprecated":false,"title":"add_weekly_report_recipient(conn, map)","anchor":"add_weekly_report_recipient/2"},{"id":"change_domain/2","deprecated":false,"title":"change_domain(conn, params)","anchor":"change_domain/2"},{"id":"change_domain_submit/2","deprecated":false,"title":"change_domain_submit(conn, map)","anchor":"change_domain_submit/2"},{"id":"create_shared_link/2","deprecated":false,"title":"create_shared_link(conn, map)","anchor":"create_shared_link/2"},{"id":"create_site/2","deprecated":false,"title":"create_site(conn, map)","anchor":"create_site/2"},{"id":"delete_google_auth/2","deprecated":false,"title":"delete_google_auth(conn, params)","anchor":"delete_google_auth/2"},{"id":"delete_shared_link/2","deprecated":false,"title":"delete_shared_link(conn, map)","anchor":"delete_shared_link/2"},{"id":"delete_site/2","deprecated":false,"title":"delete_site(conn, params)","anchor":"delete_site/2"},{"id":"disable_monthly_report/2","deprecated":false,"title":"disable_monthly_report(conn, params)","anchor":"disable_monthly_report/2"},{"id":"disable_spike_notification/2","deprecated":false,"title":"disable_spike_notification(conn, params)","anchor":"disable_spike_notification/2"},{"id":"disable_weekly_report/2","deprecated":false,"title":"disable_weekly_report(conn, params)","anchor":"disable_weekly_report/2"},{"id":"edit_shared_link/2","deprecated":false,"title":"edit_shared_link(conn, map)","anchor":"edit_shared_link/2"},{"id":"enable_monthly_report/2","deprecated":false,"title":"enable_monthly_report(conn, params)","anchor":"enable_monthly_report/2"},{"id":"enable_spike_notification/2","deprecated":false,"title":"enable_spike_notification(conn, params)","anchor":"enable_spike_notification/2"},{"id":"enable_weekly_report/2","deprecated":false,"title":"enable_weekly_report(conn, params)","anchor":"enable_weekly_report/2"},{"id":"forget_imported/2","deprecated":false,"title":"forget_imported(conn, params)","anchor":"forget_imported/2"},{"id":"import_from_google/2","deprecated":false,"title":"import_from_google(conn, map)","anchor":"import_from_google/2"},{"id":"import_from_google_confirm/2","deprecated":false,"title":"import_from_google_confirm(conn, map)","anchor":"import_from_google_confirm/2"},{"id":"import_from_google_user_metric_notice/2","deprecated":false,"title":"import_from_google_user_metric_notice(conn, map)","anchor":"import_from_google_user_metric_notice/2"},{"id":"import_from_google_view_id/2","deprecated":false,"title":"import_from_google_view_id(conn, map)","anchor":"import_from_google_view_id/2"},{"id":"import_from_google_view_id_form/2","deprecated":false,"title":"import_from_google_view_id_form(conn, map)","anchor":"import_from_google_view_id_form/2"},{"id":"make_private/2","deprecated":false,"title":"make_private(conn, params)","anchor":"make_private/2"},{"id":"make_public/2","deprecated":false,"title":"make_public(conn, params)","anchor":"make_public/2"},{"id":"new/2","deprecated":false,"title":"new(conn, params)","anchor":"new/2"},{"id":"new_shared_link/2","deprecated":false,"title":"new_shared_link(conn, params)","anchor":"new_shared_link/2"},{"id":"remove_monthly_report_recipient/2","deprecated":false,"title":"remove_monthly_report_recipient(conn, map)","anchor":"remove_monthly_report_recipient/2"},{"id":"remove_spike_notification_recipient/2","deprecated":false,"title":"remove_spike_notification_recipient(conn, map)","anchor":"remove_spike_notification_recipient/2"},{"id":"remove_weekly_report_recipient/2","deprecated":false,"title":"remove_weekly_report_recipient(conn, map)","anchor":"remove_weekly_report_recipient/2"},{"id":"reset_stats/2","deprecated":false,"title":"reset_stats(conn, params)","anchor":"reset_stats/2"},{"id":"settings/2","deprecated":false,"title":"settings(conn, map)","anchor":"settings/2"},{"id":"settings_danger_zone/2","deprecated":false,"title":"settings_danger_zone(conn, params)","anchor":"settings_danger_zone/2"},{"id":"settings_email_reports/2","deprecated":false,"title":"settings_email_reports(conn, params)","anchor":"settings_email_reports/2"},{"id":"settings_funnels/2","deprecated":false,"title":"settings_funnels(conn, params)","anchor":"settings_funnels/2"},{"id":"settings_general/2","deprecated":false,"title":"settings_general(conn, params)","anchor":"settings_general/2"},{"id":"settings_goals/2","deprecated":false,"title":"settings_goals(conn, params)","anchor":"settings_goals/2"},{"id":"settings_integrations/2","deprecated":false,"title":"settings_integrations(conn, params)","anchor":"settings_integrations/2"},{"id":"settings_people/2","deprecated":false,"title":"settings_people(conn, params)","anchor":"settings_people/2"},{"id":"settings_props/2","deprecated":false,"title":"settings_props(conn, params)","anchor":"settings_props/2"},{"id":"settings_visibility/2","deprecated":false,"title":"settings_visibility(conn, params)","anchor":"settings_visibility/2"},{"id":"update_feature_visibility/2","deprecated":false,"title":"update_feature_visibility(conn, map)","anchor":"update_feature_visibility/2"},{"id":"update_google_auth/2","deprecated":false,"title":"update_google_auth(conn, map)","anchor":"update_google_auth/2"},{"id":"update_settings/2","deprecated":false,"title":"update_settings(conn, map)","anchor":"update_settings/2"},{"id":"update_shared_link/2","deprecated":false,"title":"update_shared_link(conn, map)","anchor":"update_shared_link/2"},{"id":"update_spike_notification/2","deprecated":false,"title":"update_spike_notification(conn, map)","anchor":"update_spike_notification/2"}],"key":"functions"}]},{"id":"PlausibleWeb.SiteView","deprecated":false,"group":"","title":"PlausibleWeb.SiteView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"change_domain.html/1","deprecated":false,"title":"change_domain.html(assigns)","anchor":"change_domain.html/1"},{"id":"edit_shared_link.html/1","deprecated":false,"title":"edit_shared_link.html(assigns)","anchor":"edit_shared_link.html/1"},{"id":"import_from_google_confirm.html/1","deprecated":false,"title":"import_from_google_confirm.html(assigns)","anchor":"import_from_google_confirm.html/1"},{"id":"import_from_google_user_metric_form.html/1","deprecated":false,"title":"import_from_google_user_metric_form.html(assigns)","anchor":"import_from_google_user_metric_form.html/1"},{"id":"import_from_google_view_id_form.html/1","deprecated":false,"title":"import_from_google_view_id_form.html(assigns)","anchor":"import_from_google_view_id_form.html/1"},{"id":"new.html/1","deprecated":false,"title":"new.html(assigns)","anchor":"new.html/1"},{"id":"new_shared_link.html/1","deprecated":false,"title":"new_shared_link.html(assigns)","anchor":"new_shared_link.html/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_snippet/1","deprecated":false,"title":"render_snippet(site)","anchor":"render_snippet/1"},{"id":"settings_danger_zone.html/1","deprecated":false,"title":"settings_danger_zone.html(assigns)","anchor":"settings_danger_zone.html/1"},{"id":"settings_email_reports.html/1","deprecated":false,"title":"settings_email_reports.html(assigns)","anchor":"settings_email_reports.html/1"},{"id":"settings_funnels.html/1","deprecated":false,"title":"settings_funnels.html(assigns)","anchor":"settings_funnels.html/1"},{"id":"settings_general.html/1","deprecated":false,"title":"settings_general.html(assigns)","anchor":"settings_general.html/1"},{"id":"settings_goals.html/1","deprecated":false,"title":"settings_goals.html(assigns)","anchor":"settings_goals.html/1"},{"id":"settings_google_import.html/1","deprecated":false,"title":"settings_google_import.html(assigns)","anchor":"settings_google_import.html/1"},{"id":"settings_integrations.html/1","deprecated":false,"title":"settings_integrations.html(assigns)","anchor":"settings_integrations.html/1"},{"id":"settings_people.html/1","deprecated":false,"title":"settings_people.html(assigns)","anchor":"settings_people.html/1"},{"id":"settings_props.html/1","deprecated":false,"title":"settings_props.html(assigns)","anchor":"settings_props.html/1"},{"id":"settings_search_console.html/1","deprecated":false,"title":"settings_search_console.html(assigns)","anchor":"settings_search_console.html/1"},{"id":"settings_visibility.html/1","deprecated":false,"title":"settings_visibility.html(assigns)","anchor":"settings_visibility.html/1"},{"id":"shared_link_dest/2","deprecated":false,"title":"shared_link_dest(site, link)","anchor":"shared_link_dest/2"},{"id":"snippet.html/1","deprecated":false,"title":"snippet.html(assigns)","anchor":"snippet.html/1"},{"id":"snippet_after_domain_change.html/1","deprecated":false,"title":"snippet_after_domain_change.html(assigns)","anchor":"snippet_after_domain_change.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"with_indefinite_article/1","deprecated":false,"title":"with_indefinite_article(word)","anchor":"with_indefinite_article/1"}],"key":"functions"}]},{"id":"PlausibleWeb.StatsController","deprecated":false,"group":"","title":"PlausibleWeb.StatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"authenticate_shared_link/2","deprecated":false,"title":"authenticate_shared_link(conn, map)","anchor":"authenticate_shared_link/2"},{"id":"csv_export/2","deprecated":false,"title":"csv_export(conn, params)","anchor":"csv_export/2"},{"id":"shared_link/2","deprecated":false,"title":"shared_link(conn, arg2)","anchor":"shared_link/2"},{"id":"stats/2","deprecated":false,"title":"stats(conn, params)","anchor":"stats/2"}],"key":"functions"}]},{"id":"PlausibleWeb.StatsView","deprecated":false,"group":"","title":"PlausibleWeb.StatsView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"large_number_format/1","deprecated":false,"title":"large_number_format(n)","anchor":"large_number_format/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"pretty_stats_url/1","deprecated":false,"title":"pretty_stats_url(arg)","anchor":"pretty_stats_url/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"shared_link_password.html/1","deprecated":false,"title":"shared_link_password.html(assigns)","anchor":"shared_link_password.html/1"},{"id":"site_locked.html/1","deprecated":false,"title":"site_locked.html(assigns)","anchor":"site_locked.html/1"},{"id":"stats.html/1","deprecated":false,"title":"stats.html(assigns)","anchor":"stats.html/1"},{"id":"stats_container_class/1","deprecated":false,"title":"stats_container_class(conn)","anchor":"stats_container_class/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"waiting_first_pageview.html/1","deprecated":false,"title":"waiting_first_pageview.html(assigns)","anchor":"waiting_first_pageview.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Tracker","deprecated":false,"group":"","title":"PlausibleWeb.Tracker","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, list)","anchor":"call/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(arg)","anchor":"child_spec/1"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.TwoFactor.Session","deprecated":false,"group":"","title":"PlausibleWeb.TwoFactor.Session","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clear_2fa_user/1","deprecated":false,"title":"clear_2fa_user(conn)","anchor":"clear_2fa_user/1"},{"id":"clear_remember_2fa/1","deprecated":false,"title":"clear_remember_2fa(conn)","anchor":"clear_remember_2fa/1"},{"id":"get_2fa_user/1","deprecated":false,"title":"get_2fa_user(conn)","anchor":"get_2fa_user/1"},{"id":"maybe_set_remember_2fa/3","deprecated":false,"title":"maybe_set_remember_2fa(conn, user, arg3)","anchor":"maybe_set_remember_2fa/3"},{"id":"remember_2fa?/2","deprecated":false,"title":"remember_2fa?(conn, user)","anchor":"remember_2fa?/2"},{"id":"remember_2fa_days/0","deprecated":false,"title":"remember_2fa_days()","anchor":"remember_2fa_days/0"},{"id":"set_2fa_user/2","deprecated":false,"title":"set_2fa_user(conn, user)","anchor":"set_2fa_user/2"}],"key":"functions"}]},{"id":"PlausibleWeb.UnsubscribeController","deprecated":false,"group":"","title":"PlausibleWeb.UnsubscribeController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"monthly_report/2","deprecated":false,"title":"monthly_report(conn, map)","anchor":"monthly_report/2"},{"id":"weekly_report/2","deprecated":false,"title":"weekly_report(conn, map)","anchor":"weekly_report/2"}],"key":"functions"}]},{"id":"PlausibleWeb.UnsubscribeView","deprecated":false,"group":"","title":"PlausibleWeb.UnsubscribeView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"success.html/1","deprecated":false,"title":"success.html(assigns)","anchor":"success.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]}],"extras":[{"id":"api-reference","group":"","title":"API Reference","headers":[{"id":"Modules","anchor":"modules"},{"id":"Mix Tasks","anchor":"mix-tasks"}]},{"id":"readme","group":"","title":"Introduction","headers":[{"id":"Why Plausible?","anchor":"why-plausible"},{"id":"Why is Plausible Analytics Cloud not free like Google Analytics?","anchor":"why-is-plausible-analytics-cloud-not-free-like-google-analytics"},{"id":"Getting started with Plausible","anchor":"getting-started-with-plausible"},{"id":"Technology","anchor":"technology"},{"id":"Contributors","anchor":"contributors"},{"id":"Feedback & Roadmap","anchor":"feedback-roadmap"},{"id":"License & Trademarks","anchor":"license-trademarks"}]},{"id":"contributing","group":"","title":"Contributing","headers":[{"id":"Development setup","anchor":"development-setup"},{"id":"Finding a task","anchor":"finding-a-task"}]}],"tasks":[{"id":"Mix.Tasks.CancelSubscription","deprecated":false,"group":"","title":"mix cancel_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(list)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.CleanClickhouse","deprecated":false,"group":"","title":"mix clean_clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.CreateFreeSubscription","deprecated":false,"group":"","title":"mix create_free_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"execute/1","deprecated":false,"title":"execute(user_id)","anchor":"execute/1"},{"id":"run/1","deprecated":false,"title":"run(arg1)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.DownloadCountryDatabase","deprecated":false,"group":"","title":"mix download_country_database","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.GenerateReferrerFavicons","deprecated":false,"group":"","title":"mix generate_referrer_favicons","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.PullSandboxSubscription","deprecated":false,"group":"","title":"mix pull_sandbox_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(list)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.SendPageview","deprecated":false,"group":"","title":"mix send_pageview","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(opts)","anchor":"run/1"}],"key":"functions"}]}]} \ No newline at end of file +sidebarNodes={"modules":[{"id":"ObanErrorReporter","deprecated":false,"group":"","title":"ObanErrorReporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/4","deprecated":false,"title":"handle_event(list, measure, meta, _)","anchor":"handle_event/4"}],"key":"functions"}]},{"id":"Plausible","deprecated":false,"group":"","title":"Plausible","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"do_on_full_build/1","deprecated":false,"title":"do_on_full_build(list)","anchor":"do_on_full_build/1"},{"id":"full_build?/0","deprecated":false,"title":"full_build?()","anchor":"full_build?/0"},{"id":"on_full_build/1","deprecated":false,"title":"on_full_build(clauses)","anchor":"on_full_build/1"},{"id":"small_build?/0","deprecated":false,"title":"small_build?()","anchor":"small_build?/0"}],"key":"functions"}]},{"id":"Plausible.AsyncInsertRepo","deprecated":false,"group":"","title":"Plausible.AsyncInsertRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Auth","deprecated":false,"group":"","title":"Plausible.Auth","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_api_key/3","deprecated":false,"title":"create_api_key(user, name, key)","anchor":"create_api_key/3"},{"id":"create_user/3","deprecated":false,"title":"create_user(name, email, pwd)","anchor":"create_user/3"},{"id":"delete_api_key/2","deprecated":false,"title":"delete_api_key(user, id)","anchor":"delete_api_key/2"},{"id":"delete_user/1","deprecated":false,"title":"delete_user(user)","anchor":"delete_user/1"},{"id":"enterprise_configured?/1","deprecated":false,"title":"enterprise_configured?(user)","anchor":"enterprise_configured?/1"},{"id":"find_api_key/1","deprecated":false,"title":"find_api_key(raw_key)","anchor":"find_api_key/1"},{"id":"find_user_by/1","deprecated":false,"title":"find_user_by(opts)","anchor":"find_user_by/1"},{"id":"has_active_sites?/2","deprecated":false,"title":"has_active_sites?(user, roles \\\\ [:owner, :admin, :viewer])","anchor":"has_active_sites?/2"},{"id":"is_super_admin?/1","deprecated":false,"title":"is_super_admin?(user_id)","anchor":"is_super_admin?/1"},{"id":"user_owns_sites?/1","deprecated":false,"title":"user_owns_sites?(user)","anchor":"user_owns_sites?/1"}],"key":"functions"}]},{"id":"Plausible.Auth.ApiKey","deprecated":false,"group":"","title":"Plausible.Auth.ApiKey","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(schema, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"do_hash/1","deprecated":false,"title":"do_hash(key)","anchor":"do_hash/1"},{"id":"process_key/1","deprecated":false,"title":"process_key(changeset)","anchor":"process_key/1"},{"id":"update/2","deprecated":false,"title":"update(schema, attrs \\\\ %{})","anchor":"update/2"}],"key":"functions"}]},{"id":"Plausible.Auth.ApiKeyAdmin","deprecated":false,"group":"","title":"Plausible.Auth.ApiKeyAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_changeset/2","deprecated":false,"title":"create_changeset(schema, attrs)","anchor":"create_changeset/2"},{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(schema, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Auth.EmailActivationCode","deprecated":false,"group":"","title":"Plausible.Auth.EmailActivationCode","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"generate_code/0","deprecated":false,"title":"generate_code()","anchor":"generate_code/0"},{"id":"new/2","deprecated":false,"title":"new(user, now)","anchor":"new/2"}],"key":"functions"}]},{"id":"Plausible.Auth.EmailVerification","deprecated":false,"group":"","title":"Plausible.Auth.EmailVerification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"any?/1","deprecated":false,"title":"any?(user)","anchor":"any?/1"},{"id":"expired?/1","deprecated":false,"title":"expired?(verification)","anchor":"expired?/1"},{"id":"issue_code/2","deprecated":false,"title":"issue_code(user, now \\\\ NaiveDateTime.utc_now())","anchor":"issue_code/2"},{"id":"verify_code/2","deprecated":false,"title":"verify_code(user, code)","anchor":"verify_code/2"}],"key":"functions"}]},{"id":"Plausible.Auth.GracePeriod","deprecated":false,"group":"","title":"Plausible.Auth.GracePeriod","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"active?/1","deprecated":false,"title":"active?(user)","anchor":"active?/1"},{"id":"end_changeset/1","deprecated":false,"title":"end_changeset(user)","anchor":"end_changeset/1"},{"id":"expired?/1","deprecated":false,"title":"expired?(user)","anchor":"expired?/1"},{"id":"remove_changeset/1","deprecated":false,"title":"remove_changeset(user)","anchor":"remove_changeset/1"},{"id":"start_changeset/1","deprecated":false,"title":"start_changeset(user)","anchor":"start_changeset/1"},{"id":"start_manual_lock_changeset/1","deprecated":false,"title":"start_manual_lock_changeset(user)","anchor":"start_manual_lock_changeset/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Invitation","deprecated":false,"group":"","title":"Plausible.Auth.Invitation","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(attrs \\\\ %{})","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Password","deprecated":false,"group":"","title":"Plausible.Auth.Password","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dummy_calculation/0","deprecated":false,"title":"dummy_calculation()","anchor":"dummy_calculation/0"},{"id":"hash/1","deprecated":false,"title":"hash(password)","anchor":"hash/1"},{"id":"match?/2","deprecated":false,"title":"match?(password, hash)","anchor":"match?/2"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP","deprecated":false,"group":"","title":"Plausible.Auth.TOTP","sections":[{"id":"Setup","anchor":"module-setup"},{"id":"Management","anchor":"module-management"},{"id":"Validation","anchor":"module-validation"},{"id":"Code validity","anchor":"module-code-validity"},{"id":"TOTP Token","anchor":"module-totp-token"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(user, password)","anchor":"disable/2"},{"id":"enable/3","deprecated":false,"title":"enable(user, code, opts \\\\ [])","anchor":"enable/3"},{"id":"enabled?/1","deprecated":false,"title":"enabled?(user)","anchor":"enabled?/1"},{"id":"generate_recovery_codes/1","deprecated":false,"title":"generate_recovery_codes(map)","anchor":"generate_recovery_codes/1"},{"id":"generate_recovery_codes/2","deprecated":false,"title":"generate_recovery_codes(user, password)","anchor":"generate_recovery_codes/2"},{"id":"initiate/1","deprecated":false,"title":"initiate(user)","anchor":"initiate/1"},{"id":"initiated?/1","deprecated":false,"title":"initiated?(user)","anchor":"initiated?/1"},{"id":"reset_token/1","deprecated":false,"title":"reset_token(user)","anchor":"reset_token/1"},{"id":"use_recovery_code/2","deprecated":false,"title":"use_recovery_code(user, code)","anchor":"use_recovery_code/2"},{"id":"validate_code/3","deprecated":false,"title":"validate_code(user, code, opts \\\\ [])","anchor":"validate_code/3"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP.EncryptedBinary","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.EncryptedBinary","sections":[]},{"id":"Plausible.Auth.TOTP.RecoveryCode","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.RecoveryCode","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(user, code)","anchor":"changeset/2"},{"id":"changeset_to_map/2","deprecated":false,"title":"changeset_to_map(changeset, now)","anchor":"changeset_to_map/2"},{"id":"generate_codes/1","deprecated":false,"title":"generate_codes(count)","anchor":"generate_codes/1"},{"id":"match?/2","deprecated":false,"title":"match?(recovery_code, input_code)","anchor":"match?/2"}],"key":"functions"}]},{"id":"Plausible.Auth.TOTP.Vault","deprecated":false,"group":"","title":"Plausible.Auth.TOTP.Vault","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(config \\\\ [])","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Auth.Token","deprecated":false,"group":"","title":"Plausible.Auth.Token","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"sign_password_reset/1","deprecated":false,"title":"sign_password_reset(email)","anchor":"sign_password_reset/1"},{"id":"sign_shared_link/1","deprecated":false,"title":"sign_shared_link(slug)","anchor":"sign_shared_link/1"},{"id":"verify_password_reset/1","deprecated":false,"title":"verify_password_reset(token)","anchor":"verify_password_reset/1"},{"id":"verify_shared_link/1","deprecated":false,"title":"verify_shared_link(token)","anchor":"verify_shared_link/1"}],"key":"functions"}]},{"id":"Plausible.Auth.User","deprecated":false,"group":"","title":"Plausible.Auth.User","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"cancel_email_changeset/1","deprecated":false,"title":"cancel_email_changeset(user)","anchor":"cancel_email_changeset/1"},{"id":"changeset/2","deprecated":false,"title":"changeset(user, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"email_changeset/2","deprecated":false,"title":"email_changeset(user, attrs \\\\ %{})","anchor":"email_changeset/2"},{"id":"end_trial/1","deprecated":false,"title":"end_trial(user)","anchor":"end_trial/1"},{"id":"hash_password/1","deprecated":false,"title":"hash_password(changeset)","anchor":"hash_password/1"},{"id":"new/1","deprecated":false,"title":"new(attrs \\\\ %{})","anchor":"new/1"},{"id":"password_strength/1","deprecated":false,"title":"password_strength(changeset)","anchor":"password_strength/1"},{"id":"profile_img_url/1","deprecated":false,"title":"profile_img_url(user)","anchor":"profile_img_url/1"},{"id":"remove_trial_expiry/1","deprecated":false,"title":"remove_trial_expiry(user)","anchor":"remove_trial_expiry/1"},{"id":"set_password/2","deprecated":false,"title":"set_password(user, password)","anchor":"set_password/2"},{"id":"settings_changeset/2","deprecated":false,"title":"settings_changeset(user, attrs \\\\ %{})","anchor":"settings_changeset/2"},{"id":"start_trial/1","deprecated":false,"title":"start_trial(user)","anchor":"start_trial/1"},{"id":"subscription_accept_traffic_until_offset_days/0","deprecated":false,"title":"subscription_accept_traffic_until_offset_days()","anchor":"subscription_accept_traffic_until_offset_days/0"},{"id":"trial_accept_traffic_until_offset_days/0","deprecated":false,"title":"trial_accept_traffic_until_offset_days()","anchor":"trial_accept_traffic_until_offset_days/0"}],"key":"functions"}]},{"id":"Plausible.Auth.UserAdmin","deprecated":false,"group":"","title":"Plausible.Auth.UserAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"delete/2","deprecated":false,"title":"delete(conn, map)","anchor":"delete/2"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"resource_actions/1","deprecated":false,"title":"resource_actions(_)","anchor":"resource_actions/1"}],"key":"functions"}]},{"id":"Plausible.Billing","deprecated":false,"group":"","title":"Plausible.Billing","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"active_subscription_for/1","deprecated":false,"title":"active_subscription_for(user_id)","anchor":"active_subscription_for/1"},{"id":"cancelled_subscription_notice_dismiss_id/1","deprecated":false,"title":"cancelled_subscription_notice_dismiss_id(user)","anchor":"cancelled_subscription_notice_dismiss_id/1"},{"id":"change_plan/2","deprecated":false,"title":"change_plan(user, new_plan_id)","anchor":"change_plan/2"},{"id":"change_plan_preview/2","deprecated":false,"title":"change_plan_preview(subscription, new_plan_id)","anchor":"change_plan_preview/2"},{"id":"check_needs_to_upgrade/1","deprecated":false,"title":"check_needs_to_upgrade(user)","anchor":"check_needs_to_upgrade/1"},{"id":"format_price/1","deprecated":false,"title":"format_price(money)","anchor":"format_price/1"},{"id":"has_active_subscription?/1","deprecated":false,"title":"has_active_subscription?(user_id)","anchor":"has_active_subscription?/1"},{"id":"paddle_api/0","deprecated":false,"title":"paddle_api()","anchor":"paddle_api/0"},{"id":"subscription_cancelled/1","deprecated":false,"title":"subscription_cancelled(params)","anchor":"subscription_cancelled/1"},{"id":"subscription_created/1","deprecated":false,"title":"subscription_created(params)","anchor":"subscription_created/1"},{"id":"subscription_payment_succeeded/1","deprecated":false,"title":"subscription_payment_succeeded(params)","anchor":"subscription_payment_succeeded/1"},{"id":"subscription_updated/1","deprecated":false,"title":"subscription_updated(params)","anchor":"subscription_updated/1"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.Feature","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.Feature","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(feature)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(mod)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(feature)","anchor":"load/1"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.FeatureList","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.FeatureList","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(list)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(list)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(list)","anchor":"load/1"},{"id":"render_form/5","deprecated":false,"title":"render_form(conn, changeset, form, field, options)","anchor":"render_form/5"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Ecto.Limit","deprecated":false,"group":"","title":"Plausible.Billing.Ecto.Limit","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(other)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(other)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(other)","anchor":"load/1"},{"id":"render_form/5","deprecated":false,"title":"render_form(conn, changeset, form, field, options)","anchor":"render_form/5"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Billing.EnterprisePlan","deprecated":false,"group":"","title":"Plausible.Billing.EnterprisePlan","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(model, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Billing.EnterprisePlanAdmin","deprecated":false,"group":"","title":"Plausible.Billing.EnterprisePlanAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(schema)","anchor":"form_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(enterprise_plan, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Billing.Feature","deprecated":false,"group":"","title":"Plausible.Billing.Feature","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"check_availability/1","deprecated":false,"title":"check_availability(t)","anchor":"c:check_availability/1"},{"id":"display_name/0","deprecated":false,"title":"display_name()","anchor":"c:display_name/0"},{"id":"enabled?/1","deprecated":false,"title":"enabled?(t)","anchor":"c:enabled?/1"},{"id":"free?/0","deprecated":false,"title":"free?()","anchor":"c:free?/0"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"opted_out?/1","deprecated":false,"title":"opted_out?(t)","anchor":"c:opted_out?/1"},{"id":"toggle/2","deprecated":false,"title":"toggle(t, t)","anchor":"c:toggle/2"},{"id":"toggle_field/0","deprecated":false,"title":"toggle_field()","anchor":"c:toggle_field/0"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"list/0","deprecated":false,"title":"list()","anchor":"list/0"}],"key":"functions"}]},{"id":"Plausible.Billing.PaddleApi","deprecated":false,"group":"","title":"Plausible.Billing.PaddleApi","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"checkout_domain/0","deprecated":false,"title":"checkout_domain()","anchor":"checkout_domain/0"},{"id":"fetch_prices/1","deprecated":false,"title":"fetch_prices(product_ids)","anchor":"fetch_prices/1"},{"id":"get_invoices/1","deprecated":false,"title":"get_invoices(subscription)","anchor":"get_invoices/1"},{"id":"get_subscription/1","deprecated":false,"title":"get_subscription(paddle_subscription_id)","anchor":"get_subscription/1"},{"id":"update_subscription/2","deprecated":false,"title":"update_subscription(paddle_subscription_id, params)","anchor":"update_subscription/2"},{"id":"update_subscription_preview/2","deprecated":false,"title":"update_subscription_preview(paddle_subscription_id, new_plan_id)","anchor":"update_subscription_preview/2"},{"id":"vendors_domain/0","deprecated":false,"title":"vendors_domain()","anchor":"vendors_domain/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Plans","deprecated":false,"group":"","title":"Plausible.Billing.Plans","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all/0","deprecated":false,"title":"all()","anchor":"all/0"},{"id":"available_plans_for/2","deprecated":false,"title":"available_plans_for(user, opts \\\\ [])","anchor":"available_plans_for/2"},{"id":"business_plans_for/1","deprecated":false,"title":"business_plans_for(user)","anchor":"business_plans_for/1"},{"id":"business_tier?/1","deprecated":false,"title":"business_tier?(subscription)","anchor":"business_tier?/1"},{"id":"business_tier_launch/0","deprecated":false,"title":"business_tier_launch()","anchor":"business_tier_launch/0"},{"id":"find/1","deprecated":false,"title":"find(product_id)","anchor":"find/1"},{"id":"get_price_for/1","deprecated":false,"title":"get_price_for(enterprise_plan)","anchor":"get_price_for/1"},{"id":"get_regular_plan/2","deprecated":false,"title":"get_regular_plan(subscription, opts \\\\ [])","anchor":"get_regular_plan/2"},{"id":"get_subscription_plan/1","deprecated":false,"title":"get_subscription_plan(subscription)","anchor":"get_subscription_plan/1"},{"id":"growth_plans_for/1","deprecated":false,"title":"growth_plans_for(user)","anchor":"growth_plans_for/1"},{"id":"latest_enterprise_plan_with_price/1","deprecated":false,"title":"latest_enterprise_plan_with_price(user)","anchor":"latest_enterprise_plan_with_price/1"},{"id":"subscription_interval/1","deprecated":false,"title":"subscription_interval(subscription)","anchor":"subscription_interval/1"},{"id":"suggest/2","deprecated":false,"title":"suggest(user, usage_during_cycle)","anchor":"suggest/2"},{"id":"suggest_tier/1","deprecated":false,"title":"suggest_tier(user)","anchor":"suggest_tier/1"},{"id":"with_prices/1","deprecated":false,"title":"with_prices(plans)","anchor":"with_prices/1"},{"id":"yearly_product_ids/0","deprecated":false,"title":"yearly_product_ids()","anchor":"yearly_product_ids/0"}],"key":"functions"}]},{"id":"Plausible.Billing.Quota","deprecated":false,"group":"","title":"Plausible.Billing.Quota","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"limit/0","deprecated":false,"title":"limit()","anchor":"t:limit/0"},{"id":"monthly_pageview_usage/0","deprecated":false,"title":"monthly_pageview_usage()","anchor":"t:monthly_pageview_usage/0"},{"id":"over_limits_error/0","deprecated":false,"title":"over_limits_error()","anchor":"t:over_limits_error/0"},{"id":"period/0","deprecated":false,"title":"period()","anchor":"t:period/0"},{"id":"usage_cycle/0","deprecated":false,"title":"usage_cycle()","anchor":"t:usage_cycle/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"allowed_features_for/1","deprecated":false,"title":"allowed_features_for(user)","anchor":"allowed_features_for/1"},{"id":"below_limit?/2","deprecated":false,"title":"below_limit?(usage, limit)","anchor":"below_limit?/2"},{"id":"ensure_can_add_new_site/1","deprecated":false,"title":"ensure_can_add_new_site(user)","anchor":"ensure_can_add_new_site/1"},{"id":"ensure_within_plan_limits/3","deprecated":false,"title":"ensure_within_plan_limits(user_or_usage, plan, opts \\\\ [])","anchor":"ensure_within_plan_limits/3"},{"id":"features_usage/1","deprecated":false,"title":"features_usage(user)","anchor":"features_usage/1"},{"id":"monthly_pageview_limit/1","deprecated":false,"title":"monthly_pageview_limit(user)","anchor":"monthly_pageview_limit/1"},{"id":"monthly_pageview_usage/2","deprecated":false,"title":"monthly_pageview_usage(user, site_ids \\\\ nil)","anchor":"monthly_pageview_usage/2"},{"id":"pageview_allowance_margin/0","deprecated":false,"title":"pageview_allowance_margin()","anchor":"pageview_allowance_margin/0"},{"id":"site_limit/1","deprecated":false,"title":"site_limit(user)","anchor":"site_limit/1"},{"id":"site_usage/1","deprecated":false,"title":"site_usage(user)","anchor":"site_usage/1"},{"id":"team_member_limit/1","deprecated":false,"title":"team_member_limit(user)","anchor":"team_member_limit/1"},{"id":"team_member_usage/1","deprecated":false,"title":"team_member_usage(user)","anchor":"team_member_usage/1"},{"id":"usage/2","deprecated":false,"title":"usage(user, opts \\\\ [])","anchor":"usage/2"},{"id":"usage_cycle/4","deprecated":false,"title":"usage_cycle(user, cycle, owned_site_ids \\\\ nil, today \\\\ Timex.today())","anchor":"usage_cycle/4"},{"id":"within_limit?/2","deprecated":false,"title":"within_limit?(usage, limit)","anchor":"within_limit?/2"}],"key":"functions"}]},{"id":"Plausible.Billing.SiteLocker","deprecated":false,"group":"","title":"Plausible.Billing.SiteLocker","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"lock_reason/0","deprecated":false,"title":"lock_reason()","anchor":"t:lock_reason/0"},{"id":"update_opt/0","deprecated":false,"title":"update_opt()","anchor":"t:update_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"send_grace_period_end_email/1","deprecated":false,"title":"send_grace_period_end_email(user)","anchor":"send_grace_period_end_email/1"},{"id":"set_lock_status_for/2","deprecated":false,"title":"set_lock_status_for(user, status)","anchor":"set_lock_status_for/2"},{"id":"update_sites_for/2","deprecated":false,"title":"update_sites_for(user, opts \\\\ [])","anchor":"update_sites_for/2"}],"key":"functions"}]},{"id":"Plausible.Billing.Subscription.Status","deprecated":false,"group":"","title":"Plausible.Billing.Subscription.Status","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"status/0","deprecated":false,"title":"status()","anchor":"t:status/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"active/0","deprecated":false,"title":"active()","anchor":"active/0"},{"id":"active?/1","deprecated":false,"title":"active?(subscription)","anchor":"active?/1"},{"id":"deleted/0","deprecated":false,"title":"deleted()","anchor":"deleted/0"},{"id":"deleted?/1","deprecated":false,"title":"deleted?(subscription)","anchor":"deleted?/1"},{"id":"in?/2","deprecated":false,"title":"in?(subscription, expected)","anchor":"in?/2"},{"id":"past_due/0","deprecated":false,"title":"past_due()","anchor":"past_due/0"},{"id":"past_due?/1","deprecated":false,"title":"past_due?(subscription)","anchor":"past_due?/1"},{"id":"paused/0","deprecated":false,"title":"paused()","anchor":"paused/0"},{"id":"paused?/1","deprecated":false,"title":"paused?(subscription)","anchor":"paused?/1"},{"id":"valid_statuses/0","deprecated":false,"title":"valid_statuses()","anchor":"valid_statuses/0"}],"key":"functions"}]},{"id":"Plausible.Cache","deprecated":false,"group":"","title":"Plausible.Cache","sections":[],"nodeGroups":[{"name":"Callbacks","nodes":[{"id":"base_db_query/0","deprecated":false,"title":"base_db_query()","anchor":"c:base_db_query/0"},{"id":"child_id/0","deprecated":false,"title":"child_id()","anchor":"c:child_id/0"},{"id":"count_all/0","deprecated":false,"title":"count_all()","anchor":"c:count_all/0"},{"id":"get_from_source/1","deprecated":false,"title":"get_from_source(any)","anchor":"c:get_from_source/1"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"unwrap_cache_keys/1","deprecated":false,"title":"unwrap_cache_keys(list)","anchor":"c:unwrap_cache_keys/1"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"}],"key":"functions"}]},{"id":"Plausible.Cache.Warmer","deprecated":false,"group":"","title":"Plausible.Cache.Warmer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"}],"key":"functions"}]},{"id":"Plausible.ChangesetHelpers","deprecated":false,"group":"","title":"Plausible.ChangesetHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"traverse_errors/1","deprecated":false,"title":"traverse_errors(changeset)","anchor":"traverse_errors/1"}],"key":"functions"}]},{"id":"Plausible.Cldr","deprecated":false,"group":"","title":"Plausible.Cldr","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_name?/1","deprecated":false,"title":"available_locale_name?(locale_name)","anchor":"available_locale_name?/1"},{"id":"default_locale/0","deprecated":false,"title":"default_locale()","anchor":"default_locale/0"},{"id":"default_territory/0","deprecated":false,"title":"default_territory()","anchor":"default_territory/0"},{"id":"ellipsis/2","deprecated":false,"title":"ellipsis(string, options \\\\ [])","anchor":"ellipsis/2"},{"id":"get_locale/0","deprecated":false,"title":"get_locale()","anchor":"get_locale/0"},{"id":"known_calendars/0","deprecated":false,"title":"known_calendars()","anchor":"known_calendars/0"},{"id":"known_currencies/0","deprecated":false,"title":"known_currencies()","anchor":"known_currencies/0"},{"id":"known_gettext_locale_name/1","deprecated":false,"title":"known_gettext_locale_name(locale_name)","anchor":"known_gettext_locale_name/1"},{"id":"known_gettext_locale_name?/1","deprecated":false,"title":"known_gettext_locale_name?(locale_name)","anchor":"known_gettext_locale_name?/1"},{"id":"known_gettext_locale_names/0","deprecated":false,"title":"known_gettext_locale_names()","anchor":"known_gettext_locale_names/0"},{"id":"known_locale_name/1","deprecated":false,"title":"known_locale_name(locale_name)","anchor":"known_locale_name/1"},{"id":"known_locale_name?/1","deprecated":false,"title":"known_locale_name?(locale_name)","anchor":"known_locale_name?/1"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"known_number_system_types/0","deprecated":false,"title":"known_number_system_types()","anchor":"known_number_system_types/0"},{"id":"known_number_systems/0","deprecated":false,"title":"known_number_systems()","anchor":"known_number_systems/0"},{"id":"known_rbnf_locale_name/1","deprecated":false,"title":"known_rbnf_locale_name(locale_name)","anchor":"known_rbnf_locale_name/1"},{"id":"known_rbnf_locale_name?/1","deprecated":false,"title":"known_rbnf_locale_name?(locale_name)","anchor":"known_rbnf_locale_name?/1"},{"id":"known_rbnf_locale_names/0","deprecated":false,"title":"known_rbnf_locale_names()","anchor":"known_rbnf_locale_names/0"},{"id":"known_territories/0","deprecated":false,"title":"known_territories()","anchor":"known_territories/0"},{"id":"normalize_lenient_parse/3","deprecated":false,"title":"normalize_lenient_parse(string, scope, locale \\\\ get_locale())","anchor":"normalize_lenient_parse/3"},{"id":"put_gettext_locale/1","deprecated":false,"title":"put_gettext_locale(locale)","anchor":"put_gettext_locale/1"},{"id":"put_locale/1","deprecated":false,"title":"put_locale(locale_name)","anchor":"put_locale/1"},{"id":"quote/2","deprecated":false,"title":"quote(string, options \\\\ [])","anchor":"quote/2"},{"id":"unknown_locale_names/0","deprecated":false,"title":"unknown_locale_names()","anchor":"unknown_locale_names/0"},{"id":"validate_calendar/1","deprecated":false,"title":"validate_calendar(calendar)","anchor":"validate_calendar/1"},{"id":"validate_currency/1","deprecated":false,"title":"validate_currency(currency)","anchor":"validate_currency/1"},{"id":"validate_locale/1","deprecated":false,"title":"validate_locale(locale)","anchor":"validate_locale/1"},{"id":"validate_number_system/1","deprecated":false,"title":"validate_number_system(number_system)","anchor":"validate_number_system/1"},{"id":"validate_number_system_type/1","deprecated":false,"title":"validate_number_system_type(number_system_type)","anchor":"validate_number_system_type/1"},{"id":"validate_territory/1","deprecated":false,"title":"validate_territory(territory)","anchor":"validate_territory/1"},{"id":"with_locale/2","deprecated":false,"title":"with_locale(locale, fun)","anchor":"with_locale/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.AcceptLanguage","deprecated":false,"group":"","title":"Plausible.Cldr.AcceptLanguage","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"best_match/1","deprecated":false,"title":"best_match(accept_language)","anchor":"best_match/1"},{"id":"parse/1","deprecated":false,"title":"parse(tokens_or_string)","anchor":"parse/1"},{"id":"parse!/1","deprecated":false,"title":"parse!(accept_language)","anchor":"parse!/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Currency","deprecated":false,"group":"","title":"Plausible.Cldr.Currency","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"currencies_for_locale/3","deprecated":false,"title":"currencies_for_locale(locale, only \\\\ :all, except \\\\ nil)","anchor":"currencies_for_locale/3"},{"id":"currencies_for_locale!/3","deprecated":false,"title":"currencies_for_locale!(locale, only \\\\ :all, except \\\\ nil)","anchor":"currencies_for_locale!/3"},{"id":"currency_for_code/2","deprecated":false,"title":"currency_for_code(currency_or_currency_code, options \\\\ [locale: Plausible.Cldr.default_locale()])","anchor":"currency_for_code/2"},{"id":"currency_for_code!/2","deprecated":false,"title":"currency_for_code!(currency_or_currency_code, options \\\\ [locale: Plausible.Cldr.default_locale()])","anchor":"currency_for_code!/2"},{"id":"currency_from_locale/1","deprecated":false,"title":"currency_from_locale(locale)","anchor":"currency_from_locale/1"},{"id":"currency_history_for_locale/1","deprecated":false,"title":"currency_history_for_locale(language_tag)","anchor":"currency_history_for_locale/1"},{"id":"currency_strings/3","deprecated":false,"title":"currency_strings(locale, only \\\\ :all, except \\\\ nil)","anchor":"currency_strings/3"},{"id":"currency_strings!/3","deprecated":false,"title":"currency_strings!(locale_name, only \\\\ :all, except \\\\ nil)","anchor":"currency_strings!/3"},{"id":"current_currency_from_locale/1","deprecated":false,"title":"current_currency_from_locale(locale)","anchor":"current_currency_from_locale/1"},{"id":"current_territory_currencies/0","deprecated":false,"title":"current_territory_currencies()","anchor":"current_territory_currencies/0"},{"id":"known_currencies/0","deprecated":false,"title":"known_currencies()","anchor":"known_currencies/0"},{"id":"known_currency?/1","deprecated":false,"title":"known_currency?(code)","anchor":"known_currency?/1"},{"id":"known_currency_code/1","deprecated":false,"title":"known_currency_code(currency_code)","anchor":"known_currency_code/1"},{"id":"known_currency_code?/1","deprecated":false,"title":"known_currency_code?(currency_code)","anchor":"known_currency_code?/1"},{"id":"known_currency_codes/0","deprecated":false,"title":"known_currency_codes()","anchor":"known_currency_codes/0"},{"id":"new/2","deprecated":false,"title":"new(currency, options \\\\ [])","anchor":"new/2"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, currency, options \\\\ [])","anchor":"pluralize/3"},{"id":"strings_for_currency/2","deprecated":false,"title":"strings_for_currency(currency, locale)","anchor":"strings_for_currency/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Locale","deprecated":false,"group":"","title":"Plausible.Cldr.Locale","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fallback_locale_names/1","deprecated":false,"title":"fallback_locale_names(locale)","anchor":"fallback_locale_names/1"},{"id":"fallback_locales/1","deprecated":false,"title":"fallback_locales(locale)","anchor":"fallback_locales/1"},{"id":"locale_for_territory/1","deprecated":false,"title":"locale_for_territory(territory)","anchor":"locale_for_territory/1"},{"id":"locale_from_host/2","deprecated":false,"title":"locale_from_host(host, options \\\\ [])","anchor":"locale_from_host/2"},{"id":"new/1","deprecated":false,"title":"new(locale_name)","anchor":"new/1"},{"id":"new!/1","deprecated":false,"title":"new!(locale_name)","anchor":"new!/1"},{"id":"script_direction_from_locale/1","deprecated":false,"title":"script_direction_from_locale(locale)","anchor":"script_direction_from_locale/1"},{"id":"territory_from_host/1","deprecated":false,"title":"territory_from_host(host)","anchor":"territory_from_host/1"},{"id":"territory_from_locale/1","deprecated":false,"title":"territory_from_locale(locale)","anchor":"territory_from_locale/1"},{"id":"timezone_from_locale/1","deprecated":false,"title":"timezone_from_locale(locale)","anchor":"timezone_from_locale/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number","deprecated":false,"group":"","title":"Plausible.Cldr.Number","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"parse/2","deprecated":false,"title":"parse(string, options \\\\ [])","anchor":"parse/2"},{"id":"resolve_currencies/2","deprecated":false,"title":"resolve_currencies(list, options \\\\ [])","anchor":"resolve_currencies/2"},{"id":"resolve_currency/2","deprecated":false,"title":"resolve_currency(string, options \\\\ [])","anchor":"resolve_currency/2"},{"id":"resolve_per/2","deprecated":false,"title":"resolve_per(string, options \\\\ [])","anchor":"resolve_per/2"},{"id":"resolve_pers/2","deprecated":false,"title":"resolve_pers(list, options \\\\ [])","anchor":"resolve_pers/2"},{"id":"scan/2","deprecated":false,"title":"scan(string, options \\\\ [])","anchor":"scan/2"},{"id":"to_approx_string/2","deprecated":false,"title":"to_approx_string(number, options \\\\ [])","anchor":"to_approx_string/2"},{"id":"to_at_least_string/2","deprecated":false,"title":"to_at_least_string(number, options \\\\ [])","anchor":"to_at_least_string/2"},{"id":"to_at_most_string/2","deprecated":false,"title":"to_at_most_string(number, options \\\\ [])","anchor":"to_at_most_string/2"},{"id":"to_range_string/2","deprecated":false,"title":"to_range_string(range, options \\\\ [])","anchor":"to_range_string/2"},{"id":"to_string/2","deprecated":false,"title":"to_string(number, options \\\\ default_options())","anchor":"to_string/2"},{"id":"to_string!/2","deprecated":false,"title":"to_string!(number, options \\\\ default_options())","anchor":"to_string!/2"},{"id":"validate_number_system/2","deprecated":false,"title":"validate_number_system(locale, number_system)","anchor":"validate_number_system/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Cardinal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Cardinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_names/0","deprecated":false,"title":"available_locale_names()","anchor":"available_locale_names/0"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(number, locale, rounding \\\\ Math.default_rounding())","anchor":"plural_rule/3"},{"id":"plural_rules/0","deprecated":false,"title":"plural_rules()","anchor":"plural_rules/0"},{"id":"plural_rules_for/1","deprecated":false,"title":"plural_rules_for(locale_name)","anchor":"plural_rules_for/1"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, locale_name, substitutions)","anchor":"pluralize/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Format","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Format","sections":[{"id":"Number Pattern Examples","anchor":"module-number-pattern-examples"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_formats_for/1","deprecated":false,"title":"all_formats_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"all_formats_for/1"},{"id":"all_formats_for!/1","deprecated":false,"title":"all_formats_for!(locale \\\\ Plausible.Cldr.get_locale())","anchor":"all_formats_for!/1"},{"id":"currency_spacing/2","deprecated":false,"title":"currency_spacing(locale, number_system)","anchor":"currency_spacing/2"},{"id":"decimal_format_list/0","deprecated":false,"title":"decimal_format_list()","anchor":"decimal_format_list/0"},{"id":"decimal_format_list_for/1","deprecated":false,"title":"decimal_format_list_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"decimal_format_list_for/1"},{"id":"default_grouping_for/1","deprecated":false,"title":"default_grouping_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"default_grouping_for/1"},{"id":"default_grouping_for!/1","deprecated":false,"title":"default_grouping_for!(locale)","anchor":"default_grouping_for!/1"},{"id":"formats_for/2","deprecated":false,"title":"formats_for(locale \\\\ Plausible.Cldr.default_locale(), number_system \\\\ Cldr.Number.System.default_number_system_type())","anchor":"formats_for/2"},{"id":"formats_for!/2","deprecated":false,"title":"formats_for!(locale \\\\ Plausible.Cldr.default_locale(), number_system \\\\ Cldr.Number.System.default_number_system_type())","anchor":"formats_for!/2"},{"id":"minimum_grouping_digits_for/1","deprecated":false,"title":"minimum_grouping_digits_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"minimum_grouping_digits_for/1"},{"id":"minimum_grouping_digits_for!/1","deprecated":false,"title":"minimum_grouping_digits_for!(locale)","anchor":"minimum_grouping_digits_for!/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Formatter.Decimal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Formatter.Decimal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"metadata!/1","deprecated":false,"title":"metadata!(format)","anchor":"metadata!/1"},{"id":"to_string/3","deprecated":false,"title":"to_string(number, format, options \\\\ [])","anchor":"to_string/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Ordinal","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Ordinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"available_locale_names/0","deprecated":false,"title":"available_locale_names()","anchor":"available_locale_names/0"},{"id":"known_locale_names/0","deprecated":false,"title":"known_locale_names()","anchor":"known_locale_names/0"},{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(number, locale, rounding \\\\ Math.default_rounding())","anchor":"plural_rule/3"},{"id":"plural_rules/0","deprecated":false,"title":"plural_rules()","anchor":"plural_rules/0"},{"id":"plural_rules_for/1","deprecated":false,"title":"plural_rules_for(locale_name)","anchor":"plural_rules_for/1"},{"id":"pluralize/3","deprecated":false,"title":"pluralize(number, locale_name, substitutions)","anchor":"pluralize/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.PluralRule.Range","deprecated":false,"group":"","title":"Plausible.Cldr.Number.PluralRule.Range","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"plural_rule/3","deprecated":false,"title":"plural_rule(first, last, locale)","anchor":"plural_rule/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Symbol","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Symbol","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_decimal_symbols/0","deprecated":false,"title":"all_decimal_symbols()","anchor":"all_decimal_symbols/0"},{"id":"all_decimal_symbols_class/0","deprecated":false,"title":"all_decimal_symbols_class()","anchor":"all_decimal_symbols_class/0"},{"id":"all_grouping_symbols/0","deprecated":false,"title":"all_grouping_symbols()","anchor":"all_grouping_symbols/0"},{"id":"all_grouping_symbols_class/0","deprecated":false,"title":"all_grouping_symbols_class()","anchor":"all_grouping_symbols_class/0"},{"id":"number_symbols_for/1","deprecated":false,"title":"number_symbols_for(locale \\\\ Plausible.Cldr.get_locale())","anchor":"number_symbols_for/1"},{"id":"number_symbols_for/2","deprecated":false,"title":"number_symbols_for(locale, number_system)","anchor":"number_symbols_for/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.System","deprecated":false,"group":"","title":"Plausible.Cldr.Number.System","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"number_system_for/2","deprecated":false,"title":"number_system_for(locale, system_name)","anchor":"number_system_for/2"},{"id":"number_system_from_locale/1","deprecated":false,"title":"number_system_from_locale(locale)","anchor":"number_system_from_locale/1"},{"id":"number_system_names_for/1","deprecated":false,"title":"number_system_names_for(locale)","anchor":"number_system_names_for/1"},{"id":"number_system_names_for!/1","deprecated":false,"title":"number_system_names_for!(locale)","anchor":"number_system_names_for!/1"},{"id":"number_system_types_for/1","deprecated":false,"title":"number_system_types_for(locale)","anchor":"number_system_types_for/1"},{"id":"number_systems_for/1","deprecated":false,"title":"number_systems_for(locale)","anchor":"number_systems_for/1"},{"id":"number_systems_for!/1","deprecated":false,"title":"number_systems_for!(locale)","anchor":"number_systems_for!/1"},{"id":"number_systems_like/2","deprecated":false,"title":"number_systems_like(locale, number_system)","anchor":"number_systems_like/2"},{"id":"system_name_from/2","deprecated":false,"title":"system_name_from(system_name, locale)","anchor":"system_name_from/2"},{"id":"to_system/2","deprecated":false,"title":"to_system(number, system)","anchor":"to_system/2"},{"id":"to_system!/2","deprecated":false,"title":"to_system!(number, system_name)","anchor":"to_system!/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Number.Transliterate","deprecated":false,"group":"","title":"Plausible.Cldr.Number.Transliterate","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"transliterate/3","deprecated":false,"title":"transliterate(sequence, locale \\\\ Plausible.Cldr.get_locale(), number_system \\\\ System.default_number_system_type())","anchor":"transliterate/3"},{"id":"transliterate!/3","deprecated":false,"title":"transliterate!(sequence, locale, number_system)","anchor":"transliterate!/3"},{"id":"transliterate_digits/3","deprecated":false,"title":"transliterate_digits(digits, from_system, to_system)","anchor":"transliterate_digits/3"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.NumberSystem","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.NumberSystem","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"armenian_lower/1","deprecated":false,"title":"armenian_lower(number)","anchor":"armenian_lower/1"},{"id":"armenian_lower/2","deprecated":false,"title":"armenian_lower(number, locale)","anchor":"armenian_lower/2"},{"id":"armenian_upper/1","deprecated":false,"title":"armenian_upper(number)","anchor":"armenian_upper/1"},{"id":"armenian_upper/2","deprecated":false,"title":"armenian_upper(number, locale)","anchor":"armenian_upper/2"},{"id":"cyrillic_lower/1","deprecated":false,"title":"cyrillic_lower(number)","anchor":"cyrillic_lower/1"},{"id":"cyrillic_lower/2","deprecated":false,"title":"cyrillic_lower(number, locale)","anchor":"cyrillic_lower/2"},{"id":"cyrillic_lower_1_10/2","deprecated":false,"title":"cyrillic_lower_1_10(number, language_tag)","anchor":"cyrillic_lower_1_10/2"},{"id":"cyrillic_lower_final/2","deprecated":false,"title":"cyrillic_lower_final(number, language_tag)","anchor":"cyrillic_lower_final/2"},{"id":"cyrillic_lower_post/2","deprecated":false,"title":"cyrillic_lower_post(number, language_tag)","anchor":"cyrillic_lower_post/2"},{"id":"cyrillic_lower_thousands/2","deprecated":false,"title":"cyrillic_lower_thousands(number, language_tag)","anchor":"cyrillic_lower_thousands/2"},{"id":"ethiopic/1","deprecated":false,"title":"ethiopic(number)","anchor":"ethiopic/1"},{"id":"ethiopic/2","deprecated":false,"title":"ethiopic(number, locale)","anchor":"ethiopic/2"},{"id":"ethiopic_p1/2","deprecated":false,"title":"ethiopic_p1(number, language_tag)","anchor":"ethiopic_p1/2"},{"id":"ethiopic_p2/2","deprecated":false,"title":"ethiopic_p2(number, language_tag)","anchor":"ethiopic_p2/2"},{"id":"ethiopic_p3/2","deprecated":false,"title":"ethiopic_p3(number, language_tag)","anchor":"ethiopic_p3/2"},{"id":"ethiopic_p/2","deprecated":false,"title":"ethiopic_p(number, language_tag)","anchor":"ethiopic_p/2"},{"id":"georgian/1","deprecated":false,"title":"georgian(number)","anchor":"georgian/1"},{"id":"georgian/2","deprecated":false,"title":"georgian(number, locale)","anchor":"georgian/2"},{"id":"greek_lower/1","deprecated":false,"title":"greek_lower(number)","anchor":"greek_lower/1"},{"id":"greek_lower/2","deprecated":false,"title":"greek_lower(number, locale)","anchor":"greek_lower/2"},{"id":"greek_numeral_majuscules/2","deprecated":false,"title":"greek_numeral_majuscules(number, language_tag)","anchor":"greek_numeral_majuscules/2"},{"id":"greek_numeral_minuscules/2","deprecated":false,"title":"greek_numeral_minuscules(number, language_tag)","anchor":"greek_numeral_minuscules/2"},{"id":"greek_upper/1","deprecated":false,"title":"greek_upper(number)","anchor":"greek_upper/1"},{"id":"greek_upper/2","deprecated":false,"title":"greek_upper(number, locale)","anchor":"greek_upper/2"},{"id":"hebrew/1","deprecated":false,"title":"hebrew(number)","anchor":"hebrew/1"},{"id":"hebrew/2","deprecated":false,"title":"hebrew(number, locale)","anchor":"hebrew/2"},{"id":"hebrew_0_99/2","deprecated":false,"title":"hebrew_0_99(number, language_tag)","anchor":"hebrew_0_99/2"},{"id":"hebrew_item/1","deprecated":false,"title":"hebrew_item(number)","anchor":"hebrew_item/1"},{"id":"hebrew_item/2","deprecated":false,"title":"hebrew_item(number, locale)","anchor":"hebrew_item/2"},{"id":"hebrew_item_hundreds/2","deprecated":false,"title":"hebrew_item_hundreds(number, language_tag)","anchor":"hebrew_item_hundreds/2"},{"id":"hebrew_thousands/2","deprecated":false,"title":"hebrew_thousands(number, language_tag)","anchor":"hebrew_thousands/2"},{"id":"roman_lower/1","deprecated":false,"title":"roman_lower(number)","anchor":"roman_lower/1"},{"id":"roman_lower/2","deprecated":false,"title":"roman_lower(number, locale)","anchor":"roman_lower/2"},{"id":"roman_upper/1","deprecated":false,"title":"roman_upper(number)","anchor":"roman_upper/1"},{"id":"roman_upper/2","deprecated":false,"title":"roman_upper(number, locale)","anchor":"roman_upper/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"},{"id":"tamil/1","deprecated":false,"title":"tamil(number)","anchor":"tamil/1"},{"id":"tamil/2","deprecated":false,"title":"tamil(number, locale)","anchor":"tamil/2"},{"id":"tamil_thousands/2","deprecated":false,"title":"tamil_thousands(number, language_tag)","anchor":"tamil_thousands/2"},{"id":"zz_default/1","deprecated":false,"title":"zz_default(number)","anchor":"zz_default/1"},{"id":"zz_default/2","deprecated":false,"title":"zz_default(number, locale)","anchor":"zz_default/2"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.Ordinal","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.Ordinal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"digits_ordinal/2","deprecated":false,"title":"digits_ordinal(number, locale)","anchor":"digits_ordinal/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"}],"key":"functions"}]},{"id":"Plausible.Cldr.Rbnf.Spellout","deprecated":false,"group":"","title":"Plausible.Cldr.Rbnf.Spellout","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_rule_sets/0","deprecated":false,"title":"all_rule_sets()","anchor":"all_rule_sets/0"},{"id":"and/2","deprecated":false,"title":"number and language_tag","anchor":"and/2"},{"id":"and_o/2","deprecated":false,"title":"and_o(number, language_tag)","anchor":"and_o/2"},{"id":"commas/2","deprecated":false,"title":"commas(number, language_tag)","anchor":"commas/2"},{"id":"commas_o/2","deprecated":false,"title":"commas_o(number, language_tag)","anchor":"commas_o/2"},{"id":"r2d_year/2","deprecated":false,"title":"r2d_year(number, language_tag)","anchor":"r2d_year/2"},{"id":"rule_sets/0","deprecated":false,"title":"rule_sets()","anchor":"rule_sets/0"},{"id":"rule_sets/1","deprecated":false,"title":"rule_sets(rbnf_locale_name)","anchor":"rule_sets/1"},{"id":"spellout_cardinal/2","deprecated":false,"title":"spellout_cardinal(number, locale)","anchor":"spellout_cardinal/2"},{"id":"spellout_cardinal_verbose/2","deprecated":false,"title":"spellout_cardinal_verbose(number, locale)","anchor":"spellout_cardinal_verbose/2"},{"id":"spellout_numbering/2","deprecated":false,"title":"spellout_numbering(number, locale)","anchor":"spellout_numbering/2"},{"id":"spellout_numbering_verbose/2","deprecated":false,"title":"spellout_numbering_verbose(number, locale)","anchor":"spellout_numbering_verbose/2"},{"id":"spellout_numbering_year/2","deprecated":false,"title":"spellout_numbering_year(number, locale)","anchor":"spellout_numbering_year/2"},{"id":"spellout_ordinal/2","deprecated":false,"title":"spellout_ordinal(number, locale)","anchor":"spellout_ordinal/2"},{"id":"spellout_ordinal_verbose/2","deprecated":false,"title":"spellout_ordinal_verbose(number, locale)","anchor":"spellout_ordinal_verbose/2"},{"id":"th/2","deprecated":false,"title":"th(number, language_tag)","anchor":"th/2"},{"id":"tieth/2","deprecated":false,"title":"tieth(number, language_tag)","anchor":"tieth/2"}],"key":"functions"}]},{"id":"Plausible.ClickhouseEventV2","deprecated":false,"group":"","title":"Plausible.ClickhouseEventV2","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(attrs)","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.ClickhouseRepo","deprecated":false,"group":"","title":"Plausible.ClickhouseRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"parallel_tasks/1","deprecated":false,"title":"parallel_tasks(queries)","anchor":"parallel_tasks/1"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"}],"key":"functions"}]},{"id":"Plausible.ClickhouseSessionV2","deprecated":false,"group":"","title":"Plausible.ClickhouseSessionV2","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"random_uint64/0","deprecated":false,"title":"random_uint64()","anchor":"random_uint64/0"}],"key":"functions"}]},{"id":"Plausible.ClickhouseSessionV2.BoolUInt8","deprecated":false,"group":"","title":"Plausible.ClickhouseSessionV2.BoolUInt8","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"}],"key":"functions"}]},{"id":"Plausible.ConfigHelpers","deprecated":false,"group":"","title":"Plausible.ConfigHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_int_from_path_or_env/3","deprecated":false,"title":"get_int_from_path_or_env(config_dir, var_name, default \\\\ nil)","anchor":"get_int_from_path_or_env/3"},{"id":"get_var_from_path_or_env/3","deprecated":false,"title":"get_var_from_path_or_env(config_dir, var_name, default \\\\ nil)","anchor":"get_var_from_path_or_env/3"}],"key":"functions"}]},{"id":"Plausible.DataCase","deprecated":false,"group":"","title":"Plausible.DataCase","sections":[]},{"id":"Plausible.DataMigration","deprecated":false,"group":"","title":"Plausible.DataMigration","sections":[]},{"id":"Plausible.DataMigration.NumericIDs","deprecated":false,"group":"","title":"Plausible.DataMigration.NumericIDs","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/3","deprecated":false,"title":"confirm(message, func, default_choice \\\\ :yes)","anchor":"confirm/3"},{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"},{"id":"run_sql/2","deprecated":false,"title":"run_sql(name, assigns \\\\ [])","anchor":"run_sql/2"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"key":"functions"}]},{"id":"Plausible.DataMigration.Repo","deprecated":false,"group":"","title":"Plausible.DataMigration.Repo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start/2","deprecated":false,"title":"start(url, max_threads)","anchor":"start/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.DebugReplayInfo","deprecated":false,"group":"","title":"Plausible.DebugReplayInfo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"deserialize/1","deprecated":false,"title":"deserialize(replay_info)","anchor":"deserialize/1"},{"id":"include_sentry_replay_info/0","deprecated":false,"title":"include_sentry_replay_info()","anchor":"include_sentry_replay_info/0"}],"key":"functions"}]},{"id":"Plausible.Ecto.EventName","deprecated":false,"group":"","title":"Plausible.Ecto.EventName","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"cast/1","deprecated":false,"title":"cast(val)","anchor":"cast/1"},{"id":"dump/1","deprecated":false,"title":"dump(val)","anchor":"dump/1"},{"id":"embed_as/1","deprecated":false,"title":"embed_as(_)","anchor":"embed_as/1"},{"id":"equal?/2","deprecated":false,"title":"equal?(term1, term2)","anchor":"equal?/2"},{"id":"load/1","deprecated":false,"title":"load(val)","anchor":"load/1"},{"id":"type/0","deprecated":false,"title":"type()","anchor":"type/0"}],"key":"functions"}]},{"id":"Plausible.Factory","deprecated":false,"group":"","title":"Plausible.Factory","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api_key_factory/0","deprecated":false,"title":"api_key_factory()","anchor":"api_key_factory/0"},{"id":"build/2","deprecated":false,"title":"build(factory_name, attrs \\\\ %{})","anchor":"build/2"},{"id":"build_list/3","deprecated":false,"title":"build_list(number_of_records, factory_name, attrs \\\\ %{})","anchor":"build_list/3"},{"id":"build_pair/2","deprecated":false,"title":"build_pair(factory_name, attrs \\\\ %{})","anchor":"build_pair/2"},{"id":"business_subscription_factory/0","deprecated":false,"title":"business_subscription_factory()","anchor":"business_subscription_factory/0"},{"id":"ch_session_factory/0","deprecated":false,"title":"ch_session_factory()","anchor":"ch_session_factory/0"},{"id":"create/1","deprecated":false,"title":"create(_)","anchor":"create/1"},{"id":"create/2","deprecated":false,"title":"create(_, _)","anchor":"create/2"},{"id":"create_list/3","deprecated":false,"title":"create_list(_, _, _)","anchor":"create_list/3"},{"id":"create_pair/2","deprecated":false,"title":"create_pair(_, _)","anchor":"create_pair/2"},{"id":"enterprise_plan_factory/0","deprecated":false,"title":"enterprise_plan_factory()","anchor":"enterprise_plan_factory/0"},{"id":"event_factory/0","deprecated":false,"title":"event_factory()","anchor":"event_factory/0"},{"id":"factory/1","deprecated":false,"title":"factory(factory_name)","anchor":"factory/1"},{"id":"goal_factory/0","deprecated":false,"title":"goal_factory()","anchor":"goal_factory/0"},{"id":"google_auth_factory/0","deprecated":false,"title":"google_auth_factory()","anchor":"google_auth_factory/0"},{"id":"growth_subscription_factory/0","deprecated":false,"title":"growth_subscription_factory()","anchor":"growth_subscription_factory/0"},{"id":"imported_browsers_factory/0","deprecated":false,"title":"imported_browsers_factory()","anchor":"imported_browsers_factory/0"},{"id":"imported_devices_factory/0","deprecated":false,"title":"imported_devices_factory()","anchor":"imported_devices_factory/0"},{"id":"imported_entry_pages_factory/0","deprecated":false,"title":"imported_entry_pages_factory()","anchor":"imported_entry_pages_factory/0"},{"id":"imported_exit_pages_factory/0","deprecated":false,"title":"imported_exit_pages_factory()","anchor":"imported_exit_pages_factory/0"},{"id":"imported_locations_factory/0","deprecated":false,"title":"imported_locations_factory()","anchor":"imported_locations_factory/0"},{"id":"imported_operating_systems_factory/0","deprecated":false,"title":"imported_operating_systems_factory()","anchor":"imported_operating_systems_factory/0"},{"id":"imported_pages_factory/0","deprecated":false,"title":"imported_pages_factory()","anchor":"imported_pages_factory/0"},{"id":"imported_sources_factory/0","deprecated":false,"title":"imported_sources_factory()","anchor":"imported_sources_factory/0"},{"id":"imported_visitors_factory/0","deprecated":false,"title":"imported_visitors_factory()","anchor":"imported_visitors_factory/0"},{"id":"insert/1","deprecated":false,"title":"insert(already_built_record)","anchor":"insert/1"},{"id":"insert/2","deprecated":false,"title":"insert(already_built_record, function_opts)","anchor":"insert/2"},{"id":"insert/3","deprecated":false,"title":"insert(factory_name, attrs, opts)","anchor":"insert/3"},{"id":"insert_list/3","deprecated":false,"title":"insert_list(number_of_records, factory_name, attrs \\\\ %{})","anchor":"insert_list/3"},{"id":"insert_list/4","deprecated":false,"title":"insert_list(number_of_records, factory_name, attrs, opts)","anchor":"insert_list/4"},{"id":"insert_pair/2","deprecated":false,"title":"insert_pair(factory_name, attrs \\\\ %{})","anchor":"insert_pair/2"},{"id":"insert_pair/3","deprecated":false,"title":"insert_pair(factory_name, attrs, opts)","anchor":"insert_pair/3"},{"id":"invitation_factory/0","deprecated":false,"title":"invitation_factory()","anchor":"invitation_factory/0"},{"id":"monthly_report_factory/0","deprecated":false,"title":"monthly_report_factory()","anchor":"monthly_report_factory/0"},{"id":"pageview_factory/0","deprecated":false,"title":"pageview_factory()","anchor":"pageview_factory/0"},{"id":"params_for/2","deprecated":false,"title":"params_for(factory_name, attrs \\\\ %{})","anchor":"params_for/2"},{"id":"params_with_assocs/2","deprecated":false,"title":"params_with_assocs(factory_name, attrs \\\\ %{})","anchor":"params_with_assocs/2"},{"id":"shared_link_factory/0","deprecated":false,"title":"shared_link_factory()","anchor":"shared_link_factory/0"},{"id":"site_factory/1","deprecated":false,"title":"site_factory(attrs)","anchor":"site_factory/1"},{"id":"site_membership_factory/0","deprecated":false,"title":"site_membership_factory()","anchor":"site_membership_factory/0"},{"id":"spike_notification_factory/0","deprecated":false,"title":"spike_notification_factory()","anchor":"spike_notification_factory/0"},{"id":"string_params_for/2","deprecated":false,"title":"string_params_for(factory_name, attrs \\\\ %{})","anchor":"string_params_for/2"},{"id":"string_params_with_assocs/2","deprecated":false,"title":"string_params_with_assocs(factory_name, attrs \\\\ %{})","anchor":"string_params_with_assocs/2"},{"id":"subscription_factory/0","deprecated":false,"title":"subscription_factory()","anchor":"subscription_factory/0"},{"id":"user_factory/1","deprecated":false,"title":"user_factory(attrs)","anchor":"user_factory/1"},{"id":"weekly_report_factory/0","deprecated":false,"title":"weekly_report_factory()","anchor":"weekly_report_factory/0"}],"key":"functions"}]},{"id":"Plausible.Funnel","deprecated":false,"group":"","title":"Plausible.Funnel","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(funnel \\\\ %__MODULE__{}, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"max_steps/0","deprecated":false,"title":"max_steps()","anchor":"max_steps/0"},{"id":"min_steps/0","deprecated":false,"title":"min_steps()","anchor":"min_steps/0"},{"id":"put_step_orders/1","deprecated":false,"title":"put_step_orders(changeset)","anchor":"put_step_orders/1"}],"key":"functions"}]},{"id":"Plausible.Funnel.Const","deprecated":false,"group":"","title":"Plausible.Funnel.Const","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"max_steps/0","deprecated":false,"title":"max_steps()","anchor":"max_steps/0"},{"id":"min_steps/0","deprecated":false,"title":"min_steps()","anchor":"min_steps/0"}],"key":"functions"}]},{"id":"Plausible.Funnel.Step","deprecated":false,"group":"","title":"Plausible.Funnel.Step","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(step, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Funnels","deprecated":false,"group":"","title":"Plausible.Funnels","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/3","deprecated":false,"title":"create(site, name, steps)","anchor":"create/3"},{"id":"create_changeset/3","deprecated":false,"title":"create_changeset(site, name, steps)","anchor":"create_changeset/3"},{"id":"delete/2","deprecated":false,"title":"delete(site_id, funnel_id)","anchor":"delete/2"},{"id":"ephemeral_definition/3","deprecated":false,"title":"ephemeral_definition(site, name, steps)","anchor":"ephemeral_definition/3"},{"id":"get/2","deprecated":false,"title":"get(site_id, by)","anchor":"get/2"},{"id":"list/1","deprecated":false,"title":"list(site)","anchor":"list/1"}],"key":"functions"}]},{"id":"Plausible.Geo","deprecated":false,"group":"","title":"Plausible.Geo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"await_loader/0","deprecated":false,"title":"await_loader()","anchor":"await_loader/0"},{"id":"database_type/0","deprecated":false,"title":"database_type()","anchor":"database_type/0"},{"id":"load_db/1","deprecated":false,"title":"load_db(opts)","anchor":"load_db/1"},{"id":"lookup/1","deprecated":false,"title":"lookup(ip_address)","anchor":"lookup/1"}],"key":"functions"}]},{"id":"Plausible.Goal","deprecated":false,"group":"","title":"Plausible.Goal","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(goal, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Goal.Revenue","deprecated":false,"group":"","title":"Plausible.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"currency_options/0","deprecated":false,"title":"currency_options()","anchor":"currency_options/0"},{"id":"revenue?/1","deprecated":false,"title":"revenue?(goal)","anchor":"revenue?/1"},{"id":"valid_currencies/0","deprecated":false,"title":"valid_currencies()","anchor":"valid_currencies/0"}],"key":"functions"}]},{"id":"Plausible.Goals","deprecated":false,"group":"","title":"Plausible.Goals","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"count/1","deprecated":false,"title":"count(site)","anchor":"count/1"},{"id":"create/3","deprecated":false,"title":"create(site, params, opts \\\\ [])","anchor":"create/3"},{"id":"delete/2","deprecated":false,"title":"delete(id, site_id)","anchor":"delete/2"},{"id":"find_or_create/2","deprecated":false,"title":"find_or_create(site, map)","anchor":"find_or_create/2"},{"id":"for_site/2","deprecated":false,"title":"for_site(site, opts \\\\ [])","anchor":"for_site/2"},{"id":"for_site_query/2","deprecated":false,"title":"for_site_query(site, opts \\\\ [])","anchor":"for_site_query/2"}],"key":"functions"}]},{"id":"Plausible.Google.Api","deprecated":false,"group":"","title":"Plausible.Google.Api","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"google_analytics_view/0","deprecated":false,"title":"google_analytics_view()","anchor":"t:google_analytics_view/0"},{"id":"import_auth/0","deprecated":false,"title":"import_auth()","anchor":"t:import_auth/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"fetch_and_persist/2","deprecated":false,"title":"fetch_and_persist(report_request, opts \\\\ [])","anchor":"fetch_and_persist/2"},{"id":"fetch_stats/3","deprecated":false,"title":"fetch_stats(site, map, limit)","anchor":"fetch_stats/3"},{"id":"fetch_verified_properties/1","deprecated":false,"title":"fetch_verified_properties(auth)","anchor":"fetch_verified_properties/1"},{"id":"get_view/2","deprecated":false,"title":"get_view(access_token, lookup_id)","anchor":"get_view/2"},{"id":"import_analytics/4","deprecated":false,"title":"import_analytics(date_range, view_id, auth, persist_fn)","anchor":"import_analytics/4"},{"id":"import_authorize_url/2","deprecated":false,"title":"import_authorize_url(site_id, redirect_to)","anchor":"import_authorize_url/2"},{"id":"list_views/1","deprecated":false,"title":"list_views(access_token)","anchor":"list_views/1"},{"id":"search_console_authorize_url/2","deprecated":false,"title":"search_console_authorize_url(site_id, redirect_to)","anchor":"search_console_authorize_url/2"}],"key":"functions"}]},{"id":"Plausible.Google.Api.Mock","deprecated":false,"group":"","title":"Plausible.Google.Api.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_stats/3","deprecated":false,"title":"fetch_stats(auth, query, limit)","anchor":"fetch_stats/3"}],"key":"functions"}]},{"id":"Plausible.Google.HTTP","deprecated":false,"group":"","title":"Plausible.Google.HTTP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_access_token/1","deprecated":false,"title":"fetch_access_token(code)","anchor":"fetch_access_token/1"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(view_id, access_token)","anchor":"get_analytics_start_date/2"},{"id":"get_report/1","deprecated":false,"title":"get_report(report_request)","anchor":"get_report/1"},{"id":"list_sites/1","deprecated":false,"title":"list_sites(access_token)","anchor":"list_sites/1"},{"id":"list_stats/5","deprecated":false,"title":"list_stats(access_token, property, date_range, limit, page \\\\ nil)","anchor":"list_stats/5"},{"id":"list_views_for_user/1","deprecated":false,"title":"list_views_for_user(access_token)","anchor":"list_views_for_user/1"},{"id":"refresh_auth_token/1","deprecated":false,"title":"refresh_auth_token(refresh_token)","anchor":"refresh_auth_token/1"}],"key":"functions"}]},{"id":"Plausible.Google.ReportRequest","deprecated":false,"group":"","title":"Plausible.Google.ReportRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"full_report/0","deprecated":false,"title":"full_report()","anchor":"full_report/0"}],"key":"functions"}]},{"id":"Plausible.HTTPClient","deprecated":false,"group":"","title":"Plausible.HTTPClient","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/3","deprecated":false,"title":"get(url, headers \\\\ [], params \\\\ nil)","anchor":"get/3"},{"id":"impl/0","deprecated":false,"title":"impl()","anchor":"impl/0"},{"id":"post/4","deprecated":false,"title":"post(url, headers \\\\ [], params \\\\ nil, finch_req_opts \\\\ [])","anchor":"post/4"}],"key":"functions"}]},{"id":"Plausible.HTTPClient.Interface","deprecated":false,"group":"","title":"Plausible.HTTPClient.Interface","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"finch_request_opts/0","deprecated":false,"title":"finch_request_opts()","anchor":"t:finch_request_opts/0"},{"id":"headers/0","deprecated":false,"title":"headers()","anchor":"t:headers/0"},{"id":"params/0","deprecated":false,"title":"params()","anchor":"t:params/0"},{"id":"response/0","deprecated":false,"title":"response()","anchor":"t:response/0"},{"id":"url/0","deprecated":false,"title":"url()","anchor":"t:url/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"get/1","deprecated":false,"title":"get(url)","anchor":"c:get/1"},{"id":"get/2","deprecated":false,"title":"get(url, headers)","anchor":"c:get/2"},{"id":"get/3","deprecated":false,"title":"get(url, headers, params)","anchor":"c:get/3"},{"id":"post/3","deprecated":false,"title":"post(url, headers, params)","anchor":"c:post/3"},{"id":"post/4","deprecated":false,"title":"post(url, headers, params, finch_request_opts)","anchor":"c:post/4"}],"key":"callbacks"}]},{"id":"Plausible.HTTPClient.Non200Error","deprecated":false,"group":"","title":"Plausible.HTTPClient.Non200Error","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/1","deprecated":false,"title":"new(response)","anchor":"new/1"}],"key":"functions"}]},{"id":"Plausible.Helpers.JSON","deprecated":false,"group":"","title":"Plausible.Helpers.JSON","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"decode_or_fallback/1","deprecated":false,"title":"decode_or_fallback(raw)","anchor":"decode_or_fallback/1"}],"key":"functions"}]},{"id":"Plausible.ImportDeletionRepo","deprecated":false,"group":"","title":"Plausible.ImportDeletionRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Imported","deprecated":false,"group":"","title":"Plausible.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"forget/1","deprecated":false,"title":"forget(site)","anchor":"forget/1"},{"id":"tables/0","deprecated":false,"title":"tables()","anchor":"tables/0"}],"key":"functions"}]},{"id":"Plausible.Imported.Buffer","deprecated":false,"group":"","title":"Plausible.Imported.Buffer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"flush/2","deprecated":false,"title":"flush(pid, timeout \\\\ :infinity)","anchor":"flush/2"},{"id":"handle_continue/2","deprecated":false,"title":"handle_continue(arg, state)","anchor":"handle_continue/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"insert_many/3","deprecated":false,"title":"insert_many(pid, table_name, records)","anchor":"insert_many/3"},{"id":"size/2","deprecated":false,"title":"size(pid, table_name)","anchor":"size/2"},{"id":"start_link/0","deprecated":false,"title":"start_link()","anchor":"start_link/0"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Imported.ImportSources","deprecated":false,"group":"","title":"Plausible.Imported.ImportSources","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"by_name/1","deprecated":false,"title":"by_name(name)","anchor":"by_name/1"}],"key":"functions"}]},{"id":"Plausible.Imported.NoopImporter","deprecated":false,"group":"","title":"Plausible.Imported.NoopImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_job/2","deprecated":false,"title":"create_job(site, opts)","anchor":"create_job/2"},{"id":"import/2","deprecated":false,"title":"import(site, arg2)","anchor":"import/2"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"name/0"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(opts)","anchor":"parse_args/1"}],"key":"functions"}]},{"id":"Plausible.Imported.UniversalAnalytics","deprecated":false,"group":"","title":"Plausible.Imported.UniversalAnalytics","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"import_opt/0","deprecated":false,"title":"import_opt()","anchor":"t:import_opt/0"},{"id":"job_opt/0","deprecated":false,"title":"job_opt()","anchor":"t:job_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create_job/2","deprecated":false,"title":"create_job(site, opts)","anchor":"create_job/2"},{"id":"from_report/3","deprecated":false,"title":"from_report(data, site_id, table)","anchor":"from_report/3"},{"id":"import/2","deprecated":false,"title":"import(site, opts)","anchor":"import/2"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"name/0"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(args)","anchor":"parse_args/1"}],"key":"functions"}]},{"id":"Plausible.IngestRepo","deprecated":false,"group":"","title":"Plausible.IngestRepo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"insert_stream/3","deprecated":false,"title":"insert_stream(source_or_schema, rows, opts \\\\ [])","anchor":"insert_stream/3"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters.Buffer","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.Buffer","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"bucket_fn_opt/0","deprecated":false,"title":"bucket_fn_opt()","anchor":"t:bucket_fn_opt/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"},{"id":"unix_timestamp/0","deprecated":false,"title":"unix_timestamp()","anchor":"t:unix_timestamp/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"aggregate/4","deprecated":false,"title":"aggregate(buffer, metric, domain, timestamp)","anchor":"aggregate/4"},{"id":"bucket_10s/1","deprecated":false,"title":"bucket_10s(datetime)","anchor":"bucket_10s/1"},{"id":"flush/2","deprecated":false,"title":"flush(buffer, now \\\\ DateTime.utc_now())","anchor":"flush/2"},{"id":"new/2","deprecated":false,"title":"new(buffer_name, opts \\\\ [])","anchor":"new/2"},{"id":"previous_10s/1","deprecated":false,"title":"previous_10s(datetime)","anchor":"previous_10s/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Counters.Record","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.Record","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"id":"Plausible.Ingestion.Counters.TelemetryHandler","deprecated":false,"group":"","title":"Plausible.Ingestion.Counters.TelemetryHandler","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/4","deprecated":false,"title":"handle_event(list, measurements, map, buffer)","anchor":"handle_event/4"},{"id":"install/1","deprecated":false,"title":"install(buffer)","anchor":"install/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Event","deprecated":false,"group":"","title":"Plausible.Ingestion.Event","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"drop_reason/0","deprecated":false,"title":"drop_reason()","anchor":"t:drop_reason/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"build_and_buffer/1","deprecated":false,"title":"build_and_buffer(request)","anchor":"build_and_buffer/1"},{"id":"emit_telemetry_buffered/1","deprecated":false,"title":"emit_telemetry_buffered(event)","anchor":"emit_telemetry_buffered/1"},{"id":"emit_telemetry_dropped/2","deprecated":false,"title":"emit_telemetry_dropped(event, reason)","anchor":"emit_telemetry_dropped/2"},{"id":"telemetry_event_buffered/0","deprecated":false,"title":"telemetry_event_buffered()","anchor":"telemetry_event_buffered/0"},{"id":"telemetry_event_dropped/0","deprecated":false,"title":"telemetry_event_dropped()","anchor":"telemetry_event_dropped/0"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Event.Revenue","deprecated":false,"group":"","title":"Plausible.Ingestion.Event.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_revenue_attrs/1","deprecated":false,"title":"get_revenue_attrs(event)","anchor":"get_revenue_attrs/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Request","deprecated":false,"group":"","title":"Plausible.Ingestion.Request","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"build/2","deprecated":false,"title":"build(conn, now \\\\ NaiveDateTime.utc_now())","anchor":"build/2"},{"id":"sanitize_hostname/1","deprecated":false,"title":"sanitize_hostname(hostname)","anchor":"sanitize_hostname/1"}],"key":"functions"}]},{"id":"Plausible.Ingestion.Request.Revenue","deprecated":false,"group":"","title":"Plausible.Ingestion.Request.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"put_revenue_source/2","deprecated":false,"title":"put_revenue_source(changeset, request_body)","anchor":"put_revenue_source/2"}],"key":"functions"}]},{"id":"Plausible.Mailer","deprecated":false,"group":"","title":"Plausible.Mailer","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"result/0","deprecated":false,"title":"result()","anchor":"t:result/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"deliver/1","deprecated":false,"title":"deliver(email)","anchor":"deliver/1"},{"id":"deliver_later/2","deprecated":false,"title":"deliver_later(email, opts \\\\ [])","anchor":"deliver_later/2"},{"id":"deliver_later!/2","deprecated":false,"title":"deliver_later!(email, opts \\\\ [])","anchor":"deliver_later!/2"},{"id":"deliver_now/2","deprecated":false,"title":"deliver_now(email, opts \\\\ [])","anchor":"deliver_now/2"},{"id":"deliver_now!/2","deprecated":false,"title":"deliver_now!(email, opts \\\\ [])","anchor":"deliver_now!/2"},{"id":"send/1","deprecated":false,"title":"send(email)","anchor":"send/1"}],"key":"functions"}]},{"id":"Plausible.OpenTelemetry.Sampler","deprecated":false,"group":"","title":"Plausible.OpenTelemetry.Sampler","sections":[]},{"id":"Plausible.PaddleApi.Mock","deprecated":false,"group":"","title":"Plausible.PaddleApi.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_prices/1","deprecated":false,"title":"fetch_prices(product_ids)","anchor":"fetch_prices/1"},{"id":"get_invoices/1","deprecated":false,"title":"get_invoices(subscription)","anchor":"get_invoices/1"},{"id":"get_subscription/1","deprecated":false,"title":"get_subscription(_)","anchor":"get_subscription/1"},{"id":"update_subscription/2","deprecated":false,"title":"update_subscription(_, map)","anchor":"update_subscription/2"},{"id":"update_subscription_preview/2","deprecated":false,"title":"update_subscription_preview(user, new_plan_id)","anchor":"update_subscription_preview/2"}],"key":"functions"}]},{"id":"Plausible.Pagination","deprecated":false,"group":"","title":"Plausible.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"paginate/4","deprecated":false,"title":"paginate(queryable, params, opts, repo_opts \\\\ [])","anchor":"paginate/4"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.CustomProps","deprecated":false,"group":"","title":"Plausible.Plugins.API.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(site, prop_or_props)","anchor":"disable/2"},{"id":"enable/2","deprecated":false,"title":"enable(site, prop_or_props)","anchor":"enable/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Goals","deprecated":false,"group":"","title":"Plausible.Plugins.API.Goals","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"create_request/0","deprecated":false,"title":"create_request()","anchor":"t:create_request/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(site, goal_or_goals)","anchor":"create/2"},{"id":"delete/2","deprecated":false,"title":"delete(site, id_or_ids)","anchor":"delete/2"},{"id":"get/2","deprecated":false,"title":"get(site, id)","anchor":"get/2"},{"id":"get_goals/2","deprecated":false,"title":"get_goals(site, params)","anchor":"get_goals/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.SharedLinks","deprecated":false,"group":"","title":"Plausible.Plugins.API.SharedLinks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/2","deprecated":false,"title":"get(site, id)","anchor":"get/2"},{"id":"get_or_create/3","deprecated":false,"title":"get_or_create(site, name, password \\\\ nil)","anchor":"get_or_create/3"},{"id":"get_shared_links/2","deprecated":false,"title":"get_shared_links(site, params)","anchor":"get_shared_links/2"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Token","deprecated":false,"group":"","title":"Plausible.Plugins.API.Token","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"generate/1","deprecated":false,"title":"generate(random_bytes \\\\ random_bytes())","anchor":"generate/1"},{"id":"hash/1","deprecated":false,"title":"hash(raw)","anchor":"hash/1"},{"id":"insert_changeset/3","deprecated":false,"title":"insert_changeset(site, map, attrs \\\\ %{})","anchor":"insert_changeset/3"},{"id":"last_used_humanize/1","deprecated":false,"title":"last_used_humanize(token)","anchor":"last_used_humanize/1"},{"id":"prefix/0","deprecated":false,"title":"prefix()","anchor":"prefix/0"}],"key":"functions"}]},{"id":"Plausible.Plugins.API.Tokens","deprecated":false,"group":"","title":"Plausible.Plugins.API.Tokens","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"any?/1","deprecated":false,"title":"any?(site)","anchor":"any?/1"},{"id":"create/3","deprecated":false,"title":"create(site, description, generated_token \\\\ Token.generate())","anchor":"create/3"},{"id":"delete/2","deprecated":false,"title":"delete(site, token_id)","anchor":"delete/2"},{"id":"find/1","deprecated":false,"title":"find(raw)","anchor":"find/1"},{"id":"list/1","deprecated":false,"title":"list(site)","anchor":"list/1"},{"id":"update_last_seen/2","deprecated":false,"title":"update_last_seen(token, now \\\\ NaiveDateTime.utc_now())","anchor":"update_last_seen/2"}],"key":"functions"}]},{"id":"Plausible.PromEx","deprecated":false,"group":"","title":"Plausible.PromEx","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"}],"key":"functions"}]},{"id":"Plausible.PromEx.Plugins.PlausibleMetrics","deprecated":false,"group":"","title":"Plausible.PromEx.Plugins.PlausibleMetrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"execute_cache_metrics/0","deprecated":false,"title":"execute_cache_metrics()","anchor":"execute_cache_metrics/0"},{"id":"execute_write_buffer_metrics/0","deprecated":false,"title":"execute_write_buffer_metrics()","anchor":"execute_write_buffer_metrics/0"}],"key":"functions"}]},{"id":"Plausible.Props","deprecated":false,"group":"","title":"Plausible.Props","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"prop/0","deprecated":false,"title":"prop()","anchor":"t:prop/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"allow/2","deprecated":false,"title":"allow(site, prop_or_props)","anchor":"allow/2"},{"id":"allow_changeset/2","deprecated":false,"title":"allow_changeset(site, prop_or_props)","anchor":"allow_changeset/2"},{"id":"allow_existing_props/1","deprecated":false,"title":"allow_existing_props(site)","anchor":"allow_existing_props/1"},{"id":"allowed_for/2","deprecated":false,"title":"allowed_for(site, opts \\\\ [])","anchor":"allowed_for/2"},{"id":"configured?/1","deprecated":false,"title":"configured?(site)","anchor":"configured?/1"},{"id":"disallow/2","deprecated":false,"title":"disallow(site, prop_or_props)","anchor":"disallow/2"},{"id":"ensure_prop_key_accessible/2","deprecated":false,"title":"ensure_prop_key_accessible(prop_key, user)","anchor":"ensure_prop_key_accessible/2"},{"id":"internal_keys/0","deprecated":false,"title":"internal_keys()","anchor":"internal_keys/0"},{"id":"max_prop_key_length/0","deprecated":false,"title":"max_prop_key_length()","anchor":"max_prop_key_length/0"},{"id":"max_prop_value_length/0","deprecated":false,"title":"max_prop_value_length()","anchor":"max_prop_value_length/0"},{"id":"max_props/0","deprecated":false,"title":"max_props()","anchor":"max_props/0"},{"id":"suggest_keys_to_allow/2","deprecated":false,"title":"suggest_keys_to_allow(site, limit \\\\ 300)","anchor":"suggest_keys_to_allow/2"}],"key":"functions"}]},{"id":"Plausible.Purge","deprecated":false,"group":"","title":"Plausible.Purge","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"delete_imported_stats!/1","deprecated":false,"title":"delete_imported_stats!(site)","anchor":"delete_imported_stats!/1"},{"id":"delete_native_stats!/1","deprecated":false,"title":"delete_native_stats!(site)","anchor":"delete_native_stats!/1"},{"id":"reset!/1","deprecated":false,"title":"reset!(site)","anchor":"reset!/1"}],"key":"functions"}]},{"id":"Plausible.RateLimit","deprecated":false,"group":"","title":"Plausible.RateLimit","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"check_rate/5","deprecated":false,"title":"check_rate(table \\\\ __MODULE__, key, scale, limit, increment \\\\ 1)","anchor":"check_rate/5"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Release","deprecated":false,"group":"","title":"Plausible.Release","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"configure_ref_inspector/0","deprecated":false,"title":"configure_ref_inspector()","anchor":"configure_ref_inspector/0"},{"id":"configure_ua_inspector/0","deprecated":false,"title":"configure_ua_inspector()","anchor":"configure_ua_inspector/0"},{"id":"createdb/0","deprecated":false,"title":"createdb()","anchor":"createdb/0"},{"id":"dump_plans/0","deprecated":false,"title":"dump_plans()","anchor":"dump_plans/0"},{"id":"migrate/0","deprecated":false,"title":"migrate()","anchor":"migrate/0"},{"id":"pending_migrations/0","deprecated":false,"title":"pending_migrations()","anchor":"pending_migrations/0"},{"id":"rollback/0","deprecated":false,"title":"rollback()","anchor":"rollback/0"},{"id":"seed/0","deprecated":false,"title":"seed()","anchor":"seed/0"},{"id":"should_be_first_launch?/0","deprecated":false,"title":"should_be_first_launch?()","anchor":"should_be_first_launch?/0"}],"key":"functions"}]},{"id":"Plausible.Repo","deprecated":false,"group":"","title":"Plausible.Repo","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(queryable, aggregate, opts \\\\ [])","anchor":"aggregate/3"},{"id":"aggregate/4","deprecated":false,"title":"aggregate(queryable, aggregate, field, opts)","anchor":"aggregate/4"},{"id":"all/2","deprecated":false,"title":"all(queryable, opts \\\\ [])","anchor":"all/2"},{"id":"checked_out?/0","deprecated":false,"title":"checked_out?()","anchor":"checked_out?/0"},{"id":"checkout/2","deprecated":false,"title":"checkout(fun, opts \\\\ [])","anchor":"checkout/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/0","deprecated":false,"title":"config()","anchor":"config/0"},{"id":"default_options/1","deprecated":false,"title":"default_options(operation)","anchor":"default_options/1"},{"id":"delete/2","deprecated":false,"title":"delete(struct, opts \\\\ [])","anchor":"delete/2"},{"id":"delete!/2","deprecated":false,"title":"delete!(struct, opts \\\\ [])","anchor":"delete!/2"},{"id":"delete_all/2","deprecated":false,"title":"delete_all(queryable, opts \\\\ [])","anchor":"delete_all/2"},{"id":"disconnect_all/2","deprecated":false,"title":"disconnect_all(interval, opts \\\\ [])","anchor":"disconnect_all/2"},{"id":"exists?/2","deprecated":false,"title":"exists?(queryable, opts \\\\ [])","anchor":"exists?/2"},{"id":"explain/3","deprecated":false,"title":"explain(operation, queryable, opts \\\\ [])","anchor":"explain/3"},{"id":"get/3","deprecated":false,"title":"get(queryable, id, opts \\\\ [])","anchor":"get/3"},{"id":"get!/3","deprecated":false,"title":"get!(queryable, id, opts \\\\ [])","anchor":"get!/3"},{"id":"get_by/3","deprecated":false,"title":"get_by(queryable, clauses, opts \\\\ [])","anchor":"get_by/3"},{"id":"get_by!/3","deprecated":false,"title":"get_by!(queryable, clauses, opts \\\\ [])","anchor":"get_by!/3"},{"id":"get_dynamic_repo/0","deprecated":false,"title":"get_dynamic_repo()","anchor":"get_dynamic_repo/0"},{"id":"in_transaction?/0","deprecated":false,"title":"in_transaction?()","anchor":"in_transaction?/0"},{"id":"insert/2","deprecated":false,"title":"insert(struct, opts \\\\ [])","anchor":"insert/2"},{"id":"insert!/2","deprecated":false,"title":"insert!(struct, opts \\\\ [])","anchor":"insert!/2"},{"id":"insert_all/3","deprecated":false,"title":"insert_all(schema_or_source, entries, opts \\\\ [])","anchor":"insert_all/3"},{"id":"insert_or_update/2","deprecated":false,"title":"insert_or_update(changeset, opts \\\\ [])","anchor":"insert_or_update/2"},{"id":"insert_or_update!/2","deprecated":false,"title":"insert_or_update!(changeset, opts \\\\ [])","anchor":"insert_or_update!/2"},{"id":"load/2","deprecated":false,"title":"load(schema_or_types, data)","anchor":"load/2"},{"id":"one/2","deprecated":false,"title":"one(queryable, opts \\\\ [])","anchor":"one/2"},{"id":"one!/2","deprecated":false,"title":"one!(queryable, opts \\\\ [])","anchor":"one!/2"},{"id":"paginate/2","deprecated":false,"title":"paginate(pageable, options \\\\ [])","anchor":"paginate/2"},{"id":"preload/3","deprecated":false,"title":"preload(struct_or_structs_or_nil, preloads, opts \\\\ [])","anchor":"preload/3"},{"id":"prepare_query/3","deprecated":false,"title":"prepare_query(operation, query, opts)","anchor":"prepare_query/3"},{"id":"put_dynamic_repo/1","deprecated":false,"title":"put_dynamic_repo(dynamic)","anchor":"put_dynamic_repo/1"},{"id":"query/3","deprecated":false,"title":"query(sql, params \\\\ [], opts \\\\ [])","anchor":"query/3"},{"id":"query!/3","deprecated":false,"title":"query!(sql, params \\\\ [], opts \\\\ [])","anchor":"query!/3"},{"id":"query_many/3","deprecated":false,"title":"query_many(sql, params \\\\ [], opts \\\\ [])","anchor":"query_many/3"},{"id":"query_many!/3","deprecated":false,"title":"query_many!(sql, params \\\\ [], opts \\\\ [])","anchor":"query_many!/3"},{"id":"reload/2","deprecated":false,"title":"reload(queryable, opts \\\\ [])","anchor":"reload/2"},{"id":"reload!/2","deprecated":false,"title":"reload!(queryable, opts \\\\ [])","anchor":"reload!/2"},{"id":"rollback/1","deprecated":false,"title":"rollback(value)","anchor":"rollback/1"},{"id":"scrivener_defaults/0","deprecated":false,"title":"scrivener_defaults()","anchor":"scrivener_defaults/0"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(timeout \\\\ 5000)","anchor":"stop/1"},{"id":"stream/2","deprecated":false,"title":"stream(queryable, opts \\\\ [])","anchor":"stream/2"},{"id":"to_sql/2","deprecated":false,"title":"to_sql(operation, queryable)","anchor":"to_sql/2"},{"id":"transaction/2","deprecated":false,"title":"transaction(fun_or_multi, opts \\\\ [])","anchor":"transaction/2"},{"id":"update/2","deprecated":false,"title":"update(struct, opts \\\\ [])","anchor":"update/2"},{"id":"update!/2","deprecated":false,"title":"update!(struct, opts \\\\ [])","anchor":"update!/2"},{"id":"update_all/3","deprecated":false,"title":"update_all(queryable, updates, opts \\\\ [])","anchor":"update_all/3"}],"key":"functions"}]},{"id":"Plausible.Sentry.Client","deprecated":false,"group":"","title":"Plausible.Sentry.Client","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/0","deprecated":false,"title":"child_spec()","anchor":"child_spec/0"},{"id":"post/3","deprecated":false,"title":"post(url, headers, body)","anchor":"post/3"}],"key":"functions"}]},{"id":"Plausible.SentryFilter","deprecated":false,"group":"","title":"Plausible.SentryFilter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"before_send/1","deprecated":false,"title":"before_send(event)","anchor":"before_send/1"},{"id":"exclude_exception?/2","deprecated":false,"title":"exclude_exception?(exception, source)","anchor":"exclude_exception?/2"}],"key":"functions"}]},{"id":"Plausible.Session.CacheStore","deprecated":false,"group":"","title":"Plausible.Session.CacheStore","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_event/3","deprecated":false,"title":"on_event(event, prev_user_id, buffer \\\\ WriteBuffer)","anchor":"on_event/3"}],"key":"functions"}]},{"id":"Plausible.Session.Salts","deprecated":false,"group":"","title":"Plausible.Session.Salts","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(arg)","anchor":"child_spec/1"},{"id":"fetch/0","deprecated":false,"title":"fetch()","anchor":"fetch/0"},{"id":"rotate/0","deprecated":false,"title":"rotate()","anchor":"rotate/0"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"key":"functions"}]},{"id":"Plausible.Site","deprecated":false,"group":"","title":"Plausible.Site","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(site, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"crm_changeset/2","deprecated":false,"title":"crm_changeset(site, attrs)","anchor":"crm_changeset/2"},{"id":"import_failure/1","deprecated":false,"title":"import_failure(site)","anchor":"import_failure/1"},{"id":"import_success/1","deprecated":false,"title":"import_success(site)","anchor":"import_success/1"},{"id":"local_start_date/1","deprecated":false,"title":"local_start_date(site)","anchor":"local_start_date/1"},{"id":"make_private/1","deprecated":false,"title":"make_private(site)","anchor":"make_private/1"},{"id":"make_public/1","deprecated":false,"title":"make_public(site)","anchor":"make_public/1"},{"id":"new/1","deprecated":false,"title":"new(params)","anchor":"new/1"},{"id":"remove_imported_data/1","deprecated":false,"title":"remove_imported_data(site)","anchor":"remove_imported_data/1"},{"id":"set_imported_source/2","deprecated":false,"title":"set_imported_source(site, imported_source)","anchor":"set_imported_source/2"},{"id":"set_native_stats_start_at/2","deprecated":false,"title":"set_native_stats_start_at(site, val)","anchor":"set_native_stats_start_at/2"},{"id":"set_stats_start_date/2","deprecated":false,"title":"set_stats_start_date(site, val)","anchor":"set_stats_start_date/2"},{"id":"start_import/5","deprecated":false,"title":"start_import(site, start_date, end_date, imported_source, status \\\\ \"importing\")","anchor":"start_import/5"},{"id":"tz_offset/2","deprecated":false,"title":"tz_offset(site, utc_now \\\\ DateTime.utc_now())","anchor":"tz_offset/2"},{"id":"update_changeset/3","deprecated":false,"title":"update_changeset(site, attrs \\\\ %{}, opts \\\\ [])","anchor":"update_changeset/3"}],"key":"functions"}]},{"id":"Plausible.Site.Cache","deprecated":false,"group":"","title":"Plausible.Site.Cache","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"get/2","deprecated":false,"title":"get(key, opts \\\\ [])","anchor":"get/2"},{"id":"get_site_id/2","deprecated":false,"title":"get_site_id(domain, opts \\\\ [])","anchor":"get_site_id/2"},{"id":"hit_rate/1","deprecated":false,"title":"hit_rate(cache_name \\\\ name())","anchor":"hit_rate/1"},{"id":"merge_items/2","deprecated":false,"title":"merge_items(new_items, opts \\\\ [])","anchor":"merge_items/2"},{"id":"ready?/1","deprecated":false,"title":"ready?(cache_name \\\\ name())","anchor":"ready?/1"},{"id":"refresh_all/1","deprecated":false,"title":"refresh_all(opts \\\\ [])","anchor":"refresh_all/1"},{"id":"refresh_updated_recently/1","deprecated":false,"title":"refresh_updated_recently(opts \\\\ [])","anchor":"refresh_updated_recently/1"},{"id":"size/1","deprecated":false,"title":"size(cache_name \\\\ name())","anchor":"size/1"},{"id":"telemetry_event_refresh/2","deprecated":false,"title":"telemetry_event_refresh(cache_name \\\\ name(), mode)","anchor":"telemetry_event_refresh/2"},{"id":"touch_site!/2","deprecated":false,"title":"touch_site!(site, now)","anchor":"touch_site!/2"}],"key":"functions"}]},{"id":"Plausible.Site.Domain","deprecated":false,"group":"","title":"Plausible.Site.Domain","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"change/3","deprecated":false,"title":"change(site, new_domain, opts \\\\ [])","anchor":"change/3"},{"id":"expire_change_transitions/1","deprecated":false,"title":"expire_change_transitions(expire_threshold_hours \\\\ 72)","anchor":"expire_change_transitions/1"}],"key":"functions"}]},{"id":"Plausible.Site.GateKeeper","deprecated":false,"group":"","title":"Plausible.Site.GateKeeper","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"policy/0","deprecated":false,"title":"policy()","anchor":"t:policy/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"check/2","deprecated":false,"title":"check(domain, opts \\\\ [])","anchor":"check/2"},{"id":"key/1","deprecated":false,"title":"key(domain)","anchor":"key/1"}],"key":"functions"}]},{"id":"Plausible.Site.GoogleAuth","deprecated":false,"group":"","title":"Plausible.Site.GoogleAuth","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(auth, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"set_property/2","deprecated":false,"title":"set_property(auth, attrs \\\\ %{})","anchor":"set_property/2"}],"key":"functions"}]},{"id":"Plausible.Site.ImportedData","deprecated":false,"group":"","title":"Plausible.Site.ImportedData","sections":[]},{"id":"Plausible.Site.Membership","deprecated":false,"group":"","title":"Plausible.Site.Membership","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"role/0","deprecated":false,"title":"role()","anchor":"t:role/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"new/2","deprecated":false,"title":"new(site, user)","anchor":"new/2"},{"id":"set_role/2","deprecated":false,"title":"set_role(changeset, role)","anchor":"set_role/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships","deprecated":false,"group":"","title":"Plausible.Site.Memberships","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(invitation_id, user)","anchor":"accept_invitation/2"},{"id":"any?/1","deprecated":false,"title":"any?(user)","anchor":"any?/1"},{"id":"any_or_pending?/1","deprecated":false,"title":"any_or_pending?(user)","anchor":"any_or_pending?/1"},{"id":"bulk_create_invitation/5","deprecated":false,"title":"bulk_create_invitation(sites, inviter, invitee_email, role, opts)","anchor":"bulk_create_invitation/5"},{"id":"bulk_transfer_ownership_direct/2","deprecated":false,"title":"bulk_transfer_ownership_direct(sites, new_owner)","anchor":"bulk_transfer_ownership_direct/2"},{"id":"create_invitation/4","deprecated":false,"title":"create_invitation(site, inviter, invitee_email, role)","anchor":"create_invitation/4"},{"id":"pending?/1","deprecated":false,"title":"pending?(email)","anchor":"pending?/1"},{"id":"pending_ownerships?/1","deprecated":false,"title":"pending_ownerships?(email)","anchor":"pending_ownerships?/1"},{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(invitation_id, user)","anchor":"reject_invitation/2"},{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(invitation_id, site)","anchor":"remove_invitation/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(site, user)","anchor":"transfer_ownership/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.AcceptInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.AcceptInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(invitation_id, user)","anchor":"accept_invitation/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(site, user)","anchor":"transfer_ownership/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.CreateInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.CreateInvitation","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"invite_error/0","deprecated":false,"title":"invite_error()","anchor":"t:invite_error/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"bulk_create_invitation/5","deprecated":false,"title":"bulk_create_invitation(sites, inviter, invitee_email, role, opts \\\\ [])","anchor":"bulk_create_invitation/5"},{"id":"bulk_transfer_ownership_direct/2","deprecated":false,"title":"bulk_transfer_ownership_direct(sites, new_owner)","anchor":"bulk_transfer_ownership_direct/2"},{"id":"create_invitation/4","deprecated":false,"title":"create_invitation(site, inviter, invitee_email, role)","anchor":"create_invitation/4"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.RejectInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.RejectInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(invitation_id, user)","anchor":"reject_invitation/2"}],"key":"functions"}]},{"id":"Plausible.Site.Memberships.RemoveInvitation","deprecated":false,"group":"","title":"Plausible.Site.Memberships.RemoveInvitation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(invitation_id, site)","anchor":"remove_invitation/2"}],"key":"functions"}]},{"id":"Plausible.Site.MonthlyReport","deprecated":false,"group":"","title":"Plausible.Site.MonthlyReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(report, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(settings, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(report, recipient)","anchor":"remove_recipient/2"}],"key":"functions"}]},{"id":"Plausible.Site.Removal","deprecated":false,"group":"","title":"Plausible.Site.Removal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(domain)","anchor":"run/1"}],"key":"functions"}]},{"id":"Plausible.Site.SharedLink","deprecated":false,"group":"","title":"Plausible.Site.SharedLink","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/2","deprecated":false,"title":"changeset(link, attrs \\\\ %{})","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Site.SpikeNotification","deprecated":false,"group":"","title":"Plausible.Site.SpikeNotification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(schema, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(schema, attrs)","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(schema, recipient)","anchor":"remove_recipient/2"},{"id":"was_sent/1","deprecated":false,"title":"was_sent(schema)","anchor":"was_sent/1"}],"key":"functions"}]},{"id":"Plausible.Site.UserPreference","deprecated":false,"group":"","title":"Plausible.Site.UserPreference","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"changeset/3","deprecated":false,"title":"changeset(user, site, attrs \\\\ %{})","anchor":"changeset/3"},{"id":"options/0","deprecated":false,"title":"options()","anchor":"options/0"}],"key":"functions"}]},{"id":"Plausible.Site.WeeklyReport","deprecated":false,"group":"","title":"Plausible.Site.WeeklyReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_recipient/2","deprecated":false,"title":"add_recipient(report, recipient)","anchor":"add_recipient/2"},{"id":"changeset/2","deprecated":false,"title":"changeset(settings, attrs \\\\ %{})","anchor":"changeset/2"},{"id":"remove_recipient/2","deprecated":false,"title":"remove_recipient(report, recipient)","anchor":"remove_recipient/2"}],"key":"functions"}]},{"id":"Plausible.SiteAdmin","deprecated":false,"group":"","title":"Plausible.SiteAdmin","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_changeset/2","deprecated":false,"title":"create_changeset(schema, attrs)","anchor":"create_changeset/2"},{"id":"custom_index_query/3","deprecated":false,"title":"custom_index_query(conn, schema, query)","anchor":"custom_index_query/3"},{"id":"form_fields/1","deprecated":false,"title":"form_fields(_)","anchor":"form_fields/1"},{"id":"get_struct_fields/1","deprecated":false,"title":"get_struct_fields(module)","anchor":"get_struct_fields/1"},{"id":"index/1","deprecated":false,"title":"index(_)","anchor":"index/1"},{"id":"list_actions/1","deprecated":false,"title":"list_actions(conn)","anchor":"list_actions/1"},{"id":"ordering/1","deprecated":false,"title":"ordering(schema)","anchor":"ordering/1"},{"id":"search_fields/1","deprecated":false,"title":"search_fields(schema)","anchor":"search_fields/1"},{"id":"update_changeset/2","deprecated":false,"title":"update_changeset(schema, attrs)","anchor":"update_changeset/2"}],"key":"functions"}]},{"id":"Plausible.Sites","deprecated":false,"group":"","title":"Plausible.Sites","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"list_opt/0","deprecated":false,"title":"list_opt()","anchor":"t:list_opt/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(user, params)","anchor":"create/2"},{"id":"create_shared_link/3","deprecated":false,"title":"create_shared_link(site, name, password \\\\ nil)","anchor":"create_shared_link/3"},{"id":"get_by_domain/1","deprecated":false,"title":"get_by_domain(domain)","anchor":"get_by_domain/1"},{"id":"get_by_domain!/1","deprecated":false,"title":"get_by_domain!(domain)","anchor":"get_by_domain!/1"},{"id":"get_for_user/3","deprecated":false,"title":"get_for_user(user_id, domain, roles \\\\ [:owner, :admin, :viewer])","anchor":"get_for_user/3"},{"id":"get_for_user!/3","deprecated":false,"title":"get_for_user!(user_id, domain, roles \\\\ [:owner, :admin, :viewer])","anchor":"get_for_user!/3"},{"id":"has_admin_access?/2","deprecated":false,"title":"has_admin_access?(user_id, site)","anchor":"has_admin_access?/2"},{"id":"has_goals?/1","deprecated":false,"title":"has_goals?(site)","anchor":"has_goals?/1"},{"id":"has_stats?/1","deprecated":false,"title":"has_stats?(site)","anchor":"has_stats?/1"},{"id":"is_member?/2","deprecated":false,"title":"is_member?(user_id, site)","anchor":"is_member?/2"},{"id":"list/3","deprecated":false,"title":"list(user, pagination_params, opts \\\\ [])","anchor":"list/3"},{"id":"list_with_invitations/3","deprecated":false,"title":"list_with_invitations(user, pagination_params, opts \\\\ [])","anchor":"list_with_invitations/3"},{"id":"locked?/1","deprecated":false,"title":"locked?(site)","anchor":"locked?/1"},{"id":"owned_site_ids/1","deprecated":false,"title":"owned_site_ids(user)","anchor":"owned_site_ids/1"},{"id":"owned_sites_count/1","deprecated":false,"title":"owned_sites_count(user)","anchor":"owned_sites_count/1"},{"id":"owned_sites_domains/1","deprecated":false,"title":"owned_sites_domains(user)","anchor":"owned_sites_domains/1"},{"id":"role/2","deprecated":false,"title":"role(user_id, site)","anchor":"role/2"},{"id":"set_option/4","deprecated":false,"title":"set_option(user, site, option, value)","anchor":"set_option/4"},{"id":"shared_link_url/2","deprecated":false,"title":"shared_link_url(site, link)","anchor":"shared_link_url/2"},{"id":"stats_start_date/1","deprecated":false,"title":"stats_start_date(site)","anchor":"stats_start_date/1"},{"id":"toggle_pin/2","deprecated":false,"title":"toggle_pin(user, site)","anchor":"toggle_pin/2"}],"key":"functions"}]},{"id":"Plausible.Stats","deprecated":false,"group":"","title":"Plausible.Stats","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(site, query, metrics)","anchor":"aggregate/3"},{"id":"breakdown/5","deprecated":false,"title":"breakdown(site, query, prop, metrics, pagination)","anchor":"breakdown/5"},{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"},{"id":"filter_suggestions/4","deprecated":false,"title":"filter_suggestions(site, query, filter_name, filter_search)","anchor":"filter_suggestions/4"},{"id":"funnel/3","deprecated":false,"title":"funnel(site, query, funnel)","anchor":"funnel/3"},{"id":"timeseries/3","deprecated":false,"title":"timeseries(site, query, metrics)","anchor":"timeseries/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Aggregate","deprecated":false,"group":"","title":"Plausible.Stats.Aggregate","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/3","deprecated":false,"title":"aggregate(site, query, metrics)","anchor":"aggregate/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Base","deprecated":false,"group":"","title":"Plausible.Stats.Base","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"apply_entry_prop_filter/3","deprecated":false,"title":"apply_entry_prop_filter(sessions_q, prop_name, arg3)","anchor":"apply_entry_prop_filter/3"},{"id":"base_event_query/2","deprecated":false,"title":"base_event_query(site, query)","anchor":"base_event_query/2"},{"id":"dynamic_filter_condition/3","deprecated":false,"title":"dynamic_filter_condition(query, filter_key, db_field)","anchor":"dynamic_filter_condition/3"},{"id":"filter_by_entry_props/2","deprecated":false,"title":"filter_by_entry_props(sessions_q, query)","anchor":"filter_by_entry_props/2"},{"id":"filter_converted_sessions/3","deprecated":false,"title":"filter_converted_sessions(db_query, site, query)","anchor":"filter_converted_sessions/3"},{"id":"page_regex/1","deprecated":false,"title":"page_regex(expr)","anchor":"page_regex/1"},{"id":"query_events/2","deprecated":false,"title":"query_events(site, query)","anchor":"query_events/2"},{"id":"query_sessions/2","deprecated":false,"title":"query_sessions(site, query)","anchor":"query_sessions/2"},{"id":"select_event_metrics/2","deprecated":false,"title":"select_event_metrics(q, list)","anchor":"select_event_metrics/2"},{"id":"select_session_metrics/3","deprecated":false,"title":"select_session_metrics(q, list, query)","anchor":"select_session_metrics/3"},{"id":"utc_boundaries/2","deprecated":false,"title":"utc_boundaries(query, site)","anchor":"utc_boundaries/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Breakdown","deprecated":false,"group":"","title":"Plausible.Stats.Breakdown","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"breakdown/6","deprecated":false,"title":"breakdown(site, query, property, metrics, pagination, opts \\\\ [])","anchor":"breakdown/6"}],"key":"functions"}]},{"id":"Plausible.Stats.Clickhouse","deprecated":false,"group":"","title":"Plausible.Stats.Clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(site, query)","anchor":"current_visitors/2"},{"id":"empty_24h_visitors_hourly_intervals/2","deprecated":false,"title":"empty_24h_visitors_hourly_intervals(sites, now \\\\ NaiveDateTime.utc_now())","anchor":"empty_24h_visitors_hourly_intervals/2"},{"id":"has_pageviews?/1","deprecated":false,"title":"has_pageviews?(site)","anchor":"has_pageviews?/1"},{"id":"imported_pageview_count/1","deprecated":false,"title":"imported_pageview_count(site)","anchor":"imported_pageview_count/1"},{"id":"last_24h_visitors_hourly_intervals/2","deprecated":false,"title":"last_24h_visitors_hourly_intervals(sites, now \\\\ NaiveDateTime.utc_now())","anchor":"last_24h_visitors_hourly_intervals/2"},{"id":"pageview_start_date_local/1","deprecated":false,"title":"pageview_start_date_local(site)","anchor":"pageview_start_date_local/1"},{"id":"top_sources/6","deprecated":false,"title":"top_sources(site, query, limit, page, show_noref \\\\ false, include_details)","anchor":"top_sources/6"},{"id":"usage_breakdown/2","deprecated":false,"title":"usage_breakdown(domains, date_range)","anchor":"usage_breakdown/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Compare","deprecated":false,"group":"","title":"Plausible.Stats.Compare","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"calculate_change/3","deprecated":false,"title":"calculate_change(arg1, old_count, new_count)","anchor":"calculate_change/3"},{"id":"percent_change/2","deprecated":false,"title":"percent_change(old_count, new_count)","anchor":"percent_change/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Comparisons","deprecated":false,"group":"","title":"Plausible.Stats.Comparisons","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"mode/0","deprecated":false,"title":"mode()","anchor":"t:mode/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"compare/4","deprecated":false,"title":"compare(site, source_query, mode, opts \\\\ [])","anchor":"compare/4"}],"key":"functions"}]},{"id":"Plausible.Stats.CurrentVisitors","deprecated":false,"group":"","title":"Plausible.Stats.CurrentVisitors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"}],"key":"functions"}]},{"id":"Plausible.Stats.CustomProps","deprecated":false,"group":"","title":"Plausible.Stats.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_prop_names/2","deprecated":false,"title":"fetch_prop_names(site, query)","anchor":"fetch_prop_names/2"},{"id":"maybe_allowed_props_only/2","deprecated":false,"title":"maybe_allowed_props_only(q, site)","anchor":"maybe_allowed_props_only/2"}],"key":"functions"}]},{"id":"Plausible.Stats.EmailReport","deprecated":false,"group":"","title":"Plausible.Stats.EmailReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/2","deprecated":false,"title":"get(site, query)","anchor":"get/2"}],"key":"functions"}]},{"id":"Plausible.Stats.FilterSuggestions","deprecated":false,"group":"","title":"Plausible.Stats.FilterSuggestions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"filter_suggestions/4","deprecated":false,"title":"filter_suggestions(site, query, filter_name, filter_search)","anchor":"filter_suggestions/4"}],"key":"functions"}]},{"id":"Plausible.Stats.Filters","deprecated":false,"group":"","title":"Plausible.Stats.Filters","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_props/0","deprecated":false,"title":"event_props()","anchor":"event_props/0"},{"id":"parse/1","deprecated":false,"title":"parse(filters)","anchor":"parse/1"},{"id":"visit_props/0","deprecated":false,"title":"visit_props()","anchor":"visit_props/0"}],"key":"functions"}]},{"id":"Plausible.Stats.Filters.Utils","deprecated":false,"group":"","title":"Plausible.Stats.Filters.Utils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"list_expression?/1","deprecated":false,"title":"list_expression?(expression)","anchor":"list_expression?/1"},{"id":"parse_member_list/1","deprecated":false,"title":"parse_member_list(raw_value)","anchor":"parse_member_list/1"},{"id":"remove_escape_chars/1","deprecated":false,"title":"remove_escape_chars(value)","anchor":"remove_escape_chars/1"},{"id":"unwrap_goal_value/1","deprecated":false,"title":"unwrap_goal_value(goals)","anchor":"unwrap_goal_value/1"},{"id":"wildcard_expression?/1","deprecated":false,"title":"wildcard_expression?(expression)","anchor":"wildcard_expression?/1"},{"id":"wrap_goal_value/1","deprecated":false,"title":"wrap_goal_value(goals)","anchor":"wrap_goal_value/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Fragments","deprecated":false,"group":"","title":"Plausible.Stats.Fragments","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bounce_rate/0","deprecated":false,"title":"bounce_rate()","anchor":"bounce_rate/0"},{"id":"coalesce_string/2","deprecated":false,"title":"coalesce_string(fieldA, fieldB)","anchor":"coalesce_string/2"},{"id":"get_by_key/3","deprecated":false,"title":"get_by_key(table, meta_column, key)","anchor":"get_by_key/3"},{"id":"has_key/3","deprecated":false,"title":"has_key(table, meta_column, key)","anchor":"has_key/3"},{"id":"sample_percent/0","deprecated":false,"title":"sample_percent()","anchor":"sample_percent/0"},{"id":"to_timezone/2","deprecated":false,"title":"to_timezone(date, timezone)","anchor":"to_timezone/2"},{"id":"total/0","deprecated":false,"title":"total()","anchor":"total/0"},{"id":"uniq/1","deprecated":false,"title":"uniq(user_id)","anchor":"uniq/1"},{"id":"visit_duration/0","deprecated":false,"title":"visit_duration()","anchor":"visit_duration/0"},{"id":"weekstart_not_before/2","deprecated":false,"title":"weekstart_not_before(date, not_before)","anchor":"weekstart_not_before/2"},{"id":"weekstart_not_before/3","deprecated":false,"title":"weekstart_not_before(date, not_before, timezone)","anchor":"weekstart_not_before/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Funnel","deprecated":false,"group":"","title":"Plausible.Stats.Funnel","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"funnel/3","deprecated":false,"title":"funnel(site, query, funnel_id)","anchor":"funnel/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Goal.Revenue","deprecated":false,"group":"","title":"Plausible.Stats.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"average_revenue_query/1","deprecated":false,"title":"average_revenue_query(query)","anchor":"average_revenue_query/1"},{"id":"cast_revenue_metrics_to_money/2","deprecated":false,"title":"cast_revenue_metrics_to_money(results, revenue_goals)","anchor":"cast_revenue_metrics_to_money/2"},{"id":"get_revenue_tracking_currency/3","deprecated":false,"title":"get_revenue_tracking_currency(site, query, metrics)","anchor":"get_revenue_tracking_currency/3"},{"id":"revenue_metrics/0","deprecated":false,"title":"revenue_metrics()","anchor":"revenue_metrics/0"},{"id":"total_revenue_query/1","deprecated":false,"title":"total_revenue_query(query)","anchor":"total_revenue_query/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported","deprecated":false,"group":"","title":"Plausible.Stats.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"merge_imported/5","deprecated":false,"title":"merge_imported(q, site, query, property, metrics)","anchor":"merge_imported/5"},{"id":"merge_imported_timeseries/4","deprecated":false,"title":"merge_imported_timeseries(native_q, site, query, metrics)","anchor":"merge_imported_timeseries/4"}],"key":"functions"}]},{"id":"Plausible.Stats.Interval","deprecated":false,"group":"","title":"Plausible.Stats.Interval","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"opt/0","deprecated":false,"title":"opt()","anchor":"t:opt/0"},{"id":"opts/0","deprecated":false,"title":"opts()","anchor":"t:opts/0"},{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"default_for_date_range/1","deprecated":false,"title":"default_for_date_range(range)","anchor":"default_for_date_range/1"},{"id":"default_for_period/1","deprecated":false,"title":"default_for_period(period)","anchor":"default_for_period/1"},{"id":"list/0","deprecated":false,"title":"list()","anchor":"list/0"},{"id":"valid?/1","deprecated":false,"title":"valid?(interval)","anchor":"valid?/1"},{"id":"valid_by_period/1","deprecated":false,"title":"valid_by_period(opts \\\\ [])","anchor":"valid_by_period/1"},{"id":"valid_for_period?/3","deprecated":false,"title":"valid_for_period?(period, interval, opts \\\\ [])","anchor":"valid_for_period?/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Props","deprecated":false,"group":"","title":"Plausible.Stats.Props","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_props/0","deprecated":false,"title":"event_props()","anchor":"event_props/0"},{"id":"valid_prop?/1","deprecated":false,"title":"valid_prop?(prop)","anchor":"valid_prop?/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Query","deprecated":false,"group":"","title":"Plausible.Stats.Query","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"from/2","deprecated":false,"title":"from(site, params)","anchor":"from/2"},{"id":"get_all_filters_by_prefix/2","deprecated":false,"title":"get_all_filters_by_prefix(query, prefix)","anchor":"get_all_filters_by_prefix/2"},{"id":"get_filter_by_prefix/2","deprecated":false,"title":"get_filter_by_prefix(query, prefix)","anchor":"get_filter_by_prefix/2"},{"id":"has_event_filters?/1","deprecated":false,"title":"has_event_filters?(query)","anchor":"has_event_filters?/1"},{"id":"include_imported?/3","deprecated":false,"title":"include_imported?(query, site, requested?)","anchor":"include_imported?/3"},{"id":"put_filter/3","deprecated":false,"title":"put_filter(query, key, val)","anchor":"put_filter/3"},{"id":"remove_event_filters/2","deprecated":false,"title":"remove_event_filters(query, opts)","anchor":"remove_event_filters/2"},{"id":"trace/2","deprecated":false,"title":"trace(query, metrics)","anchor":"trace/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Sampling","deprecated":false,"group":"","title":"Plausible.Stats.Sampling","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_query_hint/1","deprecated":false,"title":"add_query_hint(query)","anchor":"add_query_hint/1"},{"id":"add_query_hint/2","deprecated":false,"title":"add_query_hint(db_query, query)","anchor":"add_query_hint/2"},{"id":"put_threshold/2","deprecated":false,"title":"put_threshold(query, params)","anchor":"put_threshold/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Timeseries","deprecated":false,"group":"","title":"Plausible.Stats.Timeseries","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"results/0","deprecated":false,"title":"results()","anchor":"t:results/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"timeseries/3","deprecated":false,"title":"timeseries(site, query, metrics)","anchor":"timeseries/3"}],"key":"functions"}]},{"id":"Plausible.Stats.Util","deprecated":false,"group":"","title":"Plausible.Stats.Util","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"remove_internal_visits_metric/1","deprecated":false,"title":"remove_internal_visits_metric(result)","anchor":"remove_internal_visits_metric/1"},{"id":"remove_internal_visits_metric/2","deprecated":false,"title":"remove_internal_visits_metric(results, metrics)","anchor":"remove_internal_visits_metric/2"}],"key":"functions"}]},{"id":"Plausible.Test.Support.HTML","deprecated":false,"group":"","title":"Plausible.Test.Support.HTML","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"class_of_element/2","deprecated":false,"title":"class_of_element(html, element)","anchor":"class_of_element/2"},{"id":"element_exists?/2","deprecated":false,"title":"element_exists?(html, selector)","anchor":"element_exists?/2"},{"id":"find/2","deprecated":false,"title":"find(html, value)","anchor":"find/2"},{"id":"form_exists?/2","deprecated":false,"title":"form_exists?(html, action_path)","anchor":"form_exists?/2"},{"id":"name_of/1","deprecated":false,"title":"name_of(element)","anchor":"name_of/1"},{"id":"submit_button/2","deprecated":false,"title":"submit_button(html, form)","anchor":"submit_button/2"},{"id":"text/1","deprecated":false,"title":"text(element)","anchor":"text/1"},{"id":"text_of_attr/2","deprecated":false,"title":"text_of_attr(element, attr)","anchor":"text_of_attr/2"},{"id":"text_of_attr/3","deprecated":false,"title":"text_of_attr(html, element, attr)","anchor":"text_of_attr/3"},{"id":"text_of_element/2","deprecated":false,"title":"text_of_element(html, element)","anchor":"text_of_element/2"}],"key":"functions"}]},{"id":"Plausible.Test.Support.HTTPMocker","deprecated":false,"group":"","title":"Plausible.Test.Support.HTTPMocker","sections":[]},{"id":"Plausible.TestUtils","deprecated":false,"group":"","title":"Plausible.TestUtils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_imported_data/1","deprecated":false,"title":"add_imported_data(map)","anchor":"add_imported_data/1"},{"id":"await_clickhouse_count/2","deprecated":false,"title":"await_clickhouse_count(query, expected)","anchor":"await_clickhouse_count/2"},{"id":"create_api_key/1","deprecated":false,"title":"create_api_key(map)","anchor":"create_api_key/1"},{"id":"create_events/1","deprecated":false,"title":"create_events(events)","anchor":"create_events/1"},{"id":"create_new_site/1","deprecated":false,"title":"create_new_site(map)","anchor":"create_new_site/1"},{"id":"create_pageviews/1","deprecated":false,"title":"create_pageviews(pageviews)","anchor":"create_pageviews/1"},{"id":"create_sessions/1","deprecated":false,"title":"create_sessions(sessions)","anchor":"create_sessions/1"},{"id":"create_site/1","deprecated":false,"title":"create_site(map)","anchor":"create_site/1"},{"id":"create_user/1","deprecated":false,"title":"create_user(_)","anchor":"create_user/1"},{"id":"eventually/3","deprecated":false,"title":"eventually(expectation, wait_time_ms \\\\ 50, retries \\\\ 10)","anchor":"eventually/3"},{"id":"generate_usage_for/3","deprecated":false,"title":"generate_usage_for(site, i, timestamp \\\\ NaiveDateTime.utc_now())","anchor":"generate_usage_for/3"},{"id":"init_session/1","deprecated":false,"title":"init_session(conn)","anchor":"init_session/1"},{"id":"log_in/1","deprecated":false,"title":"log_in(map)","anchor":"log_in/1"},{"id":"patch_env/2","deprecated":false,"title":"patch_env(env_key, value)","anchor":"patch_env/2"},{"id":"populate_stats/1","deprecated":false,"title":"populate_stats(events)","anchor":"populate_stats/1"},{"id":"populate_stats/2","deprecated":false,"title":"populate_stats(site, events)","anchor":"populate_stats/2"},{"id":"random_ip/0","deprecated":false,"title":"random_ip()","anchor":"random_ip/0"},{"id":"relative_time/1","deprecated":false,"title":"relative_time(shifts)","anchor":"relative_time/1"},{"id":"setup_patch_env/2","deprecated":false,"title":"setup_patch_env(env_key, value)","anchor":"setup_patch_env/2"},{"id":"to_naive_truncate/1","deprecated":false,"title":"to_naive_truncate(dt)","anchor":"to_naive_truncate/1"},{"id":"use_api_key/1","deprecated":false,"title":"use_api_key(map)","anchor":"use_api_key/1"}],"key":"functions"}]},{"id":"Plausible.Themes","deprecated":false,"group":"","title":"Plausible.Themes","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"options/0","deprecated":false,"title":"options()","anchor":"options/0"}],"key":"functions"}]},{"id":"Plausible.Timezones","deprecated":false,"group":"","title":"Plausible.Timezones","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"options/1","deprecated":false,"title":"options(now \\\\ DateTime.utc_now())","anchor":"options/1"},{"id":"to_date_in_timezone/2","deprecated":false,"title":"to_date_in_timezone(dt, timezone)","anchor":"to_date_in_timezone/2"},{"id":"to_utc_datetime/2","deprecated":false,"title":"to_utc_datetime(naive_date_time, timezone)","anchor":"to_utc_datetime/2"}],"key":"functions"}]},{"id":"Plausible.Users","deprecated":false,"group":"","title":"Plausible.Users","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_traffic_until/1","deprecated":false,"title":"accept_traffic_until(user)","anchor":"accept_traffic_until/1"},{"id":"allow_next_upgrade_override/1","deprecated":false,"title":"allow_next_upgrade_override(user)","anchor":"allow_next_upgrade_override/1"},{"id":"has_email_code?/1","deprecated":false,"title":"has_email_code?(user)","anchor":"has_email_code?/1"},{"id":"maybe_reset_next_upgrade_override/1","deprecated":false,"title":"maybe_reset_next_upgrade_override(user)","anchor":"maybe_reset_next_upgrade_override/1"},{"id":"on_trial?/1","deprecated":false,"title":"on_trial?(user)","anchor":"on_trial?/1"},{"id":"trial_days_left/1","deprecated":false,"title":"trial_days_left(user)","anchor":"trial_days_left/1"},{"id":"update_accept_traffic_until/1","deprecated":false,"title":"update_accept_traffic_until(user)","anchor":"update_accept_traffic_until/1"},{"id":"with_subscription/1","deprecated":false,"title":"with_subscription(user)","anchor":"with_subscription/1"}],"key":"functions"}]},{"id":"Plausible.Workers.AcceptTrafficUntil","deprecated":false,"group":"","title":"Plausible.Workers.AcceptTrafficUntil","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dry_run/1","deprecated":false,"title":"dry_run(date)","anchor":"dry_run/1"}],"key":"functions"}]},{"id":"Plausible.Workers.CheckUsage","deprecated":false,"group":"","title":"Plausible.Workers.CheckUsage","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"check_enterprise_subscriber/2","deprecated":false,"title":"check_enterprise_subscriber(subscriber, quota_mod)","anchor":"check_enterprise_subscriber/2"},{"id":"day_of_month/1","deprecated":false,"title":"day_of_month(date)","anchor":"day_of_month/1"},{"id":"exceeds_last_two_usage_cycles?/2","deprecated":false,"title":"exceeds_last_two_usage_cycles?(usage, limit)","anchor":"exceeds_last_two_usage_cycles?/2"},{"id":"last_day_of_month/1","deprecated":false,"title":"last_day_of_month(day)","anchor":"last_day_of_month/1"},{"id":"least/2","deprecated":false,"title":"least(left, right)","anchor":"least/2"},{"id":"yesterday/0","deprecated":false,"title":"yesterday()","anchor":"yesterday/0"}],"key":"functions"}]},{"id":"Plausible.Workers.CleanInvitations","deprecated":false,"group":"","title":"Plausible.Workers.CleanInvitations","sections":[]},{"id":"Plausible.Workers.ExpireDomainChangeTransitions","deprecated":false,"group":"","title":"Plausible.Workers.ExpireDomainChangeTransitions","sections":[]},{"id":"Plausible.Workers.ImportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ImportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"import_failed/2","deprecated":false,"title":"import_failed(source, site)","anchor":"import_failed/2"},{"id":"import_success/2","deprecated":false,"title":"import_success(source, site)","anchor":"import_success/2"}],"key":"functions"}]},{"id":"Plausible.Workers.LockSites","deprecated":false,"group":"","title":"Plausible.Workers.LockSites","sections":[]},{"id":"Plausible.Workers.NotifyAnnualRenewal","deprecated":false,"group":"","title":"Plausible.Workers.NotifyAnnualRenewal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.RotateSalts","deprecated":false,"group":"","title":"Plausible.Workers.RotateSalts","sections":[]},{"id":"Plausible.Workers.ScheduleEmailReports","deprecated":false,"group":"","title":"Plausible.Workers.ScheduleEmailReports","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"first_of_month_9am/1","deprecated":false,"title":"first_of_month_9am(timezone)","anchor":"first_of_month_9am/1"},{"id":"monday_9am/1","deprecated":false,"title":"monday_9am(timezone)","anchor":"monday_9am/1"},{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.SendCheckStatsEmails","deprecated":false,"group":"","title":"Plausible.Workers.SendCheckStatsEmails","sections":[]},{"id":"Plausible.Workers.SendEmailReport","deprecated":false,"group":"","title":"Plausible.Workers.SendEmailReport","sections":[]},{"id":"Plausible.Workers.SendSiteSetupEmails","deprecated":false,"group":"","title":"Plausible.Workers.SendSiteSetupEmails","sections":[]},{"id":"Plausible.Workers.SendTrialNotifications","deprecated":false,"group":"","title":"Plausible.Workers.SendTrialNotifications","sections":[]},{"id":"Plausible.Workers.SpikeNotifier","deprecated":false,"group":"","title":"Plausible.Workers.SpikeNotifier","sections":[]},{"id":"PlausibleWeb","deprecated":false,"group":"","title":"PlausibleWeb","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__using__/1","deprecated":false,"title":"__using__(which)","anchor":"__using__/1"},{"id":"channel/0","deprecated":false,"title":"channel()","anchor":"channel/0"},{"id":"controller/0","deprecated":false,"title":"controller()","anchor":"controller/0"},{"id":"live_view/1","deprecated":false,"title":"live_view(opts \\\\ [])","anchor":"live_view/1"},{"id":"open_api_schema/0","deprecated":false,"title":"open_api_schema()","anchor":"open_api_schema/0"},{"id":"plugins_api_controller/0","deprecated":false,"title":"plugins_api_controller()","anchor":"plugins_api_controller/0"},{"id":"plugins_api_view/0","deprecated":false,"title":"plugins_api_view()","anchor":"plugins_api_view/0"},{"id":"router/0","deprecated":false,"title":"router()","anchor":"router/0"},{"id":"view/0","deprecated":false,"title":"view()","anchor":"view/0"}],"key":"functions"}]},{"id":"PlausibleWeb.AdminController","deprecated":false,"group":"","title":"PlausibleWeb.AdminController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"usage/2","deprecated":false,"title":"usage(conn, params)","anchor":"usage/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/2","deprecated":false,"title":"error(conn, params)","anchor":"error/2"},{"id":"event/2","deprecated":false,"title":"event(conn, params)","anchor":"event/2"},{"id":"health/2","deprecated":false,"title":"health(conn, params)","anchor":"health/2"},{"id":"info/2","deprecated":false,"title":"info(conn, params)","anchor":"info/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalSitesController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalSitesController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create_site/2","deprecated":false,"title":"create_site(conn, params)","anchor":"create_site/2"},{"id":"delete_goal/2","deprecated":false,"title":"delete_goal(conn, params)","anchor":"delete_goal/2"},{"id":"delete_site/2","deprecated":false,"title":"delete_site(conn, map)","anchor":"delete_site/2"},{"id":"find_or_create_goal/2","deprecated":false,"title":"find_or_create_goal(conn, params)","anchor":"find_or_create_goal/2"},{"id":"find_or_create_shared_link/2","deprecated":false,"title":"find_or_create_shared_link(conn, params)","anchor":"find_or_create_shared_link/2"},{"id":"get_site/2","deprecated":false,"title":"get_site(conn, map)","anchor":"get_site/2"},{"id":"update_site/2","deprecated":false,"title":"update_site(conn, params)","anchor":"update_site/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.ExternalStatsController","deprecated":false,"group":"","title":"PlausibleWeb.Api.ExternalStatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"aggregate/2","deprecated":false,"title":"aggregate(conn, params)","anchor":"aggregate/2"},{"id":"breakdown/2","deprecated":false,"title":"breakdown(conn, params)","anchor":"breakdown/2"},{"id":"realtime_visitors/2","deprecated":false,"title":"realtime_visitors(conn, params)","anchor":"realtime_visitors/2"},{"id":"timeseries/2","deprecated":false,"title":"timeseries(conn, params)","anchor":"timeseries/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.Helpers","deprecated":false,"group":"","title":"PlausibleWeb.Api.Helpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bad_request/2","deprecated":false,"title":"bad_request(conn, msg)","anchor":"bad_request/2"},{"id":"not_found/2","deprecated":false,"title":"not_found(conn, msg)","anchor":"not_found/2"},{"id":"payment_required/2","deprecated":false,"title":"payment_required(conn, msg)","anchor":"payment_required/2"},{"id":"too_many_requests/2","deprecated":false,"title":"too_many_requests(conn, msg)","anchor":"too_many_requests/2"},{"id":"unauthorized/2","deprecated":false,"title":"unauthorized(conn, msg)","anchor":"unauthorized/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.InternalController","deprecated":false,"group":"","title":"PlausibleWeb.Api.InternalController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable_feature/2","deprecated":false,"title":"disable_feature(conn, map)","anchor":"disable_feature/2"},{"id":"domain_status/2","deprecated":false,"title":"domain_status(conn, map)","anchor":"domain_status/2"},{"id":"sites/2","deprecated":false,"title":"sites(conn, params)","anchor":"sites/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.PaddleController","deprecated":false,"group":"","title":"PlausibleWeb.Api.PaddleController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"verified_signature?/1","deprecated":false,"title":"verified_signature?(params)","anchor":"verified_signature?/1"},{"id":"verify_signature/2","deprecated":false,"title":"verify_signature(conn, opts)","anchor":"verify_signature/2"},{"id":"webhook/2","deprecated":false,"title":"webhook(conn, params)","anchor":"webhook/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Api.StatsController","deprecated":false,"group":"","title":"PlausibleWeb.Api.StatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all_custom_prop_values/2","deprecated":false,"title":"all_custom_prop_values(conn, params)","anchor":"all_custom_prop_values/2"},{"id":"browser_versions/2","deprecated":false,"title":"browser_versions(conn, params)","anchor":"browser_versions/2"},{"id":"browsers/2","deprecated":false,"title":"browsers(conn, params)","anchor":"browsers/2"},{"id":"cities/2","deprecated":false,"title":"cities(conn, params)","anchor":"cities/2"},{"id":"conversions/2","deprecated":false,"title":"conversions(conn, params)","anchor":"conversions/2"},{"id":"countries/2","deprecated":false,"title":"countries(conn, params)","anchor":"countries/2"},{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(conn, _)","anchor":"current_visitors/2"},{"id":"custom_prop_values/2","deprecated":false,"title":"custom_prop_values(conn, params)","anchor":"custom_prop_values/2"},{"id":"entry_pages/2","deprecated":false,"title":"entry_pages(conn, params)","anchor":"entry_pages/2"},{"id":"exit_pages/2","deprecated":false,"title":"exit_pages(conn, params)","anchor":"exit_pages/2"},{"id":"filter_suggestions/2","deprecated":false,"title":"filter_suggestions(conn, params)","anchor":"filter_suggestions/2"},{"id":"format_money/1","deprecated":false,"title":"format_money(money)","anchor":"format_money/1"},{"id":"format_revenue_metric/1","deprecated":false,"title":"format_revenue_metric(metric_value)","anchor":"format_revenue_metric/1"},{"id":"funnel/2","deprecated":false,"title":"funnel(conn, params)","anchor":"funnel/2"},{"id":"main_graph/2","deprecated":false,"title":"main_graph(conn, params)","anchor":"main_graph/2"},{"id":"operating_system_versions/2","deprecated":false,"title":"operating_system_versions(conn, params)","anchor":"operating_system_versions/2"},{"id":"operating_systems/2","deprecated":false,"title":"operating_systems(conn, params)","anchor":"operating_systems/2"},{"id":"pages/2","deprecated":false,"title":"pages(conn, params)","anchor":"pages/2"},{"id":"referrer_drilldown/2","deprecated":false,"title":"referrer_drilldown(conn, params)","anchor":"referrer_drilldown/2"},{"id":"referrers/2","deprecated":false,"title":"referrers(conn, params)","anchor":"referrers/2"},{"id":"regions/2","deprecated":false,"title":"regions(conn, params)","anchor":"regions/2"},{"id":"screen_sizes/2","deprecated":false,"title":"screen_sizes(conn, params)","anchor":"screen_sizes/2"},{"id":"sources/2","deprecated":false,"title":"sources(conn, params)","anchor":"sources/2"},{"id":"top_stats/2","deprecated":false,"title":"top_stats(conn, params)","anchor":"top_stats/2"},{"id":"utm_campaigns/2","deprecated":false,"title":"utm_campaigns(conn, params)","anchor":"utm_campaigns/2"},{"id":"utm_contents/2","deprecated":false,"title":"utm_contents(conn, params)","anchor":"utm_contents/2"},{"id":"utm_mediums/2","deprecated":false,"title":"utm_mediums(conn, params)","anchor":"utm_mediums/2"},{"id":"utm_sources/2","deprecated":false,"title":"utm_sources(conn, params)","anchor":"utm_sources/2"},{"id":"utm_terms/2","deprecated":false,"title":"utm_terms(conn, params)","anchor":"utm_terms/2"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthController","deprecated":false,"group":"","title":"PlausibleWeb.AuthController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"activate/2","deprecated":false,"title":"activate(conn, map)","anchor":"activate/2"},{"id":"activate_form/2","deprecated":false,"title":"activate_form(conn, params)","anchor":"activate_form/2"},{"id":"cancel_update_email/2","deprecated":false,"title":"cancel_update_email(conn, params)","anchor":"cancel_update_email/2"},{"id":"create_api_key/2","deprecated":false,"title":"create_api_key(conn, map)","anchor":"create_api_key/2"},{"id":"delete_api_key/2","deprecated":false,"title":"delete_api_key(conn, map)","anchor":"delete_api_key/2"},{"id":"delete_me/2","deprecated":false,"title":"delete_me(conn, params)","anchor":"delete_me/2"},{"id":"disable_2fa/2","deprecated":false,"title":"disable_2fa(conn, map)","anchor":"disable_2fa/2"},{"id":"generate_2fa_recovery_codes/2","deprecated":false,"title":"generate_2fa_recovery_codes(conn, map)","anchor":"generate_2fa_recovery_codes/2"},{"id":"google_auth_callback/2","deprecated":false,"title":"google_auth_callback(conn, params)","anchor":"google_auth_callback/2"},{"id":"initiate_2fa_setup/2","deprecated":false,"title":"initiate_2fa_setup(conn, params)","anchor":"initiate_2fa_setup/2"},{"id":"login/2","deprecated":false,"title":"login(conn, map)","anchor":"login/2"},{"id":"login_form/2","deprecated":false,"title":"login_form(conn, params)","anchor":"login_form/2"},{"id":"logout/2","deprecated":false,"title":"logout(conn, params)","anchor":"logout/2"},{"id":"new_api_key/2","deprecated":false,"title":"new_api_key(conn, params)","anchor":"new_api_key/2"},{"id":"password_reset/2","deprecated":false,"title":"password_reset(conn, params)","anchor":"password_reset/2"},{"id":"password_reset_form/2","deprecated":false,"title":"password_reset_form(conn, params)","anchor":"password_reset_form/2"},{"id":"password_reset_request/2","deprecated":false,"title":"password_reset_request(conn, params)","anchor":"password_reset_request/2"},{"id":"password_reset_request_form/2","deprecated":false,"title":"password_reset_request_form(conn, _)","anchor":"password_reset_request_form/2"},{"id":"register/2","deprecated":false,"title":"register(conn, map)","anchor":"register/2"},{"id":"register_from_invitation/2","deprecated":false,"title":"register_from_invitation(conn, map)","anchor":"register_from_invitation/2"},{"id":"request_activation_code/2","deprecated":false,"title":"request_activation_code(conn, params)","anchor":"request_activation_code/2"},{"id":"save_settings/2","deprecated":false,"title":"save_settings(conn, map)","anchor":"save_settings/2"},{"id":"update_email/2","deprecated":false,"title":"update_email(conn, map)","anchor":"update_email/2"},{"id":"user_settings/2","deprecated":false,"title":"user_settings(conn, params)","anchor":"user_settings/2"},{"id":"verify_2fa/2","deprecated":false,"title":"verify_2fa(conn, params)","anchor":"verify_2fa/2"},{"id":"verify_2fa_form/2","deprecated":false,"title":"verify_2fa_form(conn, _)","anchor":"verify_2fa_form/2"},{"id":"verify_2fa_recovery_code/2","deprecated":false,"title":"verify_2fa_recovery_code(conn, map)","anchor":"verify_2fa_recovery_code/2"},{"id":"verify_2fa_recovery_code_form/2","deprecated":false,"title":"verify_2fa_recovery_code_form(conn, params)","anchor":"verify_2fa_recovery_code_form/2"},{"id":"verify_2fa_setup/2","deprecated":false,"title":"verify_2fa_setup(conn, map)","anchor":"verify_2fa_setup/2"},{"id":"verify_2fa_setup_form/2","deprecated":false,"title":"verify_2fa_setup_form(conn, params)","anchor":"verify_2fa_setup_form/2"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthView","deprecated":false,"group":"","title":"PlausibleWeb.AuthView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"activate.html/1","deprecated":false,"title":"activate.html(assigns)","anchor":"activate.html/1"},{"id":"delimit_integer/1","deprecated":false,"title":"delimit_integer(number)","anchor":"delimit_integer/1"},{"id":"format_invoices/1","deprecated":false,"title":"format_invoices(invoice_list)","anchor":"format_invoices/1"},{"id":"generate_2fa_recovery_codes.html/1","deprecated":false,"title":"generate_2fa_recovery_codes.html(assigns)","anchor":"generate_2fa_recovery_codes.html/1"},{"id":"initiate_2fa_setup.html/1","deprecated":false,"title":"initiate_2fa_setup.html(assigns)","anchor":"initiate_2fa_setup.html/1"},{"id":"login_form.html/1","deprecated":false,"title":"login_form.html(assigns)","anchor":"login_form.html/1"},{"id":"new_api_key.html/1","deprecated":false,"title":"new_api_key.html(assigns)","anchor":"new_api_key.html/1"},{"id":"password_reset_form.html/1","deprecated":false,"title":"password_reset_form.html(assigns)","anchor":"password_reset_form.html/1"},{"id":"password_reset_request_form.html/1","deprecated":false,"title":"password_reset_request_form.html(assigns)","anchor":"password_reset_request_form.html/1"},{"id":"password_reset_request_success.html/1","deprecated":false,"title":"password_reset_request_success.html(assigns)","anchor":"password_reset_request_success.html/1"},{"id":"present_subscription_status/1","deprecated":false,"title":"present_subscription_status(status)","anchor":"present_subscription_status/1"},{"id":"register_success.html/1","deprecated":false,"title":"register_success.html(assigns)","anchor":"register_success.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"subscription_colors/1","deprecated":false,"title":"subscription_colors(_)","anchor":"subscription_colors/1"},{"id":"subscription_interval/1","deprecated":false,"title":"subscription_interval(subscription)","anchor":"subscription_interval/1"},{"id":"subscription_quota/2","deprecated":false,"title":"subscription_quota(subscription, options \\\\ [])","anchor":"subscription_quota/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"user_settings.html/1","deprecated":false,"title":"user_settings.html(assigns)","anchor":"user_settings.html/1"},{"id":"verify_2fa.html/1","deprecated":false,"title":"verify_2fa.html(assigns)","anchor":"verify_2fa.html/1"},{"id":"verify_2fa_recovery_code.html/1","deprecated":false,"title":"verify_2fa_recovery_code.html(assigns)","anchor":"verify_2fa_recovery_code.html/1"},{"id":"verify_2fa_setup.html/1","deprecated":false,"title":"verify_2fa_setup.html(assigns)","anchor":"verify_2fa_setup.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeSiteAccess","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeSiteAccess","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, allowed_roles)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(allowed_roles)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeSitesApiPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeSitesApiPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AuthorizeStatsApiPlug","deprecated":false,"group":"","title":"PlausibleWeb.AuthorizeStatsApiPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.AvatarController","deprecated":false,"group":"","title":"PlausibleWeb.AvatarController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"avatar/2","deprecated":false,"title":"avatar(conn, params)","anchor":"avatar/2"}],"key":"functions"}]},{"id":"PlausibleWeb.BillingController","deprecated":false,"group":"","title":"PlausibleWeb.BillingController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"change_plan/2","deprecated":false,"title":"change_plan(conn, map)","anchor":"change_plan/2"},{"id":"change_plan_preview/2","deprecated":false,"title":"change_plan_preview(conn, map)","anchor":"change_plan_preview/2"},{"id":"choose_plan/2","deprecated":false,"title":"choose_plan(conn, params)","anchor":"choose_plan/2"},{"id":"ping_subscription/2","deprecated":false,"title":"ping_subscription(conn, params)","anchor":"ping_subscription/2"},{"id":"upgrade_success/2","deprecated":false,"title":"upgrade_success(conn, params)","anchor":"upgrade_success/2"},{"id":"upgrade_to_enterprise_plan/2","deprecated":false,"title":"upgrade_to_enterprise_plan(conn, params)","anchor":"upgrade_to_enterprise_plan/2"}],"key":"functions"}]},{"id":"PlausibleWeb.BillingView","deprecated":false,"group":"","title":"PlausibleWeb.BillingView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"change_enterprise_plan_contact_us.html/1","deprecated":false,"title":"change_enterprise_plan_contact_us.html(assigns)","anchor":"change_enterprise_plan_contact_us.html/1"},{"id":"change_plan_preview.html/1","deprecated":false,"title":"change_plan_preview.html(assigns)","anchor":"change_plan_preview.html/1"},{"id":"choose_plan.html/1","deprecated":false,"title":"choose_plan.html(assigns)","anchor":"choose_plan.html/1"},{"id":"present_currency/1","deprecated":false,"title":"present_currency(arg)","anchor":"present_currency/1"},{"id":"present_date/1","deprecated":false,"title":"present_date(date)","anchor":"present_date/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"upgrade_success.html/1","deprecated":false,"title":"upgrade_success.html(assigns)","anchor":"upgrade_success.html/1"},{"id":"upgrade_to_enterprise_plan.html/1","deprecated":false,"title":"upgrade_to_enterprise_plan.html(assigns)","anchor":"upgrade_to_enterprise_plan.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.CRMAuthPlug","deprecated":false,"group":"","title":"PlausibleWeb.CRMAuthPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Captcha","deprecated":false,"group":"","title":"PlausibleWeb.Captcha","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"sitekey/0","deprecated":false,"title":"sitekey()","anchor":"sitekey/0"},{"id":"verify/1","deprecated":false,"title":"verify(token)","anchor":"verify/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Billing.PlanBenefits","deprecated":false,"group":"","title":"PlausibleWeb.Components.Billing.PlanBenefits","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"for_business/2","deprecated":false,"title":"for_business(plan, growth_benefits)","anchor":"for_business/2"},{"id":"for_enterprise/1","deprecated":false,"title":"for_enterprise(business_benefits)","anchor":"for_enterprise/1"},{"id":"for_growth/1","deprecated":false,"title":"for_growth(plan)","anchor":"for_growth/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Generic","deprecated":false,"group":"","title":"PlausibleWeb.Components.Generic","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"button/1","deprecated":false,"title":"button(assigns)","anchor":"button/1"},{"id":"button_link/1","deprecated":false,"title":"button_link(assigns)","anchor":"button_link/1"},{"id":"docs_info/1","deprecated":false,"title":"docs_info(assigns)","anchor":"docs_info/1"},{"id":"dropdown/1","deprecated":false,"title":"dropdown(assigns)","anchor":"dropdown/1"},{"id":"dropdown_link/1","deprecated":false,"title":"dropdown_link(assigns)","anchor":"dropdown_link/1"},{"id":"dynamic_icon/1","deprecated":false,"title":"dynamic_icon(assigns)","anchor":"dynamic_icon/1"},{"id":"notice/1","deprecated":false,"title":"notice(assigns)","anchor":"notice/1"},{"id":"spinner/1","deprecated":false,"title":"spinner(assigns)","anchor":"spinner/1"},{"id":"styled_link/1","deprecated":false,"title":"styled_link(assigns)","anchor":"styled_link/1"},{"id":"unstyled_link/1","deprecated":false,"title":"unstyled_link(assigns)","anchor":"unstyled_link/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Google","deprecated":false,"group":"","title":"PlausibleWeb.Components.Google","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"button/1","deprecated":false,"title":"button(assigns)","anchor":"button/1"},{"id":"logo/1","deprecated":false,"title":"logo(assigns \\\\ %{})","anchor":"logo/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Settings","deprecated":false,"group":"","title":"PlausibleWeb.Components.Settings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"settings_google_import/1","deprecated":false,"title":"settings_google_import(assigns)","anchor":"settings_google_import/1"},{"id":"settings_search_console/1","deprecated":false,"title":"settings_search_console(assigns)","anchor":"settings_search_console/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.Site.Feature","deprecated":false,"group":"","title":"PlausibleWeb.Components.Site.Feature","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"target/4","deprecated":false,"title":"target(site, setting, conn, set_to)","anchor":"target/4"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"toggle/1","deprecated":false,"title":"toggle(assigns)","anchor":"toggle/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Components.TwoFactor","deprecated":false,"group":"","title":"PlausibleWeb.Components.TwoFactor","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"modal/1","deprecated":false,"title":"modal(assigns)","anchor":"modal/1"},{"id":"qr_code/1","deprecated":false,"title":"qr_code(assigns)","anchor":"qr_code/1"},{"id":"verify_2fa_input/1","deprecated":false,"title":"verify_2fa_input(assigns)","anchor":"verify_2fa_input/1"}],"key":"functions"}]},{"id":"PlausibleWeb.ConnCase","deprecated":false,"group":"","title":"PlausibleWeb.ConnCase","sections":[]},{"id":"PlausibleWeb.ControllerHelpers","deprecated":false,"group":"","title":"PlausibleWeb.ControllerHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render_error/2","deprecated":false,"title":"render_error(conn, status)","anchor":"render_error/2"},{"id":"render_error/3","deprecated":false,"title":"render_error(conn, status, message)","anchor":"render_error/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Controllers.API.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Controllers.API.Revenue","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"format_money/1","deprecated":false,"title":"format_money(value)","anchor":"format_money/1"},{"id":"format_revenue_metric/1","deprecated":false,"title":"format_revenue_metric(arg)","anchor":"format_revenue_metric/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Dogfood","deprecated":false,"group":"","title":"PlausibleWeb.Dogfood","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api_destination/0","deprecated":false,"title":"api_destination()","anchor":"api_destination/0"},{"id":"domain/1","deprecated":false,"title":"domain(conn)","anchor":"domain/1"},{"id":"script_url/0","deprecated":false,"title":"script_url()","anchor":"script_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Email","deprecated":false,"group":"","title":"PlausibleWeb.Email","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"activation_email/2","deprecated":false,"title":"activation_email(user, code)","anchor":"activation_email/2"},{"id":"approaching_accept_traffic_until/1","deprecated":false,"title":"approaching_accept_traffic_until(notification)","anchor":"approaching_accept_traffic_until/1"},{"id":"approaching_accept_traffic_until_tomorrow/1","deprecated":false,"title":"approaching_accept_traffic_until_tomorrow(notification)","anchor":"approaching_accept_traffic_until_tomorrow/1"},{"id":"base_email/0","deprecated":false,"title":"base_email()","anchor":"base_email/0"},{"id":"base_email/1","deprecated":false,"title":"base_email(map)","anchor":"base_email/1"},{"id":"cancellation_email/1","deprecated":false,"title":"cancellation_email(user)","anchor":"cancellation_email/1"},{"id":"check_stats_email/1","deprecated":false,"title":"check_stats_email(user)","anchor":"check_stats_email/1"},{"id":"create_site_email/1","deprecated":false,"title":"create_site_email(user)","anchor":"create_site_email/1"},{"id":"dashboard_locked/3","deprecated":false,"title":"dashboard_locked(user, usage, suggested_plan)","anchor":"dashboard_locked/3"},{"id":"enterprise_over_limit_internal_email/4","deprecated":false,"title":"enterprise_over_limit_internal_email(user, pageview_usage, site_usage, site_allowance)","anchor":"enterprise_over_limit_internal_email/4"},{"id":"error_report/3","deprecated":false,"title":"error_report(reported_by, trace_id, feedback)","anchor":"error_report/3"},{"id":"existing_user_invitation/1","deprecated":false,"title":"existing_user_invitation(invitation)","anchor":"existing_user_invitation/1"},{"id":"import_failure/3","deprecated":false,"title":"import_failure(source, user, site)","anchor":"import_failure/3"},{"id":"import_success/3","deprecated":false,"title":"import_success(source, user, site)","anchor":"import_success/3"},{"id":"invitation_accepted/1","deprecated":false,"title":"invitation_accepted(invitation)","anchor":"invitation_accepted/1"},{"id":"invitation_rejected/1","deprecated":false,"title":"invitation_rejected(invitation)","anchor":"invitation_rejected/1"},{"id":"mailer_email_from/0","deprecated":false,"title":"mailer_email_from()","anchor":"mailer_email_from/0"},{"id":"new_user_invitation/1","deprecated":false,"title":"new_user_invitation(invitation)","anchor":"new_user_invitation/1"},{"id":"over_limit_email/3","deprecated":false,"title":"over_limit_email(user, usage, suggested_plan)","anchor":"over_limit_email/3"},{"id":"ownership_transfer_accepted/1","deprecated":false,"title":"ownership_transfer_accepted(invitation)","anchor":"ownership_transfer_accepted/1"},{"id":"ownership_transfer_rejected/1","deprecated":false,"title":"ownership_transfer_rejected(invitation)","anchor":"ownership_transfer_rejected/1"},{"id":"ownership_transfer_request/2","deprecated":false,"title":"ownership_transfer_request(invitation, new_owner_account)","anchor":"ownership_transfer_request/2"},{"id":"password_reset_email/2","deprecated":false,"title":"password_reset_email(email, reset_link)","anchor":"password_reset_email/2"},{"id":"priority_email/0","deprecated":false,"title":"priority_email()","anchor":"priority_email/0"},{"id":"priority_email/1","deprecated":false,"title":"priority_email(map)","anchor":"priority_email/1"},{"id":"render/3","deprecated":false,"title":"render(email, template, assigns \\\\ [])","anchor":"render/3"},{"id":"site_member_removed/1","deprecated":false,"title":"site_member_removed(membership)","anchor":"site_member_removed/1"},{"id":"site_setup_help/2","deprecated":false,"title":"site_setup_help(user, site)","anchor":"site_setup_help/2"},{"id":"site_setup_success/2","deprecated":false,"title":"site_setup_success(user, site)","anchor":"site_setup_success/2"},{"id":"spike_notification/5","deprecated":false,"title":"spike_notification(email, site, current_visitors, sources, dashboard_link)","anchor":"spike_notification/5"},{"id":"stats_report/2","deprecated":false,"title":"stats_report(email, assigns)","anchor":"stats_report/2"},{"id":"trial_one_week_reminder/1","deprecated":false,"title":"trial_one_week_reminder(user)","anchor":"trial_one_week_reminder/1"},{"id":"trial_over_email/1","deprecated":false,"title":"trial_over_email(user)","anchor":"trial_over_email/1"},{"id":"trial_upgrade_email/3","deprecated":false,"title":"trial_upgrade_email(user, day, usage)","anchor":"trial_upgrade_email/3"},{"id":"two_factor_disabled_email/1","deprecated":false,"title":"two_factor_disabled_email(user)","anchor":"two_factor_disabled_email/1"},{"id":"two_factor_enabled_email/1","deprecated":false,"title":"two_factor_enabled_email(user)","anchor":"two_factor_enabled_email/1"},{"id":"welcome_email/1","deprecated":false,"title":"welcome_email(user)","anchor":"welcome_email/1"},{"id":"yearly_expiration_notification/1","deprecated":false,"title":"yearly_expiration_notification(user)","anchor":"yearly_expiration_notification/1"},{"id":"yearly_renewal_notification/1","deprecated":false,"title":"yearly_renewal_notification(user)","anchor":"yearly_renewal_notification/1"}],"key":"functions"}]},{"id":"PlausibleWeb.EmailView","deprecated":false,"group":"","title":"PlausibleWeb.EmailView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"activation_email.html/1","deprecated":false,"title":"activation_email.html(assigns)","anchor":"activation_email.html/1"},{"id":"approaching_accept_traffic_until.html/1","deprecated":false,"title":"approaching_accept_traffic_until.html(assigns)","anchor":"approaching_accept_traffic_until.html/1"},{"id":"cancellation_email.html/1","deprecated":false,"title":"cancellation_email.html(assigns)","anchor":"cancellation_email.html/1"},{"id":"check_stats_email.html/1","deprecated":false,"title":"check_stats_email.html(assigns)","anchor":"check_stats_email.html/1"},{"id":"create_site_email.html/1","deprecated":false,"title":"create_site_email.html(assigns)","anchor":"create_site_email.html/1"},{"id":"dashboard_locked.html/1","deprecated":false,"title":"dashboard_locked.html(assigns)","anchor":"dashboard_locked.html/1"},{"id":"date_format/1","deprecated":false,"title":"date_format(date)","anchor":"date_format/1"},{"id":"enterprise_over_limit_internal.html/1","deprecated":false,"title":"enterprise_over_limit_internal.html(assigns)","anchor":"enterprise_over_limit_internal.html/1"},{"id":"error_report_email.html/1","deprecated":false,"title":"error_report_email.html(assigns)","anchor":"error_report_email.html/1"},{"id":"existing_user_invitation.html/1","deprecated":false,"title":"existing_user_invitation.html(assigns)","anchor":"existing_user_invitation.html/1"},{"id":"google_analytics_import.html/1","deprecated":false,"title":"google_analytics_import.html(assigns)","anchor":"google_analytics_import.html/1"},{"id":"greet_recipient/1","deprecated":false,"title":"greet_recipient(_)","anchor":"greet_recipient/1"},{"id":"invitation_accepted.html/1","deprecated":false,"title":"invitation_accepted.html(assigns)","anchor":"invitation_accepted.html/1"},{"id":"invitation_rejected.html/1","deprecated":false,"title":"invitation_rejected.html(assigns)","anchor":"invitation_rejected.html/1"},{"id":"new_user_invitation.html/1","deprecated":false,"title":"new_user_invitation.html(assigns)","anchor":"new_user_invitation.html/1"},{"id":"over_limit.html/1","deprecated":false,"title":"over_limit.html(assigns)","anchor":"over_limit.html/1"},{"id":"ownership_transfer_accepted.html/1","deprecated":false,"title":"ownership_transfer_accepted.html(assigns)","anchor":"ownership_transfer_accepted.html/1"},{"id":"ownership_transfer_rejected.html/1","deprecated":false,"title":"ownership_transfer_rejected.html(assigns)","anchor":"ownership_transfer_rejected.html/1"},{"id":"ownership_transfer_request.html/1","deprecated":false,"title":"ownership_transfer_request.html(assigns)","anchor":"ownership_transfer_request.html/1"},{"id":"password_reset_email.html/1","deprecated":false,"title":"password_reset_email.html(assigns)","anchor":"password_reset_email.html/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"sentry_link/2","deprecated":false,"title":"sentry_link(trace_id, dsn \\\\ Sentry.Config.dsn())","anchor":"sentry_link/2"},{"id":"site_member_removed.html/1","deprecated":false,"title":"site_member_removed.html(assigns)","anchor":"site_member_removed.html/1"},{"id":"site_setup_help_email.html/1","deprecated":false,"title":"site_setup_help_email.html(assigns)","anchor":"site_setup_help_email.html/1"},{"id":"site_setup_success_email.html/1","deprecated":false,"title":"site_setup_success_email.html(assigns)","anchor":"site_setup_success_email.html/1"},{"id":"spike_notification.html/1","deprecated":false,"title":"spike_notification.html(assigns)","anchor":"spike_notification.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"trial_one_week_reminder.html/1","deprecated":false,"title":"trial_one_week_reminder.html(assigns)","anchor":"trial_one_week_reminder.html/1"},{"id":"trial_over_email.html/1","deprecated":false,"title":"trial_over_email.html(assigns)","anchor":"trial_over_email.html/1"},{"id":"trial_upgrade_email.html/1","deprecated":false,"title":"trial_upgrade_email.html(assigns)","anchor":"trial_upgrade_email.html/1"},{"id":"two_factor_disabled_email.html/1","deprecated":false,"title":"two_factor_disabled_email.html(assigns)","anchor":"two_factor_disabled_email.html/1"},{"id":"two_factor_enabled_email.html/1","deprecated":false,"title":"two_factor_enabled_email.html(assigns)","anchor":"two_factor_enabled_email.html/1"},{"id":"welcome_email.html/1","deprecated":false,"title":"welcome_email.html(assigns)","anchor":"welcome_email.html/1"},{"id":"yearly_expiration_notification.html/1","deprecated":false,"title":"yearly_expiration_notification.html(assigns)","anchor":"yearly_expiration_notification.html/1"},{"id":"yearly_renewal_notification.html/1","deprecated":false,"title":"yearly_renewal_notification.html(assigns)","anchor":"yearly_renewal_notification.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Endpoint","deprecated":false,"group":"","title":"PlausibleWeb.Endpoint","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"broadcast/3","deprecated":false,"title":"broadcast(topic, event, msg)","anchor":"broadcast/3"},{"id":"broadcast!/3","deprecated":false,"title":"broadcast!(topic, event, msg)","anchor":"broadcast!/3"},{"id":"broadcast_from/4","deprecated":false,"title":"broadcast_from(from, topic, event, msg)","anchor":"broadcast_from/4"},{"id":"broadcast_from!/4","deprecated":false,"title":"broadcast_from!(from, topic, event, msg)","anchor":"broadcast_from!/4"},{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(opts)","anchor":"child_spec/1"},{"id":"config/2","deprecated":false,"title":"config(key, default \\\\ nil)","anchor":"config/2"},{"id":"config_change/2","deprecated":false,"title":"config_change(changed, removed)","anchor":"config_change/2"},{"id":"host/0","deprecated":false,"title":"host()","anchor":"host/0"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"local_broadcast/3","deprecated":false,"title":"local_broadcast(topic, event, msg)","anchor":"local_broadcast/3"},{"id":"local_broadcast_from/4","deprecated":false,"title":"local_broadcast_from(from, topic, event, msg)","anchor":"local_broadcast_from/4"},{"id":"path/1","deprecated":false,"title":"path(path)","anchor":"path/1"},{"id":"runtime_session/2","deprecated":false,"title":"runtime_session(conn, opts)","anchor":"runtime_session/2"},{"id":"runtime_session_opts/0","deprecated":false,"title":"runtime_session_opts()","anchor":"runtime_session_opts/0"},{"id":"script_name/0","deprecated":false,"title":"script_name()","anchor":"script_name/0"},{"id":"secure_cookie?/0","deprecated":false,"title":"secure_cookie?()","anchor":"secure_cookie?/0"},{"id":"server_info/1","deprecated":false,"title":"server_info(scheme)","anchor":"server_info/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"static_integrity/1","deprecated":false,"title":"static_integrity(path)","anchor":"static_integrity/1"},{"id":"static_lookup/1","deprecated":false,"title":"static_lookup(path)","anchor":"static_lookup/1"},{"id":"static_path/1","deprecated":false,"title":"static_path(path)","anchor":"static_path/1"},{"id":"static_url/0","deprecated":false,"title":"static_url()","anchor":"static_url/0"},{"id":"struct_url/0","deprecated":false,"title":"struct_url()","anchor":"struct_url/0"},{"id":"subscribe/2","deprecated":false,"title":"subscribe(topic, opts \\\\ [])","anchor":"subscribe/2"},{"id":"unsubscribe/1","deprecated":false,"title":"unsubscribe(topic)","anchor":"unsubscribe/1"},{"id":"url/0","deprecated":false,"title":"url()","anchor":"url/0"},{"id":"websocket_url/0","deprecated":false,"title":"websocket_url()","anchor":"websocket_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorHelpers","deprecated":false,"group":"","title":"PlausibleWeb.ErrorHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error_tag/2","deprecated":false,"title":"error_tag(assigns, field)","anchor":"error_tag/2"},{"id":"translate_error/1","deprecated":false,"title":"translate_error(arg)","anchor":"translate_error/1"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorReportController","deprecated":false,"group":"","title":"PlausibleWeb.ErrorReportController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"submit_error_report/2","deprecated":false,"title":"submit_error_report(conn, arg2)","anchor":"submit_error_report/2"}],"key":"functions"}]},{"id":"PlausibleWeb.ErrorView","deprecated":false,"group":"","title":"PlausibleWeb.ErrorView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"404_error.html/1","deprecated":false,"title":"404_error.html(assigns)","anchor":"404_error.html/1"},{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"generic_error.html/1","deprecated":false,"title":"generic_error.html(assigns)","anchor":"generic_error.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"server_error.html/1","deprecated":false,"title":"server_error.html(assigns)","anchor":"server_error.html/1"},{"id":"server_error_report_thanks.html/1","deprecated":false,"title":"server_error_report_thanks.html(assigns)","anchor":"server_error_report_thanks.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Favicon","deprecated":false,"group":"","title":"PlausibleWeb.Favicon","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, list)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(_)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.FirstLaunchPlug","deprecated":false,"group":"","title":"PlausibleWeb.FirstLaunchPlug","sections":[]},{"id":"PlausibleWeb.FirstLaunchPlug.Test","deprecated":false,"group":"","title":"PlausibleWeb.FirstLaunchPlug.Test","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"skip/1","deprecated":false,"title":"skip(context)","anchor":"skip/1"}],"key":"functions"}]},{"id":"PlausibleWeb.FormHelpers","deprecated":false,"group":"","title":"PlausibleWeb.FormHelpers","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"styled_error/1","deprecated":false,"title":"styled_error(error)","anchor":"styled_error/1"},{"id":"styled_label/4","deprecated":false,"title":"styled_label(form, field, text, opts \\\\ [])","anchor":"styled_label/4"},{"id":"styled_select/4","deprecated":false,"title":"styled_select(form, field, options, opts \\\\ [])","anchor":"styled_select/4"},{"id":"styled_text_input/3","deprecated":false,"title":"styled_text_input(form, field, opts \\\\ [])","anchor":"styled_text_input/3"}],"key":"functions"}]},{"id":"PlausibleWeb.InvitationController","deprecated":false,"group":"","title":"PlausibleWeb.InvitationController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"accept_invitation/2","deprecated":false,"title":"accept_invitation(conn, map)","anchor":"accept_invitation/2"},{"id":"reject_invitation/2","deprecated":false,"title":"reject_invitation(conn, map)","anchor":"reject_invitation/2"},{"id":"remove_invitation/2","deprecated":false,"title":"remove_invitation(conn, map)","anchor":"remove_invitation/2"}],"key":"functions"}]},{"id":"PlausibleWeb.LastSeenPlug","deprecated":false,"group":"","title":"PlausibleWeb.LastSeenPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.LayoutView","deprecated":false,"group":"","title":"PlausibleWeb.LayoutView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"app.html/1","deprecated":false,"title":"app.html(assigns)","anchor":"app.html/1"},{"id":"base_email.html/1","deprecated":false,"title":"base_email.html(assigns)","anchor":"base_email.html/1"},{"id":"base_error.html/1","deprecated":false,"title":"base_error.html(assigns)","anchor":"base_error.html/1"},{"id":"embedded.html/1","deprecated":false,"title":"embedded.html(assigns)","anchor":"embedded.html/1"},{"id":"feedback_link/1","deprecated":false,"title":"feedback_link(user)","anchor":"feedback_link/1"},{"id":"focus.html/1","deprecated":false,"title":"focus.html(assigns)","anchor":"focus.html/1"},{"id":"grace_period_end/1","deprecated":false,"title":"grace_period_end(user)","anchor":"grace_period_end/1"},{"id":"home_dest/1","deprecated":false,"title":"home_dest(conn)","anchor":"home_dest/1"},{"id":"is_current_tab/2","deprecated":false,"title":"is_current_tab(conn, tab)","anchor":"is_current_tab/2"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"priority_email.html/1","deprecated":false,"title":"priority_email.html(assigns)","anchor":"priority_email.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_layout/3","deprecated":false,"title":"render_layout(layout, assigns, list)","anchor":"render_layout/3"},{"id":"settings_tabs/1","deprecated":false,"title":"settings_tabs(conn)","anchor":"settings_tabs/1"},{"id":"site_settings.html/1","deprecated":false,"title":"site_settings.html(assigns)","anchor":"site_settings.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"trial_notificaton/1","deprecated":false,"title":"trial_notificaton(user)","anchor":"trial_notificaton/1"},{"id":"websocket_url/0","deprecated":false,"title":"websocket_url()","anchor":"websocket_url/0"}],"key":"functions"}]},{"id":"PlausibleWeb.LayoutView.JWT","deprecated":false,"group":"","title":"PlausibleWeb.LayoutView.JWT","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"generate_and_sign/2","deprecated":false,"title":"generate_and_sign(extra_claims \\\\ %{}, key \\\\ __default_signer__())","anchor":"generate_and_sign/2"},{"id":"generate_and_sign!/2","deprecated":false,"title":"generate_and_sign!(extra_claims \\\\ %{}, key \\\\ __default_signer__())","anchor":"generate_and_sign!/2"},{"id":"verify_and_validate/3","deprecated":false,"title":"verify_and_validate(bearer_token, key \\\\ __default_signer__(), context \\\\ %{})","anchor":"verify_and_validate/3"},{"id":"verify_and_validate!/3","deprecated":false,"title":"verify_and_validate!(bearer_token, key \\\\ __default_signer__(), context \\\\ %{})","anchor":"verify_and_validate!/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.ChoosePlan","deprecated":false,"group":"","title":"PlausibleWeb.Live.ChoosePlan","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"two_months_free/1","deprecated":false,"title":"two_months_free(assigns)","anchor":"two_months_free/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.ComboBox","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.ComboBox","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"dropdown/1","deprecated":false,"title":"dropdown(assigns)","anchor":"dropdown/1"},{"id":"dropdown_anchor/1","deprecated":false,"title":"dropdown_anchor(assigns)","anchor":"dropdown_anchor/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, params, socket)","anchor":"handle_event/3"},{"id":"option/1","deprecated":false,"title":"option(assigns)","anchor":"option/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"select_option/4","deprecated":false,"title":"select_option(js \\\\ %JS{}, id, submit_value, display_value)","anchor":"select_option/4"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.ComboBox.StaticSearch","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.ComboBox.StaticSearch","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"suggest/3","deprecated":false,"title":"suggest(input, choices, opts \\\\ [])","anchor":"suggest/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/1","deprecated":false,"title":"error(assigns)","anchor":"error/1"},{"id":"input/1","deprecated":false,"title":"input(assigns)","anchor":"input/1"},{"id":"input_with_clipboard/1","deprecated":false,"title":"input_with_clipboard(assigns)","anchor":"input_with_clipboard/1"},{"id":"label/1","deprecated":false,"title":"label(assigns)","anchor":"label/1"},{"id":"password_input_with_strength/1","deprecated":false,"title":"password_input_with_strength(assigns)","anchor":"password_input_with_strength/1"},{"id":"password_length_hint/1","deprecated":false,"title":"password_length_hint(assigns)","anchor":"password_length_hint/1"},{"id":"strength_meter/1","deprecated":false,"title":"strength_meter(assigns)","anchor":"strength_meter/1"},{"id":"translate_error/1","deprecated":false,"title":"translate_error(arg)","anchor":"translate_error/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Modal","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Modal","sections":[{"id":"Usage","anchor":"module-usage"},{"id":"Explanation","anchor":"module-explanation"}],"nodeGroups":[{"name":"Functions","nodes":[{"id":"close/2","deprecated":false,"title":"close(socket, id)","anchor":"close/2"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Pagination","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"pagination/1","deprecated":false,"title":"pagination(assigns)","anchor":"pagination/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Components.Visitors","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Visitors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"chart/1","deprecated":false,"title":"chart(assigns)","anchor":"chart/1"},{"id":"gradient_defs/1","deprecated":false,"title":"gradient_defs(assigns)","anchor":"gradient_defs/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Flash","deprecated":false,"group":"","title":"PlausibleWeb.Live.Flash","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clear_flash_button/1","deprecated":false,"title":"clear_flash_button(assigns)","anchor":"clear_flash_button/1"},{"id":"flash/1","deprecated":false,"title":"flash(assigns)","anchor":"flash/1"},{"id":"flash_messages/1","deprecated":false,"title":"flash_messages(assigns)","anchor":"flash_messages/1"},{"id":"icon_error/1","deprecated":false,"title":"icon_error(assigns)","anchor":"icon_error/1"},{"id":"icon_success/1","deprecated":false,"title":"icon_success(assigns)","anchor":"icon_success/1"},{"id":"put_live_flash/3","deprecated":false,"title":"put_live_flash(socket, key, message)","anchor":"put_live_flash/3"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_step_button/1","deprecated":false,"title":"add_step_button(assigns)","anchor":"add_step_button/1"},{"id":"evaluation/1","deprecated":false,"title":"evaluation(assigns)","anchor":"evaluation/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"remove_step_button/1","deprecated":false,"title":"remove_step_button(assigns)","anchor":"remove_step_button/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.FunnelSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.FunnelSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"custom_event_fields/1","deprecated":false,"title":"custom_event_fields(assigns)","anchor":"custom_event_fields/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"pageview_fields/1","deprecated":false,"title":"pageview_fields(assigns)","anchor":"pageview_fields/1"},{"id":"pageviews_tab/1","deprecated":false,"title":"pageviews_tab(assigns)","anchor":"pageviews_tab/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"suggest_page_paths/3","deprecated":false,"title":"suggest_page_paths(input, options, site)","anchor":"suggest_page_paths/3"},{"id":"tabs/1","deprecated":false,"title":"tabs(assigns)","anchor":"tabs/1"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.GoalSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.GoalSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Plugins.API.Settings","deprecated":false,"group":"","title":"PlausibleWeb.Live.Plugins.API.Settings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Plugins.API.TokenForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.Plugins.API.TokenForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg1, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings.Form","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings.Form","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.PropsSettings.List","deprecated":false,"group":"","title":"PlausibleWeb.Live.PropsSettings.List","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.RegisterForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.RegisterForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, params, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.ResetPasswordForm","deprecated":false,"group":"","title":"PlausibleWeb.Live.ResetPasswordForm","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.SentryContext","deprecated":false,"group":"","title":"PlausibleWeb.Live.SentryContext","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_mount/4","deprecated":false,"title":"on_mount(atom, params, session, socket)","anchor":"on_mount/4"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Sites","deprecated":false,"group":"","title":"PlausibleWeb.Live.Sites","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ellipsis_menu/1","deprecated":false,"title":"ellipsis_menu(assigns)","anchor":"ellipsis_menu/1"},{"id":"favicon/1","deprecated":false,"title":"favicon(assigns)","anchor":"favicon/1"},{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, arg2, socket)","anchor":"handle_event/3"},{"id":"handle_info/2","deprecated":false,"title":"handle_info(arg, socket)","anchor":"handle_info/2"},{"id":"handle_params/3","deprecated":false,"title":"handle_params(params, uri, socket)","anchor":"handle_params/3"},{"id":"icon_pin/1","deprecated":false,"title":"icon_pin(assigns)","anchor":"icon_pin/1"},{"id":"invitation/1","deprecated":false,"title":"invitation(assigns)","anchor":"invitation/1"},{"id":"invitation_modal/1","deprecated":false,"title":"invitation_modal(assigns)","anchor":"invitation_modal/1"},{"id":"mount/3","deprecated":false,"title":"mount(params, map, socket)","anchor":"mount/3"},{"id":"percentage_change/1","deprecated":false,"title":"percentage_change(assigns)","anchor":"percentage_change/1"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"search_form/1","deprecated":false,"title":"search_form(assigns)","anchor":"search_form/1"},{"id":"site/1","deprecated":false,"title":"site(assigns)","anchor":"site/1"},{"id":"site_stats/1","deprecated":false,"title":"site_stats(assigns)","anchor":"site_stats/1"},{"id":"upgrade_nag_screen/1","deprecated":false,"title":"upgrade_nag_screen(assigns)","anchor":"upgrade_nag_screen/1"}],"key":"functions"}]},{"id":"PlausibleWeb.MJML.StatsReport","deprecated":false,"group":"","title":"PlausibleWeb.MJML.StatsReport","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"debug_mjml_template/0","deprecated":false,"title":"debug_mjml_template()","anchor":"debug_mjml_template/0"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"}],"key":"functions"}]},{"id":"PlausibleWeb.PageController","deprecated":false,"group":"","title":"PlausibleWeb.PageController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"}],"key":"functions"}]},{"id":"PlausibleWeb.PageView","deprecated":false,"group":"","title":"PlausibleWeb.PageView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"index.html/1","deprecated":false,"title":"index.html(assigns)","anchor":"index.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.CustomProps","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.CustomProps","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"disable/2","deprecated":false,"title":"disable(conn, params)","anchor":"disable/2"},{"id":"enable/2","deprecated":false,"title":"enable(conn, params)","anchor":"enable/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.Goals","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Goals","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(conn, params)","anchor":"create/2"},{"id":"delete/2","deprecated":false,"title":"delete(conn, params)","anchor":"delete/2"},{"id":"delete_bulk/2","deprecated":false,"title":"delete_bulk(conn, params)","anchor":"delete_bulk/2"},{"id":"get/2","deprecated":false,"title":"get(conn, params)","anchor":"get/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.SharedLinks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"create/2","deprecated":false,"title":"create(conn, params)","anchor":"create/2"},{"id":"get/2","deprecated":false,"title":"get(conn, params)","anchor":"get/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/2"},{"id":"open_api_operation/1","deprecated":false,"title":"open_api_operation(action)","anchor":"open_api_operation/1"},{"id":"shared_security/0","deprecated":false,"title":"shared_security()","anchor":"shared_security/0"},{"id":"shared_tags/0","deprecated":false,"title":"shared_tags()","anchor":"shared_tags/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Errors","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Errors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"error/3","deprecated":false,"title":"error(conn, status, message)","anchor":"error/3"},{"id":"unauthorized/1","deprecated":false,"title":"unauthorized(conn)","anchor":"unauthorized/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.EnableRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.CustomProp.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Error","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Error","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.CustomEvent","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Pageview","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CreateRequest.Revenue","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.CustomEvent","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.DeleteBulkRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Pageview","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Revenue","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Goal.Type","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Link","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Link","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.NotFound","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.NotFound","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.PaginationMetadata","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.PaymentRequired","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.CreateRequest","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.SharedLink.ListResponse","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Unauthorized","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.UnprocessableEntity","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"schema/0","deprecated":false,"title":"schema()","anchor":"schema/0"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Spec","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Spec","sections":[]},{"id":"PlausibleWeb.Plugins.API.Views.CustomProp","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.CustomProp","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Error","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Error","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Goal","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Goal","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.Pagination","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Pagination","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_metadata_links/4","deprecated":false,"title":"render_metadata_links(meta, helper_fn, helper_fn_args, existing_params \\\\ %{})","anchor":"render_metadata_links/4"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugins.API.Views.SharedLink","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.SharedLink","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]},{"id":"PlausibleWeb.PluginsAPICase","deprecated":false,"group":"","title":"PlausibleWeb.PluginsAPICase","sections":[]},{"id":"PlausibleWeb.Plugs.AuthorizePluginsAPI","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.AuthorizePluginsAPI","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts \\\\ [])","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugs.ErrorHandler","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.ErrorHandler","sections":[]},{"id":"PlausibleWeb.Plugs.MaybeDisableRegistration","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.MaybeDisableRegistration","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Plugs.NoRobots","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.NoRobots","sections":[]},{"id":"PlausibleWeb.RefInspector","deprecated":false,"group":"","title":"PlausibleWeb.RefInspector","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"parse/1","deprecated":false,"title":"parse(ref)","anchor":"parse/1"},{"id":"right_uri?/1","deprecated":false,"title":"right_uri?(arg1)","anchor":"right_uri?/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RemoteIp","deprecated":false,"group":"","title":"PlausibleWeb.RemoteIp","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/1","deprecated":false,"title":"get(conn)","anchor":"get/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RequireAccountPlug","deprecated":false,"group":"","title":"PlausibleWeb.RequireAccountPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.RequireLoggedOutPlug","deprecated":false,"group":"","title":"PlausibleWeb.RequireLoggedOutPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(options)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Router","deprecated":false,"group":"","title":"PlausibleWeb.Router","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"api/2","deprecated":false,"title":"api(conn, _)","anchor":"api/2"},{"id":"app_layout/2","deprecated":false,"title":"app_layout(conn, _)","anchor":"app_layout/2"},{"id":"browser/2","deprecated":false,"title":"browser(conn, _)","anchor":"browser/2"},{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"csrf/2","deprecated":false,"title":"csrf(conn, _)","anchor":"csrf/2"},{"id":"flags/2","deprecated":false,"title":"flags(conn, _)","anchor":"flags/2"},{"id":"focus_layout/2","deprecated":false,"title":"focus_layout(conn, _)","anchor":"focus_layout/2"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"},{"id":"internal_stats_api/2","deprecated":false,"title":"internal_stats_api(conn, _)","anchor":"internal_stats_api/2"},{"id":"kaffy_browser/2","deprecated":false,"title":"kaffy_browser(conn, _)","anchor":"kaffy_browser/2"},{"id":"plugins_api/2","deprecated":false,"title":"plugins_api(conn, _)","anchor":"plugins_api/2"},{"id":"plugins_api_auth/2","deprecated":false,"title":"plugins_api_auth(conn, _)","anchor":"plugins_api_auth/2"},{"id":"public_api/2","deprecated":false,"title":"public_api(conn, _)","anchor":"public_api/2"},{"id":"shared_link/2","deprecated":false,"title":"shared_link(conn, _)","anchor":"shared_link/2"}],"key":"functions"}]},{"id":"PlausibleWeb.SessionTimeoutPlug","deprecated":false,"group":"","title":"PlausibleWeb.SessionTimeoutPlug","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, opts)","anchor":"call/2"},{"id":"init/1","deprecated":false,"title":"init(opts \\\\ [])","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Site.MembershipController","deprecated":false,"group":"","title":"PlausibleWeb.Site.MembershipController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"invite_member/2","deprecated":false,"title":"invite_member(conn, map)","anchor":"invite_member/2"},{"id":"invite_member_form/2","deprecated":false,"title":"invite_member_form(conn, params)","anchor":"invite_member_form/2"},{"id":"remove_member/2","deprecated":false,"title":"remove_member(conn, map)","anchor":"remove_member/2"},{"id":"transfer_ownership/2","deprecated":false,"title":"transfer_ownership(conn, map)","anchor":"transfer_ownership/2"},{"id":"transfer_ownership_form/2","deprecated":false,"title":"transfer_ownership_form(conn, params)","anchor":"transfer_ownership_form/2"},{"id":"update_role/2","deprecated":false,"title":"update_role(conn, map)","anchor":"update_role/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Site.MembershipView","deprecated":false,"group":"","title":"PlausibleWeb.Site.MembershipView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"invite_member_form.html/1","deprecated":false,"title":"invite_member_form.html(assigns)","anchor":"invite_member_form.html/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"transfer_ownership_form.html/1","deprecated":false,"title":"transfer_ownership_form.html(assigns)","anchor":"transfer_ownership_form.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.SiteController","deprecated":false,"group":"","title":"PlausibleWeb.SiteController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_monthly_report_recipient/2","deprecated":false,"title":"add_monthly_report_recipient(conn, map)","anchor":"add_monthly_report_recipient/2"},{"id":"add_snippet/2","deprecated":false,"title":"add_snippet(conn, params)","anchor":"add_snippet/2"},{"id":"add_snippet_after_domain_change/2","deprecated":false,"title":"add_snippet_after_domain_change(conn, params)","anchor":"add_snippet_after_domain_change/2"},{"id":"add_spike_notification_recipient/2","deprecated":false,"title":"add_spike_notification_recipient(conn, map)","anchor":"add_spike_notification_recipient/2"},{"id":"add_weekly_report_recipient/2","deprecated":false,"title":"add_weekly_report_recipient(conn, map)","anchor":"add_weekly_report_recipient/2"},{"id":"change_domain/2","deprecated":false,"title":"change_domain(conn, params)","anchor":"change_domain/2"},{"id":"change_domain_submit/2","deprecated":false,"title":"change_domain_submit(conn, map)","anchor":"change_domain_submit/2"},{"id":"create_shared_link/2","deprecated":false,"title":"create_shared_link(conn, map)","anchor":"create_shared_link/2"},{"id":"create_site/2","deprecated":false,"title":"create_site(conn, map)","anchor":"create_site/2"},{"id":"delete_google_auth/2","deprecated":false,"title":"delete_google_auth(conn, params)","anchor":"delete_google_auth/2"},{"id":"delete_shared_link/2","deprecated":false,"title":"delete_shared_link(conn, map)","anchor":"delete_shared_link/2"},{"id":"delete_site/2","deprecated":false,"title":"delete_site(conn, params)","anchor":"delete_site/2"},{"id":"disable_monthly_report/2","deprecated":false,"title":"disable_monthly_report(conn, params)","anchor":"disable_monthly_report/2"},{"id":"disable_spike_notification/2","deprecated":false,"title":"disable_spike_notification(conn, params)","anchor":"disable_spike_notification/2"},{"id":"disable_weekly_report/2","deprecated":false,"title":"disable_weekly_report(conn, params)","anchor":"disable_weekly_report/2"},{"id":"edit_shared_link/2","deprecated":false,"title":"edit_shared_link(conn, map)","anchor":"edit_shared_link/2"},{"id":"enable_monthly_report/2","deprecated":false,"title":"enable_monthly_report(conn, params)","anchor":"enable_monthly_report/2"},{"id":"enable_spike_notification/2","deprecated":false,"title":"enable_spike_notification(conn, params)","anchor":"enable_spike_notification/2"},{"id":"enable_weekly_report/2","deprecated":false,"title":"enable_weekly_report(conn, params)","anchor":"enable_weekly_report/2"},{"id":"forget_imported/2","deprecated":false,"title":"forget_imported(conn, params)","anchor":"forget_imported/2"},{"id":"import_from_google/2","deprecated":false,"title":"import_from_google(conn, map)","anchor":"import_from_google/2"},{"id":"import_from_google_confirm/2","deprecated":false,"title":"import_from_google_confirm(conn, map)","anchor":"import_from_google_confirm/2"},{"id":"import_from_google_user_metric_notice/2","deprecated":false,"title":"import_from_google_user_metric_notice(conn, map)","anchor":"import_from_google_user_metric_notice/2"},{"id":"import_from_google_view_id/2","deprecated":false,"title":"import_from_google_view_id(conn, map)","anchor":"import_from_google_view_id/2"},{"id":"import_from_google_view_id_form/2","deprecated":false,"title":"import_from_google_view_id_form(conn, map)","anchor":"import_from_google_view_id_form/2"},{"id":"make_private/2","deprecated":false,"title":"make_private(conn, params)","anchor":"make_private/2"},{"id":"make_public/2","deprecated":false,"title":"make_public(conn, params)","anchor":"make_public/2"},{"id":"new/2","deprecated":false,"title":"new(conn, params)","anchor":"new/2"},{"id":"new_shared_link/2","deprecated":false,"title":"new_shared_link(conn, params)","anchor":"new_shared_link/2"},{"id":"remove_monthly_report_recipient/2","deprecated":false,"title":"remove_monthly_report_recipient(conn, map)","anchor":"remove_monthly_report_recipient/2"},{"id":"remove_spike_notification_recipient/2","deprecated":false,"title":"remove_spike_notification_recipient(conn, map)","anchor":"remove_spike_notification_recipient/2"},{"id":"remove_weekly_report_recipient/2","deprecated":false,"title":"remove_weekly_report_recipient(conn, map)","anchor":"remove_weekly_report_recipient/2"},{"id":"reset_stats/2","deprecated":false,"title":"reset_stats(conn, params)","anchor":"reset_stats/2"},{"id":"settings/2","deprecated":false,"title":"settings(conn, map)","anchor":"settings/2"},{"id":"settings_danger_zone/2","deprecated":false,"title":"settings_danger_zone(conn, params)","anchor":"settings_danger_zone/2"},{"id":"settings_email_reports/2","deprecated":false,"title":"settings_email_reports(conn, params)","anchor":"settings_email_reports/2"},{"id":"settings_funnels/2","deprecated":false,"title":"settings_funnels(conn, params)","anchor":"settings_funnels/2"},{"id":"settings_general/2","deprecated":false,"title":"settings_general(conn, params)","anchor":"settings_general/2"},{"id":"settings_goals/2","deprecated":false,"title":"settings_goals(conn, params)","anchor":"settings_goals/2"},{"id":"settings_integrations/2","deprecated":false,"title":"settings_integrations(conn, params)","anchor":"settings_integrations/2"},{"id":"settings_people/2","deprecated":false,"title":"settings_people(conn, params)","anchor":"settings_people/2"},{"id":"settings_props/2","deprecated":false,"title":"settings_props(conn, params)","anchor":"settings_props/2"},{"id":"settings_visibility/2","deprecated":false,"title":"settings_visibility(conn, params)","anchor":"settings_visibility/2"},{"id":"update_feature_visibility/2","deprecated":false,"title":"update_feature_visibility(conn, map)","anchor":"update_feature_visibility/2"},{"id":"update_google_auth/2","deprecated":false,"title":"update_google_auth(conn, map)","anchor":"update_google_auth/2"},{"id":"update_settings/2","deprecated":false,"title":"update_settings(conn, map)","anchor":"update_settings/2"},{"id":"update_shared_link/2","deprecated":false,"title":"update_shared_link(conn, map)","anchor":"update_shared_link/2"},{"id":"update_spike_notification/2","deprecated":false,"title":"update_spike_notification(conn, map)","anchor":"update_spike_notification/2"}],"key":"functions"}]},{"id":"PlausibleWeb.SiteView","deprecated":false,"group":"","title":"PlausibleWeb.SiteView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"change_domain.html/1","deprecated":false,"title":"change_domain.html(assigns)","anchor":"change_domain.html/1"},{"id":"edit_shared_link.html/1","deprecated":false,"title":"edit_shared_link.html(assigns)","anchor":"edit_shared_link.html/1"},{"id":"import_from_google_confirm.html/1","deprecated":false,"title":"import_from_google_confirm.html(assigns)","anchor":"import_from_google_confirm.html/1"},{"id":"import_from_google_user_metric_form.html/1","deprecated":false,"title":"import_from_google_user_metric_form.html(assigns)","anchor":"import_from_google_user_metric_form.html/1"},{"id":"import_from_google_view_id_form.html/1","deprecated":false,"title":"import_from_google_view_id_form.html(assigns)","anchor":"import_from_google_view_id_form.html/1"},{"id":"new.html/1","deprecated":false,"title":"new.html(assigns)","anchor":"new.html/1"},{"id":"new_shared_link.html/1","deprecated":false,"title":"new_shared_link.html(assigns)","anchor":"new_shared_link.html/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"render_snippet/1","deprecated":false,"title":"render_snippet(site)","anchor":"render_snippet/1"},{"id":"settings_danger_zone.html/1","deprecated":false,"title":"settings_danger_zone.html(assigns)","anchor":"settings_danger_zone.html/1"},{"id":"settings_email_reports.html/1","deprecated":false,"title":"settings_email_reports.html(assigns)","anchor":"settings_email_reports.html/1"},{"id":"settings_funnels.html/1","deprecated":false,"title":"settings_funnels.html(assigns)","anchor":"settings_funnels.html/1"},{"id":"settings_general.html/1","deprecated":false,"title":"settings_general.html(assigns)","anchor":"settings_general.html/1"},{"id":"settings_goals.html/1","deprecated":false,"title":"settings_goals.html(assigns)","anchor":"settings_goals.html/1"},{"id":"settings_google_import.html/1","deprecated":false,"title":"settings_google_import.html(assigns)","anchor":"settings_google_import.html/1"},{"id":"settings_integrations.html/1","deprecated":false,"title":"settings_integrations.html(assigns)","anchor":"settings_integrations.html/1"},{"id":"settings_people.html/1","deprecated":false,"title":"settings_people.html(assigns)","anchor":"settings_people.html/1"},{"id":"settings_props.html/1","deprecated":false,"title":"settings_props.html(assigns)","anchor":"settings_props.html/1"},{"id":"settings_search_console.html/1","deprecated":false,"title":"settings_search_console.html(assigns)","anchor":"settings_search_console.html/1"},{"id":"settings_visibility.html/1","deprecated":false,"title":"settings_visibility.html(assigns)","anchor":"settings_visibility.html/1"},{"id":"shared_link_dest/2","deprecated":false,"title":"shared_link_dest(site, link)","anchor":"shared_link_dest/2"},{"id":"snippet.html/1","deprecated":false,"title":"snippet.html(assigns)","anchor":"snippet.html/1"},{"id":"snippet_after_domain_change.html/1","deprecated":false,"title":"snippet_after_domain_change.html(assigns)","anchor":"snippet_after_domain_change.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"with_indefinite_article/1","deprecated":false,"title":"with_indefinite_article(word)","anchor":"with_indefinite_article/1"}],"key":"functions"}]},{"id":"PlausibleWeb.StatsController","deprecated":false,"group":"","title":"PlausibleWeb.StatsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"authenticate_shared_link/2","deprecated":false,"title":"authenticate_shared_link(conn, map)","anchor":"authenticate_shared_link/2"},{"id":"csv_export/2","deprecated":false,"title":"csv_export(conn, params)","anchor":"csv_export/2"},{"id":"shared_link/2","deprecated":false,"title":"shared_link(conn, arg2)","anchor":"shared_link/2"},{"id":"stats/2","deprecated":false,"title":"stats(conn, params)","anchor":"stats/2"}],"key":"functions"}]},{"id":"PlausibleWeb.StatsView","deprecated":false,"group":"","title":"PlausibleWeb.StatsView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"large_number_format/1","deprecated":false,"title":"large_number_format(n)","anchor":"large_number_format/1"},{"id":"plausible_url/0","deprecated":false,"title":"plausible_url()","anchor":"plausible_url/0"},{"id":"pretty_stats_url/1","deprecated":false,"title":"pretty_stats_url(arg)","anchor":"pretty_stats_url/1"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"shared_link_password.html/1","deprecated":false,"title":"shared_link_password.html(assigns)","anchor":"shared_link_password.html/1"},{"id":"site_locked.html/1","deprecated":false,"title":"site_locked.html(assigns)","anchor":"site_locked.html/1"},{"id":"stats.html/1","deprecated":false,"title":"stats.html(assigns)","anchor":"stats.html/1"},{"id":"stats_container_class/1","deprecated":false,"title":"stats_container_class(conn)","anchor":"stats_container_class/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"},{"id":"waiting_first_pageview.html/1","deprecated":false,"title":"waiting_first_pageview.html(assigns)","anchor":"waiting_first_pageview.html/1"}],"key":"functions"}]},{"id":"PlausibleWeb.Tracker","deprecated":false,"group":"","title":"PlausibleWeb.Tracker","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"call/2","deprecated":false,"title":"call(conn, list)","anchor":"call/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(arg)","anchor":"child_spec/1"},{"id":"init/1","deprecated":false,"title":"init(opts)","anchor":"init/1"}],"key":"functions"}]},{"id":"PlausibleWeb.TwoFactor.Session","deprecated":false,"group":"","title":"PlausibleWeb.TwoFactor.Session","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clear_2fa_user/1","deprecated":false,"title":"clear_2fa_user(conn)","anchor":"clear_2fa_user/1"},{"id":"clear_remember_2fa/1","deprecated":false,"title":"clear_remember_2fa(conn)","anchor":"clear_remember_2fa/1"},{"id":"get_2fa_user/1","deprecated":false,"title":"get_2fa_user(conn)","anchor":"get_2fa_user/1"},{"id":"maybe_set_remember_2fa/3","deprecated":false,"title":"maybe_set_remember_2fa(conn, user, arg3)","anchor":"maybe_set_remember_2fa/3"},{"id":"remember_2fa?/2","deprecated":false,"title":"remember_2fa?(conn, user)","anchor":"remember_2fa?/2"},{"id":"remember_2fa_days/0","deprecated":false,"title":"remember_2fa_days()","anchor":"remember_2fa_days/0"},{"id":"set_2fa_user/2","deprecated":false,"title":"set_2fa_user(conn, user)","anchor":"set_2fa_user/2"}],"key":"functions"}]},{"id":"PlausibleWeb.UnsubscribeController","deprecated":false,"group":"","title":"PlausibleWeb.UnsubscribeController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"monthly_report/2","deprecated":false,"title":"monthly_report(conn, map)","anchor":"monthly_report/2"},{"id":"weekly_report/2","deprecated":false,"title":"weekly_report(conn, map)","anchor":"weekly_report/2"}],"key":"functions"}]},{"id":"PlausibleWeb.UnsubscribeView","deprecated":false,"group":"","title":"PlausibleWeb.UnsubscribeView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"render/2","deprecated":false,"title":"render(template, assigns \\\\ %{})","anchor":"render/2"},{"id":"success.html/1","deprecated":false,"title":"success.html(assigns)","anchor":"success.html/1"},{"id":"template_not_found/2","deprecated":false,"title":"template_not_found(template, assigns)","anchor":"template_not_found/2"}],"key":"functions"}]}],"extras":[{"id":"api-reference","group":"","title":"API Reference","headers":[{"id":"Modules","anchor":"modules"},{"id":"Mix Tasks","anchor":"mix-tasks"}]},{"id":"readme","group":"","title":"Introduction","headers":[{"id":"Why Plausible?","anchor":"why-plausible"},{"id":"Why is Plausible Analytics Cloud not free like Google Analytics?","anchor":"why-is-plausible-analytics-cloud-not-free-like-google-analytics"},{"id":"Getting started with Plausible","anchor":"getting-started-with-plausible"},{"id":"Technology","anchor":"technology"},{"id":"Contributors","anchor":"contributors"},{"id":"Feedback & Roadmap","anchor":"feedback-roadmap"},{"id":"License & Trademarks","anchor":"license-trademarks"}]},{"id":"contributing","group":"","title":"Contributing","headers":[{"id":"Development setup","anchor":"development-setup"},{"id":"Finding a task","anchor":"finding-a-task"}]}],"tasks":[{"id":"Mix.Tasks.CancelSubscription","deprecated":false,"group":"","title":"mix cancel_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(list)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.CleanClickhouse","deprecated":false,"group":"","title":"mix clean_clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.CreateFreeSubscription","deprecated":false,"group":"","title":"mix create_free_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"execute/1","deprecated":false,"title":"execute(user_id)","anchor":"execute/1"},{"id":"run/1","deprecated":false,"title":"run(arg1)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.DownloadCountryDatabase","deprecated":false,"group":"","title":"mix download_country_database","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.GenerateReferrerFavicons","deprecated":false,"group":"","title":"mix generate_referrer_favicons","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(_)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.PullSandboxSubscription","deprecated":false,"group":"","title":"mix pull_sandbox_subscription","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(list)","anchor":"run/1"}],"key":"functions"}]},{"id":"Mix.Tasks.SendPageview","deprecated":false,"group":"","title":"mix send_pageview","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(opts)","anchor":"run/1"}],"key":"functions"}]}]} \ No newline at end of file diff --git a/readme.html b/readme.html index 2e570cc59..335b54d4e 100644 --- a/readme.html +++ b/readme.html @@ -14,7 +14,7 @@ - + diff --git a/search.html b/search.html index c828bae45..df6f2a562 100644 --- a/search.html +++ b/search.html @@ -16,7 +16,7 @@ - + @@ -138,7 +138,7 @@ Pages
    - +