Learners and enrollment

Put an enrollment form on your own site

Last updated

You can put a sign-up form for any of your courses — or any of your newsletters — on a website you already run: your homepage, a landing page, a blog post. Visitors join without leaving your page, and everything after that works exactly as if they had used your Inbox Academy page.

No coding beyond pasting two lines of HTML.

Getting the code

  1. Open the course (or the newsletter) and find its embed option.

  2. Choose what the form shows - for a course, you can include or leave out its title and image.

  3. Copy the code the dialog gives you.

Anyone in your organization can open the embed dialog, whatever their role.

Pasting it into your site

The code comes in two parts, and they go in different places.

Part

Where it goes

A <script> tag

Once per page, anywhere — a shared header or footer is ideal. The same script powers every form on the page, course or newsletter.

A form tag - <del-enroll-form> or <del-newsletter-form>

Exactly where the form should appear. Repeat it for as many forms as you want.

It works on any website that lets you add your own HTML, on any domain. Most site builders call this an "embed", "custom HTML" or "code" block.

Changing how it looks

The form is deliberately plain so it sits comfortably on most sites. You can change:

  • Whether the course title and image appear - chosen in the embed dialog

  • The button colours, by adding button_bg_color and button_text_color to the form tag

<del-enroll-form … button_bg_color="#0f766e" button_text_color="#ffffff"></del-enroll-form>

Use ordinary colour values like #0f766e. Anything the form cannot read as a colour is ignored and the default indigo button is used instead. Beyond the button, the form's appearance is fixed.

What a visitor experiences

They type their email address and press Enroll. The form then tells them to check their inbox, because — exactly as on your own enrollment page — nothing starts until they confirm their address from the email they are sent.

Somebody already on the course is told so, and nothing changes for them.

If the course has a newsletter attached, the form can show a Subscribe to … checkbox under the address field. It starts unticked, so nobody is subscribed without choosing to be, and the subscription is confirmed along with the enrollment — one email, not two.

The form only works for a course that is enabled and public

Disable a course, or switch off its public setting, and every copy of its form on every site stops enrolling people — visitors just see "Something went wrong." The form stays on your page either way, so check both settings after changing them.

Is the code safe to publish?

Yes. The code contains a token identifying your organization, and it is designed to sit in public page source - it is not a password. All it lets anyone do is sign up to your enabled, public courses and your newsletters, which is exactly what the form is for.

Your organization has a single token, shared by every form you embed, and it does not change.

To stop abuse, each form is limited in how often it can be used: a few sign-ups per visitor in a short period, and a handful per email address per hour. Real visitors will never notice.

Things to know

  • Every enrollment counts. Enrollments from your site count toward your plan's learner limit, and the first one starts your free trial.

  • Changes can take an hour to appear. The script is cached, so an update on our side may not reach your visitors straight away. Your course and settings changes apply immediately.

  • Test it with your own address. Filling in the form is a real enrollment - see the note about your trial above.