Collect the start time of opening a feedback form

For analytical purposes, it can be convenient to know when a form has been opened and when it has been submitted. By default, the DateTime of the submit is stored with the feedback. With the instructions in this article, it is also possible to add the DateTime when the form was opened.

Form builder

Step 1. Add a website data element

Add a website data element to your form. Name the JS variable to look for should be _mopinionOpens['formKey'] whereby you replace the formkey with the actual formkey of the form you want to collect the opening of the form timestamp for. Additionally, you can give the variable another name to be displayed in the results. In this case, it is renamed Start.

Step 2. Add a custom script

Add the script on to the form.

You can name the file whatever you like.

The file URL should be For users with a custom domain, replace app by your own custom domain name. https://[CUSTOM_DOMAIN]

Set the file scope to Outside and inside of form dialog.

If you like to collect the start date for other forms you apply the above steps to these forms as well.

Feedback details

In the feedback results, the start date time will be displayed as per below.