Certification application — embed code

Paste this code into the .html page on americantesol.com where the application should appear. The applicant fills everything in without leaving the page, and once it is submitted the form closes and the confirmation takes its place.

A PDF certificate is free, so that application is complete the moment it is sent. Any paid option opens secure checkout in a new tab, so applicants should allow pop-ups. The frame sizes itself to the form, so nothing else needs adjusting.

Embed code

Copy the whole block into the page — the placeholder, the frame and the height script belong together.

<!-- American TESOL — Certification application -->
<div id="ati-certificate"></div>
<script>
  (function () {
    var host = document.getElementById('ati-certificate');
    if (!host) return;

    var frame = document.createElement('iframe');
    frame.src = 'https://americantesol.base44.app/embed/certification-application';
    frame.title = 'American TESOL certification application';
    frame.loading = 'lazy';
    frame.style.width = '100%';
    frame.style.border = '0';
    frame.style.display = 'block';
    frame.style.height = '2900px';
    host.appendChild(frame);

    // The form reports its own height so the frame always fits its content.
    window.addEventListener('message', function (event) {
      if (event.data && event.data.type === 'ati-certificate-height') {
        frame.style.height = event.data.height + 'px';
      }
    });
  })();
</script>

We don't use tracking or advertising cookies. Only the storage needed to keep you signed in. See our Privacy Policy.