diff --git a/lib/plausible_web/templates/site/new_goal.html.heex b/lib/plausible_web/templates/site/new_goal.html.heex deleted file mode 100644 index 2dbef121c..000000000 --- a/lib/plausible_web/templates/site/new_goal.html.heex +++ /dev/null @@ -1,124 +0,0 @@ -<%= form_for @changeset, "/#{URI.encode_www_form(@site.domain)}/goals", [class: "max-w-md w-full mx-auto bg-white dark:bg-gray-800 shadow-md rounded px-8 pt-6 pb-8 mb-4 mt-8"], fn f -> %> -

Add goal for <%= @site.domain %>

-
Goal trigger
-
-
- Custom event -
-
- Pageview -
-
-
-
-
- Custom events are not tracked by default - you have to configure them on your site to be sent to Plausible. See examples and learn more in our docs. -
- -
- <%= label(f, :event_name, class: "block font-medium dark:text-gray-100") %> - <%= text_input(f, :event_name, - class: - "transition mt-3 bg-gray-100 dark:bg-gray-900 outline-none appearance-none border border-transparent rounded w-full p-2 text-gray-700 dark:text-gray-300 leading-normal focus:outline-none focus:bg-white dark:focus:bg-gray-800 focus:border-gray-300 dark:focus:border-gray-500", - placeholder: "Signup" - ) %> - <%= error_tag(f, :event_name) %> -
- -
-
- - - Enable revenue tracking - -
- -
-

- Revenue tracking is an upcoming premium feature that's free-to-use - during the private preview. Pricing will be announced soon. See - examples and learn more in our docs. -

-
- -
- <%= select(f, :currency, Plausible.Goal.currency_options(), - class: - "transition bg-gray-100 dark:bg-gray-900 outline-none appearance-none border border-transparent rounded w-full p-2 text-gray-700 dark:text-gray-300 leading-normal focus:outline-none focus:bg-white dark:focus:bg-gray-800 focus:border-gray-300 dark:focus:border-gray-500", - "aria-label": "Reporting currency", - "x-model": "currency", - "x-bind:required": "active" - ) %> - <%= error_tag(f, :currency) %> -
-
-
- -
- - <%= submit("Add goal →", class: "button text-base font-bold w-full") %> -<% end %> - -