diff --git a/.build b/.build index 5ff65aabb..3a8183262 100644 --- a/.build +++ b/.build @@ -423,7 +423,7 @@ dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2 dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2 dist/remixicon-NKANDIL5.woff2 dist/search_data-CB6664DA.js -dist/sidebar_items-BFDCF64D.js +dist/sidebar_items-58316C0C.js index.html readme.html search.html diff --git a/404.html b/404.html index 6ca687654..34731d5b6 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - + diff --git a/Mix.Tasks.CancelSubscription.html b/Mix.Tasks.CancelSubscription.html index 072d1ab8d..67f751d6b 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 7282f6fe6..ba382fbc8 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 b9567c8cb..a5a0cbf49 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 786f42802..a26ebc20e 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 c73992dc6..fbee2143c 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 738ea1edc..bf2ab553f 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 97980ccce..759fef034 100644 --- a/Mix.Tasks.SendPageview.html +++ b/Mix.Tasks.SendPageview.html @@ -14,7 +14,7 @@ - + diff --git a/ObanErrorReporter.html b/ObanErrorReporter.html index abec978a8..839ee884f 100644 --- a/ObanErrorReporter.html +++ b/ObanErrorReporter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.AsyncInsertRepo.html b/Plausible.AsyncInsertRepo.html index 629167649..3ae0f9bea 100644 --- a/Plausible.AsyncInsertRepo.html +++ b/Plausible.AsyncInsertRepo.html @@ -14,7 +14,7 @@ - + @@ -1153,23 +1153,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 6d9737f7c..cc349a0ec 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 81d45cfd3..97e966ebe 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 c06c0a281..a316ce7e6 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 5d976f0c4..22f5fdb59 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 cf5601100..b56b5bb14 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 6fe81c318..33fc820d4 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 72fd1e408..95c5b1233 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 c1b2d6f94..e2a196f28 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 40e174da4..6477c8c5a 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 1963a0fcb..39918467e 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 443e10bfb..84ff64cb3 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 4ed086b8d..62e0c4b36 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 16b9cdcbb..f0dfce9ad 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 bdaf174f1..e534186f0 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 96b7c6307..1debfa02f 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 8f6a8524a..50dc49a8f 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 419db6564..ff062fd07 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 9c1f84a50..fefecec6f 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 46a9475c3..df9d3c386 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 8934d6b49..fc867f5ce 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 a203a15e1..1c08fc016 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 bf0d353d1..a90b3197d 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 df3d16a3c..c3a72181e 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 f7793bb8d..d38f9e8ca 100644 --- a/Plausible.Billing.Quota.html +++ b/Plausible.Billing.Quota.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Billing.SiteLocker.html b/Plausible.Billing.SiteLocker.html index a44c9cf30..04ff7336e 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 155475168..77f4461af 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 227799271..c852b163e 100644 --- a/Plausible.Billing.html +++ b/Plausible.Billing.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cache.Adapter.html b/Plausible.Cache.Adapter.html index e1186d9b5..84f323945 100644 --- a/Plausible.Cache.Adapter.html +++ b/Plausible.Cache.Adapter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cache.Stats.html b/Plausible.Cache.Stats.html index ca37fc7dc..77d644aff 100644 --- a/Plausible.Cache.Stats.html +++ b/Plausible.Cache.Stats.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Cache.Warmer.html b/Plausible.Cache.Warmer.html index 09f0157db..5e1bf325d 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 cc58b8cad..5179e8c6c 100644 --- a/Plausible.Cache.html +++ b/Plausible.Cache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ChangesetHelpers.html b/Plausible.ChangesetHelpers.html index 80c44102d..f3e5148a2 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 3fb58fd9a..e92898c68 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: []
- }}
+   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("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"}}
+
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 @@ with 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: []
-    }}
- ]}
+      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("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{
+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 @@ with 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 474ec752b..fc75872e9 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 c9418ed5f..a54d44e33 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 bde796559..2d80d8ab2 100644 --- a/Plausible.Cldr.Number.Cardinal.html +++ b/Plausible.Cldr.Number.Cardinal.html @@ -14,7 +14,7 @@ - + @@ -461,31 +461,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 547c87f6e..1cb3c3772 100644 --- a/Plausible.Cldr.Number.Format.html +++ b/Plausible.Cldr.Number.Format.html @@ -14,7 +14,7 @@ - + @@ -465,7 +465,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¤)",
@@ -475,7 +475,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 ¤", ...]
@@ -523,8 +523,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",
@@ -532,7 +532,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"]}
@@ -585,8 +585,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}}}
@@ -642,8 +642,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}}
@@ -700,18 +700,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 ¤"]}], ... }
@@ -802,8 +802,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}
@@ -855,7 +855,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 553917001..b27bd9bf7 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 f2f46f713..a7b9d88bf 100644 --- a/Plausible.Cldr.Number.Ordinal.html +++ b/Plausible.Cldr.Number.Ordinal.html @@ -14,7 +14,7 @@ - + @@ -464,31 +464,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 fac544a10..c157daba6 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 75f38913d..3d8148a21 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 eaa403dd8..a1c1638a4 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"}}
@@ -614,20 +614,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.

@@ -674,16 +674,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 39c458bc0..161c15249 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 1995c67a6..47f9d9052 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:

    iex> Plausible.Cldr.Number.to_string(12345, format: "0#")
-    {:error, {Cldr.FormatCompileError,
-      "Decimal format compiler: syntax error before: \"#\""}}
    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 811bea16c..9a01aed94 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 acc73dac4..3931cc6a4 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 444249b5f..12c1eab3d 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 edbb0ed9e..d77e691f5 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,18 +1294,18 @@ 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")
-{
+iex> Plausible.Cldr.put_gettext_locale(~l"de")
+{
   :error,
-  {
+  {
     Cldr.UnknownLocaleError,
     "Locale TestBackend.Cldr.Locale.new!(\"de-DE\") does not map to a known gettext locale name"
-  }
-}
+
} +}
@@ -1349,29 +1349,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"}}
@@ -1420,10 +1420,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」"
@@ -1554,47 +1554,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"}}
@@ -1664,23 +1664,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 87ea273d8..fbe2dcf3f 100644 --- a/Plausible.ClickhouseEventV2.html +++ b/Plausible.ClickhouseEventV2.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ClickhouseRepo.html b/Plausible.ClickhouseRepo.html index 7248ef867..90cf8f993 100644 --- a/Plausible.ClickhouseRepo.html +++ b/Plausible.ClickhouseRepo.html @@ -14,7 +14,7 @@ - + @@ -855,23 +855,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 95e6c4b4e..51ca3266f 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 41de41f05..7657167e0 100644 --- a/Plausible.ClickhouseSessionV2.html +++ b/Plausible.ClickhouseSessionV2.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.ConfigHelpers.html b/Plausible.ConfigHelpers.html index 21fb46d0f..0e747c2e2 100644 --- a/Plausible.ConfigHelpers.html +++ b/Plausible.ConfigHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.CrmExtensions.html b/Plausible.CrmExtensions.html index 8af56f864..a7927591b 100644 --- a/Plausible.CrmExtensions.html +++ b/Plausible.CrmExtensions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataCase.html b/Plausible.DataCase.html index 29b4f8545..67c9bd944 100644 --- a/Plausible.DataCase.html +++ b/Plausible.DataCase.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.CleanUpDemoSiteReferrerSource.html b/Plausible.DataMigration.CleanUpDemoSiteReferrerSource.html index b99c1b21d..e0bffba59 100644 --- a/Plausible.DataMigration.CleanUpDemoSiteReferrerSource.html +++ b/Plausible.DataMigration.CleanUpDemoSiteReferrerSource.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.NumericIDs.html b/Plausible.DataMigration.NumericIDs.html index 6fa72eded..3085f251f 100644 --- a/Plausible.DataMigration.NumericIDs.html +++ b/Plausible.DataMigration.NumericIDs.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.PopulateEventSessionColumns.html b/Plausible.DataMigration.PopulateEventSessionColumns.html index 4aa70eddd..230f1d7c6 100644 --- a/Plausible.DataMigration.PopulateEventSessionColumns.html +++ b/Plausible.DataMigration.PopulateEventSessionColumns.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.Repo.html b/Plausible.DataMigration.Repo.html index 936542a23..580f25a02 100644 --- a/Plausible.DataMigration.Repo.html +++ b/Plausible.DataMigration.Repo.html @@ -14,7 +14,7 @@ - + @@ -1162,23 +1162,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.SiteImports.html b/Plausible.DataMigration.SiteImports.html index b97d5753c..5dc6a1b0b 100644 --- a/Plausible.DataMigration.SiteImports.html +++ b/Plausible.DataMigration.SiteImports.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.VersionedSessions.html b/Plausible.DataMigration.VersionedSessions.html index e291e84d7..64d5de4e3 100644 --- a/Plausible.DataMigration.VersionedSessions.html +++ b/Plausible.DataMigration.VersionedSessions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DataMigration.html b/Plausible.DataMigration.html index 55a7a6f64..a5787dd5e 100644 --- a/Plausible.DataMigration.html +++ b/Plausible.DataMigration.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.DebugReplayInfo.html b/Plausible.DebugReplayInfo.html index d9c25a59a..fda25e779 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 09f0a7333..38c1d4ede 100644 --- a/Plausible.Ecto.EventName.html +++ b/Plausible.Ecto.EventName.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Ecto.Types.CompiledRegex.html b/Plausible.Ecto.Types.CompiledRegex.html index 338281281..3f490c160 100644 --- a/Plausible.Ecto.Types.CompiledRegex.html +++ b/Plausible.Ecto.Types.CompiledRegex.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Exports.html b/Plausible.Exports.html index 6525137dc..af7e68e90 100644 --- a/Plausible.Exports.html +++ b/Plausible.Exports.html @@ -14,7 +14,7 @@ - + @@ -381,7 +381,7 @@ tables into the format of imported_* tables for a we
-

Renders export archive filename.

Examples:

iex> archive_filename("plausible.io", _created_on = ~D[2024-12-31])
+

Renders export archive filename.

Examples:

iex> archive_filename("plausible.io", _created_on = ~D[2024-12-31])
 "plausible_io_20241231.zip"
@@ -404,10 +404,10 @@ tables into the format of imported_* tables for a we
-

Safely renders content disposition for an arbitrary export filename.

Examples:

iex> content_disposition("plausible_io_20241231.zip")
+

Safely renders content disposition for an arbitrary export filename.

Examples:

iex> content_disposition("plausible_io_20241231.zip")
 "attachment; filename=\"plausible_io_20241231.zip\""
 
-iex> content_disposition("📊.zip")
+iex> content_disposition("📊.zip")
 "attachment; filename=\"plausible-export.zip\"; filename*=utf-8''%F0%9F%93%8A.zip"
@@ -726,14 +726,14 @@ tables into the format of imported_* tables for a we -

Creates a streamable Zip archive from the provided (named) Ecto queries.

Example usage:

{:ok, pool} = Ch.start_link(pool_size: 1)
+

Creates a streamable Zip archive from the provided (named) Ecto queries.

Example usage:

{:ok, pool} = Ch.start_link(pool_size: 1)
 
-DBConnection.run(pool, fn conn ->
+DBConnection.run(pool, fn conn ->
   conn
-  |> stream_archive(export_queries(_site_id = 1), format: "CSVWithNames")
-  |> Stream.into(File.stream!("export.zip"))
-  |> Stream.run()
-end)
+
|> stream_archive(export_queries(_site_id = 1), format: "CSVWithNames") + |> Stream.into(File.stream!("export.zip")) + |> Stream.run() +end)
diff --git a/Plausible.Factory.html b/Plausible.Factory.html index fc2213fda..7b8f1b143 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 dbdcbffe4..042909a63 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 df7662a9c..39c27de74 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 629f74669..fe7589db8 100644 --- a/Plausible.Funnel.html +++ b/Plausible.Funnel.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Funnels.html b/Plausible.Funnels.html index e2a0987e9..88e13df04 100644 --- a/Plausible.Funnels.html +++ b/Plausible.Funnels.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Geo.html b/Plausible.Geo.html index c08cffe2a..82eed9ff1 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"
@@ -302,8 +302,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
@@ -332,21 +332,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",
@@ -355,12 +355,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", @@ -369,20 +369,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", @@ -391,13 +391,13 @@ asynchronously.

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

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

+
} + } + ] +}
diff --git a/Plausible.Goal.Revenue.html b/Plausible.Goal.Revenue.html index 1860b7f16..d1de05512 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 a6edd875c..bc3b86f25 100644 --- a/Plausible.Goal.html +++ b/Plausible.Goal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Goals.html b/Plausible.Goals.html index 51be2ffef..f0661261f 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 2963744d9..cab45d1ba 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 0eb29fc58..683ab5aca 100644 --- a/Plausible.Google.API.html +++ b/Plausible.Google.API.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.GA4.API.html b/Plausible.Google.GA4.API.html index 07b1c7479..99d32380c 100644 --- a/Plausible.Google.GA4.API.html +++ b/Plausible.Google.GA4.API.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.GA4.HTTP.html b/Plausible.Google.GA4.HTTP.html index 942821e9f..436dbe2dc 100644 --- a/Plausible.Google.GA4.HTTP.html +++ b/Plausible.Google.GA4.HTTP.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.GA4.ReportRequest.html b/Plausible.Google.GA4.ReportRequest.html index c587e82ba..3fac2a2c8 100644 --- a/Plausible.Google.GA4.ReportRequest.html +++ b/Plausible.Google.GA4.ReportRequest.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Google.HTTP.html b/Plausible.Google.HTTP.html index 044fe49ee..0ace38655 100644 --- a/Plausible.Google.HTTP.html +++ b/Plausible.Google.HTTP.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HTTPClient.Interface.html b/Plausible.HTTPClient.Interface.html index 19f481605..195347d59 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 5f4a2f6ae..22bae684e 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 ec5f937d8..604e27b98 100644 --- a/Plausible.HTTPClient.html +++ b/Plausible.HTTPClient.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HelpScout.Vault.html b/Plausible.HelpScout.Vault.html index 4a9f6da9e..d2c636601 100644 --- a/Plausible.HelpScout.Vault.html +++ b/Plausible.HelpScout.Vault.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.HelpScout.html b/Plausible.HelpScout.html index 92c8509d7..35f599609 100644 --- a/Plausible.HelpScout.html +++ b/Plausible.HelpScout.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Helpers.JSON.html b/Plausible.Helpers.JSON.html index 159e1d9c8..0f09cddeb 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 97bed5497..6a82d9c25 100644 --- a/Plausible.ImportDeletionRepo.html +++ b/Plausible.ImportDeletionRepo.html @@ -14,7 +14,7 @@ - + @@ -1153,23 +1153,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 2d52608fb..84be9ae27 100644 --- a/Plausible.Imported.Buffer.html +++ b/Plausible.Imported.Buffer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.CSVImporter.html b/Plausible.Imported.CSVImporter.html index bd0f1687c..909394ee2 100644 --- a/Plausible.Imported.CSVImporter.html +++ b/Plausible.Imported.CSVImporter.html @@ -14,7 +14,7 @@ - + @@ -257,13 +257,13 @@ or from local storage for which it uses iex> date_range([ -...> %{"filename" => "imported_devices_20190101_20210101.csv"}, +

Extracts min/max date range from a list of uploads.

Examples:

iex> date_range([
+...>   %{"filename" => "imported_devices_20190101_20210101.csv"},
 ...>   "pages_20200101_20220101.csv"
-...> ])
-Date.range(~D[2019-01-01], ~D[2022-01-01])
+...> ])
+Date.range(~D[2019-01-01], ~D[2022-01-01])
 
-iex> date_range([])
+iex> date_range([])
 nil
@@ -292,13 +292,13 @@ or from local storage for which it uses iex> extract_table("my_data.csv") +

Extracts the table name from the provided filename.

Raises if the filename doesn't conform to the expected format.

Examples:

iex> extract_table("my_data.csv")
 ** (ArgumentError) invalid filename
 
-iex> extract_table("imported_devices_00010101_20250101.csv")
+iex> extract_table("imported_devices_00010101_20250101.csv")
 "imported_devices"
 
-iex> extract_table("devices_00010101_20250101.csv")
+iex> extract_table("devices_00010101_20250101.csv")
 "imported_devices"
@@ -321,8 +321,8 @@ or from local storage for which it uses
-

Returns local directory for CSV imports storage.

Builds upon $DATA_DIR or $PERSISTENT_CACHE_DIR (if set) and falls back to /tmp

Examples:

iex> local_dir = local_dir(_site_id = 37)
-iex> String.ends_with?(local_dir, "/plausible-imports/37")
+

Returns local directory for CSV imports storage.

Builds upon $DATA_DIR or $PERSISTENT_CACHE_DIR (if set) and falls back to /tmp

Examples:

iex> local_dir = local_dir(_site_id = 37)
+iex> String.ends_with?(local_dir, "/plausible-imports/37")
 true
@@ -382,14 +382,14 @@ or from local storage for which it uses
iex> parse_filename!("my_data.csv") +

Extracts table name and min/max dates from the filename.

Examples:

iex> parse_filename!("my_data.csv")
 ** (ArgumentError) invalid filename
 
-iex> parse_filename!("imported_devices_00010101_20250101.csv")
-{"imported_devices", ~D[0001-01-01], ~D[2025-01-01]}
+iex> parse_filename!("imported_devices_00010101_20250101.csv")
+{"imported_devices", ~D[0001-01-01], ~D[2025-01-01]}
 
-iex> parse_filename!("devices_00010101_20250101.csv")
-{"imported_devices", ~D[0001-01-01], ~D[2025-01-01]}
+
iex> parse_filename!("devices_00010101_20250101.csv") +{"imported_devices", ~D[0001-01-01], ~D[2025-01-01]}
@@ -417,13 +417,13 @@ or from local storage for which it uses iex> valid_filename?("my_data.csv") +

Checks if the provided filename conforms to the expected format.

Examples:

iex> valid_filename?("my_data.csv")
 false
 
-iex> valid_filename?("imported_devices_00010101_20250101.csv")
+iex> valid_filename?("imported_devices_00010101_20250101.csv")
 true
 
-iex> valid_filename?("devices_00010101_20250101.csv")
+iex> valid_filename?("devices_00010101_20250101.csv")
 true
diff --git a/Plausible.Imported.GoogleAnalytics4.html b/Plausible.Imported.GoogleAnalytics4.html index dce265933..24197d137 100644 --- a/Plausible.Imported.GoogleAnalytics4.html +++ b/Plausible.Imported.GoogleAnalytics4.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.ImportSources.html b/Plausible.Imported.ImportSources.html index eb0f26938..43f41a9c2 100644 --- a/Plausible.Imported.ImportSources.html +++ b/Plausible.Imported.ImportSources.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.Importer.html b/Plausible.Imported.Importer.html index 16c42fa27..353305ab2 100644 --- a/Plausible.Imported.Importer.html +++ b/Plausible.Imported.Importer.html @@ -14,7 +14,7 @@ - + @@ -183,30 +183,30 @@ scope of importer logic and is expected to be implemented separately.

In case it's necessary to run the whole import job fully synchronously, the Plausible.Workers.ImportAnalytics worker sends an Oban.Notifier message -on completion, failure or transient failure of the import.

A basic usage scenario looks like this:

{:ok, job} = Plausible.Imported.NoopImporter.new_import(
+on completion, failure or transient failure of the import.

A basic usage scenario looks like this:

{:ok, job} = Plausible.Imported.NoopImporter.new_import(
   site,
   user,
   start_date: ~D[2005-01-01],
-  end_date: Date.utc_today(),
+  end_date: Date.utc_today(),
   # this option is necessary to setup the calling process as listener
   listen?: true
-)
+)
 
-import_id = job.args[:import_id]
+import_id = job.args[:import_id]
 
-receive do
-  {:notification, :analytics_imports_jobs, %{"event" => "complete", "import_id" => ^import_id}} ->
-    IO.puts("Job completed")
+receive do
+  {:notification, :analytics_imports_jobs, %{"event" => "complete", "import_id" => ^import_id}} ->
+    IO.puts("Job completed")
 
-  {:notification, :analytics_imports_jobs, %{"event" => "transient_fail", "import_id" => ^import_id}} ->
-    IO.puts("Job failed transiently")
+  {:notification, :analytics_imports_jobs, %{"event" => "transient_fail", "import_id" => ^import_id}} ->
+    IO.puts("Job failed transiently")
 
-  {:notification, :analytics_imports_jobs, %{"event" => "fail", "import_id" => ^import_id}} ->
-    IO.puts("Job failed permanently")
-after
+  {:notification, :analytics_imports_jobs, %{"event" => "fail", "import_id" => ^import_id}} ->
+    IO.puts("Job failed permanently")
+after
   15_000 ->
-    IO.puts("Job didn't finish in 15 seconds")
-end

In a more realistic scenario, job scheduling will be done inside a GenServer process + IO.puts("Job didn't finish in 15 seconds") +end

In a more realistic scenario, job scheduling will be done inside a GenServer process like LiveView, where notifications can be listened for via handle_info/2.

diff --git a/Plausible.Imported.NoopImporter.html b/Plausible.Imported.NoopImporter.html index 8dc4074e5..5b093afcc 100644 --- a/Plausible.Imported.NoopImporter.html +++ b/Plausible.Imported.NoopImporter.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.SiteImport.html b/Plausible.Imported.SiteImport.html index dfe8ed6c2..d2cba8ea4 100644 --- a/Plausible.Imported.SiteImport.html +++ b/Plausible.Imported.SiteImport.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Imported.UniversalAnalytics.html b/Plausible.Imported.UniversalAnalytics.html index e79f0c600..89d1aca3e 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 d1b9d7fc8..fb134ae8a 100644 --- a/Plausible.Imported.html +++ b/Plausible.Imported.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.IngestRepo.html b/Plausible.IngestRepo.html index 630fd8171..6f0f9fddb 100644 --- a/Plausible.IngestRepo.html +++ b/Plausible.IngestRepo.html @@ -14,7 +14,7 @@ - + @@ -1153,23 +1153,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 523154265..b9d8a6806 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 6cfe454c7..70508920d 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 a7f5c2b1e..f0c35f2c0 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 d3a162876..cff07a3c4 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 1f57d5c16..cb337b0d1 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 b6095e3c6..02c8362a6 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 1102c6c50..ae1c6f5e8 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 ace81da32..25d04df3a 100644 --- a/Plausible.Ingestion.Request.html +++ b/Plausible.Ingestion.Request.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.License.html b/Plausible.License.html index e9517187b..8201a2974 100644 --- a/Plausible.License.html +++ b/Plausible.License.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.LiveViewTest.html b/Plausible.LiveViewTest.html index 1a64be064..e62a955d3 100644 --- a/Plausible.LiveViewTest.html +++ b/Plausible.LiveViewTest.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Mailer.html b/Plausible.Mailer.html index da1a32893..11059530e 100644 --- a/Plausible.Mailer.html +++ b/Plausible.Mailer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.MigrationUtils.html b/Plausible.MigrationUtils.html index 41c42d22b..034c7af09 100644 --- a/Plausible.MigrationUtils.html +++ b/Plausible.MigrationUtils.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.OpenTelemetry.Sampler.html b/Plausible.OpenTelemetry.Sampler.html index a1ef5de1c..cf2c9f630 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 e9737a880..95c07722d 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 c61c82b5b..7d9ff402b 100644 --- a/Plausible.Pagination.html +++ b/Plausible.Pagination.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Capabilities.html b/Plausible.Plugins.API.Capabilities.html index ed9db86aa..2afc4edf8 100644 --- a/Plausible.Plugins.API.Capabilities.html +++ b/Plausible.Plugins.API.Capabilities.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.CustomProps.html b/Plausible.Plugins.API.CustomProps.html index 339ca9fa5..e76a53d47 100644 --- a/Plausible.Plugins.API.CustomProps.html +++ b/Plausible.Plugins.API.CustomProps.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Funnels.html b/Plausible.Plugins.API.Funnels.html index 4f9b83a57..326e53816 100644 --- a/Plausible.Plugins.API.Funnels.html +++ b/Plausible.Plugins.API.Funnels.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Plugins.API.Goals.html b/Plausible.Plugins.API.Goals.html index 3286b4248..d4ecebfa7 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 44fa34a71..b4cdbc522 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 21d97851c..ab05a0edf 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 f2ba8f375..ab93bc771 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 982e47e84..52fa92e49 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 f9e076707..59a9a8abe 100644 --- a/Plausible.PromEx.html +++ b/Plausible.PromEx.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Props.html b/Plausible.Props.html index 9cd948a09..5af5e2b9a 100644 --- a/Plausible.Props.html +++ b/Plausible.Props.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Purge.html b/Plausible.Purge.html index 82e4a2548..94a733fab 100644 --- a/Plausible.Purge.html +++ b/Plausible.Purge.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.RateLimit.html b/Plausible.RateLimit.html index 79df07c47..9ecfa8faa 100644 --- a/Plausible.RateLimit.html +++ b/Plausible.RateLimit.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Release.html b/Plausible.Release.html index 6e2c24465..9f7cffae0 100644 --- a/Plausible.Release.html +++ b/Plausible.Release.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Repo.html b/Plausible.Repo.html index 507a6261a..e9de1f3a1 100644 --- a/Plausible.Repo.html +++ b/Plausible.Repo.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.RequestLogger.html b/Plausible.RequestLogger.html index 053993596..f272d2468 100644 --- a/Plausible.RequestLogger.html +++ b/Plausible.RequestLogger.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.S3.html b/Plausible.S3.html index e506e1311..a022f5503 100644 --- a/Plausible.S3.html +++ b/Plausible.S3.html @@ -14,7 +14,7 @@ - + @@ -316,7 +316,7 @@ The URL expires in 300 seconds, which should be enough for a redirect.

In

Returns the pre-configured S3 bucket for CSV exports.

config :plausible, Plausible.S3,
-  exports_bucket: System.fetch_env!("S3_EXPORTS_BUCKET")

Example:

iex> exports_bucket()
+  exports_bucket: System.fetch_env!("S3_EXPORTS_BUCKET")

Example:

iex> exports_bucket()
 "test-exports"
@@ -348,8 +348,8 @@ The URL expires in 300 seconds, which should be enough for a redirect.

In -

Returns access_key_id and secret_access_key to be used by ClickHouse during imports from S3.

Example:

iex> import_clickhouse_credentials()
-%{access_key_id: "minioadmin", secret_access_key: "minioadmin"}
+

Returns access_key_id and secret_access_key to be used by ClickHouse during imports from S3.

Example:

iex> import_clickhouse_credentials()
+%{access_key_id: "minioadmin", secret_access_key: "minioadmin"}
@@ -371,9 +371,9 @@ The URL expires in 300 seconds, which should be enough for a redirect.

In

-

Presigns an upload for an imported file.

In the current implementation the bucket always goes into the path component.

Example:

iex> upload = import_presign_upload(_site_id = 123, _filename = "imported_browsers.csv")
-iex> true = String.ends_with?(upload.s3_url, "/test-imports/123/imported_browsers.csv")
-iex> true = String.contains?(upload.presigned_url, "/test-imports/123/imported_browsers.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&")
+

Presigns an upload for an imported file.

In the current implementation the bucket always goes into the path component.

Example:

iex> upload = import_presign_upload(_site_id = 123, _filename = "imported_browsers.csv")
+iex> true = String.ends_with?(upload.s3_url, "/test-imports/123/imported_browsers.csv")
+iex> true = String.contains?(upload.presigned_url, "/test-imports/123/imported_browsers.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&")
@@ -402,7 +402,7 @@ The URL expires in 300 seconds, which should be enough for a redirect.

In

Returns the pre-configured S3 bucket for CSV imports.

config :plausible, Plausible.S3,
-  imports_bucket: System.fetch_env!("S3_IMPORTS_BUCKET")

Example:

iex> imports_bucket()
+  imports_bucket: System.fetch_env!("S3_IMPORTS_BUCKET")

Example:

iex> imports_bucket()
 "test-imports"
diff --git a/Plausible.Sentry.Client.html b/Plausible.Sentry.Client.html index e83aaeed1..2d36cebfc 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 598bd46dc..4672bee8e 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 c45ecc864..87f02d61b 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 8a6308fc8..d314e07cb 100644 --- a/Plausible.Session.Salts.html +++ b/Plausible.Session.Salts.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.CountryRule.html b/Plausible.Shield.CountryRule.html index 6b48c3d5b..46c9cb4c2 100644 --- a/Plausible.Shield.CountryRule.html +++ b/Plausible.Shield.CountryRule.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.CountryRuleCache.html b/Plausible.Shield.CountryRuleCache.html index 83d7a051b..c7706f1ee 100644 --- a/Plausible.Shield.CountryRuleCache.html +++ b/Plausible.Shield.CountryRuleCache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.HostnameRule.html b/Plausible.Shield.HostnameRule.html index 522efb346..dd1a11df7 100644 --- a/Plausible.Shield.HostnameRule.html +++ b/Plausible.Shield.HostnameRule.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.HostnameRuleCache.html b/Plausible.Shield.HostnameRuleCache.html index 12e058b39..68dd28f23 100644 --- a/Plausible.Shield.HostnameRuleCache.html +++ b/Plausible.Shield.HostnameRuleCache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.IPRule.html b/Plausible.Shield.IPRule.html index 9804e9c88..9cace9352 100644 --- a/Plausible.Shield.IPRule.html +++ b/Plausible.Shield.IPRule.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.IPRuleCache.html b/Plausible.Shield.IPRuleCache.html index b2ad0c29c..8f3974521 100644 --- a/Plausible.Shield.IPRuleCache.html +++ b/Plausible.Shield.IPRuleCache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.PageRule.html b/Plausible.Shield.PageRule.html index cb4aadb30..d102a020d 100644 --- a/Plausible.Shield.PageRule.html +++ b/Plausible.Shield.PageRule.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shield.PageRuleCache.html b/Plausible.Shield.PageRuleCache.html index 0028bc009..8060c5775 100644 --- a/Plausible.Shield.PageRuleCache.html +++ b/Plausible.Shield.PageRuleCache.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Shields.html b/Plausible.Shields.html index 6823a2045..d37d3713c 100644 --- a/Plausible.Shields.html +++ b/Plausible.Shields.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.Cache.html b/Plausible.Site.Cache.html index 30bf3ac9c..eb6e98ec0 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 5a28a121f..075590033 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 a632f732f..d9aab6f56 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 3b9a33977..7e441606d 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 bf0f190e5..c3a061158 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 6b3f85954..befa7f22c 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 f7695e002..0cdeb6ce1 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 c994894d8..f256bf1b0 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 f73f6ad90..d6432edbd 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 3f9d70cd9..43814d03f 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 5afbd4558..52be8123c 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 abaf4b27d..e255925e7 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 a39cb1e8e..ddfd4538a 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 326f3f7c6..b05658940 100644 --- a/Plausible.Site.SharedLink.html +++ b/Plausible.Site.SharedLink.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.TrafficChangeNotification.html b/Plausible.Site.TrafficChangeNotification.html index 421e282c3..add72a370 100644 --- a/Plausible.Site.TrafficChangeNotification.html +++ b/Plausible.Site.TrafficChangeNotification.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Site.UserPreference.html b/Plausible.Site.UserPreference.html index d751f9c0c..387a28ba6 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 b57b49874..25aa0bef9 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 f1a5b196d..5b1d68684 100644 --- a/Plausible.Site.html +++ b/Plausible.Site.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.SiteAdmin.html b/Plausible.SiteAdmin.html index 4776216ad..56bae318d 100644 --- a/Plausible.SiteAdmin.html +++ b/Plausible.SiteAdmin.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Sites.html b/Plausible.Sites.html index 4c8f016fd..1d3407e8d 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 3ad025c3b..de6a7220e 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 7d43e1678..ec47657e8 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 d86b978c5..becc1f1a9 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 528e74119..6b4005184 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 0b75b74de..ecdbe8ae8 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 8889a179f..210d80837 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 a494bfe6b..e17fd6399 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 afdba1ff7..479390b76 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 e79f663b2..ba2e4e0a6 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 acc06dc76..a321c6aa7 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 a37e38b07..048d86cb1 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 30ce28ab3..f92a07436 100644 --- a/Plausible.Stats.Filters.html +++ b/Plausible.Stats.Filters.html @@ -14,7 +14,7 @@ - + @@ -283,14 +283,14 @@ Pages Examples:

-
iex> Filters.parse("{\"page\":\"/blog/**\"}")
-[[:matches, "event:page", ["/blog/**"]]]
+
iex> Filters.parse("{\"page\":\"/blog/**\"}")
+[[:matches, "event:page", ["/blog/**"]]]
 
-iex> Filters.parse("visit:browser!=Chrome")
-[[:is_not, "visit:browser", ["Chrome"]]]
+iex> Filters.parse("visit:browser!=Chrome")
+[[:is_not, "visit:browser", ["Chrome"]]]
 
-iex> Filters.parse(nil)
-[]
+
iex> Filters.parse(nil) +[]
diff --git a/Plausible.Stats.Funnel.html b/Plausible.Stats.Funnel.html index 75ab9d586..5e12c8d6f 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 c697c8874..86ead1205 100644 --- a/Plausible.Stats.Goal.Revenue.html +++ b/Plausible.Stats.Goal.Revenue.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Imported.Base.html b/Plausible.Stats.Imported.Base.html index 5a8c64792..e0ea72759 100644 --- a/Plausible.Stats.Imported.Base.html +++ b/Plausible.Stats.Imported.Base.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Imported.SQL.Builder.html b/Plausible.Stats.Imported.SQL.Builder.html index 8928fa453..7323f89cf 100644 --- a/Plausible.Stats.Imported.SQL.Builder.html +++ b/Plausible.Stats.Imported.SQL.Builder.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Imported.html b/Plausible.Stats.Imported.html index c7213443f..39ede37c3 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 6d0b24f40..f273d238b 100644 --- a/Plausible.Stats.Interval.html +++ b/Plausible.Stats.Interval.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Legacy.Dimensions.html b/Plausible.Stats.Legacy.Dimensions.html index 06efcf9a5..161d4daf2 100644 --- a/Plausible.Stats.Legacy.Dimensions.html +++ b/Plausible.Stats.Legacy.Dimensions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Metrics.html b/Plausible.Stats.Metrics.html index 2c3048768..d61b867a6 100644 --- a/Plausible.Stats.Metrics.html +++ b/Plausible.Stats.Metrics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Query.html b/Plausible.Stats.Query.html index b7ca0a8f7..39d9fbef8 100644 --- a/Plausible.Stats.Query.html +++ b/Plausible.Stats.Query.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.QueryOptimizer.html b/Plausible.Stats.QueryOptimizer.html index bd6dcdf1c..3aa57affd 100644 --- a/Plausible.Stats.QueryOptimizer.html +++ b/Plausible.Stats.QueryOptimizer.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.SQL.Expression.html b/Plausible.Stats.SQL.Expression.html index e91b842c7..06003527f 100644 --- a/Plausible.Stats.SQL.Expression.html +++ b/Plausible.Stats.SQL.Expression.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.SQL.Fragments.html b/Plausible.Stats.SQL.Fragments.html index 500b70204..b95c21eb5 100644 --- a/Plausible.Stats.SQL.Fragments.html +++ b/Plausible.Stats.SQL.Fragments.html @@ -14,7 +14,7 @@ - + @@ -668,12 +668,12 @@ boundary, not_before is returned.

not_before boundary is set to the past Saturday, which is before the weekstart, therefore the cap does not apply.

  > this_wednesday = ~D[2022-11-09]
   > past_saturday = ~D[2022-11-05]
-  > weekstart_not_before(this_wednesday, past_saturday)
+  > weekstart_not_before(this_wednesday, past_saturday)
   ~D[2022-11-07]

In this other example, the fragment returns Tuesday and not the weekstart. The not_before boundary is set to Tuesday, which is past the weekstart, therefore the cap applies.

  > this_wednesday = ~D[2022-11-09]
   > this_tuesday = ~D[2022-11-08]
-  > weekstart_not_before(this_wednesday, this_tuesday)
+  > weekstart_not_before(this_wednesday, this_tuesday)
   ~D[2022-11-08]

