Resolving Conflicting Scripts in GTM and Pardot

Posted by: Alicia Barnard Date Posted: December 12, 2023
Back to Case Studies

Issue

  • Tracking was blocked on forms identified by “.form” in LeadManagerFX.
  • LMFX was attempting to identify forms by IDs where there were none.
  • Due to this, the Pardot forms were classified like this:
    • ID: none
    • Class: form
    • Type: form
  • This classification meant that no forms were pulling through.
  • When a resolution script was found, it conflicted with additional scripts added in GTM to track the form submissions in GA4.

Solution

We completed the following:

Removed the MCFX pixel from Pardot, so that only one is left in GTM to resolve the duplicate MCFX script issue (ss).

Added additional code in Pardot to track the forms in LMFX (ss).

Added additional code in GTM to ensure that the forms were tracking in GA4 as well.

Achievement

Additional scripts meant that we were able to track all forms in LMFX and GA4.

Snippet/Screenshot/Link