Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Form embed error on external website

Posted on by 177

Hi,

I have a client that recently went live with Marketing. It's a fairly simple implementation where they have DEV and PROD environments and they have built a couple forms using the Marketing form builder. In DEV they were able to embed the form code to their site no problem but in PROD, they're getting the following type of error no matter what form they choose:

pastedimage1674160820750v1.png

What is unusual is that the Marketing Forms are "Live" so they appear to be already published and we definitely republished them after moving to PROD as well. The domain record has "External Form hosting" enabled. The forms in both environments are identical so I don't think there's any issue there and they have followed the process outlined in this article on how to embed forms to an external website: https://learn.microsoft.com/en-us/dynamics365/marketing/embed-forms

I'm at a loss as to what could be causing this. I've tried republishing the forms, created a new version of the forms but same type of error each time.

  • Suggested answer
    pdr469 Profile Picture
    pdr469 177 on at
    RE: Form embed error on external website

    I found the problem. The client still had the DEV tracking script on their website so it was attempting to check in DEV instead of PROD. Replacing the script with the one from PROD resolved the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans