Skip to main content
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 over a month ago

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 Opinion Stage to enable the AMP embed

After the AMP embed is enabled:

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

3) Click the AMP sub-tab, 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?