Upgrade your free trial

<%= cond do %> <% Timex.equal?(@trial_end_date, @today) -> %> Today is the last day of your trial. Please select a plan and enter your billing info to access your stats after the trial ends. <% Timex.after?(@trial_end_date, @today) -> %>

Your free trial ends on <%= Timex.format!(@trial_end_date, "{WDshort} {D} {Mshort}") %>. Please select a plan and enter your billing info to access your stats after the trial ends.

<% Timex.before?(@trial_end_date, @today) -> %>

Your free trial ended on <%= Timex.format!(@trial_end_date, "{Mshort} {D}")%>. To access your stats going forward, please select a plan and enter your billing info.

<% end %>

If you go over your limit in the future, we will contact you about upgrading. Don't worry, we will never bill you unexpectedly or stop recording without telling you first.

All plans are on a monthly basis, cancel any time. <%= if Plausible.Billing.was_beta_user(@conn.assigns[:current_user]) do %> As a beta user, you will get 33% off on all plans. The coupon will be applied at checkout. <% end %>

10,000 / mo $6 / mo <%= render("_checkout_button.html", conn: @conn, plan: :personal) %>
100,000 / mo $12 / mo <%= render("_checkout_button.html", conn: @conn, plan: :startup) %>
1,000,000 / mo $36 / mo <%= render("_checkout_button.html", conn: @conn, plan: :business) %>
Your usage: <%= PlausibleWeb.AuthView.delimit_integer(@usage) %> pageviews in the last 30 days
Questions? Contact <%= link("uku@plausibile.io", to: "mailto: uku@plausibile.io", class: "text-indigo") %>