Skip to main content
Level 4
May 8, 2021 4:42 PM UTC
Solved

Audit usage of Marketo Form when using embed code

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.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
May 9, 2021 4:36 AM UTC

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.

7 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
May 9, 2021 4:36 AM UTC

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.

Translate
SarinAuthor
Level 4
May 10, 2021 5:30 AM UTC

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) 

Translate
SanfordWhiteman
User Group Leader
User Group Leader
May 10, 2021 6:22 AM UTC

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.

Translate