Skip to main content

Notifications

Announcements

No record found.

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

New Capture Form: Do I use the same website script on all the web pages? Or generate a new script per web page?

Posted on by 20

Do I generate a script for www.domain.com and use that same script on each page which contain a form? For example, I use the same script on www.domain.com/first-page & www.domain.com/contact-us & www.domain.com/about, etc.

Or, do I create unique scripts (i.e. new marketing website record) for each webpage? Then add the unique scripts on the corresponding page?

The how-to wasn't specific and I don't know if I'm overthinking this.

Thanks!

  • Suggested answer
    Petr Jantac Profile Picture
    Petr Jantac on at
    RE: New Capture Form: Do I use the same website script on all the web pages? Or generate a new script per web page?

    Hello,

    You can use the same script on each page. The difference is in tracking: if the same script is used for all pages, all analytics insight will be from the same source.

    The recommendation is to use the same script embedded in the page header of your website (using your CMS). This will ensure that the script is loaded on all pages of your website. You can then easily set up form capture for all forms (one by one) without any need for page modification.

    Thank you.

    Petr, Microsoft

  • Lauren17 Profile Picture
    Lauren17 20 on at
    RE: New Capture Form: Do I use the same website script on all the web pages? Or generate a new script per web page?

    Hi Stacy-Lynn

    This is what I do know:

    Customer Journeys can only start with segments. So, you'll have to create 2 dynamic segments to kick of the journey. One dynamic segment for the first journey and first form. And another dynamic segment for the second journey and form. So yes, it is possible to kick off two different customer journeys for 2 different capture forms, even if they're on the same domain. Just be sure to call the correct form in your dynamic segment.

    This is what I don't know:

    Whether you need 2 different scripts on each page, or rather the same script on both pages. (I'm leaning more towards the same script on both pages, but require confirmation before sharing that any script with the client.)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: New Capture Form: Do I use the same website script on all the web pages? Or generate a new script per web page?

    I'm looking for a similar answer.  I have 2 capture forms I need to kick off two different customer journeys both on the same domain, but on different pages.  Is that possible?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans