HealthAdvisor Assessments (HAs) can be embedded on any page that accepts iframe embedding. When that page loads, the assessment will also load and allow the user to fill out the form.

Demonstration showing an embedded HealthAdvisor Assessment on a webpage

 

WebMD Ignite note icon
There is currently an issue where only one embed code can be copied before the HealthAdvisor dashboard needs to be refreshed. If performing the steps below for more than one HA, please refresh the dashboard between each one to ensure all the embed codes copy successfully. See the Troubleshooting section below for more info.

Steps

  1. On the HealthAdvisor dashboard, under Manage Assessments, click the name of the HA to embed.
     
  2. Click Copy Embed Code.
    Demonstration of selecting a HealthAdvisor Assessment and clicking Copy Embed Code from the assessment window
     
  3. Begin editing the page where you want to embed the HA.
     
  4. Access the HTML source code.
     
  5. Paste the copied embed code where you want it to appear and save the changes.
     

The following is a demonstration for pasting the code in a WebMD Ignite Digital Experience Engine (DXE) page. If you use a different site hosting platform, the process will look different.

Demonstration of pasting the HealthAdvisor Assessment embed code to a page

Troubleshooting

If you're experiencing an issue with this process, please check the sections below for a potential solution.

Can’t copy embed code for more than one assessment

If you are copying the embed code for multiple HealthAdvisor Assessments: we are aware of an issue where the “Copy Embed Code” link works correctly on the first assessment, but does not accurately copy the code on any subsequent assessments. It will continue to copy the embed code for the first viewed HealthAdvisor Assessment.

We are actively working on a fix and will roll it out in a future release. We do not have an estimated release date, but you will receive the update automatically. No action is required.

Workaround: After pasting the embed code for the first HealthAdvisor Assessment, please refresh the HealthAdvisor dashboard page. You can then select and copy the embed code for the next HealthAdvisor Assessment successfully. You can continue refreshing the dashboard and copying the next embed code as many times as you need.

HealthAdvisor Assessment is not appearing on page as expected

If you have embedded the code correctly but the HealthAdvisor Assessment is not loading as expected, this is typically due to network settings. Please try the following:

  1. Check/adjust your site’s content security policy (CSP). This may have settings that block iframes or embedded content from certain domains.
     
  2. Check/adjust the security headers. These are directives that control what may load on a page, and it may be blocking the iframe embed from populating.
     
  3. Check/adjust the network and VPN settings. There may be security settings at the network/VPN level that block iframes.

If none of the above adjustments fix the problem, please contact support for more assistance.