Skip to main content

Notifications

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

Dynamics marketing forms & SPA (VueJS)

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I seem to be having a problem with integrating dynamics forms into our website (vuejs SSR) when you land on the site the form shows, however when the navigate to a different page the form will no longer load. is there a way to reinitialize the forms?

Thanks

  • Suggested answer
    Petr Jantac Profile Picture
    Petr Jantac on at
    RE: Dynamics marketing forms & SPA (VueJS)

    Hello Nathan,

    The marketing form embedding assumes static content inclusion and it is therefore not compatible with single-page apps with dynamic content changes. We recommend putting all the forms into the page, but hide them, then show the appropriate form using script. We plan to improve this in the future.

    Thank you.

    Petr

  • Nathan Smedley Profile Picture
    Nathan Smedley 5 on at
    RE: Dynamics marketing forms & SPA (VueJS)

    Hi Peter,

    Thanks for getting back to me, here is the URL: test-www.moneypenny.com/.../ Yes we are using a single page app, we are using Gridsome which is a vuejs JAMSTACK, if you go to the above URL and scroll down you will see we have 2 forms a "Middle" and "Bottom" if you then navigate to any page using the nav (I tend to go to "Telephone Answering") or footer you will see the forms disappear and will only show if you reload the page.

    Thanks, Nathan

  • Petr Jantac Profile Picture
    Petr Jantac on at
    RE: Dynamics marketing forms & SPA (VueJS)

    Hello Nathan,

    Could you please share the URLs of the page where the form loads correctly and the page where the form doesn't load?

    Do you use some dynamic approach to load the form (like 1-page app)?

    Thank you.

    Petr

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,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans