countSubmissions( )


Counts the number of submissions belonging to the specified forms.

The countSubmissions() function is useful for analytics and tracking purposes. For example, if you have a contact form on your website, you can use this function to track how many submissions it receives daily, weekly, or monthly.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Submissions
Read Submissions
Manage Orders
Read Orders
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
formIdsArray<string>Required

Form IDs which submissions should be counted.


namespacestringRequired

The app which the form submissions belong to. For example, the namespace for the Wix Forms app is wix.form_app.form. Call getSubmission() to retrieve the namespace.


optionsCountSubmissionsOptions
Returns
Return Type:Promise<CountSubmissionsResponse>
Did this help?