Formsort Integration
Learn how to integrate Ours with Formsort to track form submissions and custom events effortlessly while maintaining privacy and HIPAA compliance.
Ours Integration with Formsort
This guide will walk you through integrating Ours with your Formsort account. You’ll learn how to track form submissions and custom events seamlessly while ensuring HIPAA-compliant analytics for privacy-conscious applications.
Formsort Redirect (easy integration)
The simplest way to integrate Ours with Formsort is to set up a redirect within Formsort. Here's how:
- Make sure your Ours tracking script is installed on your website.
- Link from your website to Formsort.
- Set up a custom thank-you page in Formsort to redirect back to your website.
On your thank-you page, fire this Ours event:
ours('track', 'FormSubmitted', { conversion: true });
This method requires no complex integration and provides basic tracking. Configure the redirect in your Formsort settings:

Ours Formsort Source (custom integration)
For more advanced tracking and to access form submission details, you can use the Ours custom Formsort integration:
-
Create a New Source:
- In the Ours app, navigate to Sources and create a new source.
- Select Formsort from the options and copy the Webhook URL provided.
-
Add Webhook in Formsort:
- Paste the Webhook URL into Formsort under the integration settings for your flow.

-
Submit a Test Form:
- Fill out your form to ensure data is sent to Ours.
- Check the Ours app for pre-populated variables from the form payload.
-
Map Form Fields:
- Use the field mapping interface in Ours to map Formsort data to Ours attributes.
- Include at least the Ours visitor ID and optionally an email address for user association.

Advanced Source Integration
To link Ours visitor data with Formsort submissions:
-
Add a Hidden Field in Formsort:
- Set up a hidden field in your form to capture the Ours User ID.
-
Pass Visitor ID via URL:
- When linking to the Formsort form, append the Ours User ID as a URL parameter.
<a id='form-link' href="https://formsort.com/form/123?ours_user_id={{ours_user_id}}">Start Form</a>
<script>
const link = document.getElementById('form-link');
link.setAttribute('href', 'https://formsort.com/form/123?ours_user_id='+localStorage.getItem('ours_device_id'));
</script>
You'll then want to map that hidden field to the Ours visitor id in the Ours mapper settings.
That's it 🎉!

Key Benefits of the Ours Formsort Integration:
- HIPAA Compliance: Ideal for healthcare and other privacy-sensitive industries.
- Custom Event Flexibility: Easily track submissions, field interactions, and more.
- No IP Exposure: Ensures user privacy by proxying events securely.
If you need further assistance, contact us at [email protected].
Updated 3 months ago