In order to install Consolto on websites with AMP support, follow the following steps:
1. Add the following amp-script to the <head>:
<script async custom-element="amp-script" src="https://cdn.ampproject.org/v0/amp-script-0.1.js"></script>
Please note this AMP script is not part of Consolto and it's on the users' responsibility to verify it.
2. Add your Consolto script (taken from the Consolto backoffice) to the <body> while modifying the word <script> to <amp-script> in the opening and closing tags:
<amp-script id="et-iframe" data-version="0.5" data-widgetId="<YOUR WIDGET ID HERE>" src="https://client.consolto.com/iframeApp/iframeApp.js" ></amp-script>
That's it :)