AMP embedding

amp-embed-option.png

The AMP embed option provides completely valid AMP markup for forms on mobile pages. As with the Seamless and Iframe embed options, the AMP embed code is fully responsive to ensure that your form looks great on any device.

What’s AMP?

The Accelerated Mobile Pages Project (AMP) is an open-source initiative to improve the performance of web contents and ads through a publishing technology known as AMP. Essentially, AMP pages can load more quickly on mobile devices than your typical webpage, and they provide an enhanced viewing experience more ideal for smaller screens. Check out our blog post to learn more.

AMP embedding

You can access your form’s AMP embed code from the Publish page in the form builder. Just select AMP from the Publish Code tab, then copy and paste your embed code directly into your webpage’s HTML. Finally, make sure to include the ‘amp-iframe’ extension JavaScript in the head section of your HTML document:

<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>

For more information about the amp-iframe, please refer to the AMP Project article.