Records of form interaction with Mouseflow?

  • Profile Image
    Mark_Laurin
    Asked on December 14, 2020 at 12:51 PM

    Hi,

    I use an embedded jotform on a unbounce landing page.

    I use mouseflow to record the interaction with the unbounce page; however it isn't recording the embedded Jotform.

    How do I get the jotform to be recorded?


    Here's the response from Mouseflow (but I don't know how to make this work...so need your help):

    I checked your site and it looks like the content is loaded in an iframe. So technically it's not a part of the recorded page. Iframe content is loaded under a separate DOM context and invisible to the parent page (where Mouseflow is installed).

    To resolve this issue you'll need to do 2 things:

    1.   You need to check if it is possible for you to add any custom coding to the page that is being loaded inside the iframe. This page may be hosted by a 3rd party provider (the system you are building and hosting your iframed content in), and so you'll have to check with them if they allow 3rd party JavaScript. If they do, please add our tracking code to the content you wish to track. This will allow Mouseflow to pick up interactions with the content in separate recordings/heatmaps. 

    2.   If the page in the iframe is loaded from a different domain (e.g. from the system you are building and hosting your content in), you'll need to add this domain to the domain list (Settings > Domains) in your Mouseflow account.

    So - can you please advise if what they recommend in step 1 is doable? I don't see a way to add a JavaScript to my form?

    My test form is:

    https://form.jotform.com/203435586829264

  • Profile Image
    VincentJay
    Answered on December 14, 2020 at 03:54 PM

    1.   You need to check if it is possible for you to add any custom coding to the page that is being loaded inside the iframe. This page may be hosted by a 3rd party provider (the system you are building and hosting your iframed content in), and so you'll have to check with them if they allow 3rd party JavaScript. If they do, please add our tracking code to the content you wish to track. This will allow Mouseflow to pick up interactions with the content in separate recordings/heatmaps. 

    Unfortunately, you cannot add a script to the Jotform using the Form Builder. However, this is only doable if you use the Form Full Source Code and host it on your server. Here's a guide on how to get the Full Source Code: https://www.jotform.com/help/104-how-to-get-the-full-source-code-of-your-form

    You can add scripts to the Form Full Source Code and embed it to your website. I hope this information helps.

    2.   If the page in the iframe is loaded from a different domain (e.g. from the system you are building and hosting your content in), you'll need to add this domain to the domain list (Settings > Domains) in your Mouseflow account.

    Unfortunately, we do not have integration to Mouseflow. We can create a feature or integration request and forward it to our developers. Let us know if that's okay with you.

    I hope this information helps. Let us know if you need further assistance. Thank you!