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)

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 89 Most Valuable Professional

#2
11manish Profile Picture

11manish 67 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 39

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans