Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Put SSO among plan features, replacing "Technical onboarding" (#5587)

Adrian Gruntkowski144b58e508e3
diff --git a/lib/plausible/billing/plan_benefits.ex b/lib/plausible/billing/plan_benefits.ex
index b73c90b44a..26d22d2e33 100644
--- a/lib/plausible/billing/plan_benefits.ex
+++ b/lib/plausible/billing/plan_benefits.ex
@@ -96,9 +96,9 @@ defmodule Plausible.Billing.PlanBenefits do
team_members,
"600+ Stats API requests per hour",
"Sites API",
+ "Single Sign-On (SSO)",
"Managed Proxy",
data_retention,
- "Technical onboarding",
"Priority support"
]
|> Enum.filter(& &1)
diff --git a/lib/plausible_web/components/billing/legacy_plan_benefits.ex b/lib/plausible_web/components/billing/legacy_plan_benefits.ex
index c793104d46..a6b5a30cb7 100644
--- a/lib/plausible_web/components/billing/legacy_plan_benefits.ex
+++ b/lib/plausible_web/components/billing/legacy_plan_benefits.ex
@@ -93,8 +93,8 @@ defmodule PlausibleWeb.Components.Billing.LegacyPlanBenefits do
"50+ sites",
"600+ Stats API requests per hour",
&sites_api_benefit/1,
- data_retention,
- "Technical onboarding"
+ "Single Sign-On (SSO)",
+ data_retention
]
|> Enum.filter(& &1)
end
diff --git a/test/plausible/billing/plan_benefits_test.exs b/test/plausible/billing/plan_benefits_test.exs
index a5c36354df..74fdd79df8 100644
--- a/test/plausible/billing/plan_benefits_test.exs
+++ b/test/plausible/billing/plan_benefits_test.exs
@@ -140,9 +140,9 @@ defmodule Plausible.Billing.PlanBenefitsTest do
"10+ team members",
"600+ Stats API requests per hour",
"Sites API",
+ "Single Sign-On (SSO)",
"Managed Proxy",
"5+ years of data retention",
- "Technical onboarding",
"Priority support"
]
end
@@ -160,9 +160,9 @@ defmodule Plausible.Billing.PlanBenefitsTest do
"10+ team members",
"600+ Stats API requests per hour",
"Sites API",
+ "Single Sign-On (SSO)",
"Managed Proxy",
"5+ years of data retention",
- "Technical onboarding",
"Priority support"
]
end
@@ -179,8 +179,8 @@ defmodule Plausible.Billing.PlanBenefitsTest do
"50+ sites",
"600+ Stats API requests per hour",
"Sites API",
+ "Single Sign-On (SSO)",
"Managed Proxy",
- "Technical onboarding",
"Priority support"
]
end
diff --git a/test/plausible_web/live/choose_plan_test.exs b/test/plausible_web/live/choose_plan_test.exs
index 3383fd8f45..b95366d0e2 100644
--- a/test/plausible_web/live/choose_plan_test.exs
+++ b/test/plausible_web/live/choose_plan_test.exs
@@ -121,7 +121,7 @@ defmodule PlausibleWeb.Live.ChoosePlanTest do
assert enterprise_box =~ "10+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert enterprise_box =~ "Priority support"
assert text_of_attr(find(doc, "#{@enterprise_plan_box} p a"), "href") =~
@@ -519,7 +519,7 @@ defmodule PlausibleWeb.Live.ChoosePlanTest do
assert enterprise_box =~ "10+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert enterprise_box =~ "Priority support"
assert enterprise_box =~ "5+ years of data retention"
@@ -935,7 +935,7 @@ defmodule PlausibleWeb.Live.ChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert enterprise_box =~ "Priority support"
refute enterprise_box =~ "team members"
@@ -1184,7 +1184,7 @@ defmodule PlausibleWeb.Live.ChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert enterprise_box =~ "Priority support"
assert text_of_attr(find(doc, "#{@enterprise_plan_box} p a"), "href") =~
diff --git a/test/plausible_web/live/legacy_choose_plan_test.exs b/test/plausible_web/live/legacy_choose_plan_test.exs
index e191d45180..54fd930fe4 100644
--- a/test/plausible_web/live/legacy_choose_plan_test.exs
+++ b/test/plausible_web/live/legacy_choose_plan_test.exs
@@ -96,7 +96,7 @@ defmodule PlausibleWeb.Live.LegacyChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert text_of_attr(find(doc, "#{@enterprise_plan_box} p a"), "href") =~
"https://plausible.io/white-label-web-analytics"
@@ -429,7 +429,7 @@ defmodule PlausibleWeb.Live.LegacyChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert enterprise_box =~ "5+ years of data retention"
assert text_of_attr(find(doc, "#{@enterprise_plan_box} p a"), "href") =~
@@ -788,7 +788,7 @@ defmodule PlausibleWeb.Live.LegacyChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
refute enterprise_box =~ "team members"
@@ -1050,7 +1050,7 @@ defmodule PlausibleWeb.Live.LegacyChoosePlanTest do
assert enterprise_box =~ "50+ sites"
assert enterprise_box =~ "600+ Stats API requests per hour"
assert enterprise_box =~ "Sites API access for"
- assert enterprise_box =~ "Technical onboarding"
+ assert enterprise_box =~ "Single Sign-On (SSO)"
assert text_of_attr(find(doc, "#{@enterprise_plan_box} p a"), "href") =~
"https://plausible.io/white-label-web-analytics"