Is your contest iframe not displaying or scaling correctly within your site? Start with the following troubleshooting steps:
Check the parent domain in the builder
- Open the Campaign builder.
- Click the Publish tab.
- Click iFrame Settings (Developer Option).
- Check that the domain is entered correctly in the iFrame Parent Domain field.
- The domain needs to include http:// or https:// (for example https://hootsuite.com/)
- Do not include the page location (for example /contest) at the end of the domain.
- If the parent domain includes “www.”, make sure it is also included in the builder.
Check the iframe code
Make sure the iframe code in your site matches the code from the Campaign builder. Copy and paste the code into your site to ensure they are the same.
- Open the Campaign builder.
- Click the Publish tab.
- Click iFrame Settings (Developer Option).
- Verify code in the iFrame Code field against the code in your site.
Check for JavaScript errors in the parent site
If the parent domain is entered into the builder correctly but the iframe is still not the correct height, check the JavaScript of the parent page for any errors. Existing JavaScript errors on the parent page will block the JavaScript code used for the iframe, causing the iframe to scale incorrectly.