Google AMP
Add your widget to Google AMP
Pre-requisites
- AMP HTML page Ensure you have the Google AMP script in the head of your website HTML document
<script async src="https://cdn.ampproject.org/v0.js"></script>
In your head of the HTML document.
- Use amp-iframe extension
Place the official amp-iframe script tag right after Google AMP script tag in the head of the HTML document.
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
Embedding
Copy the embed code for Google AMP and paste it on AMP HTML page
