Skip to main content

Notifications

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

Integrate with landing pages published on an external website (PHP site)

(0) ShareShare
ReportReport
Posted on by 5

Hi

I have to embed a Dynamics 365 landing page on an external website developed with Php,

I am planning to generate code for a landing page following this link https://docs.microsoft.com/en-us/archive/blogs/lystavlen/how-to-embed-dynamics-365-for-marketing-forms-on-you-own-website from dynamics 365.

1. Can I use the generated code into an external site created with Php technology?

2, When the user submits the landing page data from the Php site, is it possible to save the data back to dynamics 365.

3. the landing page will be used by external public users (e.g: farmers). if I want to generate prefill form I won't be able to register the domain as described in this link https://docs.microsoft.com/en-ca/dynamics365/marketing/mkt-settings-authenticate-domains because domain for external users' email addresses can be different. in this situation, how i can use a prefill landing page on an external website. 

thank you, 

RanS

  • SivaR Profile Picture
    SivaR 34 on at
    RE: Integrate with landing pages published on an external website (PHP site)

    Thank you so much. I will try it and let you know if i encounter any problem

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Integrate with landing pages published on an external website (PHP site)

    Hi Rans,

    1. Yes, the generated code is just an embedded JavaScript code, and due to HTML tag is supported in PHP, thus we can use the script in PHP page.

    2. Yes, after user submitted data, a XMLHttpRequest will be sent to Dynamics 365 back-end server to create new record or update existing match record.

    3. Could you share me more details about your current situation? 

    As per my understanding, we just need to make sure the domain is owned by us regardless of external users' email addresses.

    e.g: I have a website whose domain is www.clofly.com, what I should do is to authenticate/configure it in both Dynamics 365 setting and domain provider DNS setting page.

    Then any external users with different email addresses(outlook or gmail) can submit their data then get pre-filled form if "remember me" option was checked. 

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans