web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Issue embedding marketing form on staging website

(0) ShareShare
ReportReport
Posted on by 35

Hi there

The marketing agency of my client is currently adjusting the css stylesheet in order to change the styling of the standard controls of our Dynamics marketing forms. Embedding is done as a script generated on the form page.

Embedding works fine on the clients productive website and also local for the developer. There is however an issue with embedding the form on the staging site for quality control.

The relevant subdomain has been whitelisted, but there is no change. I always get the same error:

The domain where this form is embedded might not be enlisted as a domain record for externally hosted forms. Otherwise, a browser extension or plugin may be blocking this form from loading. Review and reload form to continue.
I checked the subdomain with "location.href" and added it as domain entry in the marketing settings.
the url is:
http://***.***.com:8080/de/node/702
Could the http (without s) or the :8080 be the issue?
Thanks for your help!
Lukas
I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Issue embedding marketing form on staging website

    HI luethilu, 

    As you menyioned, Could the http (without s) or the :8080 be the issue? This may be a possibility that you can try.

    Or have you tried to use other browsers to test it?

  • luethilu Profile Picture
    35 on at
    RE: Issue embedding marketing form on staging website

    Hi Leah

    Thanks for the answer. I tried with different browsers and also in inkognito mode (with cookies enabled). Unfortunately it didn't change anything.

    As it is a staging website by the marketing agency, I can't change a lot about the http or :8080. Do you have any suggestion, what could be changed there?

    br Lukas

  • Petr Jantac Profile Picture
    Moderator on at
    RE: Issue embedding marketing form on staging website

    Hi Lukas,

    Some marketing forms features (especially form pre-fill) require encrypted https communication due to security reasons. Http (without s) communication isn't encrypted, and it could therefore expose sensitive data. I think this could be the root cause of your issue.

    Thank oyu.

    Petr

  • luethilu Profile Picture
    35 on at
    RE: Issue embedding marketing form on staging website

    Hi Petr

    Thanks for your answer. I also think this might be the issue. Unfortunately, the client won't change their staging website just for this small problem.

    br Lukas

  • Petr Jantac Profile Picture
    Moderator on at
    RE: Issue embedding marketing form on staging website

    Hi Lukas,

    I double checked this with our development team. The HTTPS is required for the form prefill, but it shouldn't prevent rendering the form if the domain is whitelisted. The problem is with the port number. The whitelisting is ignoring port numbers. Is it possible to set up a stage environment without the custom port number?

    Thank you.

    Petr

  • Suggested answer
    luethilu Profile Picture
    35 on at
    RE: Issue embedding marketing form on staging website

    Hi Petr

    Thank you for doublechecking with the dev team! Unfortunately they won't change the custom port situation for this small problem. I can't confirm by testing, but I think that is the most probable cause for the issue.

    br Lukas

  • Hari Narayan Singh Profile Picture
    230 on at
    RE: Issue embedding marketing form on staging website

    Hi Lucas,

    Please verify if you have external form hosting enabled?
    You can check this for your domain record under Marketing app settings...

    pastedimage1662469082038v1.png
    Regards,
    Hari

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans