<.focus_box> <:title> Import from Google Analytics <:subtitle> Choose the property in your Google Analytics account that will be imported to the {@site.domain} dashboard. <.form :let={f} for={@conn} onsubmit="continueButton.disabled = true; return true;" action={Routes.google_analytics_path(@conn, :property, @site.domain)} > <.input type="hidden" field={f[:access_token]} /> <.input type="hidden" field={f[:refresh_token]} /> <.input type="hidden" field={f[:expires_at]} />
<.input type="select" field={f[:property]} prompt="(Choose property)" options={@properties} label="Google Analytics property" required="true" />

{@conn.assigns[:selected_property_error]}

Go back

<.button type="submit" name="continueButton" class="button sm:w-auto w-full [&>span.label-enabled]:block [&>span.label-disabled]:hidden [&[disabled]>span.label-enabled]:hidden [&[disabled]>span.label-disabled]:block" > Continue <.spinner class="inline-block h-5 w-5 mr-2 text-white dark:text-gray-400" /> Checking...