diff --git a/Plausible.Stats.SQL.SpecialMetrics.html b/Plausible.Stats.SQL.SpecialMetrics.html index 8b3a92fe4..bc3ab156c 100644 --- a/Plausible.Stats.SQL.SpecialMetrics.html +++ b/Plausible.Stats.SQL.SpecialMetrics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.SQL.WhereBuilder.html b/Plausible.Stats.SQL.WhereBuilder.html index 32e79e047..f8d3259a9 100644 --- a/Plausible.Stats.SQL.WhereBuilder.html +++ b/Plausible.Stats.SQL.WhereBuilder.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Sampling.html b/Plausible.Stats.Sampling.html index a2219fa75..310feb7dd 100644 --- a/Plausible.Stats.Sampling.html +++ b/Plausible.Stats.Sampling.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.TableDecider.html b/Plausible.Stats.TableDecider.html index 304d63517..73e49a37d 100644 --- a/Plausible.Stats.TableDecider.html +++ b/Plausible.Stats.TableDecider.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Time.html b/Plausible.Stats.Time.html index 840be99be..f2a5fff95 100644 --- a/Plausible.Stats.Time.html +++ b/Plausible.Stats.Time.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Stats.Timeseries.html b/Plausible.Stats.Timeseries.html index 106e4adc4..dbca05731 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 28ea71ae9..3fc48dd3e 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 d85e13514..df28f25c2 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 7c964b467..f139096c4 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 30a7ee964..e476b7d7f 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 cce2022cf..5377dee00 100644 --- a/Plausible.TestUtils.html +++ b/Plausible.TestUtils.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Themes.html b/Plausible.Themes.html index 640a7e11d..e287eadb5 100644 --- a/Plausible.Themes.html +++ b/Plausible.Themes.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Timezones.html b/Plausible.Timezones.html index 13552a072..a796429a6 100644 --- a/Plausible.Timezones.html +++ b/Plausible.Timezones.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Users.html b/Plausible.Users.html index d3d859653..14741ce57 100644 --- a/Plausible.Users.html +++ b/Plausible.Users.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Check.html b/Plausible.Verification.Check.html index 5eb88bc05..93261fef7 100644 --- a/Plausible.Verification.Check.html +++ b/Plausible.Verification.Check.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.CSP.html b/Plausible.Verification.Checks.CSP.html index ffe811ff5..92ec4ca57 100644 --- a/Plausible.Verification.Checks.CSP.html +++ b/Plausible.Verification.Checks.CSP.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.FetchBody.html b/Plausible.Verification.Checks.FetchBody.html index 8b23debe5..3f8ff06a7 100644 --- a/Plausible.Verification.Checks.FetchBody.html +++ b/Plausible.Verification.Checks.FetchBody.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.Installation.html b/Plausible.Verification.Checks.Installation.html index b7302d294..3c565b6cc 100644 --- a/Plausible.Verification.Checks.Installation.html +++ b/Plausible.Verification.Checks.Installation.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.ScanBody.html b/Plausible.Verification.Checks.ScanBody.html index 7db5193cc..ae230d64d 100644 --- a/Plausible.Verification.Checks.ScanBody.html +++ b/Plausible.Verification.Checks.ScanBody.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.Snippet.html b/Plausible.Verification.Checks.Snippet.html index b467bce28..fcda51968 100644 --- a/Plausible.Verification.Checks.Snippet.html +++ b/Plausible.Verification.Checks.Snippet.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.SnippetCacheBust.html b/Plausible.Verification.Checks.SnippetCacheBust.html index 37d70ece4..416aea6ec 100644 --- a/Plausible.Verification.Checks.SnippetCacheBust.html +++ b/Plausible.Verification.Checks.SnippetCacheBust.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Checks.html b/Plausible.Verification.Checks.html index 2fb9bf332..80881296a 100644 --- a/Plausible.Verification.Checks.html +++ b/Plausible.Verification.Checks.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Diagnostics.Result.html b/Plausible.Verification.Diagnostics.Result.html index 3bfeb6cfd..a5c9e5386 100644 --- a/Plausible.Verification.Diagnostics.Result.html +++ b/Plausible.Verification.Diagnostics.Result.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Diagnostics.html b/Plausible.Verification.Diagnostics.html index 54bba3280..8f58e5842 100644 --- a/Plausible.Verification.Diagnostics.html +++ b/Plausible.Verification.Diagnostics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.Errors.html b/Plausible.Verification.Errors.html index c142dd97e..713597ca5 100644 --- a/Plausible.Verification.Errors.html +++ b/Plausible.Verification.Errors.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.State.html b/Plausible.Verification.State.html index c1ec03194..cbc55b53d 100644 --- a/Plausible.Verification.State.html +++ b/Plausible.Verification.State.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.URL.html b/Plausible.Verification.URL.html index bb344d638..41edea6d4 100644 --- a/Plausible.Verification.URL.html +++ b/Plausible.Verification.URL.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Verification.html b/Plausible.Verification.html index 87ae1c129..5d1746022 100644 --- a/Plausible.Verification.html +++ b/Plausible.Verification.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.AcceptTrafficUntil.html b/Plausible.Workers.AcceptTrafficUntil.html index 10bd26d1e..82201b592 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 80f755bac..3793689c1 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 d10d5efe8..411da3c41 100644 --- a/Plausible.Workers.CleanInvitations.html +++ b/Plausible.Workers.CleanInvitations.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ClickhouseCleanSites.html b/Plausible.Workers.ClickhouseCleanSites.html index 8954b8bae..c2a94d457 100644 --- a/Plausible.Workers.ClickhouseCleanSites.html +++ b/Plausible.Workers.ClickhouseCleanSites.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ExpireDomainChangeTransitions.html b/Plausible.Workers.ExpireDomainChangeTransitions.html index 804f25d44..f88b14da4 100644 --- a/Plausible.Workers.ExpireDomainChangeTransitions.html +++ b/Plausible.Workers.ExpireDomainChangeTransitions.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ExportAnalytics.html b/Plausible.Workers.ExportAnalytics.html index df218fcd1..e4075e7c1 100644 --- a/Plausible.Workers.ExportAnalytics.html +++ b/Plausible.Workers.ExportAnalytics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.ImportAnalytics.html b/Plausible.Workers.ImportAnalytics.html index aaa7419f1..4b8d95e02 100644 --- a/Plausible.Workers.ImportAnalytics.html +++ b/Plausible.Workers.ImportAnalytics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.LocalImportAnalyticsCleaner.html b/Plausible.Workers.LocalImportAnalyticsCleaner.html index 02f2e8192..08acaff13 100644 --- a/Plausible.Workers.LocalImportAnalyticsCleaner.html +++ b/Plausible.Workers.LocalImportAnalyticsCleaner.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.LockSites.html b/Plausible.Workers.LockSites.html index 413dd8cff..a7040708c 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 fedb1b437..357ee1ab1 100644 --- a/Plausible.Workers.NotifyAnnualRenewal.html +++ b/Plausible.Workers.NotifyAnnualRenewal.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.NotifyExportedAnalytics.html b/Plausible.Workers.NotifyExportedAnalytics.html index d75a9cf30..b761f3e8f 100644 --- a/Plausible.Workers.NotifyExportedAnalytics.html +++ b/Plausible.Workers.NotifyExportedAnalytics.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.RotateSalts.html b/Plausible.Workers.RotateSalts.html index a4bc49620..1eb308b9d 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 6ef8d1eb0..3ba7aa324 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 049bb18c9..5678995ee 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 f7adb1a9d..4cbf455bc 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 95dea9cd7..f6bcbc3d5 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 09b6e88cc..c65acb9db 100644 --- a/Plausible.Workers.SendTrialNotifications.html +++ b/Plausible.Workers.SendTrialNotifications.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.Workers.TrafficChangeNotifier.html b/Plausible.Workers.TrafficChangeNotifier.html index 6e28eb087..e53a6e5a5 100644 --- a/Plausible.Workers.TrafficChangeNotifier.html +++ b/Plausible.Workers.TrafficChangeNotifier.html @@ -14,7 +14,7 @@ - + diff --git a/Plausible.epub b/Plausible.epub index 62aa29696..9b208ab77 100644 Binary files a/Plausible.epub and b/Plausible.epub differ diff --git a/Plausible.html b/Plausible.html index c39543967..87e28bf92 100644 --- a/Plausible.html +++ b/Plausible.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AdminController.html b/PlausibleWeb.AdminController.html index d84753b94..622009a39 100644 --- a/PlausibleWeb.AdminController.html +++ b/PlausibleWeb.AdminController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.ExternalController.html b/PlausibleWeb.Api.ExternalController.html index 4bbdb422d..e4686858b 100644 --- a/PlausibleWeb.Api.ExternalController.html +++ b/PlausibleWeb.Api.ExternalController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.ExternalSitesController.html b/PlausibleWeb.Api.ExternalSitesController.html index 8542b65f5..99f3d9265 100644 --- a/PlausibleWeb.Api.ExternalSitesController.html +++ b/PlausibleWeb.Api.ExternalSitesController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.ExternalStatsController.html b/PlausibleWeb.Api.ExternalStatsController.html index 2e79baa30..310fcbe64 100644 --- a/PlausibleWeb.Api.ExternalStatsController.html +++ b/PlausibleWeb.Api.ExternalStatsController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.Helpers.html b/PlausibleWeb.Api.Helpers.html index acc4cc39d..46aada19e 100644 --- a/PlausibleWeb.Api.Helpers.html +++ b/PlausibleWeb.Api.Helpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.InternalController.html b/PlausibleWeb.Api.InternalController.html index 8bee4921e..240d7955f 100644 --- a/PlausibleWeb.Api.InternalController.html +++ b/PlausibleWeb.Api.InternalController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.PaddleController.html b/PlausibleWeb.Api.PaddleController.html index 2eef42903..21957b337 100644 --- a/PlausibleWeb.Api.PaddleController.html +++ b/PlausibleWeb.Api.PaddleController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Api.StatsController.html b/PlausibleWeb.Api.StatsController.html index 0efcf4e72..07cf9f1ad 100644 --- a/PlausibleWeb.Api.StatsController.html +++ b/PlausibleWeb.Api.StatsController.html @@ -14,7 +14,7 @@ - + @@ -777,13 +777,13 @@ and month. The default depends on the Plausible.Query.from/2 for each default.

  • filters - optional filters to drill down data. See the Stats API "Filtering" section for more details.

  • with_imported - boolean indicating whether to include Google Analytics -imported data or not. Defaults to false.

  • Full example:

    %{
    +imported data or not. Defaults to false.

    Full example:

    %{
       "from" => "2021-09-06",
       "interval" => "month",
       "metric" => "visitors",
       "period" => "custom",
       "to" => "2021-12-13"
    -}

    +}

    @@ -798,20 +798,20 @@ cut off by the requested date range or not. For example, if looking at a month week-by-week, some weeks may be cut off by the month boundaries. It's useful to adjust the graph display slightly in case the interval is not 'full' so that the user understands why the numbers might be lower for -those partial periods.

    Full example:

    %{
    -  "full_intervals" => %{
    +those partial periods.

    Full example:

    %{
    +  "full_intervals" => %{
         "2021-09-01" => false,
         "2021-10-01" => true,
         "2021-11-01" => true,
         "2021-12-01" => false
    -  },
    +  },
       "imports_exist" => false,
       "interval" => "month",
    -  "labels" => ["2021-09-01", "2021-10-01", "2021-11-01", "2021-12-01"],
    -  "plot" => [0, 0, 0, 0],
    +  "labels" => ["2021-09-01", "2021-10-01", "2021-11-01", "2021-12-01"],
    +  "plot" => [0, 0, 0, 0],
       "present_index" => nil,
       "includes_imported" => false
    -}
    +
    }
    diff --git a/PlausibleWeb.AuthController.html b/PlausibleWeb.AuthController.html index fba16a36e..08a5b7988 100644 --- a/PlausibleWeb.AuthController.html +++ b/PlausibleWeb.AuthController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthPlug.html b/PlausibleWeb.AuthPlug.html index 925d07c46..87ddd5c73 100644 --- a/PlausibleWeb.AuthPlug.html +++ b/PlausibleWeb.AuthPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthView.html b/PlausibleWeb.AuthView.html index 61e5a11d1..083bc67f2 100644 --- a/PlausibleWeb.AuthView.html +++ b/PlausibleWeb.AuthView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AuthorizeSiteAccess.html b/PlausibleWeb.AuthorizeSiteAccess.html index 2ccd6d0b0..a26106b0f 100644 --- a/PlausibleWeb.AuthorizeSiteAccess.html +++ b/PlausibleWeb.AuthorizeSiteAccess.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.AvatarController.html b/PlausibleWeb.AvatarController.html index ec818dbe7..28c571717 100644 --- a/PlausibleWeb.AvatarController.html +++ b/PlausibleWeb.AvatarController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.BillingController.html b/PlausibleWeb.BillingController.html index 9d557f504..0abf5fca7 100644 --- a/PlausibleWeb.BillingController.html +++ b/PlausibleWeb.BillingController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.BillingView.html b/PlausibleWeb.BillingView.html index e039ab788..0448dd99c 100644 --- a/PlausibleWeb.BillingView.html +++ b/PlausibleWeb.BillingView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.CRMAuthPlug.html b/PlausibleWeb.CRMAuthPlug.html index f3d903cc9..b0f7c4eac 100644 --- a/PlausibleWeb.CRMAuthPlug.html +++ b/PlausibleWeb.CRMAuthPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Captcha.html b/PlausibleWeb.Captcha.html index 7d0e4afac..77ac72f5e 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 1c1170f1b..51317aa11 100644 --- a/PlausibleWeb.Components.Billing.PlanBenefits.html +++ b/PlausibleWeb.Components.Billing.PlanBenefits.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.FirstDashboardLaunchBanner.html b/PlausibleWeb.Components.FirstDashboardLaunchBanner.html index 7fa4e0e70..073baa931 100644 --- a/PlausibleWeb.Components.FirstDashboardLaunchBanner.html +++ b/PlausibleWeb.Components.FirstDashboardLaunchBanner.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Components.Generic.html b/PlausibleWeb.Components.Generic.html index c6fa484b5..9e386679f 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 eb54e8c51..24f79067e 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 b43d38132..3a9a43a53 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 921e25259..7a5392264 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 bb3fbd7f7..4ef742907 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 1511b13aa..9c457c666 100644 --- a/PlausibleWeb.ConnCase.html +++ b/PlausibleWeb.ConnCase.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ControllerHelpers.html b/PlausibleWeb.ControllerHelpers.html index d3530e8df..4eb343660 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 5ff2bd34f..0a254e79d 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 0d8dd654e..a54de3a40 100644 --- a/PlausibleWeb.Dogfood.html +++ b/PlausibleWeb.Dogfood.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Email.html b/PlausibleWeb.Email.html index 9de3734d1..8c0c6d159 100644 --- a/PlausibleWeb.Email.html +++ b/PlausibleWeb.Email.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.EmailView.html b/PlausibleWeb.EmailView.html index ee2f6f808..fae000f17 100644 --- a/PlausibleWeb.EmailView.html +++ b/PlausibleWeb.EmailView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Endpoint.html b/PlausibleWeb.Endpoint.html index 241730ec0..c22959228 100644 --- a/PlausibleWeb.Endpoint.html +++ b/PlausibleWeb.Endpoint.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorHelpers.html b/PlausibleWeb.ErrorHelpers.html index aab4c0f16..aa9e1bd03 100644 --- a/PlausibleWeb.ErrorHelpers.html +++ b/PlausibleWeb.ErrorHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorReportController.html b/PlausibleWeb.ErrorReportController.html index 709f4af28..a4f3daa8d 100644 --- a/PlausibleWeb.ErrorReportController.html +++ b/PlausibleWeb.ErrorReportController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.ErrorView.html b/PlausibleWeb.ErrorView.html index e684b1898..068462c3d 100644 --- a/PlausibleWeb.ErrorView.html +++ b/PlausibleWeb.ErrorView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Favicon.html b/PlausibleWeb.Favicon.html index 877be750e..40de8ed08 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 f5be7a772..6d09d8475 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 397372ad0..4424dcbb4 100644 --- a/PlausibleWeb.FirstLaunchPlug.html +++ b/PlausibleWeb.FirstLaunchPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.FormHelpers.html b/PlausibleWeb.FormHelpers.html index ef2d3aafc..80eb384e2 100644 --- a/PlausibleWeb.FormHelpers.html +++ b/PlausibleWeb.FormHelpers.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.GoogleAnalyticsController.html b/PlausibleWeb.GoogleAnalyticsController.html index 85b368885..c1cc4be82 100644 --- a/PlausibleWeb.GoogleAnalyticsController.html +++ b/PlausibleWeb.GoogleAnalyticsController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.GoogleAnalyticsView.html b/PlausibleWeb.GoogleAnalyticsView.html index f445c7c30..ebbd06a3f 100644 --- a/PlausibleWeb.GoogleAnalyticsView.html +++ b/PlausibleWeb.GoogleAnalyticsView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.HelpScoutController.html b/PlausibleWeb.HelpScoutController.html index b15c04c53..a09063afa 100644 --- a/PlausibleWeb.HelpScoutController.html +++ b/PlausibleWeb.HelpScoutController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.HelpScoutView.html b/PlausibleWeb.HelpScoutView.html index 70ee550ef..5f81ca31d 100644 --- a/PlausibleWeb.HelpScoutView.html +++ b/PlausibleWeb.HelpScoutView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.InvitationController.html b/PlausibleWeb.InvitationController.html index f9af1f553..893ef1b7f 100644 --- a/PlausibleWeb.InvitationController.html +++ b/PlausibleWeb.InvitationController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.LastSeenPlug.html b/PlausibleWeb.LastSeenPlug.html index 9cc433ec5..fb785d940 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 9d2ef5b21..ce0e6d33f 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 870545e43..d1f5ca42d 100644 --- a/PlausibleWeb.LayoutView.html +++ b/PlausibleWeb.LayoutView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.CSVExport.html b/PlausibleWeb.Live.CSVExport.html index ff73b237b..75f1fe8d0 100644 --- a/PlausibleWeb.Live.CSVExport.html +++ b/PlausibleWeb.Live.CSVExport.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.CSVImport.html b/PlausibleWeb.Live.CSVImport.html index 336ffb307..87f1f0a13 100644 --- a/PlausibleWeb.Live.CSVImport.html +++ b/PlausibleWeb.Live.CSVImport.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.ChoosePlan.html b/PlausibleWeb.Live.ChoosePlan.html index c3cfde01e..f201b4342 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 a80ed7815..b78638a1f 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 6f26cb642..044966d49 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 9cc345ae8..d8f7f1906 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 bdab07269..8042dddb3 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" :let={modal_unique_id}>
    +existing live view which allows adding new entries of some kind:

    <.live_component module={Modal} id="some-form-modal" :let={modal_unique_id}>
       <.live_component
    -    module={SomeForm}
    -    id={"some-form-#{modal_unique_id}"}
    -    on_save_form={
    -      fn entry, socket ->
    -        send(self(), {:entry_added, entry})
    -        Modal.close(socket, "some-form-modal")
    -      end
    -    }
    +    module={SomeForm}
    +    id={"some-form-#{modal_unique_id}"}
    +    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>

    @@ -192,26 +192,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 quoted 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 1c6afd8dd..d5d7ed272 100644 --- a/PlausibleWeb.Live.Components.Pagination.html +++ b/PlausibleWeb.Live.Components.Pagination.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.Verification.html b/PlausibleWeb.Live.Components.Verification.html index 92633930c..a72c3a6b2 100644 --- a/PlausibleWeb.Live.Components.Verification.html +++ b/PlausibleWeb.Live.Components.Verification.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Components.Visitors.html b/PlausibleWeb.Live.Components.Visitors.html index ff888b403..b1f9ce5fe 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 b7152d71a..edda31ec5 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 aaa0e0a55..08f25f7a0 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 1a1e276bc..8d34635d7 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 376f23c4b..6b621eec0 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 f1dc25f9a..7b6efd335 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 6d3f3ae3e..6cf308d13 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 46c8e24c7..2be3cd225 100644 --- a/PlausibleWeb.Live.GoalSettings.html +++ b/PlausibleWeb.Live.GoalSettings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.ImportsExportsSettings.html b/PlausibleWeb.Live.ImportsExportsSettings.html index 9a07a91a9..97d5eaa0e 100644 --- a/PlausibleWeb.Live.ImportsExportsSettings.html +++ b/PlausibleWeb.Live.ImportsExportsSettings.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Plugins.API.Settings.html b/PlausibleWeb.Live.Plugins.API.Settings.html index 2a2bd93e6..ec169bf4e 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 934e5d8dc..622ff735e 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 f2e7ca4bc..144c34cc3 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 fcc930ee7..de1bd2488 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 e1ad8aa41..39ca8a588 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 3e8f13fe8..0285aa72d 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 8919b011d..958f86204 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 9976d58b6..b84c4069b 100644 --- a/PlausibleWeb.Live.SentryContext.html +++ b/PlausibleWeb.Live.SentryContext.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.Countries.html b/PlausibleWeb.Live.Shields.Countries.html index e1b4cf91e..43c272902 100644 --- a/PlausibleWeb.Live.Shields.Countries.html +++ b/PlausibleWeb.Live.Shields.Countries.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.CountryRules.html b/PlausibleWeb.Live.Shields.CountryRules.html index e43c3bbee..bf80bc460 100644 --- a/PlausibleWeb.Live.Shields.CountryRules.html +++ b/PlausibleWeb.Live.Shields.CountryRules.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.HostnameRules.html b/PlausibleWeb.Live.Shields.HostnameRules.html index 9edf46770..fe1c0c382 100644 --- a/PlausibleWeb.Live.Shields.HostnameRules.html +++ b/PlausibleWeb.Live.Shields.HostnameRules.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.Hostnames.html b/PlausibleWeb.Live.Shields.Hostnames.html index f6be2e37a..b63765e99 100644 --- a/PlausibleWeb.Live.Shields.Hostnames.html +++ b/PlausibleWeb.Live.Shields.Hostnames.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.IPAddresses.html b/PlausibleWeb.Live.Shields.IPAddresses.html index 1a7e11c01..f2cb9bcd9 100644 --- a/PlausibleWeb.Live.Shields.IPAddresses.html +++ b/PlausibleWeb.Live.Shields.IPAddresses.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.IPRules.html b/PlausibleWeb.Live.Shields.IPRules.html index 3c2eb56b1..9916b87a0 100644 --- a/PlausibleWeb.Live.Shields.IPRules.html +++ b/PlausibleWeb.Live.Shields.IPRules.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.PageRules.html b/PlausibleWeb.Live.Shields.PageRules.html index 38f6fb79a..8e07486e0 100644 --- a/PlausibleWeb.Live.Shields.PageRules.html +++ b/PlausibleWeb.Live.Shields.PageRules.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Shields.Pages.html b/PlausibleWeb.Live.Shields.Pages.html index cfb1c82ad..0853982a2 100644 --- a/PlausibleWeb.Live.Shields.Pages.html +++ b/PlausibleWeb.Live.Shields.Pages.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Sites.html b/PlausibleWeb.Live.Sites.html index 22da1dc69..e97b27c72 100644 --- a/PlausibleWeb.Live.Sites.html +++ b/PlausibleWeb.Live.Sites.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Live.Verification.html b/PlausibleWeb.Live.Verification.html index 4dd9617b9..ce83095ba 100644 --- a/PlausibleWeb.Live.Verification.html +++ b/PlausibleWeb.Live.Verification.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.MJML.StatsReport.html b/PlausibleWeb.MJML.StatsReport.html index 62e89ad53..b981ac0eb 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 8da67b630..d52a83c00 100644 --- a/PlausibleWeb.PageController.html +++ b/PlausibleWeb.PageController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.PageView.html b/PlausibleWeb.PageView.html index 475dfcb28..86725d704 100644 --- a/PlausibleWeb.PageView.html +++ b/PlausibleWeb.PageView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.Capabilities.html b/PlausibleWeb.Plugins.API.Controllers.Capabilities.html index 32aa387d7..f3b97828c 100644 --- a/PlausibleWeb.Plugins.API.Controllers.Capabilities.html +++ b/PlausibleWeb.Plugins.API.Controllers.Capabilities.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.CustomProps.html b/PlausibleWeb.Plugins.API.Controllers.CustomProps.html index 6bb81552a..862b59a0a 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.Funnels.html b/PlausibleWeb.Plugins.API.Controllers.Funnels.html index d196929e7..f72c8c9d7 100644 --- a/PlausibleWeb.Plugins.API.Controllers.Funnels.html +++ b/PlausibleWeb.Plugins.API.Controllers.Funnels.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.Goals.html b/PlausibleWeb.Plugins.API.Controllers.Goals.html index 2cc0a12aa..a56df36d2 100644 --- a/PlausibleWeb.Plugins.API.Controllers.Goals.html +++ b/PlausibleWeb.Plugins.API.Controllers.Goals.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html b/PlausibleWeb.Plugins.API.Controllers.SharedLinks.html index 733711c33..2bc8e2d5b 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 421bfa525..1ab56c2ad 100644 --- a/PlausibleWeb.Plugins.API.Errors.html +++ b/PlausibleWeb.Plugins.API.Errors.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Capabilities.html b/PlausibleWeb.Plugins.API.Schemas.Capabilities.html index ac2f4d72a..31d26dc32 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Capabilities.html +++ b/PlausibleWeb.Plugins.API.Schemas.Capabilities.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html b/PlausibleWeb.Plugins.API.Schemas.CustomProp.DisableRequest.html index a66a4a3a7..a55bea05d 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 79d024987..27e06b90e 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 dd00ede56..877b523e6 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 1329e10c1..71b13dbb0 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 0dcd3c430..b646a4246 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.Funnel.CreateRequest.html b/PlausibleWeb.Plugins.API.Schemas.Funnel.CreateRequest.html index 3941868b9..7d214b7b2 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Funnel.CreateRequest.html +++ b/PlausibleWeb.Plugins.API.Schemas.Funnel.CreateRequest.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Funnel.ListResponse.html b/PlausibleWeb.Plugins.API.Schemas.Funnel.ListResponse.html index 6ef0ef882..1c6607cd5 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Funnel.ListResponse.html +++ b/PlausibleWeb.Plugins.API.Schemas.Funnel.ListResponse.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Schemas.Funnel.html b/PlausibleWeb.Plugins.API.Schemas.Funnel.html index f8641999f..47ac3fec0 100644 --- a/PlausibleWeb.Plugins.API.Schemas.Funnel.html +++ b/PlausibleWeb.Plugins.API.Schemas.Funnel.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 93b6f2ba0..2969d639b 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 39f3f47fe..e0983fd2c 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 a8dd9fe2d..8f227d35d 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 d4b16944f..e8635031f 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 1d8f51857..7bd0c6d67 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 80082a378..2d634e8ca 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 db83dd9bd..7b381d05d 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 eef38cd12..f36a43600 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 c38910db6..71372f306 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 079f3f926..3ec78bba3 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 cea4a38bd..95a964f1a 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 8f3cf4580..f900d209a 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 60da564b2..fd24aafb8 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 86d233f51..4ccbbf335 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 9bbe74f13..5fd48bd0c 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 62bfc4ee9..ca2f07010 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 532d227b7..f5cd1aca1 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 04197cebe..074cef87a 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 8aec39144..ec7347e02 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 0ec75153c..263524a52 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 3138051c5..af8ed6c2a 100644 --- a/PlausibleWeb.Plugins.API.Spec.html +++ b/PlausibleWeb.Plugins.API.Spec.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.Capabilities.html b/PlausibleWeb.Plugins.API.Views.Capabilities.html index e13c1414c..0151fec72 100644 --- a/PlausibleWeb.Plugins.API.Views.Capabilities.html +++ b/PlausibleWeb.Plugins.API.Views.Capabilities.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.CustomProp.html b/PlausibleWeb.Plugins.API.Views.CustomProp.html index d7bf1ce13..43b46e701 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 10ae29828..1c198f9e3 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.Funnel.html b/PlausibleWeb.Plugins.API.Views.Funnel.html index 6c4e93e17..2b9489453 100644 --- a/PlausibleWeb.Plugins.API.Views.Funnel.html +++ b/PlausibleWeb.Plugins.API.Views.Funnel.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugins.API.Views.Goal.html b/PlausibleWeb.Plugins.API.Views.Goal.html index 4b0b942eb..17b50d3c8 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 8da709925..a43daf2f3 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 4d86e233a..481d8458f 100644 --- a/PlausibleWeb.Plugins.API.Views.SharedLink.html +++ b/PlausibleWeb.Plugins.API.Views.SharedLink.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.PluginsAPICase.html b/PlausibleWeb.PluginsAPICase.html index 09a98f9bd..fe2561424 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 910a8f683..1acb44752 100644 --- a/PlausibleWeb.Plugs.AuthorizePluginsAPI.html +++ b/PlausibleWeb.Plugs.AuthorizePluginsAPI.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Plugs.AuthorizePublicAPI.html b/PlausibleWeb.Plugs.AuthorizePublicAPI.html index b6c786844..499404a3d 100644 --- a/PlausibleWeb.Plugs.AuthorizePublicAPI.html +++ b/PlausibleWeb.Plugs.AuthorizePublicAPI.html @@ -14,7 +14,7 @@ - + @@ -145,12 +145,12 @@ Pages

    Plug for authorizing access to Stats and Sites APIs.

    The plug expects :api_scope to be provided in the assigns. The scope will then be used to check for API key validity. The assign can be -provided in the router configuration in a following way:

    scope "/api/v1/stats", PlausibleWeb.Api, assigns: %{api_scope: "some:scope:*"} do
    -  pipe_through [:public_api, PlausibleWeb.Plugs.AuthorizePublicAPI]
    +provided in the router configuration in a following way:

    scope "/api/v1/stats", PlausibleWeb.Api, assigns: %{api_scope: "some:scope:*"} do
    +  pipe_through [:public_api, PlausibleWeb.Plugs.AuthorizePublicAPI]
     
       # route definitions follow
       # ...
    -end

    The scope from :api_scope is checked for match against all scopes from API key's +end

    The scope from :api_scope is checked for match against all scopes from API key's scopes field. If the scope is among @implicit_scopes, it's considered to be present for any valid API key. Scopes are checked for match by prefix, so if we have some:scope:* in matching route :api_scope and the API key has some:* in its diff --git a/PlausibleWeb.Plugs.ErrorHandler.html b/PlausibleWeb.Plugs.ErrorHandler.html index 347594e6a..d8143aa76 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 56adb9764..9018107ea 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 be956519d..8af67195f 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 6b3244959..f00b9476b 100644 --- a/PlausibleWeb.RefInspector.html +++ b/PlausibleWeb.RefInspector.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RemoteIP.html b/PlausibleWeb.RemoteIP.html index 11ab39617..e0a5488a6 100644 --- a/PlausibleWeb.RemoteIP.html +++ b/PlausibleWeb.RemoteIP.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RequireAccountPlug.html b/PlausibleWeb.RequireAccountPlug.html index d6119c8c5..041601879 100644 --- a/PlausibleWeb.RequireAccountPlug.html +++ b/PlausibleWeb.RequireAccountPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.RequireLoggedOutPlug.html b/PlausibleWeb.RequireLoggedOutPlug.html index a1db8becf..1a5902ebc 100644 --- a/PlausibleWeb.RequireLoggedOutPlug.html +++ b/PlausibleWeb.RequireLoggedOutPlug.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Router.html b/PlausibleWeb.Router.html index c050e7f34..00dd88e08 100644 --- a/PlausibleWeb.Router.html +++ b/PlausibleWeb.Router.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.SessionTimeoutPlug.html b/PlausibleWeb.SessionTimeoutPlug.html index ef4dac070..4634c2d31 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 6d8d000f4..5341ff2dd 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 5f592131b..e88296b21 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 02b656288..604e91bf4 100644 --- a/PlausibleWeb.SiteController.html +++ b/PlausibleWeb.SiteController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.SiteView.html b/PlausibleWeb.SiteView.html index aec9f9800..a4d7313b3 100644 --- a/PlausibleWeb.SiteView.html +++ b/PlausibleWeb.SiteView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.StatsController.html b/PlausibleWeb.StatsController.html index 7a059e7eb..0d742d183 100644 --- a/PlausibleWeb.StatsController.html +++ b/PlausibleWeb.StatsController.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.StatsView.html b/PlausibleWeb.StatsView.html index fa2631061..d354792a3 100644 --- a/PlausibleWeb.StatsView.html +++ b/PlausibleWeb.StatsView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.Tracker.html b/PlausibleWeb.Tracker.html index a1b2af020..940075bc2 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 b2fe03fe4..ebd0a6f37 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 58f310137..bf3552b48 100644 --- a/PlausibleWeb.UnsubscribeController.html +++ b/PlausibleWeb.UnsubscribeController.html @@ -14,7 +14,7 @@ - + @@ -157,7 +157,7 @@ Pages

    @@ -165,7 +165,7 @@ Pages
    @@ -191,9 +191,9 @@ Pages Link to this function -

    monthly_report(conn, map)

    +

    monthly_report(conn, arg2)

    - + View Source @@ -213,7 +213,7 @@ Pages Link to this function -

    weekly_report(conn, map)

    +

    weekly_report(conn, arg2)

    diff --git a/PlausibleWeb.UnsubscribeView.html b/PlausibleWeb.UnsubscribeView.html index 5ad4cceb0..311b95155 100644 --- a/PlausibleWeb.UnsubscribeView.html +++ b/PlausibleWeb.UnsubscribeView.html @@ -14,7 +14,7 @@ - + diff --git a/PlausibleWeb.html b/PlausibleWeb.html index d4e5a82c7..d9efc062c 100644 --- a/PlausibleWeb.html +++ b/PlausibleWeb.html @@ -14,7 +14,7 @@ - + diff --git a/api-reference.html b/api-reference.html index 90c9d7a32..f85800119 100644 --- a/api-reference.html +++ b/api-reference.html @@ -14,7 +14,7 @@ - + diff --git a/contributing.html b/contributing.html index c242702fa..c76c228c7 100644 --- a/contributing.html +++ b/contributing.html @@ -14,7 +14,7 @@ - + diff --git a/dist/sidebar_items-BFDCF64D.js b/dist/sidebar_items-58316C0C.js similarity index 98% rename from dist/sidebar_items-BFDCF64D.js rename to dist/sidebar_items-58316C0C.js index b4ddf2a40..a9b0993b1 100644 --- a/dist/sidebar_items-BFDCF64D.js +++ b/dist/sidebar_items-58316C0C.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(name, measurements, metadata, _)","anchor":"handle_event/4"}],"key":"functions"}]},{"id":"Plausible","deprecated":false,"group":"","title":"Plausible","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ce?/0","deprecated":false,"title":"ce?()","anchor":"ce?/0"},{"id":"ee?/0","deprecated":false,"title":"ee?()","anchor":"ee?/0"},{"id":"on_ce/1","deprecated":false,"title":"on_ce(clauses)","anchor":"on_ce/1"},{"id":"on_ee/1","deprecated":false,"title":"on_ee(clauses)","anchor":"on_ee/1"},{"id":"product_name/0","deprecated":false,"title":"product_name()","anchor":"product_name/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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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":"force_disable/1","deprecated":false,"title":"force_disable(user)","anchor":"force_disable/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":"disable_2fa/1","deprecated":false,"title":"disable_2fa(user)","anchor":"disable_2fa/1"},{"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":"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(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"},{"id":"list_short_names/0","deprecated":false,"title":"list_short_names()","anchor":"list_short_names/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/2","deprecated":false,"title":"fetch_prices(product_ids, customer_ip)","anchor":"fetch_prices/2"},{"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/2","deprecated":false,"title":"get_price_for(enterprise_plan, customer_ip)","anchor":"get_price_for/2"},{"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/2","deprecated":false,"title":"latest_enterprise_plan_with_price(user, customer_ip)","anchor":"latest_enterprise_plan_with_price/2"},{"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":"with_prices/2","deprecated":false,"title":"with_prices(plans, customer_ip \\\\ \"127.0.0.1\")","anchor":"with_prices/2"},{"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":"Functions","nodes":[{"id":"below_limit?/2","deprecated":false,"title":"below_limit?(usage, limit)","anchor":"below_limit?/2"},{"id":"eligible_for_upgrade?/1","deprecated":false,"title":"eligible_for_upgrade?(usage)","anchor":"eligible_for_upgrade?/1"},{"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_feature_access/2","deprecated":false,"title":"ensure_feature_access(usage, plan)","anchor":"ensure_feature_access/2"},{"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":"exceeded_cycles/2","deprecated":false,"title":"exceeded_cycles(cycles_usage, allowed_volume)","anchor":"exceeded_cycles/2"},{"id":"exceeds_last_two_usage_cycles?/2","deprecated":false,"title":"exceeds_last_two_usage_cycles?(cycles_usage, allowed_volume)","anchor":"exceeds_last_two_usage_cycles?/2"},{"id":"suggest_tier/3","deprecated":false,"title":"suggest_tier(usage, highest_growth_plan, highest_business_plan)","anchor":"suggest_tier/3"},{"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.Adapter","deprecated":false,"group":"","title":"Plausible.Cache.Adapter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/3","deprecated":false,"title":"child_spec(name, child_id, opts \\\\ [])","anchor":"child_spec/3"},{"id":"delete/2","deprecated":false,"title":"delete(cache_name, key)","anchor":"delete/2"},{"id":"fetch/3","deprecated":false,"title":"fetch(cache_name, key, fallback_fn)","anchor":"fetch/3"},{"id":"get/2","deprecated":false,"title":"get(cache_name, key)","anchor":"get/2"},{"id":"get/3","deprecated":false,"title":"get(cache_name, key, fallback_fn)","anchor":"get/3"},{"id":"keys/1","deprecated":false,"title":"keys(cache_name)","anchor":"keys/1"},{"id":"put/3","deprecated":false,"title":"put(cache_name, key, value)","anchor":"put/3"},{"id":"put_many/2","deprecated":false,"title":"put_many(cache_name, items)","anchor":"put_many/2"},{"id":"size/1","deprecated":false,"title":"size(cache_name)","anchor":"size/1"}],"key":"functions"}]},{"id":"Plausible.Cache.Stats","deprecated":false,"group":"","title":"Plausible.Cache.Stats","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bump/2","deprecated":false,"title":"bump(cache_name, type)","anchor":"bump/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"gather/1","deprecated":false,"title":"gather(cache_name)","anchor":"gather/1"},{"id":"handle_telemetry_event/4","deprecated":false,"title":"handle_telemetry_event(list, measurments, map, _)","anchor":"handle_telemetry_event/4"},{"id":"hit_rate/1","deprecated":false,"title":"hit_rate(cache_name)","anchor":"hit_rate/1"},{"id":"init/1","deprecated":false,"title":"init(atom)","anchor":"init/1"},{"id":"size/1","deprecated":false,"title":"size(cache_name)","anchor":"size/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"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":"merge_session/2","deprecated":false,"title":"merge_session(event, session)","anchor":"merge_session/2"},{"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/2","deprecated":false,"title":"parallel_tasks(queries, opts \\\\ [])","anchor":"parallel_tasks/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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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.CrmExtensions","deprecated":false,"group":"","title":"Plausible.CrmExtensions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"javascripts/1","deprecated":false,"title":"javascripts(arg1)","anchor":"javascripts/1"}],"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.CleanUpDemoSiteReferrerSource","deprecated":false,"group":"","title":"Plausible.DataMigration.CleanUpDemoSiteReferrerSource","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(timeout \\\\ 60000)","anchor":"run/1"}],"key":"functions"}]},{"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/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"key":"functions"}]},{"id":"Plausible.DataMigration.PopulateEventSessionColumns","deprecated":false,"group":"","title":"Plausible.DataMigration.PopulateEventSessionColumns","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/3","deprecated":false,"title":"confirm(message, func, default_choice \\\\ :yes)","anchor":"confirm/3"},{"id":"kill/1","deprecated":false,"title":"kill(opts \\\\ [])","anchor":"kill/1"},{"id":"report_progress/1","deprecated":false,"title":"report_progress(opts \\\\ [])","anchor":"report_progress/1"},{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"},{"id":"run_sql/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"},{"id":"wait_until_mutations_complete/1","deprecated":false,"title":"wait_until_mutations_complete(opts \\\\ [])","anchor":"wait_until_mutations_complete/1"}],"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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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.DataMigration.SiteImports","deprecated":false,"group":"","title":"Plausible.DataMigration.SiteImports","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"}],"key":"functions"}]},{"id":"Plausible.DataMigration.VersionedSessions","deprecated":false,"group":"","title":"Plausible.DataMigration.VersionedSessions","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/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"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.Ecto.Types.CompiledRegex","deprecated":false,"group":"","title":"Plausible.Ecto.Types.CompiledRegex","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.Exports","deprecated":false,"group":"","title":"Plausible.Exports","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"export/0","deprecated":false,"title":"export()","anchor":"t:export/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"archive_filename/2","deprecated":false,"title":"archive_filename(domain, created_on)","anchor":"archive_filename/2"},{"id":"content_disposition/1","deprecated":false,"title":"content_disposition(filename)","anchor":"content_disposition/1"},{"id":"date_range/2","deprecated":false,"title":"date_range(site_id, timezone)","anchor":"date_range/2"},{"id":"delete_local_export/1","deprecated":false,"title":"delete_local_export(site_id)","anchor":"delete_local_export/1"},{"id":"delete_s3_export!/1","deprecated":false,"title":"delete_s3_export!(site_id)","anchor":"delete_s3_export!/1"},{"id":"export_queries/2","deprecated":false,"title":"export_queries(site_id, opts \\\\ [])","anchor":"export_queries/2"},{"id":"get_last_export_job/1","deprecated":false,"title":"get_last_export_job(site_id)","anchor":"get_last_export_job/1"},{"id":"get_local_export/3","deprecated":false,"title":"get_local_export(site_id, domain, timezone)","anchor":"get_local_export/3"},{"id":"get_s3_export!/2","deprecated":false,"title":"get_s3_export!(site_id, retries \\\\ 0)","anchor":"get_s3_export!/2"},{"id":"oban_listen/0","deprecated":false,"title":"oban_listen()","anchor":"oban_listen/0"},{"id":"schedule_local_export/2","deprecated":false,"title":"schedule_local_export(site_id, email_to)","anchor":"schedule_local_export/2"},{"id":"schedule_s3_export/2","deprecated":false,"title":"schedule_s3_export(site_id, email_to)","anchor":"schedule_s3_export/2"},{"id":"stream_archive/3","deprecated":false,"title":"stream_archive(conn, named_queries, opts \\\\ [])","anchor":"stream_archive/3"}],"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":"country_rule_factory/0","deprecated":false,"title":"country_rule_factory()","anchor":"country_rule_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":"drop_notification_factory/0","deprecated":false,"title":"drop_notification_factory()","anchor":"drop_notification_factory/0"},{"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_custom_events_factory/0","deprecated":false,"title":"imported_custom_events_factory()","anchor":"imported_custom_events_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":"ip_rule_factory/0","deprecated":false,"title":"ip_rule_factory()","anchor":"ip_rule_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_import_factory/0","deprecated":false,"title":"site_import_factory()","anchor":"site_import_factory/0"},{"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_steps/2","deprecated":false,"title":"put_steps(changeset, steps)","anchor":"put_steps/2"}],"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, goal_or_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":"edit_changeset/3","deprecated":false,"title":"edit_changeset(funnel, name, steps)","anchor":"edit_changeset/3"},{"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"},{"id":"update/3","deprecated":false,"title":"update(funnel, name, steps)","anchor":"update/3"},{"id":"with_goals_query/1","deprecated":false,"title":"with_goals_query(site)","anchor":"with_goals_query/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"},{"id":"display_name/1","deprecated":false,"title":"display_name(map)","anchor":"display_name/1"},{"id":"max_event_name_length/0","deprecated":false,"title":"max_event_name_length()","anchor":"max_event_name_length/0"},{"id":"type/1","deprecated":false,"title":"type(map)","anchor":"type/1"}],"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":"batch_create_event_goals/2","deprecated":false,"title":"batch_create_event_goals(names, site)","anchor":"batch_create_event_goals/2"},{"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"},{"id":"list_revenue_goals/1","deprecated":false,"title":"list_revenue_goals(site)","anchor":"list_revenue_goals/1"}],"key":"functions"}]},{"id":"Plausible.Google.API","deprecated":false,"group":"","title":"Plausible.Google.API","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_access_token!/1","deprecated":false,"title":"fetch_access_token!(code)","anchor":"fetch_access_token!/1"},{"id":"fetch_stats/4","deprecated":false,"title":"fetch_stats(site, query, pagination, search)","anchor":"fetch_stats/4"},{"id":"fetch_verified_properties/1","deprecated":false,"title":"fetch_verified_properties(auth)","anchor":"fetch_verified_properties/1"},{"id":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, property)","anchor":"get_property/2"},{"id":"import_authorize_url/1","deprecated":false,"title":"import_authorize_url(site_id)","anchor":"import_authorize_url/1"},{"id":"list_properties/1","deprecated":false,"title":"list_properties(access_token)","anchor":"list_properties/1"},{"id":"maybe_refresh_token/1","deprecated":false,"title":"maybe_refresh_token(auth)","anchor":"maybe_refresh_token/1"},{"id":"property?/1","deprecated":false,"title":"property?(value)","anchor":"property?/1"},{"id":"search_console_authorize_url/1","deprecated":false,"title":"search_console_authorize_url(site_id)","anchor":"search_console_authorize_url/1"}],"key":"functions"}]},{"id":"Plausible.Google.API.Mock","deprecated":false,"group":"","title":"Plausible.Google.API.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_stats/4","deprecated":false,"title":"fetch_stats(auth, query, pagination, search)","anchor":"fetch_stats/4"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.API","deprecated":false,"group":"","title":"Plausible.Google.GA4.API","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"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":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, lookup_property)","anchor":"get_property/2"},{"id":"import_analytics/4","deprecated":false,"title":"import_analytics(date_range, property, auth, opts)","anchor":"import_analytics/4"},{"id":"list_properties/1","deprecated":false,"title":"list_properties(access_token)","anchor":"list_properties/1"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.HTTP","deprecated":false,"group":"","title":"Plausible.Google.GA4.HTTP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, property)","anchor":"get_property/2"},{"id":"get_report/1","deprecated":false,"title":"get_report(report_request)","anchor":"get_report/1"},{"id":"list_accounts_for_user/1","deprecated":false,"title":"list_accounts_for_user(access_token)","anchor":"list_accounts_for_user/1"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.ReportRequest","deprecated":false,"group":"","title":"Plausible.Google.GA4.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.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":"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, pagination, search_console_filters)","anchor":"list_stats/5"},{"id":"refresh_auth_token/1","deprecated":false,"title":"refresh_auth_token(refresh_token)","anchor":"refresh_auth_token/1"}],"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.HelpScout","deprecated":false,"group":"","title":"Plausible.HelpScout","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_customer_details/1","deprecated":false,"title":"get_customer_details(customer_id)","anchor":"get_customer_details/1"},{"id":"validate_signature/1","deprecated":false,"title":"validate_signature(conn)","anchor":"validate_signature/1"}],"key":"functions"}]},{"id":"Plausible.HelpScout.Vault","deprecated":false,"group":"","title":"Plausible.HelpScout.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.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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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":"clamp_dates/3","deprecated":false,"title":"clamp_dates(site, start_date, end_date)","anchor":"clamp_dates/3"},{"id":"clamp_dates/4","deprecated":false,"title":"clamp_dates(occupied_ranges, cutoff_date, start_date, end_date)","anchor":"clamp_dates/4"},{"id":"delete_imports_for_site/1","deprecated":false,"title":"delete_imports_for_site(site)","anchor":"delete_imports_for_site/1"},{"id":"get_cutoff_date/1","deprecated":false,"title":"get_cutoff_date(site)","anchor":"get_cutoff_date/1"},{"id":"get_import/2","deprecated":false,"title":"get_import(site, import_id)","anchor":"get_import/2"},{"id":"get_imports_date_range/1","deprecated":false,"title":"get_imports_date_range(site)","anchor":"get_imports_date_range/1"},{"id":"get_legacy_import/1","deprecated":false,"title":"get_legacy_import(site)","anchor":"get_legacy_import/1"},{"id":"get_occupied_date_ranges/1","deprecated":false,"title":"get_occupied_date_ranges(site)","anchor":"get_occupied_date_ranges/1"},{"id":"goals_with_path/0","deprecated":false,"title":"goals_with_path()","anchor":"goals_with_path/0"},{"id":"goals_with_url/0","deprecated":false,"title":"goals_with_url()","anchor":"goals_with_url/0"},{"id":"imported_custom_props/0","deprecated":false,"title":"imported_custom_props()","anchor":"imported_custom_props/0"},{"id":"list_all_imports/2","deprecated":false,"title":"list_all_imports(site, status \\\\ nil)","anchor":"list_all_imports/2"},{"id":"list_complete_import_ids/1","deprecated":false,"title":"list_complete_import_ids(site)","anchor":"list_complete_import_ids/1"},{"id":"listen/0","deprecated":false,"title":"listen()","anchor":"listen/0"},{"id":"load_import_data/1","deprecated":false,"title":"load_import_data(site)","anchor":"load_import_data/1"},{"id":"max_complete_imports/0","deprecated":false,"title":"max_complete_imports()","anchor":"max_complete_imports/0"},{"id":"other_imports_in_progress?/1","deprecated":false,"title":"other_imports_in_progress?(site_import)","anchor":"other_imports_in_progress?/1"},{"id":"schemas/0","deprecated":false,"title":"schemas()","anchor":"schemas/0"},{"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/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Imported.CSVImporter","deprecated":false,"group":"","title":"Plausible.Imported.CSVImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"date_range/1","deprecated":false,"title":"date_range(uploads)","anchor":"date_range/1"},{"id":"extract_table/1","deprecated":false,"title":"extract_table(filename)","anchor":"extract_table/1"},{"id":"local_dir/1","deprecated":false,"title":"local_dir(site_id)","anchor":"local_dir/1"},{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"},{"id":"parse_filename!/1","deprecated":false,"title":"parse_filename!(filename)","anchor":"parse_filename!/1"},{"id":"valid_filename?/1","deprecated":false,"title":"valid_filename?(filename)","anchor":"valid_filename?/1"}],"key":"functions"}]},{"id":"Plausible.Imported.GoogleAnalytics4","deprecated":false,"group":"","title":"Plausible.Imported.GoogleAnalytics4","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"from_report/4","deprecated":false,"title":"from_report(data, site_id, import_id, table)","anchor":"from_report/4"},{"id":"import_data/2","deprecated":false,"title":"import_data(site_import, opts)","anchor":"import_data/2"},{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"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"},{"id":"names/0","deprecated":false,"title":"names()","anchor":"names/0"}],"key":"functions"}]},{"id":"Plausible.Imported.Importer","deprecated":false,"group":"","title":"Plausible.Imported.Importer","sections":[{"id":"Running import fully synchronously","anchor":"module-running-import-fully-synchronously"}],"nodeGroups":[{"name":"Callbacks","nodes":[{"id":"before_start/2","deprecated":false,"title":"before_start(t, t)","anchor":"c:before_start/2"},{"id":"email_template/0","deprecated":false,"title":"email_template()","anchor":"c:email_template/0"},{"id":"import_data/2","deprecated":false,"title":"import_data(t, t)","anchor":"c:import_data/2"},{"id":"label/0","deprecated":false,"title":"label()","anchor":"c:label/0"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"on_failure/1","deprecated":false,"title":"on_failure(t)","anchor":"c:on_failure/1"},{"id":"on_success/2","deprecated":false,"title":"on_success(t, map)","anchor":"c:on_success/2"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(map)","anchor":"c:parse_args/1"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"listen/0","deprecated":false,"title":"listen()","anchor":"listen/0"}],"key":"functions"}]},{"id":"Plausible.Imported.NoopImporter","deprecated":false,"group":"","title":"Plausible.Imported.NoopImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"key":"functions"}]},{"id":"Plausible.Imported.SiteImport","deprecated":false,"group":"","title":"Plausible.Imported.SiteImport","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"complete_changeset/2","deprecated":false,"title":"complete_changeset(site_import, params \\\\ %{})","anchor":"complete_changeset/2"},{"id":"completed/0","deprecated":false,"title":"completed()","anchor":"completed/0"},{"id":"create_changeset/3","deprecated":false,"title":"create_changeset(site, user, params)","anchor":"create_changeset/3"},{"id":"fail_changeset/1","deprecated":false,"title":"fail_changeset(site_import)","anchor":"fail_changeset/1"},{"id":"failed/0","deprecated":false,"title":"failed()","anchor":"failed/0"},{"id":"importing/0","deprecated":false,"title":"importing()","anchor":"importing/0"},{"id":"label/1","deprecated":false,"title":"label(map)","anchor":"label/1"},{"id":"pending/0","deprecated":false,"title":"pending()","anchor":"pending/0"},{"id":"start_changeset/1","deprecated":false,"title":"start_changeset(site_import)","anchor":"start_changeset/1"}],"key":"functions"}]},{"id":"Plausible.Imported.UniversalAnalytics","deprecated":false,"group":"","title":"Plausible.Imported.UniversalAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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"},{"id":"telemetry_pipeline_step_duration/0","deprecated":false,"title":"telemetry_pipeline_step_duration()","anchor":"telemetry_pipeline_step_duration/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.License","deprecated":false,"group":"","title":"Plausible.License","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ensure_valid_license/0","deprecated":false,"title":"ensure_valid_license()","anchor":"ensure_valid_license/0"}],"key":"functions"}]},{"id":"Plausible.LiveViewTest","deprecated":false,"group":"","title":"Plausible.LiveViewTest","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render_component/3","deprecated":false,"title":"render_component(component, assigns \\\\ Macro.escape(%{}), opts \\\\ [])","anchor":"render_component/3"}],"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.MigrationUtils","deprecated":false,"group":"","title":"Plausible.MigrationUtils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clustered_table?/1","deprecated":false,"title":"clustered_table?(table)","anchor":"clustered_table?/1"},{"id":"on_cluster_statement/1","deprecated":false,"title":"on_cluster_statement(table)","anchor":"on_cluster_statement/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/2","deprecated":false,"title":"fetch_prices(product_ids, customer_ip)","anchor":"fetch_prices/2"},{"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.Capabilities","deprecated":false,"group":"","title":"Plausible.Plugins.API.Capabilities","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/1","deprecated":false,"title":"get(conn)","anchor":"get/1"}],"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.Funnels","deprecated":false,"group":"","title":"Plausible.Plugins.API.Funnels","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, create_request)","anchor":"create/2"},{"id":"get/2","deprecated":false,"title":"get(site, by)","anchor":"get/2"},{"id":"get_funnels/2","deprecated":false,"title":"get_funnels(site, params)","anchor":"get_funnels/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"},{"id":"measure_duration/3","deprecated":false,"title":"measure_duration(event, fun, meta \\\\ %{})","anchor":"measure_duration/3"}],"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_imported_stats!/2","deprecated":false,"title":"delete_imported_stats!(site, import_id)","anchor":"delete_imported_stats!/2"},{"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.RequestLogger","deprecated":false,"group":"","title":"Plausible.RequestLogger","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"log_request/4","deprecated":false,"title":"log_request(_, map1, map2, _)","anchor":"log_request/4"}],"key":"functions"}]},{"id":"Plausible.S3","deprecated":false,"group":"","title":"Plausible.S3","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"download_url/2","deprecated":false,"title":"download_url(s3_bucket, s3_path)","anchor":"download_url/2"},{"id":"export_upload_multipart/4","deprecated":false,"title":"export_upload_multipart(stream, s3_bucket, s3_path, filename)","anchor":"export_upload_multipart/4"},{"id":"exports_bucket/0","deprecated":false,"title":"exports_bucket()","anchor":"exports_bucket/0"},{"id":"import_clickhouse_credentials/0","deprecated":false,"title":"import_clickhouse_credentials()","anchor":"import_clickhouse_credentials/0"},{"id":"import_presign_upload/2","deprecated":false,"title":"import_presign_upload(site_id, filename)","anchor":"import_presign_upload/2"},{"id":"imports_bucket/0","deprecated":false,"title":"imports_bucket()","anchor":"imports_bucket/0"}],"key":"functions"}]},{"id":"Plausible.Sentry.Client","deprecated":false,"group":"","title":"Plausible.Sentry.Client","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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"}],"key":"functions"}]},{"id":"Plausible.Session.CacheStore","deprecated":false,"group":"","title":"Plausible.Session.CacheStore","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_event/4","deprecated":false,"title":"on_event(event, session_attributes, prev_user_id, buffer \\\\ WriteBuffer)","anchor":"on_event/4"}],"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.Shield.CountryRule","deprecated":false,"group":"","title":"Plausible.Shield.CountryRule","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(rule, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.CountryRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.CountryRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.HostnameRule","deprecated":false,"group":"","title":"Plausible.Shield.HostnameRule","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(rule \\\\ %__MODULE__{}, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.HostnameRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.HostnameRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.IPRule","deprecated":false,"group":"","title":"Plausible.Shield.IPRule","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(rule, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.IPRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.IPRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.PageRule","deprecated":false,"group":"","title":"Plausible.Shield.PageRule","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(rule \\\\ %__MODULE__{}, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.PageRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.PageRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shields","deprecated":false,"group":"","title":"Plausible.Shields","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_country_rule/3","deprecated":false,"title":"add_country_rule(site_or_id, params, opts \\\\ [])","anchor":"add_country_rule/3"},{"id":"add_hostname_rule/3","deprecated":false,"title":"add_hostname_rule(site_or_id, params, opts \\\\ [])","anchor":"add_hostname_rule/3"},{"id":"add_ip_rule/3","deprecated":false,"title":"add_ip_rule(site_or_id, params, opts \\\\ [])","anchor":"add_ip_rule/3"},{"id":"add_page_rule/3","deprecated":false,"title":"add_page_rule(site_or_id, params, opts \\\\ [])","anchor":"add_page_rule/3"},{"id":"allowed_hostname_patterns/1","deprecated":false,"title":"allowed_hostname_patterns(domain)","anchor":"allowed_hostname_patterns/1"},{"id":"count_country_rules/1","deprecated":false,"title":"count_country_rules(site_or_id)","anchor":"count_country_rules/1"},{"id":"count_hostname_rules/1","deprecated":false,"title":"count_hostname_rules(site_or_id)","anchor":"count_hostname_rules/1"},{"id":"count_ip_rules/1","deprecated":false,"title":"count_ip_rules(site_or_id)","anchor":"count_ip_rules/1"},{"id":"count_page_rules/1","deprecated":false,"title":"count_page_rules(site_or_id)","anchor":"count_page_rules/1"},{"id":"country_blocked?/2","deprecated":false,"title":"country_blocked?(domain, country_code)","anchor":"country_blocked?/2"},{"id":"hostname_allowed?/2","deprecated":false,"title":"hostname_allowed?(domain, hostname)","anchor":"hostname_allowed?/2"},{"id":"ip_blocked?/2","deprecated":false,"title":"ip_blocked?(domain, address)","anchor":"ip_blocked?/2"},{"id":"list_country_rules/1","deprecated":false,"title":"list_country_rules(site_or_id)","anchor":"list_country_rules/1"},{"id":"list_hostname_rules/1","deprecated":false,"title":"list_hostname_rules(site_or_id)","anchor":"list_hostname_rules/1"},{"id":"list_ip_rules/1","deprecated":false,"title":"list_ip_rules(site_or_id)","anchor":"list_ip_rules/1"},{"id":"list_page_rules/1","deprecated":false,"title":"list_page_rules(site_or_id)","anchor":"list_page_rules/1"},{"id":"maximum_country_rules/0","deprecated":false,"title":"maximum_country_rules()","anchor":"maximum_country_rules/0"},{"id":"maximum_hostname_rules/0","deprecated":false,"title":"maximum_hostname_rules()","anchor":"maximum_hostname_rules/0"},{"id":"maximum_ip_rules/0","deprecated":false,"title":"maximum_ip_rules()","anchor":"maximum_ip_rules/0"},{"id":"maximum_page_rules/0","deprecated":false,"title":"maximum_page_rules()","anchor":"maximum_page_rules/0"},{"id":"page_blocked?/2","deprecated":false,"title":"page_blocked?(domain, address)","anchor":"page_blocked?/2"},{"id":"remove_country_rule/2","deprecated":false,"title":"remove_country_rule(site_or_id, rule_id)","anchor":"remove_country_rule/2"},{"id":"remove_hostname_rule/2","deprecated":false,"title":"remove_hostname_rule(site_or_id, rule_id)","anchor":"remove_hostname_rule/2"},{"id":"remove_ip_rule/2","deprecated":false,"title":"remove_ip_rule(site_or_id, rule_id)","anchor":"remove_ip_rule/2"},{"id":"remove_page_rule/2","deprecated":false,"title":"remove_page_rule(site_or_id, rule_id)","anchor":"remove_page_rule/2"}],"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":"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":"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":"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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"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":"all_pending_ownerships/1","deprecated":false,"title":"all_pending_ownerships(email)","anchor":"all_pending_ownerships/1"},{"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.TrafficChangeNotification","deprecated":false,"group":"","title":"Plausible.Site.TrafficChangeNotification","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":"before_update/2","deprecated":false,"title":"before_update(conn, changeset)","anchor":"before_update/2"},{"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":"clear_stats_start_date!/1","deprecated":false,"title":"clear_stats_start_date!(site)","anchor":"clear_stats_start_date!/1"},{"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":"for_user_query/1","deprecated":false,"title":"for_user_query(user)","anchor":"for_user_query/1"},{"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":"native_stats_start_date/1","deprecated":false,"title":"native_stats_start_date(site)","anchor":"native_stats_start_date/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":"owned_sites_locked?/1","deprecated":false,"title":"owned_sites_locked?(user)","anchor":"owned_sites_locked?/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/4","deprecated":false,"title":"breakdown(site, query, metrics, pagination)","anchor":"breakdown/4"},{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(site, duration \\\\ Duration.new!(minute: -5))","anchor":"current_visitors/2"},{"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":"query/2","deprecated":false,"title":"query(site, query)","anchor":"query/2"},{"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":"base_event_query/2","deprecated":false,"title":"base_event_query(site, query)","anchor":"base_event_query/2"},{"id":"query_sessions/2","deprecated":false,"title":"query_sessions(site, query)","anchor":"query_sessions/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Breakdown","deprecated":false,"group":"","title":"Plausible.Stats.Breakdown","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"breakdown/5","deprecated":false,"title":"breakdown(site, query, metrics, pagination, opts \\\\ [])","anchor":"breakdown/5"},{"id":"transform_dimensions/1","deprecated":false,"title":"transform_dimensions(dimension)","anchor":"transform_dimensions/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Clickhouse","deprecated":false,"group":"","title":"Plausible.Stats.Clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"},{"id":"current_visitors_12h/1","deprecated":false,"title":"current_visitors_12h(site)","anchor":"current_visitors_12h/1"},{"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":"imported_pageview_counts/1","deprecated":false,"title":"imported_pageview_counts(site)","anchor":"imported_pageview_counts/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_for_spike/4","deprecated":false,"title":"top_sources_for_spike(site, query, limit, page)","anchor":"top_sources_for_spike/4"},{"id":"usage_breakdown/2","deprecated":false,"title":"usage_breakdown(site_ids, 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_value, new_value)","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/2","deprecated":false,"title":"current_visitors(site, duration \\\\ Duration.new!(minute: -5))","anchor":"current_visitors/2"}],"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":"event_table_visit_props/0","deprecated":false,"title":"event_table_visit_props()","anchor":"event_table_visit_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"},{"id":"without_prefix/1","deprecated":false,"title":"without_prefix(dimension)","anchor":"without_prefix/1"}],"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":"page_regex/1","deprecated":false,"title":"page_regex(expr)","anchor":"page_regex/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":"split_goals/1","deprecated":false,"title":"split_goals(goals)","anchor":"split_goals/1"},{"id":"split_goals_query_expressions/1","deprecated":false,"title":"split_goals_query_expressions(goals)","anchor":"split_goals_query_expressions/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.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":"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"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported","deprecated":false,"group":"","title":"Plausible.Stats.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"goals_with_path/0","deprecated":false,"title":"goals_with_path()","anchor":"goals_with_path/0"},{"id":"goals_with_url/0","deprecated":false,"title":"goals_with_url()","anchor":"goals_with_url/0"},{"id":"merge_imported/4","deprecated":false,"title":"merge_imported(q, site, query, metrics)","anchor":"merge_imported/4"},{"id":"merge_imported_city_suggestions/3","deprecated":false,"title":"merge_imported_city_suggestions(native_q, site, query)","anchor":"merge_imported_city_suggestions/3"},{"id":"merge_imported_country_suggestions/3","deprecated":false,"title":"merge_imported_country_suggestions(native_q, site, query)","anchor":"merge_imported_country_suggestions/3"},{"id":"merge_imported_filter_suggestions/5","deprecated":false,"title":"merge_imported_filter_suggestions(native_q, site, query, filter_name, filter_query)","anchor":"merge_imported_filter_suggestions/5"},{"id":"merge_imported_region_suggestions/3","deprecated":false,"title":"merge_imported_region_suggestions(native_q, site, query)","anchor":"merge_imported_region_suggestions/3"},{"id":"schema_supports_query?/1","deprecated":false,"title":"schema_supports_query?(query)","anchor":"schema_supports_query?/1"},{"id":"total_imported_visitors/2","deprecated":false,"title":"total_imported_visitors(site, query)","anchor":"total_imported_visitors/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported.Base","deprecated":false,"group":"","title":"Plausible.Stats.Imported.Base","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"decide_tables/1","deprecated":false,"title":"decide_tables(query)","anchor":"decide_tables/1"},{"id":"property_to_table_mappings/0","deprecated":false,"title":"property_to_table_mappings()","anchor":"property_to_table_mappings/0"},{"id":"query_imported/2","deprecated":false,"title":"query_imported(site, query)","anchor":"query_imported/2"},{"id":"query_imported/3","deprecated":false,"title":"query_imported(table, site, query)","anchor":"query_imported/3"},{"id":"special_goals_for/1","deprecated":false,"title":"special_goals_for(binary)","anchor":"special_goals_for/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported.SQL.Builder","deprecated":false,"group":"","title":"Plausible.Stats.Imported.SQL.Builder","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"group_imported_by/2","deprecated":false,"title":"group_imported_by(q, query)","anchor":"group_imported_by/2"},{"id":"naive_dimension_join/3","deprecated":false,"title":"naive_dimension_join(q1, q2, metrics)","anchor":"naive_dimension_join/3"},{"id":"select_imported_metrics/2","deprecated":false,"title":"select_imported_metrics(q, list)","anchor":"select_imported_metrics/2"},{"id":"select_joined_dimensions/2","deprecated":false,"title":"select_joined_dimensions(q, query)","anchor":"select_joined_dimensions/2"},{"id":"select_joined_metrics/2","deprecated":false,"title":"select_joined_metrics(q, list)","anchor":"select_joined_metrics/2"}],"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.Legacy.Dimensions","deprecated":false,"group":"","title":"Plausible.Stats.Legacy.Dimensions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"valid?/1","deprecated":false,"title":"valid?(prop)","anchor":"valid?/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Metrics","deprecated":false,"group":"","title":"Plausible.Stats.Metrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"from_string/1","deprecated":false,"title":"from_string(str)","anchor":"from_string/1"},{"id":"from_string!/1","deprecated":false,"title":"from_string!(str)","anchor":"from_string!/1"},{"id":"metric?/1","deprecated":false,"title":"metric?(value)","anchor":"metric?/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":"add_filter/2","deprecated":false,"title":"add_filter(query, filter)","anchor":"add_filter/2"},{"id":"build/2","deprecated":false,"title":"build(site, params)","anchor":"build/2"},{"id":"ensure_include_imported/2","deprecated":false,"title":"ensure_include_imported(query, requested?)","anchor":"ensure_include_imported/2"},{"id":"from/2","deprecated":false,"title":"from(site, params)","anchor":"from/2"},{"id":"get_filter/2","deprecated":false,"title":"get_filter(query, name)","anchor":"get_filter/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":"put_experimental_reduced_joins/3","deprecated":false,"title":"put_experimental_reduced_joins(query, site, params)","anchor":"put_experimental_reduced_joins/3"},{"id":"put_imported_opts/3","deprecated":false,"title":"put_imported_opts(query, site, params)","anchor":"put_imported_opts/3"},{"id":"remove_filters/2","deprecated":false,"title":"remove_filters(query, prefixes)","anchor":"remove_filters/2"},{"id":"set/2","deprecated":false,"title":"set(query, keywords)","anchor":"set/2"},{"id":"trace/2","deprecated":false,"title":"trace(query, metrics)","anchor":"trace/2"}],"key":"functions"}]},{"id":"Plausible.Stats.QueryOptimizer","deprecated":false,"group":"","title":"Plausible.Stats.QueryOptimizer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"optimize/1","deprecated":false,"title":"optimize(query)","anchor":"optimize/1"},{"id":"split/1","deprecated":false,"title":"split(query)","anchor":"split/1"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.Expression","deprecated":false,"group":"","title":"Plausible.Stats.SQL.Expression","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_goal_join/2","deprecated":false,"title":"event_goal_join(events, page_regexes)","anchor":"event_goal_join/2"},{"id":"event_metric/1","deprecated":false,"title":"event_metric(unknown)","anchor":"event_metric/1"},{"id":"select_dimension/5","deprecated":false,"title":"select_dimension(q, key, arg3, arg4, query)","anchor":"select_dimension/5"},{"id":"session_metric/2","deprecated":false,"title":"session_metric(atom, query)","anchor":"session_metric/2"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.Fragments","deprecated":false,"group":"","title":"Plausible.Stats.SQL.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":"meta_key_column/1","deprecated":false,"title":"meta_key_column(atom)","anchor":"meta_key_column/1"},{"id":"meta_value_column/1","deprecated":false,"title":"meta_value_column(atom)","anchor":"meta_value_column/1"},{"id":"sample_percent/0","deprecated":false,"title":"sample_percent()","anchor":"sample_percent/0"},{"id":"select_join_fields/4","deprecated":false,"title":"select_join_fields(q, query, list, table_name)","anchor":"select_join_fields/4"},{"id":"select_merge_as/3","deprecated":false,"title":"select_merge_as(q, binding, map_literal)","anchor":"select_merge_as/3"},{"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":"wrap_alias/2","deprecated":false,"title":"wrap_alias(binding, map_literal)","anchor":"wrap_alias/2"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.SpecialMetrics","deprecated":false,"group":"","title":"Plausible.Stats.SQL.SpecialMetrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add/3","deprecated":false,"title":"add(q, site, query)","anchor":"add/3"},{"id":"maybe_add_global_conversion_rate/3","deprecated":false,"title":"maybe_add_global_conversion_rate(q, site, query)","anchor":"maybe_add_global_conversion_rate/3"},{"id":"maybe_add_group_conversion_rate/3","deprecated":false,"title":"maybe_add_group_conversion_rate(q, site, query)","anchor":"maybe_add_group_conversion_rate/3"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.WhereBuilder","deprecated":false,"group":"","title":"Plausible.Stats.SQL.WhereBuilder","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"build/3","deprecated":false,"title":"build(table, site, query)","anchor":"build/3"},{"id":"build_condition/2","deprecated":false,"title":"build_condition(db_field, filter)","anchor":"build_condition/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.TableDecider","deprecated":false,"group":"","title":"Plausible.Stats.TableDecider","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"events_join_sessions?/1","deprecated":false,"title":"events_join_sessions?(query)","anchor":"events_join_sessions?/1"},{"id":"partition_metrics/2","deprecated":false,"title":"partition_metrics(metrics, query)","anchor":"partition_metrics/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Time","deprecated":false,"group":"","title":"Plausible.Stats.Time","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"format_datetime/1","deprecated":false,"title":"format_datetime(date)","anchor":"format_datetime/1"},{"id":"time_dimension/1","deprecated":false,"title":"time_dimension(query)","anchor":"time_dimension/1"},{"id":"time_labels/1","deprecated":false,"title":"time_labels(query)","anchor":"time_labels/1"},{"id":"utc_boundaries/2","deprecated":false,"title":"utc_boundaries(query, site)","anchor":"utc_boundaries/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Timeseries","deprecated":false,"group":"","title":"Plausible.Stats.Timeseries","sections":[],"nodeGroups":[{"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":"keep_requested_metrics/2","deprecated":false,"title":"keep_requested_metrics(results, requested_metrics)","anchor":"keep_requested_metrics/2"},{"id":"maybe_add_visitors_metric/1","deprecated":false,"title":"maybe_add_visitors_metric(metrics)","anchor":"maybe_add_visitors_metric/1"},{"id":"shortname/2","deprecated":false,"title":"shortname(query, metric)","anchor":"shortname/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":"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_legacy_site_import/1","deprecated":false,"title":"create_legacy_site_import(map)","anchor":"create_legacy_site_import/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_site/1","deprecated":false,"title":"create_site(map)","anchor":"create_site/1"},{"id":"create_site_import/1","deprecated":false,"title":"create_site_import(opts)","anchor":"create_site_import/1"},{"id":"create_user/1","deprecated":false,"title":"create_user(_)","anchor":"create_user/1"},{"id":"ensure_minio/0","deprecated":false,"title":"ensure_minio()","anchor":"ensure_minio/0"},{"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":"maybe_fake_minio/1","deprecated":false,"title":"maybe_fake_minio(context)","anchor":"maybe_fake_minio/1"},{"id":"minio_running?/0","deprecated":false,"title":"minio_running?()","anchor":"minio_running?/0"},{"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":"populate_stats/3","deprecated":false,"title":"populate_stats(site, import_id, events)","anchor":"populate_stats/3"},{"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_datetime_in_timezone/2","deprecated":false,"title":"to_datetime_in_timezone(dt, timezone)","anchor":"to_datetime_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.Verification","deprecated":false,"group":"","title":"Plausible.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"user_agent/0","deprecated":false,"title":"user_agent()","anchor":"user_agent/0"}],"key":"functions"}]},{"id":"Plausible.Verification.Check","deprecated":false,"group":"","title":"Plausible.Verification.Check","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"state/0","deprecated":false,"title":"state()","anchor":"t:state/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"perform/1","deprecated":false,"title":"perform(state)","anchor":"c:perform/1"},{"id":"report_progress_as/0","deprecated":false,"title":"report_progress_as()","anchor":"c:report_progress_as/0"}],"key":"callbacks"}]},{"id":"Plausible.Verification.Checks","deprecated":false,"group":"","title":"Plausible.Verification.Checks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"interpret_diagnostics/1","deprecated":false,"title":"interpret_diagnostics(state)","anchor":"interpret_diagnostics/1"},{"id":"run/3","deprecated":false,"title":"run(url, data_domain, opts \\\\ [])","anchor":"run/3"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.CSP","deprecated":false,"group":"","title":"Plausible.Verification.Checks.CSP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.FetchBody","deprecated":false,"group":"","title":"Plausible.Verification.Checks.FetchBody","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.Installation","deprecated":false,"group":"","title":"Plausible.Verification.Checks.Installation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.ScanBody","deprecated":false,"group":"","title":"Plausible.Verification.Checks.ScanBody","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.Snippet","deprecated":false,"group":"","title":"Plausible.Verification.Checks.Snippet","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.SnippetCacheBust","deprecated":false,"group":"","title":"Plausible.Verification.Checks.SnippetCacheBust","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Diagnostics","deprecated":false,"group":"","title":"Plausible.Verification.Diagnostics","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"interpret/2","deprecated":false,"title":"interpret(diagnostics, url)","anchor":"interpret/2"}],"key":"functions"}]},{"id":"Plausible.Verification.Diagnostics.Result","deprecated":false,"group":"","title":"Plausible.Verification.Diagnostics.Result","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"id":"Plausible.Verification.Errors","deprecated":false,"group":"","title":"Plausible.Verification.Errors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all/0","deprecated":false,"title":"all()","anchor":"all/0"}],"key":"functions"}]},{"id":"Plausible.Verification.State","deprecated":false,"group":"","title":"Plausible.Verification.State","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"assign/2","deprecated":false,"title":"assign(state, assigns)","anchor":"assign/2"},{"id":"put_diagnostics/2","deprecated":false,"title":"put_diagnostics(state, diagnostics)","anchor":"put_diagnostics/2"}],"key":"functions"}]},{"id":"Plausible.Verification.URL","deprecated":false,"group":"","title":"Plausible.Verification.URL","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bust_url/1","deprecated":false,"title":"bust_url(url)","anchor":"bust_url/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, usage_mod)","anchor":"check_enterprise_subscriber/2"},{"id":"day_of_month/1","deprecated":false,"title":"day_of_month(date)","anchor":"day_of_month/1"},{"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":"maybe_remove_grace_period/2","deprecated":false,"title":"maybe_remove_grace_period(subscriber, usage_mod)","anchor":"maybe_remove_grace_period/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.ClickhouseCleanSites","deprecated":false,"group":"","title":"Plausible.Workers.ClickhouseCleanSites","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_deleted_sites_with_clickhouse_data/0","deprecated":false,"title":"get_deleted_sites_with_clickhouse_data()","anchor":"get_deleted_sites_with_clickhouse_data/0"},{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.ExpireDomainChangeTransitions","deprecated":false,"group":"","title":"Plausible.Workers.ExpireDomainChangeTransitions","sections":[]},{"id":"Plausible.Workers.ExportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ExportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"base_query/1","deprecated":false,"title":"base_query(site_id)","anchor":"base_query/1"}],"key":"functions"}]},{"id":"Plausible.Workers.ImportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ImportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"import_complete/1","deprecated":false,"title":"import_complete(site_import)","anchor":"import_complete/1"},{"id":"import_fail/2","deprecated":false,"title":"import_fail(site_import, opts)","anchor":"import_fail/2"},{"id":"import_fail_transient/1","deprecated":false,"title":"import_fail_transient(site_import)","anchor":"import_fail_transient/1"}],"key":"functions"}]},{"id":"Plausible.Workers.LocalImportAnalyticsCleaner","deprecated":false,"group":"","title":"Plausible.Workers.LocalImportAnalyticsCleaner","sections":[]},{"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.NotifyExportedAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.NotifyExportedAnalytics","sections":[]},{"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.TrafficChangeNotifier","deprecated":false,"group":"","title":"Plausible.Workers.TrafficChangeNotifier","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":"current_plan/2","deprecated":false,"title":"current_plan(conn, params)","anchor":"current_plan/2"},{"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":"goals_index/2","deprecated":false,"title":"goals_index(conn, params)","anchor":"goals_index/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/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":"currency/2","deprecated":false,"title":"currency(conn, params)","anchor":"currency/2"},{"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":"build_intervals/4","deprecated":false,"title":"build_intervals(labels, date_range, start_fn, end_fn)","anchor":"build_intervals/4"},{"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.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.FirstDashboardLaunchBanner","deprecated":false,"group":"","title":"PlausibleWeb.Components.FirstDashboardLaunchBanner","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"set/1","deprecated":false,"title":"set(assigns)","anchor":"set/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":"tooltip/1","deprecated":false,"title":"tooltip(assigns)","anchor":"tooltip/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_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":"drop_notification/5","deprecated":false,"title":"drop_notification(email, site, current_visitors, dashboard_link, settings_link)","anchor":"drop_notification/5"},{"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":"export_failure/2","deprecated":false,"title":"export_failure(user, site)","anchor":"export_failure/2"},{"id":"export_success/3","deprecated":false,"title":"export_success(user, site, expires_at)","anchor":"export_success/3"},{"id":"import_failure/2","deprecated":false,"title":"import_failure(site_import, user)","anchor":"import_failure/2"},{"id":"import_success/2","deprecated":false,"title":"import_success(site_import, user)","anchor":"import_success/2"},{"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":"csv_import.html/1","deprecated":false,"title":"csv_import.html(assigns)","anchor":"csv_import.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":"drop_notification.html/1","deprecated":false,"title":"drop_notification.html(assigns)","anchor":"drop_notification.html/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":"export_failure.html/1","deprecated":false,"title":"export_failure.html(assigns)","anchor":"export_failure.html/1"},{"id":"export_success.html/1","deprecated":false,"title":"export_success.html(assigns)","anchor":"export_success.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.GoogleAnalyticsController","deprecated":false,"group":"","title":"PlausibleWeb.GoogleAnalyticsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/2","deprecated":false,"title":"confirm(conn, map)","anchor":"confirm/2"},{"id":"import/2","deprecated":false,"title":"import(conn, map)","anchor":"import/2"},{"id":"property/2","deprecated":false,"title":"property(conn, params)","anchor":"property/2"},{"id":"property_form/2","deprecated":false,"title":"property_form(conn, params)","anchor":"property_form/2"}],"key":"functions"}]},{"id":"PlausibleWeb.GoogleAnalyticsView","deprecated":false,"group":"","title":"PlausibleWeb.GoogleAnalyticsView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"confirm.html/1","deprecated":false,"title":"confirm.html(assigns)","anchor":"confirm.html/1"},{"id":"property_form.html/1","deprecated":false,"title":"property_form.html(assigns)","anchor":"property_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"}],"key":"functions"}]},{"id":"PlausibleWeb.HelpScoutController","deprecated":false,"group":"","title":"PlausibleWeb.HelpScoutController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"callback/2","deprecated":false,"title":"callback(conn, map)","anchor":"callback/2"}],"key":"functions"}]},{"id":"PlausibleWeb.HelpScoutView","deprecated":false,"group":"","title":"PlausibleWeb.HelpScoutView","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.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":"flat_settings_options/1","deprecated":false,"title":"flat_settings_options(conn)","anchor":"flat_settings_options/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":"logo_path/1","deprecated":false,"title":"logo_path(filename)","anchor":"logo_path/1"},{"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.CSVExport","deprecated":false,"group":"","title":"PlausibleWeb.Live.CSVExport","sections":[]},{"id":"PlausibleWeb.Live.CSVImport","deprecated":false,"group":"","title":"PlausibleWeb.Live.CSVImport","sections":[]},{"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":"open/2","deprecated":false,"title":"open(socket, id)","anchor":"open/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.Verification","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/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, session, 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, params, 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.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, arg2, 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_event_names/3","deprecated":false,"title":"suggest_event_names(input, site, existing_goals)","anchor":"suggest_event_names/3"},{"id":"suggest_page_paths/2","deprecated":false,"title":"suggest_page_paths(input, site)","anchor":"suggest_page_paths/2"},{"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.ImportsExportsSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.ImportsExportsSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Shields.Countries","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Countries","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.CountryRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.CountryRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.HostnameRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.HostnameRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"suggest_hostnames/3","deprecated":false,"title":"suggest_hostnames(input, options, site)","anchor":"suggest_hostnames/3"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.Hostnames","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Hostnames","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.IPAddresses","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.IPAddresses","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.IPRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.IPRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.PageRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.PageRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"suggest_page_paths/3","deprecated":false,"title":"suggest_page_paths(input, options, site)","anchor":"suggest_page_paths/3"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.Pages","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Pages","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Live.Verification","deprecated":false,"group":"","title":"PlausibleWeb.Live.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, _, 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(atom, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Capabilities","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Funnels","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Funnels","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.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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Capabilities","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","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.Funnel","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel","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.Funnel.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel.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.Funnel.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel.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","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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Capabilities","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.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.Funnel","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Funnel","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.AuthorizePublicAPI","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.AuthorizePublicAPI","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":"format_referrer/1","deprecated":false,"title":"format_referrer(uri)","anchor":"format_referrer/1"},{"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_traffic_change_notification_recipient/2","deprecated":false,"title":"add_traffic_change_notification_recipient(conn, map)","anchor":"add_traffic_change_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":"csv_import/2","deprecated":false,"title":"csv_import(conn, params)","anchor":"csv_import/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_traffic_change_notification/2","deprecated":false,"title":"disable_traffic_change_notification(conn, map)","anchor":"disable_traffic_change_notification/2"},{"id":"disable_weekly_report/2","deprecated":false,"title":"disable_weekly_report(conn, params)","anchor":"disable_weekly_report/2"},{"id":"download_export/2","deprecated":false,"title":"download_export(conn, params)","anchor":"download_export/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_traffic_change_notification/2","deprecated":false,"title":"enable_traffic_change_notification(conn, map)","anchor":"enable_traffic_change_notification/2"},{"id":"enable_weekly_report/2","deprecated":false,"title":"enable_weekly_report(conn, params)","anchor":"enable_weekly_report/2"},{"id":"forget_import/2","deprecated":false,"title":"forget_import(conn, map)","anchor":"forget_import/2"},{"id":"forget_imported/2","deprecated":false,"title":"forget_imported(conn, params)","anchor":"forget_imported/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_traffic_change_notification_recipient/2","deprecated":false,"title":"remove_traffic_change_notification_recipient(conn, map)","anchor":"remove_traffic_change_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_imports_exports/2","deprecated":false,"title":"settings_imports_exports(conn, params)","anchor":"settings_imports_exports/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_shields/2","deprecated":false,"title":"settings_shields(conn, map)","anchor":"settings_shields/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_traffic_change_notification/2","deprecated":false,"title":"update_traffic_change_notification(conn, map)","anchor":"update_traffic_change_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":"csv_import.html/1","deprecated":false,"title":"csv_import.html(assigns)","anchor":"csv_import.html/1"},{"id":"edit_shared_link.html/1","deprecated":false,"title":"edit_shared_link.html(assigns)","anchor":"edit_shared_link.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_imports_exports.html/1","deprecated":false,"title":"settings_imports_exports.html(assigns)","anchor":"settings_imports_exports.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_shields.html/1","deprecated":false,"title":"settings_shields.html(assigns)","anchor":"settings_shields.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":"traffic_change_form/1","deprecated":false,"title":"traffic_change_form(assigns)","anchor":"traffic_change_form/1"},{"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(name, measurements, metadata, _)","anchor":"handle_event/4"}],"key":"functions"}]},{"id":"Plausible","deprecated":false,"group":"","title":"Plausible","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ce?/0","deprecated":false,"title":"ce?()","anchor":"ce?/0"},{"id":"ee?/0","deprecated":false,"title":"ee?()","anchor":"ee?/0"},{"id":"on_ce/1","deprecated":false,"title":"on_ce(clauses)","anchor":"on_ce/1"},{"id":"on_ee/1","deprecated":false,"title":"on_ee(clauses)","anchor":"on_ee/1"},{"id":"product_name/0","deprecated":false,"title":"product_name()","anchor":"product_name/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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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":"force_disable/1","deprecated":false,"title":"force_disable(user)","anchor":"force_disable/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":"disable_2fa/1","deprecated":false,"title":"disable_2fa(user)","anchor":"disable_2fa/1"},{"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":"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(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"},{"id":"list_short_names/0","deprecated":false,"title":"list_short_names()","anchor":"list_short_names/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/2","deprecated":false,"title":"fetch_prices(product_ids, customer_ip)","anchor":"fetch_prices/2"},{"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/2","deprecated":false,"title":"get_price_for(enterprise_plan, customer_ip)","anchor":"get_price_for/2"},{"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/2","deprecated":false,"title":"latest_enterprise_plan_with_price(user, customer_ip)","anchor":"latest_enterprise_plan_with_price/2"},{"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":"with_prices/2","deprecated":false,"title":"with_prices(plans, customer_ip \\\\ \"127.0.0.1\")","anchor":"with_prices/2"},{"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":"Functions","nodes":[{"id":"below_limit?/2","deprecated":false,"title":"below_limit?(usage, limit)","anchor":"below_limit?/2"},{"id":"eligible_for_upgrade?/1","deprecated":false,"title":"eligible_for_upgrade?(usage)","anchor":"eligible_for_upgrade?/1"},{"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_feature_access/2","deprecated":false,"title":"ensure_feature_access(usage, plan)","anchor":"ensure_feature_access/2"},{"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":"exceeded_cycles/2","deprecated":false,"title":"exceeded_cycles(cycles_usage, allowed_volume)","anchor":"exceeded_cycles/2"},{"id":"exceeds_last_two_usage_cycles?/2","deprecated":false,"title":"exceeds_last_two_usage_cycles?(cycles_usage, allowed_volume)","anchor":"exceeds_last_two_usage_cycles?/2"},{"id":"suggest_tier/3","deprecated":false,"title":"suggest_tier(usage, highest_growth_plan, highest_business_plan)","anchor":"suggest_tier/3"},{"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.Adapter","deprecated":false,"group":"","title":"Plausible.Cache.Adapter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"child_spec/3","deprecated":false,"title":"child_spec(name, child_id, opts \\\\ [])","anchor":"child_spec/3"},{"id":"delete/2","deprecated":false,"title":"delete(cache_name, key)","anchor":"delete/2"},{"id":"fetch/3","deprecated":false,"title":"fetch(cache_name, key, fallback_fn)","anchor":"fetch/3"},{"id":"get/2","deprecated":false,"title":"get(cache_name, key)","anchor":"get/2"},{"id":"get/3","deprecated":false,"title":"get(cache_name, key, fallback_fn)","anchor":"get/3"},{"id":"keys/1","deprecated":false,"title":"keys(cache_name)","anchor":"keys/1"},{"id":"put/3","deprecated":false,"title":"put(cache_name, key, value)","anchor":"put/3"},{"id":"put_many/2","deprecated":false,"title":"put_many(cache_name, items)","anchor":"put_many/2"},{"id":"size/1","deprecated":false,"title":"size(cache_name)","anchor":"size/1"}],"key":"functions"}]},{"id":"Plausible.Cache.Stats","deprecated":false,"group":"","title":"Plausible.Cache.Stats","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bump/2","deprecated":false,"title":"bump(cache_name, type)","anchor":"bump/2"},{"id":"child_spec/1","deprecated":false,"title":"child_spec(init_arg)","anchor":"child_spec/1"},{"id":"gather/1","deprecated":false,"title":"gather(cache_name)","anchor":"gather/1"},{"id":"handle_telemetry_event/4","deprecated":false,"title":"handle_telemetry_event(list, measurments, map, _)","anchor":"handle_telemetry_event/4"},{"id":"hit_rate/1","deprecated":false,"title":"hit_rate(cache_name)","anchor":"hit_rate/1"},{"id":"init/1","deprecated":false,"title":"init(atom)","anchor":"init/1"},{"id":"size/1","deprecated":false,"title":"size(cache_name)","anchor":"size/1"},{"id":"start_link/1","deprecated":false,"title":"start_link(opts)","anchor":"start_link/1"}],"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":"merge_session/2","deprecated":false,"title":"merge_session(event, session)","anchor":"merge_session/2"},{"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/2","deprecated":false,"title":"parallel_tasks(queries, opts \\\\ [])","anchor":"parallel_tasks/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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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.CrmExtensions","deprecated":false,"group":"","title":"Plausible.CrmExtensions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"javascripts/1","deprecated":false,"title":"javascripts(arg1)","anchor":"javascripts/1"}],"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.CleanUpDemoSiteReferrerSource","deprecated":false,"group":"","title":"Plausible.DataMigration.CleanUpDemoSiteReferrerSource","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(timeout \\\\ 60000)","anchor":"run/1"}],"key":"functions"}]},{"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/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"key":"functions"}]},{"id":"Plausible.DataMigration.PopulateEventSessionColumns","deprecated":false,"group":"","title":"Plausible.DataMigration.PopulateEventSessionColumns","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/3","deprecated":false,"title":"confirm(message, func, default_choice \\\\ :yes)","anchor":"confirm/3"},{"id":"kill/1","deprecated":false,"title":"kill(opts \\\\ [])","anchor":"kill/1"},{"id":"report_progress/1","deprecated":false,"title":"report_progress(opts \\\\ [])","anchor":"report_progress/1"},{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"},{"id":"run_sql/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"},{"id":"wait_until_mutations_complete/1","deprecated":false,"title":"wait_until_mutations_complete(opts \\\\ [])","anchor":"wait_until_mutations_complete/1"}],"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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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.DataMigration.SiteImports","deprecated":false,"group":"","title":"Plausible.DataMigration.SiteImports","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"run/1","deprecated":false,"title":"run(opts \\\\ [])","anchor":"run/1"}],"key":"functions"}]},{"id":"Plausible.DataMigration.VersionedSessions","deprecated":false,"group":"","title":"Plausible.DataMigration.VersionedSessions","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/3","deprecated":false,"title":"run_sql(name, assigns \\\\ [], options \\\\ [])","anchor":"run_sql/3"},{"id":"run_sql_confirm/2","deprecated":false,"title":"run_sql_confirm(name, options \\\\ [])","anchor":"run_sql_confirm/2"}],"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.Ecto.Types.CompiledRegex","deprecated":false,"group":"","title":"Plausible.Ecto.Types.CompiledRegex","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.Exports","deprecated":false,"group":"","title":"Plausible.Exports","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"export/0","deprecated":false,"title":"export()","anchor":"t:export/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"archive_filename/2","deprecated":false,"title":"archive_filename(domain, created_on)","anchor":"archive_filename/2"},{"id":"content_disposition/1","deprecated":false,"title":"content_disposition(filename)","anchor":"content_disposition/1"},{"id":"date_range/2","deprecated":false,"title":"date_range(site_id, timezone)","anchor":"date_range/2"},{"id":"delete_local_export/1","deprecated":false,"title":"delete_local_export(site_id)","anchor":"delete_local_export/1"},{"id":"delete_s3_export!/1","deprecated":false,"title":"delete_s3_export!(site_id)","anchor":"delete_s3_export!/1"},{"id":"export_queries/2","deprecated":false,"title":"export_queries(site_id, opts \\\\ [])","anchor":"export_queries/2"},{"id":"get_last_export_job/1","deprecated":false,"title":"get_last_export_job(site_id)","anchor":"get_last_export_job/1"},{"id":"get_local_export/3","deprecated":false,"title":"get_local_export(site_id, domain, timezone)","anchor":"get_local_export/3"},{"id":"get_s3_export!/2","deprecated":false,"title":"get_s3_export!(site_id, retries \\\\ 0)","anchor":"get_s3_export!/2"},{"id":"oban_listen/0","deprecated":false,"title":"oban_listen()","anchor":"oban_listen/0"},{"id":"schedule_local_export/2","deprecated":false,"title":"schedule_local_export(site_id, email_to)","anchor":"schedule_local_export/2"},{"id":"schedule_s3_export/2","deprecated":false,"title":"schedule_s3_export(site_id, email_to)","anchor":"schedule_s3_export/2"},{"id":"stream_archive/3","deprecated":false,"title":"stream_archive(conn, named_queries, opts \\\\ [])","anchor":"stream_archive/3"}],"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":"country_rule_factory/0","deprecated":false,"title":"country_rule_factory()","anchor":"country_rule_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":"drop_notification_factory/0","deprecated":false,"title":"drop_notification_factory()","anchor":"drop_notification_factory/0"},{"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_custom_events_factory/0","deprecated":false,"title":"imported_custom_events_factory()","anchor":"imported_custom_events_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":"ip_rule_factory/0","deprecated":false,"title":"ip_rule_factory()","anchor":"ip_rule_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_import_factory/0","deprecated":false,"title":"site_import_factory()","anchor":"site_import_factory/0"},{"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_steps/2","deprecated":false,"title":"put_steps(changeset, steps)","anchor":"put_steps/2"}],"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, goal_or_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":"edit_changeset/3","deprecated":false,"title":"edit_changeset(funnel, name, steps)","anchor":"edit_changeset/3"},{"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"},{"id":"update/3","deprecated":false,"title":"update(funnel, name, steps)","anchor":"update/3"},{"id":"with_goals_query/1","deprecated":false,"title":"with_goals_query(site)","anchor":"with_goals_query/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"},{"id":"display_name/1","deprecated":false,"title":"display_name(map)","anchor":"display_name/1"},{"id":"max_event_name_length/0","deprecated":false,"title":"max_event_name_length()","anchor":"max_event_name_length/0"},{"id":"type/1","deprecated":false,"title":"type(map)","anchor":"type/1"}],"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":"batch_create_event_goals/2","deprecated":false,"title":"batch_create_event_goals(names, site)","anchor":"batch_create_event_goals/2"},{"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"},{"id":"list_revenue_goals/1","deprecated":false,"title":"list_revenue_goals(site)","anchor":"list_revenue_goals/1"}],"key":"functions"}]},{"id":"Plausible.Google.API","deprecated":false,"group":"","title":"Plausible.Google.API","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_access_token!/1","deprecated":false,"title":"fetch_access_token!(code)","anchor":"fetch_access_token!/1"},{"id":"fetch_stats/4","deprecated":false,"title":"fetch_stats(site, query, pagination, search)","anchor":"fetch_stats/4"},{"id":"fetch_verified_properties/1","deprecated":false,"title":"fetch_verified_properties(auth)","anchor":"fetch_verified_properties/1"},{"id":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, property)","anchor":"get_property/2"},{"id":"import_authorize_url/1","deprecated":false,"title":"import_authorize_url(site_id)","anchor":"import_authorize_url/1"},{"id":"list_properties/1","deprecated":false,"title":"list_properties(access_token)","anchor":"list_properties/1"},{"id":"maybe_refresh_token/1","deprecated":false,"title":"maybe_refresh_token(auth)","anchor":"maybe_refresh_token/1"},{"id":"property?/1","deprecated":false,"title":"property?(value)","anchor":"property?/1"},{"id":"search_console_authorize_url/1","deprecated":false,"title":"search_console_authorize_url(site_id)","anchor":"search_console_authorize_url/1"}],"key":"functions"}]},{"id":"Plausible.Google.API.Mock","deprecated":false,"group":"","title":"Plausible.Google.API.Mock","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"fetch_stats/4","deprecated":false,"title":"fetch_stats(auth, query, pagination, search)","anchor":"fetch_stats/4"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.API","deprecated":false,"group":"","title":"Plausible.Google.GA4.API","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"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":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, lookup_property)","anchor":"get_property/2"},{"id":"import_analytics/4","deprecated":false,"title":"import_analytics(date_range, property, auth, opts)","anchor":"import_analytics/4"},{"id":"list_properties/1","deprecated":false,"title":"list_properties(access_token)","anchor":"list_properties/1"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.HTTP","deprecated":false,"group":"","title":"Plausible.Google.GA4.HTTP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_analytics_end_date/2","deprecated":false,"title":"get_analytics_end_date(access_token, property)","anchor":"get_analytics_end_date/2"},{"id":"get_analytics_start_date/2","deprecated":false,"title":"get_analytics_start_date(access_token, property)","anchor":"get_analytics_start_date/2"},{"id":"get_property/2","deprecated":false,"title":"get_property(access_token, property)","anchor":"get_property/2"},{"id":"get_report/1","deprecated":false,"title":"get_report(report_request)","anchor":"get_report/1"},{"id":"list_accounts_for_user/1","deprecated":false,"title":"list_accounts_for_user(access_token)","anchor":"list_accounts_for_user/1"}],"key":"functions"}]},{"id":"Plausible.Google.GA4.ReportRequest","deprecated":false,"group":"","title":"Plausible.Google.GA4.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.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":"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, pagination, search_console_filters)","anchor":"list_stats/5"},{"id":"refresh_auth_token/1","deprecated":false,"title":"refresh_auth_token(refresh_token)","anchor":"refresh_auth_token/1"}],"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.HelpScout","deprecated":false,"group":"","title":"Plausible.HelpScout","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_customer_details/1","deprecated":false,"title":"get_customer_details(customer_id)","anchor":"get_customer_details/1"},{"id":"validate_signature/1","deprecated":false,"title":"validate_signature(conn)","anchor":"validate_signature/1"}],"key":"functions"}]},{"id":"Plausible.HelpScout.Vault","deprecated":false,"group":"","title":"Plausible.HelpScout.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.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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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":"clamp_dates/3","deprecated":false,"title":"clamp_dates(site, start_date, end_date)","anchor":"clamp_dates/3"},{"id":"clamp_dates/4","deprecated":false,"title":"clamp_dates(occupied_ranges, cutoff_date, start_date, end_date)","anchor":"clamp_dates/4"},{"id":"delete_imports_for_site/1","deprecated":false,"title":"delete_imports_for_site(site)","anchor":"delete_imports_for_site/1"},{"id":"get_cutoff_date/1","deprecated":false,"title":"get_cutoff_date(site)","anchor":"get_cutoff_date/1"},{"id":"get_import/2","deprecated":false,"title":"get_import(site, import_id)","anchor":"get_import/2"},{"id":"get_imports_date_range/1","deprecated":false,"title":"get_imports_date_range(site)","anchor":"get_imports_date_range/1"},{"id":"get_legacy_import/1","deprecated":false,"title":"get_legacy_import(site)","anchor":"get_legacy_import/1"},{"id":"get_occupied_date_ranges/1","deprecated":false,"title":"get_occupied_date_ranges(site)","anchor":"get_occupied_date_ranges/1"},{"id":"goals_with_path/0","deprecated":false,"title":"goals_with_path()","anchor":"goals_with_path/0"},{"id":"goals_with_url/0","deprecated":false,"title":"goals_with_url()","anchor":"goals_with_url/0"},{"id":"imported_custom_props/0","deprecated":false,"title":"imported_custom_props()","anchor":"imported_custom_props/0"},{"id":"list_all_imports/2","deprecated":false,"title":"list_all_imports(site, status \\\\ nil)","anchor":"list_all_imports/2"},{"id":"list_complete_import_ids/1","deprecated":false,"title":"list_complete_import_ids(site)","anchor":"list_complete_import_ids/1"},{"id":"listen/0","deprecated":false,"title":"listen()","anchor":"listen/0"},{"id":"load_import_data/1","deprecated":false,"title":"load_import_data(site)","anchor":"load_import_data/1"},{"id":"max_complete_imports/0","deprecated":false,"title":"max_complete_imports()","anchor":"max_complete_imports/0"},{"id":"other_imports_in_progress?/1","deprecated":false,"title":"other_imports_in_progress?(site_import)","anchor":"other_imports_in_progress?/1"},{"id":"schemas/0","deprecated":false,"title":"schemas()","anchor":"schemas/0"},{"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/1","deprecated":false,"title":"start_link(opts \\\\ [])","anchor":"start_link/1"},{"id":"stop/1","deprecated":false,"title":"stop(pid)","anchor":"stop/1"}],"key":"functions"}]},{"id":"Plausible.Imported.CSVImporter","deprecated":false,"group":"","title":"Plausible.Imported.CSVImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"date_range/1","deprecated":false,"title":"date_range(uploads)","anchor":"date_range/1"},{"id":"extract_table/1","deprecated":false,"title":"extract_table(filename)","anchor":"extract_table/1"},{"id":"local_dir/1","deprecated":false,"title":"local_dir(site_id)","anchor":"local_dir/1"},{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"},{"id":"parse_filename!/1","deprecated":false,"title":"parse_filename!(filename)","anchor":"parse_filename!/1"},{"id":"valid_filename?/1","deprecated":false,"title":"valid_filename?(filename)","anchor":"valid_filename?/1"}],"key":"functions"}]},{"id":"Plausible.Imported.GoogleAnalytics4","deprecated":false,"group":"","title":"Plausible.Imported.GoogleAnalytics4","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"from_report/4","deprecated":false,"title":"from_report(data, site_id, import_id, table)","anchor":"from_report/4"},{"id":"import_data/2","deprecated":false,"title":"import_data(site_import, opts)","anchor":"import_data/2"},{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"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"},{"id":"names/0","deprecated":false,"title":"names()","anchor":"names/0"}],"key":"functions"}]},{"id":"Plausible.Imported.Importer","deprecated":false,"group":"","title":"Plausible.Imported.Importer","sections":[{"id":"Running import fully synchronously","anchor":"module-running-import-fully-synchronously"}],"nodeGroups":[{"name":"Callbacks","nodes":[{"id":"before_start/2","deprecated":false,"title":"before_start(t, t)","anchor":"c:before_start/2"},{"id":"email_template/0","deprecated":false,"title":"email_template()","anchor":"c:email_template/0"},{"id":"import_data/2","deprecated":false,"title":"import_data(t, t)","anchor":"c:import_data/2"},{"id":"label/0","deprecated":false,"title":"label()","anchor":"c:label/0"},{"id":"name/0","deprecated":false,"title":"name()","anchor":"c:name/0"},{"id":"on_failure/1","deprecated":false,"title":"on_failure(t)","anchor":"c:on_failure/1"},{"id":"on_success/2","deprecated":false,"title":"on_success(t, map)","anchor":"c:on_success/2"},{"id":"parse_args/1","deprecated":false,"title":"parse_args(map)","anchor":"c:parse_args/1"}],"key":"callbacks"},{"name":"Functions","nodes":[{"id":"listen/0","deprecated":false,"title":"listen()","anchor":"listen/0"}],"key":"functions"}]},{"id":"Plausible.Imported.NoopImporter","deprecated":false,"group":"","title":"Plausible.Imported.NoopImporter","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"key":"functions"}]},{"id":"Plausible.Imported.SiteImport","deprecated":false,"group":"","title":"Plausible.Imported.SiteImport","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"complete_changeset/2","deprecated":false,"title":"complete_changeset(site_import, params \\\\ %{})","anchor":"complete_changeset/2"},{"id":"completed/0","deprecated":false,"title":"completed()","anchor":"completed/0"},{"id":"create_changeset/3","deprecated":false,"title":"create_changeset(site, user, params)","anchor":"create_changeset/3"},{"id":"fail_changeset/1","deprecated":false,"title":"fail_changeset(site_import)","anchor":"fail_changeset/1"},{"id":"failed/0","deprecated":false,"title":"failed()","anchor":"failed/0"},{"id":"importing/0","deprecated":false,"title":"importing()","anchor":"importing/0"},{"id":"label/1","deprecated":false,"title":"label(map)","anchor":"label/1"},{"id":"pending/0","deprecated":false,"title":"pending()","anchor":"pending/0"},{"id":"start_changeset/1","deprecated":false,"title":"start_changeset(site_import)","anchor":"start_changeset/1"}],"key":"functions"}]},{"id":"Plausible.Imported.UniversalAnalytics","deprecated":false,"group":"","title":"Plausible.Imported.UniversalAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"new_import/3","deprecated":false,"title":"new_import(site, user, opts)","anchor":"new_import/3"}],"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_inline_sql/2","deprecated":false,"title":"to_inline_sql(operation, queryable)","anchor":"to_inline_sql/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"},{"id":"telemetry_pipeline_step_duration/0","deprecated":false,"title":"telemetry_pipeline_step_duration()","anchor":"telemetry_pipeline_step_duration/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.License","deprecated":false,"group":"","title":"Plausible.License","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"ensure_valid_license/0","deprecated":false,"title":"ensure_valid_license()","anchor":"ensure_valid_license/0"}],"key":"functions"}]},{"id":"Plausible.LiveViewTest","deprecated":false,"group":"","title":"Plausible.LiveViewTest","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render_component/3","deprecated":false,"title":"render_component(component, assigns \\\\ Macro.escape(%{}), opts \\\\ [])","anchor":"render_component/3"}],"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.MigrationUtils","deprecated":false,"group":"","title":"Plausible.MigrationUtils","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"clustered_table?/1","deprecated":false,"title":"clustered_table?(table)","anchor":"clustered_table?/1"},{"id":"on_cluster_statement/1","deprecated":false,"title":"on_cluster_statement(table)","anchor":"on_cluster_statement/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/2","deprecated":false,"title":"fetch_prices(product_ids, customer_ip)","anchor":"fetch_prices/2"},{"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.Capabilities","deprecated":false,"group":"","title":"Plausible.Plugins.API.Capabilities","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get/1","deprecated":false,"title":"get(conn)","anchor":"get/1"}],"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.Funnels","deprecated":false,"group":"","title":"Plausible.Plugins.API.Funnels","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, create_request)","anchor":"create/2"},{"id":"get/2","deprecated":false,"title":"get(site, by)","anchor":"get/2"},{"id":"get_funnels/2","deprecated":false,"title":"get_funnels(site, params)","anchor":"get_funnels/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"},{"id":"measure_duration/3","deprecated":false,"title":"measure_duration(event, fun, meta \\\\ %{})","anchor":"measure_duration/3"}],"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_imported_stats!/2","deprecated":false,"title":"delete_imported_stats!(site, import_id)","anchor":"delete_imported_stats!/2"},{"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.RequestLogger","deprecated":false,"group":"","title":"Plausible.RequestLogger","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"log_request/4","deprecated":false,"title":"log_request(_, map1, map2, _)","anchor":"log_request/4"}],"key":"functions"}]},{"id":"Plausible.S3","deprecated":false,"group":"","title":"Plausible.S3","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"download_url/2","deprecated":false,"title":"download_url(s3_bucket, s3_path)","anchor":"download_url/2"},{"id":"export_upload_multipart/4","deprecated":false,"title":"export_upload_multipart(stream, s3_bucket, s3_path, filename)","anchor":"export_upload_multipart/4"},{"id":"exports_bucket/0","deprecated":false,"title":"exports_bucket()","anchor":"exports_bucket/0"},{"id":"import_clickhouse_credentials/0","deprecated":false,"title":"import_clickhouse_credentials()","anchor":"import_clickhouse_credentials/0"},{"id":"import_presign_upload/2","deprecated":false,"title":"import_presign_upload(site_id, filename)","anchor":"import_presign_upload/2"},{"id":"imports_bucket/0","deprecated":false,"title":"imports_bucket()","anchor":"imports_bucket/0"}],"key":"functions"}]},{"id":"Plausible.Sentry.Client","deprecated":false,"group":"","title":"Plausible.Sentry.Client","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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"}],"key":"functions"}]},{"id":"Plausible.Session.CacheStore","deprecated":false,"group":"","title":"Plausible.Session.CacheStore","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"on_event/4","deprecated":false,"title":"on_event(event, session_attributes, prev_user_id, buffer \\\\ WriteBuffer)","anchor":"on_event/4"}],"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.Shield.CountryRule","deprecated":false,"group":"","title":"Plausible.Shield.CountryRule","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(rule, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.CountryRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.CountryRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.HostnameRule","deprecated":false,"group":"","title":"Plausible.Shield.HostnameRule","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(rule \\\\ %__MODULE__{}, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.HostnameRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.HostnameRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.IPRule","deprecated":false,"group":"","title":"Plausible.Shield.IPRule","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(rule, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.IPRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.IPRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shield.PageRule","deprecated":false,"group":"","title":"Plausible.Shield.PageRule","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(rule \\\\ %__MODULE__{}, attrs)","anchor":"changeset/2"}],"key":"functions"}]},{"id":"Plausible.Shield.PageRuleCache","deprecated":false,"group":"","title":"Plausible.Shield.PageRuleCache","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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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"}],"key":"functions"}]},{"id":"Plausible.Shields","deprecated":false,"group":"","title":"Plausible.Shields","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add_country_rule/3","deprecated":false,"title":"add_country_rule(site_or_id, params, opts \\\\ [])","anchor":"add_country_rule/3"},{"id":"add_hostname_rule/3","deprecated":false,"title":"add_hostname_rule(site_or_id, params, opts \\\\ [])","anchor":"add_hostname_rule/3"},{"id":"add_ip_rule/3","deprecated":false,"title":"add_ip_rule(site_or_id, params, opts \\\\ [])","anchor":"add_ip_rule/3"},{"id":"add_page_rule/3","deprecated":false,"title":"add_page_rule(site_or_id, params, opts \\\\ [])","anchor":"add_page_rule/3"},{"id":"allowed_hostname_patterns/1","deprecated":false,"title":"allowed_hostname_patterns(domain)","anchor":"allowed_hostname_patterns/1"},{"id":"count_country_rules/1","deprecated":false,"title":"count_country_rules(site_or_id)","anchor":"count_country_rules/1"},{"id":"count_hostname_rules/1","deprecated":false,"title":"count_hostname_rules(site_or_id)","anchor":"count_hostname_rules/1"},{"id":"count_ip_rules/1","deprecated":false,"title":"count_ip_rules(site_or_id)","anchor":"count_ip_rules/1"},{"id":"count_page_rules/1","deprecated":false,"title":"count_page_rules(site_or_id)","anchor":"count_page_rules/1"},{"id":"country_blocked?/2","deprecated":false,"title":"country_blocked?(domain, country_code)","anchor":"country_blocked?/2"},{"id":"hostname_allowed?/2","deprecated":false,"title":"hostname_allowed?(domain, hostname)","anchor":"hostname_allowed?/2"},{"id":"ip_blocked?/2","deprecated":false,"title":"ip_blocked?(domain, address)","anchor":"ip_blocked?/2"},{"id":"list_country_rules/1","deprecated":false,"title":"list_country_rules(site_or_id)","anchor":"list_country_rules/1"},{"id":"list_hostname_rules/1","deprecated":false,"title":"list_hostname_rules(site_or_id)","anchor":"list_hostname_rules/1"},{"id":"list_ip_rules/1","deprecated":false,"title":"list_ip_rules(site_or_id)","anchor":"list_ip_rules/1"},{"id":"list_page_rules/1","deprecated":false,"title":"list_page_rules(site_or_id)","anchor":"list_page_rules/1"},{"id":"maximum_country_rules/0","deprecated":false,"title":"maximum_country_rules()","anchor":"maximum_country_rules/0"},{"id":"maximum_hostname_rules/0","deprecated":false,"title":"maximum_hostname_rules()","anchor":"maximum_hostname_rules/0"},{"id":"maximum_ip_rules/0","deprecated":false,"title":"maximum_ip_rules()","anchor":"maximum_ip_rules/0"},{"id":"maximum_page_rules/0","deprecated":false,"title":"maximum_page_rules()","anchor":"maximum_page_rules/0"},{"id":"page_blocked?/2","deprecated":false,"title":"page_blocked?(domain, address)","anchor":"page_blocked?/2"},{"id":"remove_country_rule/2","deprecated":false,"title":"remove_country_rule(site_or_id, rule_id)","anchor":"remove_country_rule/2"},{"id":"remove_hostname_rule/2","deprecated":false,"title":"remove_hostname_rule(site_or_id, rule_id)","anchor":"remove_hostname_rule/2"},{"id":"remove_ip_rule/2","deprecated":false,"title":"remove_ip_rule(site_or_id, rule_id)","anchor":"remove_ip_rule/2"},{"id":"remove_page_rule/2","deprecated":false,"title":"remove_page_rule(site_or_id, rule_id)","anchor":"remove_page_rule/2"}],"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":"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":"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":"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_or_store/3","deprecated":false,"title":"get_or_store(key, fallback_fn, opts \\\\ [])","anchor":"get_or_store/3"},{"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":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"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":"all_pending_ownerships/1","deprecated":false,"title":"all_pending_ownerships(email)","anchor":"all_pending_ownerships/1"},{"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.TrafficChangeNotification","deprecated":false,"group":"","title":"Plausible.Site.TrafficChangeNotification","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":"before_update/2","deprecated":false,"title":"before_update(conn, changeset)","anchor":"before_update/2"},{"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":"clear_stats_start_date!/1","deprecated":false,"title":"clear_stats_start_date!(site)","anchor":"clear_stats_start_date!/1"},{"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":"for_user_query/1","deprecated":false,"title":"for_user_query(user)","anchor":"for_user_query/1"},{"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":"native_stats_start_date/1","deprecated":false,"title":"native_stats_start_date(site)","anchor":"native_stats_start_date/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":"owned_sites_locked?/1","deprecated":false,"title":"owned_sites_locked?(user)","anchor":"owned_sites_locked?/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/4","deprecated":false,"title":"breakdown(site, query, metrics, pagination)","anchor":"breakdown/4"},{"id":"current_visitors/2","deprecated":false,"title":"current_visitors(site, duration \\\\ Duration.new!(minute: -5))","anchor":"current_visitors/2"},{"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":"query/2","deprecated":false,"title":"query(site, query)","anchor":"query/2"},{"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":"base_event_query/2","deprecated":false,"title":"base_event_query(site, query)","anchor":"base_event_query/2"},{"id":"query_sessions/2","deprecated":false,"title":"query_sessions(site, query)","anchor":"query_sessions/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Breakdown","deprecated":false,"group":"","title":"Plausible.Stats.Breakdown","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"breakdown/5","deprecated":false,"title":"breakdown(site, query, metrics, pagination, opts \\\\ [])","anchor":"breakdown/5"},{"id":"transform_dimensions/1","deprecated":false,"title":"transform_dimensions(dimension)","anchor":"transform_dimensions/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Clickhouse","deprecated":false,"group":"","title":"Plausible.Stats.Clickhouse","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"current_visitors/1","deprecated":false,"title":"current_visitors(site)","anchor":"current_visitors/1"},{"id":"current_visitors_12h/1","deprecated":false,"title":"current_visitors_12h(site)","anchor":"current_visitors_12h/1"},{"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":"imported_pageview_counts/1","deprecated":false,"title":"imported_pageview_counts(site)","anchor":"imported_pageview_counts/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_for_spike/4","deprecated":false,"title":"top_sources_for_spike(site, query, limit, page)","anchor":"top_sources_for_spike/4"},{"id":"usage_breakdown/2","deprecated":false,"title":"usage_breakdown(site_ids, 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_value, new_value)","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/2","deprecated":false,"title":"current_visitors(site, duration \\\\ Duration.new!(minute: -5))","anchor":"current_visitors/2"}],"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":"event_table_visit_props/0","deprecated":false,"title":"event_table_visit_props()","anchor":"event_table_visit_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"},{"id":"without_prefix/1","deprecated":false,"title":"without_prefix(dimension)","anchor":"without_prefix/1"}],"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":"page_regex/1","deprecated":false,"title":"page_regex(expr)","anchor":"page_regex/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":"split_goals/1","deprecated":false,"title":"split_goals(goals)","anchor":"split_goals/1"},{"id":"split_goals_query_expressions/1","deprecated":false,"title":"split_goals_query_expressions(goals)","anchor":"split_goals_query_expressions/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.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":"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"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported","deprecated":false,"group":"","title":"Plausible.Stats.Imported","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"goals_with_path/0","deprecated":false,"title":"goals_with_path()","anchor":"goals_with_path/0"},{"id":"goals_with_url/0","deprecated":false,"title":"goals_with_url()","anchor":"goals_with_url/0"},{"id":"merge_imported/4","deprecated":false,"title":"merge_imported(q, site, query, metrics)","anchor":"merge_imported/4"},{"id":"merge_imported_city_suggestions/3","deprecated":false,"title":"merge_imported_city_suggestions(native_q, site, query)","anchor":"merge_imported_city_suggestions/3"},{"id":"merge_imported_country_suggestions/3","deprecated":false,"title":"merge_imported_country_suggestions(native_q, site, query)","anchor":"merge_imported_country_suggestions/3"},{"id":"merge_imported_filter_suggestions/5","deprecated":false,"title":"merge_imported_filter_suggestions(native_q, site, query, filter_name, filter_query)","anchor":"merge_imported_filter_suggestions/5"},{"id":"merge_imported_region_suggestions/3","deprecated":false,"title":"merge_imported_region_suggestions(native_q, site, query)","anchor":"merge_imported_region_suggestions/3"},{"id":"schema_supports_query?/1","deprecated":false,"title":"schema_supports_query?(query)","anchor":"schema_supports_query?/1"},{"id":"total_imported_visitors/2","deprecated":false,"title":"total_imported_visitors(site, query)","anchor":"total_imported_visitors/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported.Base","deprecated":false,"group":"","title":"Plausible.Stats.Imported.Base","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"decide_tables/1","deprecated":false,"title":"decide_tables(query)","anchor":"decide_tables/1"},{"id":"property_to_table_mappings/0","deprecated":false,"title":"property_to_table_mappings()","anchor":"property_to_table_mappings/0"},{"id":"query_imported/2","deprecated":false,"title":"query_imported(site, query)","anchor":"query_imported/2"},{"id":"query_imported/3","deprecated":false,"title":"query_imported(table, site, query)","anchor":"query_imported/3"},{"id":"special_goals_for/1","deprecated":false,"title":"special_goals_for(binary)","anchor":"special_goals_for/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Imported.SQL.Builder","deprecated":false,"group":"","title":"Plausible.Stats.Imported.SQL.Builder","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"group_imported_by/2","deprecated":false,"title":"group_imported_by(q, query)","anchor":"group_imported_by/2"},{"id":"naive_dimension_join/3","deprecated":false,"title":"naive_dimension_join(q1, q2, metrics)","anchor":"naive_dimension_join/3"},{"id":"select_imported_metrics/2","deprecated":false,"title":"select_imported_metrics(q, list)","anchor":"select_imported_metrics/2"},{"id":"select_joined_dimensions/2","deprecated":false,"title":"select_joined_dimensions(q, query)","anchor":"select_joined_dimensions/2"},{"id":"select_joined_metrics/2","deprecated":false,"title":"select_joined_metrics(q, list)","anchor":"select_joined_metrics/2"}],"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.Legacy.Dimensions","deprecated":false,"group":"","title":"Plausible.Stats.Legacy.Dimensions","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"valid?/1","deprecated":false,"title":"valid?(prop)","anchor":"valid?/1"}],"key":"functions"}]},{"id":"Plausible.Stats.Metrics","deprecated":false,"group":"","title":"Plausible.Stats.Metrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"from_string/1","deprecated":false,"title":"from_string(str)","anchor":"from_string/1"},{"id":"from_string!/1","deprecated":false,"title":"from_string!(str)","anchor":"from_string!/1"},{"id":"metric?/1","deprecated":false,"title":"metric?(value)","anchor":"metric?/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":"add_filter/2","deprecated":false,"title":"add_filter(query, filter)","anchor":"add_filter/2"},{"id":"build/2","deprecated":false,"title":"build(site, params)","anchor":"build/2"},{"id":"ensure_include_imported/2","deprecated":false,"title":"ensure_include_imported(query, requested?)","anchor":"ensure_include_imported/2"},{"id":"from/2","deprecated":false,"title":"from(site, params)","anchor":"from/2"},{"id":"get_filter/2","deprecated":false,"title":"get_filter(query, name)","anchor":"get_filter/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":"put_experimental_reduced_joins/3","deprecated":false,"title":"put_experimental_reduced_joins(query, site, params)","anchor":"put_experimental_reduced_joins/3"},{"id":"put_imported_opts/3","deprecated":false,"title":"put_imported_opts(query, site, params)","anchor":"put_imported_opts/3"},{"id":"remove_filters/2","deprecated":false,"title":"remove_filters(query, prefixes)","anchor":"remove_filters/2"},{"id":"set/2","deprecated":false,"title":"set(query, keywords)","anchor":"set/2"},{"id":"trace/2","deprecated":false,"title":"trace(query, metrics)","anchor":"trace/2"}],"key":"functions"}]},{"id":"Plausible.Stats.QueryOptimizer","deprecated":false,"group":"","title":"Plausible.Stats.QueryOptimizer","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"optimize/1","deprecated":false,"title":"optimize(query)","anchor":"optimize/1"},{"id":"split/1","deprecated":false,"title":"split(query)","anchor":"split/1"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.Expression","deprecated":false,"group":"","title":"Plausible.Stats.SQL.Expression","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"event_goal_join/2","deprecated":false,"title":"event_goal_join(events, page_regexes)","anchor":"event_goal_join/2"},{"id":"event_metric/1","deprecated":false,"title":"event_metric(unknown)","anchor":"event_metric/1"},{"id":"select_dimension/5","deprecated":false,"title":"select_dimension(q, key, arg3, arg4, query)","anchor":"select_dimension/5"},{"id":"session_metric/2","deprecated":false,"title":"session_metric(atom, query)","anchor":"session_metric/2"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.Fragments","deprecated":false,"group":"","title":"Plausible.Stats.SQL.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":"meta_key_column/1","deprecated":false,"title":"meta_key_column(atom)","anchor":"meta_key_column/1"},{"id":"meta_value_column/1","deprecated":false,"title":"meta_value_column(atom)","anchor":"meta_value_column/1"},{"id":"sample_percent/0","deprecated":false,"title":"sample_percent()","anchor":"sample_percent/0"},{"id":"select_join_fields/4","deprecated":false,"title":"select_join_fields(q, query, list, table_name)","anchor":"select_join_fields/4"},{"id":"select_merge_as/3","deprecated":false,"title":"select_merge_as(q, binding, map_literal)","anchor":"select_merge_as/3"},{"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":"wrap_alias/2","deprecated":false,"title":"wrap_alias(binding, map_literal)","anchor":"wrap_alias/2"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.SpecialMetrics","deprecated":false,"group":"","title":"Plausible.Stats.SQL.SpecialMetrics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"add/3","deprecated":false,"title":"add(q, site, query)","anchor":"add/3"},{"id":"maybe_add_global_conversion_rate/3","deprecated":false,"title":"maybe_add_global_conversion_rate(q, site, query)","anchor":"maybe_add_global_conversion_rate/3"},{"id":"maybe_add_group_conversion_rate/3","deprecated":false,"title":"maybe_add_group_conversion_rate(q, site, query)","anchor":"maybe_add_group_conversion_rate/3"}],"key":"functions"}]},{"id":"Plausible.Stats.SQL.WhereBuilder","deprecated":false,"group":"","title":"Plausible.Stats.SQL.WhereBuilder","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"build/3","deprecated":false,"title":"build(table, site, query)","anchor":"build/3"},{"id":"build_condition/2","deprecated":false,"title":"build_condition(db_field, filter)","anchor":"build_condition/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.TableDecider","deprecated":false,"group":"","title":"Plausible.Stats.TableDecider","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"events_join_sessions?/1","deprecated":false,"title":"events_join_sessions?(query)","anchor":"events_join_sessions?/1"},{"id":"partition_metrics/2","deprecated":false,"title":"partition_metrics(metrics, query)","anchor":"partition_metrics/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Time","deprecated":false,"group":"","title":"Plausible.Stats.Time","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"format_datetime/1","deprecated":false,"title":"format_datetime(date)","anchor":"format_datetime/1"},{"id":"time_dimension/1","deprecated":false,"title":"time_dimension(query)","anchor":"time_dimension/1"},{"id":"time_labels/1","deprecated":false,"title":"time_labels(query)","anchor":"time_labels/1"},{"id":"utc_boundaries/2","deprecated":false,"title":"utc_boundaries(query, site)","anchor":"utc_boundaries/2"}],"key":"functions"}]},{"id":"Plausible.Stats.Timeseries","deprecated":false,"group":"","title":"Plausible.Stats.Timeseries","sections":[],"nodeGroups":[{"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":"keep_requested_metrics/2","deprecated":false,"title":"keep_requested_metrics(results, requested_metrics)","anchor":"keep_requested_metrics/2"},{"id":"maybe_add_visitors_metric/1","deprecated":false,"title":"maybe_add_visitors_metric(metrics)","anchor":"maybe_add_visitors_metric/1"},{"id":"shortname/2","deprecated":false,"title":"shortname(query, metric)","anchor":"shortname/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":"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_legacy_site_import/1","deprecated":false,"title":"create_legacy_site_import(map)","anchor":"create_legacy_site_import/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_site/1","deprecated":false,"title":"create_site(map)","anchor":"create_site/1"},{"id":"create_site_import/1","deprecated":false,"title":"create_site_import(opts)","anchor":"create_site_import/1"},{"id":"create_user/1","deprecated":false,"title":"create_user(_)","anchor":"create_user/1"},{"id":"ensure_minio/0","deprecated":false,"title":"ensure_minio()","anchor":"ensure_minio/0"},{"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":"maybe_fake_minio/1","deprecated":false,"title":"maybe_fake_minio(context)","anchor":"maybe_fake_minio/1"},{"id":"minio_running?/0","deprecated":false,"title":"minio_running?()","anchor":"minio_running?/0"},{"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":"populate_stats/3","deprecated":false,"title":"populate_stats(site, import_id, events)","anchor":"populate_stats/3"},{"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_datetime_in_timezone/2","deprecated":false,"title":"to_datetime_in_timezone(dt, timezone)","anchor":"to_datetime_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.Verification","deprecated":false,"group":"","title":"Plausible.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"enabled?/0","deprecated":false,"title":"enabled?()","anchor":"enabled?/0"},{"id":"user_agent/0","deprecated":false,"title":"user_agent()","anchor":"user_agent/0"}],"key":"functions"}]},{"id":"Plausible.Verification.Check","deprecated":false,"group":"","title":"Plausible.Verification.Check","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"state/0","deprecated":false,"title":"state()","anchor":"t:state/0"}],"key":"types"},{"name":"Callbacks","nodes":[{"id":"perform/1","deprecated":false,"title":"perform(state)","anchor":"c:perform/1"},{"id":"report_progress_as/0","deprecated":false,"title":"report_progress_as()","anchor":"c:report_progress_as/0"}],"key":"callbacks"}]},{"id":"Plausible.Verification.Checks","deprecated":false,"group":"","title":"Plausible.Verification.Checks","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"interpret_diagnostics/1","deprecated":false,"title":"interpret_diagnostics(state)","anchor":"interpret_diagnostics/1"},{"id":"run/3","deprecated":false,"title":"run(url, data_domain, opts \\\\ [])","anchor":"run/3"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.CSP","deprecated":false,"group":"","title":"Plausible.Verification.Checks.CSP","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.FetchBody","deprecated":false,"group":"","title":"Plausible.Verification.Checks.FetchBody","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.Installation","deprecated":false,"group":"","title":"Plausible.Verification.Checks.Installation","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.ScanBody","deprecated":false,"group":"","title":"Plausible.Verification.Checks.ScanBody","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.Snippet","deprecated":false,"group":"","title":"Plausible.Verification.Checks.Snippet","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Checks.SnippetCacheBust","deprecated":false,"group":"","title":"Plausible.Verification.Checks.SnippetCacheBust","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"perform_safe/1","deprecated":false,"title":"perform_safe(state)","anchor":"perform_safe/1"}],"key":"functions"}]},{"id":"Plausible.Verification.Diagnostics","deprecated":false,"group":"","title":"Plausible.Verification.Diagnostics","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"interpret/2","deprecated":false,"title":"interpret(diagnostics, url)","anchor":"interpret/2"}],"key":"functions"}]},{"id":"Plausible.Verification.Diagnostics.Result","deprecated":false,"group":"","title":"Plausible.Verification.Diagnostics.Result","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"}]},{"id":"Plausible.Verification.Errors","deprecated":false,"group":"","title":"Plausible.Verification.Errors","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"all/0","deprecated":false,"title":"all()","anchor":"all/0"}],"key":"functions"}]},{"id":"Plausible.Verification.State","deprecated":false,"group":"","title":"Plausible.Verification.State","sections":[],"nodeGroups":[{"name":"Types","nodes":[{"id":"t/0","deprecated":false,"title":"t()","anchor":"t:t/0"}],"key":"types"},{"name":"Functions","nodes":[{"id":"assign/2","deprecated":false,"title":"assign(state, assigns)","anchor":"assign/2"},{"id":"put_diagnostics/2","deprecated":false,"title":"put_diagnostics(state, diagnostics)","anchor":"put_diagnostics/2"}],"key":"functions"}]},{"id":"Plausible.Verification.URL","deprecated":false,"group":"","title":"Plausible.Verification.URL","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"bust_url/1","deprecated":false,"title":"bust_url(url)","anchor":"bust_url/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, usage_mod)","anchor":"check_enterprise_subscriber/2"},{"id":"day_of_month/1","deprecated":false,"title":"day_of_month(date)","anchor":"day_of_month/1"},{"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":"maybe_remove_grace_period/2","deprecated":false,"title":"maybe_remove_grace_period(subscriber, usage_mod)","anchor":"maybe_remove_grace_period/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.ClickhouseCleanSites","deprecated":false,"group":"","title":"Plausible.Workers.ClickhouseCleanSites","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"get_deleted_sites_with_clickhouse_data/0","deprecated":false,"title":"get_deleted_sites_with_clickhouse_data()","anchor":"get_deleted_sites_with_clickhouse_data/0"},{"id":"perform/1","deprecated":false,"title":"perform(job)","anchor":"perform/1"}],"key":"functions"}]},{"id":"Plausible.Workers.ExpireDomainChangeTransitions","deprecated":false,"group":"","title":"Plausible.Workers.ExpireDomainChangeTransitions","sections":[]},{"id":"Plausible.Workers.ExportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ExportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"base_query/1","deprecated":false,"title":"base_query(site_id)","anchor":"base_query/1"}],"key":"functions"}]},{"id":"Plausible.Workers.ImportAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.ImportAnalytics","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"import_complete/1","deprecated":false,"title":"import_complete(site_import)","anchor":"import_complete/1"},{"id":"import_fail/2","deprecated":false,"title":"import_fail(site_import, opts)","anchor":"import_fail/2"},{"id":"import_fail_transient/1","deprecated":false,"title":"import_fail_transient(site_import)","anchor":"import_fail_transient/1"}],"key":"functions"}]},{"id":"Plausible.Workers.LocalImportAnalyticsCleaner","deprecated":false,"group":"","title":"Plausible.Workers.LocalImportAnalyticsCleaner","sections":[]},{"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.NotifyExportedAnalytics","deprecated":false,"group":"","title":"Plausible.Workers.NotifyExportedAnalytics","sections":[]},{"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.TrafficChangeNotifier","deprecated":false,"group":"","title":"Plausible.Workers.TrafficChangeNotifier","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":"current_plan/2","deprecated":false,"title":"current_plan(conn, params)","anchor":"current_plan/2"},{"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":"goals_index/2","deprecated":false,"title":"goals_index(conn, params)","anchor":"goals_index/2"},{"id":"index/2","deprecated":false,"title":"index(conn, params)","anchor":"index/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":"currency/2","deprecated":false,"title":"currency(conn, params)","anchor":"currency/2"},{"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":"build_intervals/4","deprecated":false,"title":"build_intervals(labels, date_range, start_fn, end_fn)","anchor":"build_intervals/4"},{"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.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.FirstDashboardLaunchBanner","deprecated":false,"group":"","title":"PlausibleWeb.Components.FirstDashboardLaunchBanner","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"set/1","deprecated":false,"title":"set(assigns)","anchor":"set/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":"tooltip/1","deprecated":false,"title":"tooltip(assigns)","anchor":"tooltip/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_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":"drop_notification/5","deprecated":false,"title":"drop_notification(email, site, current_visitors, dashboard_link, settings_link)","anchor":"drop_notification/5"},{"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":"export_failure/2","deprecated":false,"title":"export_failure(user, site)","anchor":"export_failure/2"},{"id":"export_success/3","deprecated":false,"title":"export_success(user, site, expires_at)","anchor":"export_success/3"},{"id":"import_failure/2","deprecated":false,"title":"import_failure(site_import, user)","anchor":"import_failure/2"},{"id":"import_success/2","deprecated":false,"title":"import_success(site_import, user)","anchor":"import_success/2"},{"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":"csv_import.html/1","deprecated":false,"title":"csv_import.html(assigns)","anchor":"csv_import.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":"drop_notification.html/1","deprecated":false,"title":"drop_notification.html(assigns)","anchor":"drop_notification.html/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":"export_failure.html/1","deprecated":false,"title":"export_failure.html(assigns)","anchor":"export_failure.html/1"},{"id":"export_success.html/1","deprecated":false,"title":"export_success.html(assigns)","anchor":"export_success.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.GoogleAnalyticsController","deprecated":false,"group":"","title":"PlausibleWeb.GoogleAnalyticsController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"confirm/2","deprecated":false,"title":"confirm(conn, map)","anchor":"confirm/2"},{"id":"import/2","deprecated":false,"title":"import(conn, map)","anchor":"import/2"},{"id":"property/2","deprecated":false,"title":"property(conn, params)","anchor":"property/2"},{"id":"property_form/2","deprecated":false,"title":"property_form(conn, params)","anchor":"property_form/2"}],"key":"functions"}]},{"id":"PlausibleWeb.GoogleAnalyticsView","deprecated":false,"group":"","title":"PlausibleWeb.GoogleAnalyticsView","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"__resource__/0","deprecated":false,"title":"__resource__()","anchor":"__resource__/0"},{"id":"confirm.html/1","deprecated":false,"title":"confirm.html(assigns)","anchor":"confirm.html/1"},{"id":"property_form.html/1","deprecated":false,"title":"property_form.html(assigns)","anchor":"property_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"}],"key":"functions"}]},{"id":"PlausibleWeb.HelpScoutController","deprecated":false,"group":"","title":"PlausibleWeb.HelpScoutController","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"callback/2","deprecated":false,"title":"callback(conn, map)","anchor":"callback/2"}],"key":"functions"}]},{"id":"PlausibleWeb.HelpScoutView","deprecated":false,"group":"","title":"PlausibleWeb.HelpScoutView","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.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":"flat_settings_options/1","deprecated":false,"title":"flat_settings_options(conn)","anchor":"flat_settings_options/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":"logo_path/1","deprecated":false,"title":"logo_path(filename)","anchor":"logo_path/1"},{"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.CSVExport","deprecated":false,"group":"","title":"PlausibleWeb.Live.CSVExport","sections":[]},{"id":"PlausibleWeb.Live.CSVImport","deprecated":false,"group":"","title":"PlausibleWeb.Live.CSVImport","sections":[]},{"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":"open/2","deprecated":false,"title":"open(socket, id)","anchor":"open/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.Verification","deprecated":false,"group":"","title":"PlausibleWeb.Live.Components.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/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, session, 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, params, 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.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, arg2, 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_event_names/3","deprecated":false,"title":"suggest_event_names(input, site, existing_goals)","anchor":"suggest_event_names/3"},{"id":"suggest_page_paths/2","deprecated":false,"title":"suggest_page_paths(input, site)","anchor":"suggest_page_paths/2"},{"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.ImportsExportsSettings","deprecated":false,"group":"","title":"PlausibleWeb.Live.ImportsExportsSettings","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Shields.Countries","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Countries","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.CountryRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.CountryRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.HostnameRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.HostnameRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"suggest_hostnames/3","deprecated":false,"title":"suggest_hostnames(input, options, site)","anchor":"suggest_hostnames/3"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.Hostnames","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Hostnames","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.IPAddresses","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.IPAddresses","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.Shields.IPRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.IPRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.PageRules","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.PageRules","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, map, socket)","anchor":"handle_event/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/1"},{"id":"send_flash/2","deprecated":false,"title":"send_flash(kind, message)","anchor":"send_flash/2"},{"id":"suggest_page_paths/3","deprecated":false,"title":"suggest_page_paths(input, options, site)","anchor":"suggest_page_paths/3"},{"id":"update/2","deprecated":false,"title":"update(assigns, socket)","anchor":"update/2"}],"key":"functions"}]},{"id":"PlausibleWeb.Live.Shields.Pages","deprecated":false,"group":"","title":"PlausibleWeb.Live.Shields.Pages","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Live.Verification","deprecated":false,"group":"","title":"PlausibleWeb.Live.Verification","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"id":"handle_event/3","deprecated":false,"title":"handle_event(binary, _, 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(atom, session, socket)","anchor":"mount/3"},{"id":"render/1","deprecated":false,"title":"render(assigns)","anchor":"render/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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Capabilities","sections":[],"nodeGroups":[{"name":"Functions","nodes":[{"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.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.Funnels","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Controllers.Funnels","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.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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Capabilities","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","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.Funnel","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel","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.Funnel.CreateRequest","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel.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.Funnel.ListResponse","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Schemas.Funnel.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","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.Capabilities","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Capabilities","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.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.Funnel","deprecated":false,"group":"","title":"PlausibleWeb.Plugins.API.Views.Funnel","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.AuthorizePublicAPI","deprecated":false,"group":"","title":"PlausibleWeb.Plugs.AuthorizePublicAPI","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":"format_referrer/1","deprecated":false,"title":"format_referrer(uri)","anchor":"format_referrer/1"},{"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_traffic_change_notification_recipient/2","deprecated":false,"title":"add_traffic_change_notification_recipient(conn, map)","anchor":"add_traffic_change_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":"csv_import/2","deprecated":false,"title":"csv_import(conn, params)","anchor":"csv_import/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_traffic_change_notification/2","deprecated":false,"title":"disable_traffic_change_notification(conn, map)","anchor":"disable_traffic_change_notification/2"},{"id":"disable_weekly_report/2","deprecated":false,"title":"disable_weekly_report(conn, params)","anchor":"disable_weekly_report/2"},{"id":"download_export/2","deprecated":false,"title":"download_export(conn, params)","anchor":"download_export/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_traffic_change_notification/2","deprecated":false,"title":"enable_traffic_change_notification(conn, map)","anchor":"enable_traffic_change_notification/2"},{"id":"enable_weekly_report/2","deprecated":false,"title":"enable_weekly_report(conn, params)","anchor":"enable_weekly_report/2"},{"id":"forget_import/2","deprecated":false,"title":"forget_import(conn, map)","anchor":"forget_import/2"},{"id":"forget_imported/2","deprecated":false,"title":"forget_imported(conn, params)","anchor":"forget_imported/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_traffic_change_notification_recipient/2","deprecated":false,"title":"remove_traffic_change_notification_recipient(conn, map)","anchor":"remove_traffic_change_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_imports_exports/2","deprecated":false,"title":"settings_imports_exports(conn, params)","anchor":"settings_imports_exports/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_shields/2","deprecated":false,"title":"settings_shields(conn, map)","anchor":"settings_shields/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_traffic_change_notification/2","deprecated":false,"title":"update_traffic_change_notification(conn, map)","anchor":"update_traffic_change_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":"csv_import.html/1","deprecated":false,"title":"csv_import.html(assigns)","anchor":"csv_import.html/1"},{"id":"edit_shared_link.html/1","deprecated":false,"title":"edit_shared_link.html(assigns)","anchor":"edit_shared_link.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_imports_exports.html/1","deprecated":false,"title":"settings_imports_exports.html(assigns)","anchor":"settings_imports_exports.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_shields.html/1","deprecated":false,"title":"settings_shields.html(assigns)","anchor":"settings_shields.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":"traffic_change_form/1","deprecated":false,"title":"traffic_change_form(assigns)","anchor":"traffic_change_form/1"},{"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, arg2)","anchor":"monthly_report/2"},{"id":"weekly_report/2","deprecated":false,"title":"weekly_report(conn, arg2)","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 9bbf8bf5e..e0cd8084b 100644 --- a/readme.html +++ b/readme.html @@ -14,7 +14,7 @@ - + diff --git a/search.html b/search.html index 648e83ad0..0e4e92846 100644 --- a/search.html +++ b/search.html @@ -16,7 +16,7 @@ - +