Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix enterprise plan CRM form prefill for case with literal input (#4235)
Adrian Gruntkowski71758634921a
diff --git a/lib/plausible/crm_extensions.ex b/lib/plausible/crm_extensions.exindex 4bc23f341d..96d3427e9e 100644--- a/lib/plausible/crm_extensions.ex+++ b/lib/plausible/crm_extensions.ex@@ -49,7 +49,7 @@ defmodule Plausible.CrmExtensions doPhoenix.HTML.raw("""<script type="text/javascript">(async () => {- const userIdField = document.getElementById("enterprise_plan_user_id")+ const userIdField = document.getElementById("enterprise_plan_user_id") || document.getElementById("user_id")let planRequestlet lastValue = Number(userIdField.value)let scheduledCheck