Skip to main content
Level 4
May 8, 2021
Solved

Audit usage of Marketo Form when using embed code

  • May 8, 2021
  • 1 reply
  • 3436 views

We are using the form id as a variable in the guided LPs and not inserting the forms directly on the LPs so the LPs are not showing the form being used. We are doing a form audit so is there a way I can get the list of forms used by the LPs ( I know the LPs) other than manually checking the LP code.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

When you use the form embed even when you don't need to, you lose more than the "Used by" functionality, you also lose native Pre-Fill. I'd strongly recommend you use named form elements.

 

In any case, you wouldn't be able to get the ID of the forms without checking the pages. Of course you could potentially run a script to download the HTML for each LP and search for the <form> element in each. But would take a little development.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
May 9, 2021

When you use the form embed even when you don't need to, you lose more than the "Used by" functionality, you also lose native Pre-Fill. I'd strongly recommend you use named form elements.

 

In any case, you wouldn't be able to get the ID of the forms without checking the pages. Of course you could potentially run a script to download the HTML for each LP and search for the <form> element in each. But would take a little development.

SarinAuthor
Level 4
May 10, 2021

Thanks a lot @sanfordwhiteman , it seems the the previous team used the form id since they wanted to keep 2 forms on the same page (one at the top and one at the bottom on mobile) 

SanfordWhiteman
Level 10
May 10, 2021

it seems the the previous team used the form id since they wanted to keep 2 forms on the same page (one at the top and one at the bottom on mobile)

This can be done quite easily without having to resort to the form embed.