SiteCore commenting out embedded form

Robb_Barrett
Marketo Employee

SiteCore commenting out embedded form

   Has anyone else seen this?  We have a team that's designing pages for us in SiteCore.  When they preview the page in the editor it looks fine but when they view it in DEV, the code gets commented out. I know this is more of a SiteCore question but I'm posting it here to see if anyone has experienced this and solved for it.

Robb Barrett
3 REPLIES 3
Dan_Stevens_
Level 10 - Champion Alumni

Re: SiteCore commenting out embedded form

Hey Robb - every form on our site (Sitecore) is an embedded Marketo form.  Have a look at the source code here, for example, to see if there's anything that might look different from your environment: Contact Us | Avanade.  I can also get the specific embed code that's being used here (which you can't see on the client side).

Robb_Barrett
Marketo Employee

Re: SiteCore commenting out embedded form

Thanks Dan.  I notice you hard-code in the https:// in the reference which is something I questioned but the developers told me it should default to https without the need of a coding.  I'm sending them your source code as example to see if something that simple solves the issue.

This helps a ton. I was handed this project on Thursday for a go-live of this morning and the team doing the work is in Europe, 5 hours ahead of me making it difficult to coordinate meetings.

Robb Barrett
Dan_Stevens_
Level 10 - Champion Alumni

Re: SiteCore commenting out embedded form

Hi Robb - I wanted to follow-up with you on this once I got more detail from our AppDev team.  Here's how we deploy the Marketo embed code on our Sitecore pages (this example is our contact-us form):

pastedImage_1.png

Soon, we will be changing the endpoint URL to our CNAME (pages.avanade.com) instead of the Marketo one.