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

Multiple Forms or Form and Tracking Script on same page

(0) ShareShare
ReportReport
Posted on by 10

Has anyone had issues with putting multiple forms on the same page, or a website tracking script on same page as a form that of course will be associated to a different website script?  I find that the first website script on the page is the one that is reported on a form submission which messes up our Journeys and Insights.  The tracking script gets credit for the form submission in the insights and our Journey does not fire as we have a custom trigger based on form submission and website id (from the script).

If we put the tracking script in the footer, then it will not gather any insights.

MS suggest making a tracking script like this: Track online behavior (Dynamics 365 Marketing) | Microsoft Learn

But if you have a form on a page that uses a different website tracking script (by default all form pages get their own website record)

I have the same question (0)
  • Suggested answer
    Petr Jantac Profile Picture
    Moderator on at
    RE: Multiple Forms or Form and Tracking Script on same page

    Hello,

    The form embedding script already includes a web tracking script. Our suggestion is to remove the generic web tracking script from the page where the form is embedded. This will ensure that the form will get the credit for the page visit.

    If you need the opposite: to give the credit for page visit to the generic web tracking script, please make sure the web tracking script is loaded before the form embedding script.

    If you keep both scripts in the page, the page visit credit goes only to the first loaded script to avoid duplicated page visit events.

    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

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