logo
Pages & FormsEmbeds & Form Actions

Embeds & Form Actions

Collect subscribers from any website using an embeddable HTML form or by pointing your existing form at a Nashra action URL.

Two ways to collect from your own site

When you want subscribers to sign up directly on your own website (not on a Nashra-hosted page), you have two options:

  • Embed an HTML form — Drop a small snippet into your site. Nashra renders the form and handles the submit.
  • Form action URL — Use your own form (Carrd, Webflow, WordPress, plain HTML) and point its action at Nashra's URL.

Both share the same backend, so they share the same configuration: tags applied on signup, custom fields collected, and what happens after submission.

Embeddable HTML forms

A code snippet you paste into your website. Nashra hosts the form's behavior so it stays in sync as you tweak settings.

Open Settings → HTML Forms

From the sidebar, open Settings, then HTML Forms.

Create a form

Give it a descriptive name — e.g., "Homepage Footer" or "Sidebar Newsletter".

Pick fields and tags

Email is required. Optionally collect first/last name or any custom fields. Add auto-tags for everyone who signs up through this form.

Choose what happens after submit

Show a success message inline, or redirect to a thank-you URL.

Copy the snippet

Paste it into your site's HTML wherever you want the form to appear.

Form action URLs

If you already have a form built with another tool, give it a Nashra action URL and submissions become subscribers.

Open Pages → Magic Links or HTML Forms

Any Magic Link or HTML Form has an action URL — that's the endpoint your external form will submit to.

Configure the form

Set tags, fields, success behavior (redirect or JSON response), and double opt-in just like any other form.

Copy the action URL

Paste it as the action attribute on your form, or as the webhook URL in your form builder.

Make sure your fields match

Use email for the email field. first_name and last_name are auto-detected. Custom fields use the data name you set in Subscribers → Custom fields.

Most tools that let you set a custom form action or webhook will work:

  • WordPress — Contact Form 7, WPForms, or any form plugin that supports a custom action
  • Carrd — Paste the URL in Carrd's form action field
  • Webflow — Set the form's action to the URL and switch to "custom" submit
  • Plain HTML — Set the <form action> attribute
  • Tally / Typeform — Use their webhook integration

Variations like Email, EMAIL, or E-Mail are accepted — Nashra normalizes the field name. But sticking to lowercase email keeps things predictable.

Redirect vs. JSON response

OptionBest for
RedirectWebsites — sends the visitor to a thank-you page
JSON responseCustom apps and JS — returns a response your code can handle
Inline messageHTML form embeds — shows a thank-you in place

Most marketing sites should use redirect. Use JSON response for custom front-end code.

Auto-tagging

Every form action URL and embedded form can apply tags automatically. Use this to track:

  • Sourcehomepage-footer, sidebar, blog-cta
  • Campaignspring-launch, webinar-2026
  • Page — Different tags per page if you embed the same form in multiple places (use separate forms)

Custom fields

If a form requires custom fields (e.g., country or company), the form's submit will fail with a clear error if a required field is missing. Configure required fields under Subscribers → Custom fields.

Rate limiting

Public form submissions are rate-limited to prevent abuse. If you're seeing failed submissions during a launch spike, contact support — limits can be raised for legitimate traffic.