Google AMP Support

How do I embed the Opinion Stage code if I am using AMP in mobile

Sharon Luria avatar
Written by Sharon Luria
Updated this week

To embed an Opinion Stage item on an AMP site, you need to use the AMP Iframe element.

Follow these steps to embed an Opinion Stage item on an AMP enabled site:

1) Contact OpinionStage in order to enable AMP integration

2) Go to the item you want to embed and click on the ‘Share’ button

3) Open the AMP tab, there you will see two text areas that you need to copy into your AMP document

4) Add the following script to the head tag of your site to support the AMP iframe element

5) Add the following script to the body of your AMP page, where you want it to be displayed

This code needs to be added in addition to the standard embed for desktop

Tip: By default, the item takes the whole width, if you want to add padding, put <amp-iframe> in a <div> wrapper with padding applied


Did this answer your question?