All Collections
Administration
Embeds
Using oEmbed or Embed.ly to embed questions, surveys, and reports into your content management system
Using oEmbed or Embed.ly to embed questions, surveys, and reports into your content management system

oEmbed is an open format designed to simplify embedding content into a wide array of platforms. Here's how to setup your oEmbed integration.

Jay Dawkins avatar
Written by Jay Dawkins
Updated over a week ago

To get started with oEmbed, head to the project or survey you'd like to embed on your page.

Under the Settings tab of your survey, look for the Get Embed Code option.

A dialog will open with embed options. oEmbed is supported on both the Question Series and Project Page embed options:

After selecting your format, choose the oEmbed option from the dropdown list:

You'll see two links: 

Embed URL

The first link is the embed URL specific to this project or survey. If you've already setup your oEmbed integration to recognize PublicInput.com or Cityzen.io url's in your content management system (CMS), simply copy this link and paste into your CMS's oEmbed input. *If you're using Embed.ly, simply paste this link into the Embed.ly dialog in your CMS.

oEmbed API Endpoint (Optional)

The second link is the default oEmbed API endpoint. If this is your first time using PublicInput.com  or Cityzen.io domains for embedding, you may need to add this to your content management system so it will know how to handle this domain's embeds. Copy and paste this into your CMS settings and direct it to use this endpoint for any PublicInput.com or Cityzen.io URLs. *If you're already using Embed.ly, you don't need to configure this.

For directions on using traditional embed codes, view the embed help article here.

Did this answer your question?