Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Embedded Marketing form doesn`t show up on external Webpage

Posted on by Microsoft Employee

Hello everyone,

I´ve tried to embed a Dynamics 365 Marketing form on an external Webpage. The Domain of the Webpage is already authenticated in Dynamics 365 Marketing.

After copying the script Code to the external Webpage, I got the following error message:

This page has a marketing form embedded on it, but the domain where this page is published isn't whitelisted for use with that form.

Please go to Dynamics 365 Marketing and add this domain to the whitelist for the form embedded here.

(The marketing form was created as type of subsciption form, so after going live the whitelist rules didn´t appear under form- Hosting)

Thanks in advance.

Best regards

Alexander

  • Suggested answer
    Ayush Solanki Profile Picture
    Ayush Solanki 30 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    "Then give all the information to Your DNS Team. Record Type, Host and Value". where did I get information related to DNS.

  • praphul Profile Picture
    praphul 15 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Thanks for the prompt response Clofly !!!

    would check and do the whitelisting appropiately.

    Regards,

    Praphul

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Praphul,

    Please check your external website domain from these aspects:

    1. If you host it on a free public website, e.g: Blogspot, which will give you a subdomain to host your website,

    then just add clofly.blogspot.com to whitelist rule. Domain authentication is not required in this situation.(and can't)

    2. If you think your situation would be similar to Alexander's issue, then open browser developer tool(F12) and enter location.href command in console to check real domain URL.

    Because Alexander's website shows xxx.com, however, I found it's actually www.xxx.com when I ran the command.

    Regards,

    Clofly 

  • praphul Profile Picture
    praphul 15 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Clofly,

    I am facing same error while hosting the landing page marketing form on external website even after white-listing that website.

    Can you please help here?

    Regards,

    Praphul

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Alex,

    It's glad that your problem has been solved.

    If your embedded marketing form could work by verifying subdomain, please kindly mark as verified to close the current thread.

    For new issue:

    That's default error message value when we create a form page record, as it said, submission failed.

    This section listed some reasons for submission failure, you could take it as reference.

    https://docs.microsoft.com/en-us/dynamics365/marketing/failed-submissions#why-submissions-can-fail

    Also. please check whether there is any submission record in failure status under Submission tab.

    pastedimage1582885152508v1.png

    My thought as supplement for submission failure reason: besides Last Name field(which is required by default), have you set any other fields to business required but you didn't add them to marketing form?  

    Regards,

    Clofly

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Clofly,

    we could solve the Problem with the embedded Marketing form.

    We created a new subdomain and embedded the Marketing form correctly.

    Now it shows up, but when I try to enter some data in the form fields and klick on submit, I get an error message:

    An error has occurred during your transmission.

    Could you explain me, why this message pops up?

    Best regards

    Alexander

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Alex,

    Could your marketing form display if you had verified your subdomain: www.ps-speicher.de?

    Regards,

    Clofly

  • Camilla Larsson Profile Picture
    Camilla Larsson 235 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Alexander.

    I have had the same problem.

    This is what you need to do to make it work. You need to Authenticate your root domain and your subdomain.

    Go to settings in Marketing App Module, Go to Authenticate domains. Click new Type your rootdomain and check for "Enable Prefilled forms" Email Authenticate is not nesessary.

    Then give all the information to Your DNS Team. Record Type, Host and Value.  When they have added this you can confirm the registration. If everything is set up ok you will have the status Confirmed.

    It is important that you do this for Subdomain aswell. Both Root and subdomains need to be confirmed.

    If you get another status then confirmed than it can be a problem how your organization has sat up the domains. I had that. So microsoft support needed to confirm the subdomain for me. But if you have that problem I can tell you more about it.

    When the domains are confirmed your forms will work (Sending it through an email).

    Godd Luck.

  • Suggested answer
    makova Profile Picture
    makova 310 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Alexander,

    Please have you've tried to authenticate domains following this guide: docs.microsoft.com/.../mkt-settings-authenticate-domains

    Thanks

    Martin Kovac, Microsoft Dynamics 365 Marketing

    Don't forget!: If you have gotten the answer to your question - please mark your question as answered.

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Embedded Marketing form doesn`t show up on external Webpage

    Hi Alexander,

    From you first sceenshot, I found you website is ps-speicher.de.

    Did you also authenticate ps-speicher.de instead of ps-speicher?

    In addition, I found that when I try to open ps-speicher.de, the link in tab display https://www.ps-speicher.de for a moment.(very short time)

    Then when I open your page with form(https://www.ps-speicher.de/crm.php) , I found another fact:

    By default it displays https://www.ps-speicher.de/crm.php

    pastedimage1582279876406v1.png 

    When I selected then unselected link, the link became to https://www.ps-speicher.de/crm.php

    pastedimage1582279977720v2.png

    So I think we might had found a key, from what I've found,

    it seems that your page is actually hosted on www.ps-speicher.de(a subdomain) instead of real root domain(ps-speicher.de).

    My thought is that actually we open your web page via www.ps-speicher.de, but then your web server redirects us to ps-speicher.de.

    In other word, the www.ps-speicher.de might had been overwriten by ps-speicher.de.

    Subdomain will be treated individually by Marketing application even if we have authenticated root domain.

    Please try following steps for final approach:

    In settings of your domain provider,

    1. Add TXT record for subdomain www.ps-speicher.de.

    2. Add 2 CNAME records for www.ps-speicher.de.

    (You might need to append www after namekey1_domainkey, e.g: namekey1_domainkey.www as Host, but we won't need to change Value)

    Send confirmation request for www.ps-speicher.de.

    Once two fields got confirmed, then open your page to check whether it could display.

    Regards,

    Clofly

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans