web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

(1) ShareShare
ReportReport
Posted on by 64

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
    Microsoft Employee on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 202 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans