Iframing forms in CMS (Sitecore)




  • Official comment
    Carolynn Carriger

    Hi Mette,

    If you're trying to embed an iframe form on a secure site, you will need to make a slight modification to the embed code. ClickDimensions forms (and web content) can only be used with HTTPS as long as no CNAME is used. This is because we cannot have a security certificate in place for your web content CNAME. So by default all web content embed code uses HTTP and not HTTPS.

    Copy the iframe or widget embed code for your web content and place it on your site/page. Before saving your page though, alter the embed code by...

    1. Adding an "s" to the HTTP beginning.
    2. Removing your CNAME. 
      You'll replace the CNAME with analytics.clickdimensions.com (analytics-eu.clickdimensions.com for EU data center or analytics-au.clickdimensions.com for AU data center).

    An example of how this would look in an iframe embed code is shown below, but the same steps would apply to the widget code as well.

    <iframe src="https://analytics.clickdimensions.com/form/sample1234" allowtransparency="true" width="100%" height="500px" type="text/html" frameborder="0" style="border:0"></iframe>

    Please submit a support ticket if you have any additional questions.

    Kind regards,

  • Avatar
    Mette Ritz Larsen

    Perfect! That worked!

    Thank you!

  • Avatar
    Carolynn Carriger

    Glad I could help, Mette!

    Have a great day,

Please sign in to leave a comment.