Skip to main content

Notifications

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)

  • Suggested answer
    Petr Jantac Profile Picture
    Petr Jantac 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

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans