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.
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
Step 2. Add a custom script
Add the script on https://sportscheck.mopinion.com/custom-scripts/sportscheck/set-open-datetime.js to the form.
You can name the file whatever you like.
The file URL should be https://sportscheck.mopinion.com/custom-scripts/sportscheck/set-open-datetime.js.
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.
In the feedback results the start date time will display as below.
|Easy html macro|