Skip to main content
Trevor_McCurry
Level 2
Apr 12, 2018 4:57 PM UTC
Question

Keeping tabs on embedded forms

Are there any common best practices for tracking embedded forms that are in use, and where they are being embedded?

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

4 replies

SanfordWhiteman
User Group Leader
User Group Leader
Apr 12, 2018 8:45 PM UTC

You can only tell where they're embedded if they're also being filled out. The form load alone is not logged (if you load from your Marketo instance, which of course 99.99999% of people do). You can do this by exporting the Activity Log and crunching it offline.

If you want to log the form loads going forward, you can add code to the form to fire a special Munchkin event upon load.

Translate
Trevor_McCurry
Level 2
Apr 17, 2018 9:29 PM UTC

Sanford Whiteman wrote:

If you want to log the form loads going forward, you can add code to the form to fire a special Munchkin event upon load.

Thanks Sanford! Can you elaborate a bit more on this type of solution for logging them moving forward?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 17, 2018 9:47 PM UTC

Something like:

MktoForms2.whenReady(function(form){
  Munchkin.munchkinFunction("visitWebPage", {

    url: "/customEvents/formEvents/load/" + form.getId()

  });

});

Then you'll have Visit Web Page events for each load.

Translate
pavel_plachky
Level 5
Apr 18, 2018 7:42 AM UTC

To get this info, I export the form fill activities, which gives most of the data you would need to keep track of the form usage including date/time, form ID and the URL of the page containing the form in a csv file. As Sanford notes, you will not see the forms that are embedded on pages that nobody ever used to fill the form, but I am OK with disregarding such places. You can use the bulk activity export REST API for this.

Translate