- Help Center
- Integrations
-
Getting Started
-
Configuration
- Targeting
- Split URL
- Product Testing
- Full Stack
- Experiment Management
- CSP Configuration
- Experiment Execution
- Reports
- Exit Popups
- GTM Integration
- Troubleshooting
- Performance Optimization
- Event-Triggered Changes
- Holdout Groups
- Split URL Pages
- URL Parameters
- DataLayer
- Menu Configurations
- Traffic Exclusion
- Experiment Scheduling
- Dynamic Element Changes
- Price Targeting
- Experience Scheduling
- Privacy
- Hash Changes
- Async Tracking
- Selective Installation
- CSS Selectors
- Vue.js Integration
- Page Content
- Multipage Split URL
- Organic Traffic
- Visual Editor
- Server-Side Testing
- Traffic Bucketing
- GDPR Warnings
- Statistical Confidence
- Browser Privacy
- Query Parameters
- Embedded Videos
- Tracking Code Execution
- Simultaneous Experiments
- Tags
- Deployments
- Disable Testing
- Locations
- Programmatic Bucketting
- Query Parameter Handling
- Convert Library
- Variation Previews
- Experiment Editing
- Opt-Out Script
- Data Reset
- Body Hiding
- Visit-Specific Variations
- Variation Styling
- Preview Issues
- Variation Editing
- Full-Site Testing
- Blinking Variations
- Cross-Domain Cookies
- Regex Support
- Conversion Tracking
- SPA Testing
- Project Setup
- Cross-Domain Tracking
- Geo-Targeting
- Analytics Tools
- Campaign Tags
- Previewing
- IDs
- Query String Targeting
- Bounce Rate Goals
- Bot Filtering
- Query String Variables
- Custom Audiences
- Redirects
- Baseline
- Tracking Code Location
- Secure Cookies
- AngularJS
- Cloudflare
- Code Installation
-
Track Goals
- Form Tracking
- Cookie Management
- iFrame Click Tracking
- Performance Optimization
- Revenue Tracking
- Interaction Goals
- Form Submissions
- Advanced Goals
- Lazy Loading
- Multi-Conversions
- URL Parameters
- Bounce Rate Goals
- DataLayer Integration
- Scroll Depth
- Social Interactions
- Page Views
- Marketo Forms
- Feature Analysis
- AJAX Forms
- Revenue Tracking via GTM
- Order Outliers
- Cumulative Revenue
- Goal Templates
- Adding Revenue Goals
- JS-Based Goals
- Goal Basics
- Google Analytics Goals
- Social Sharing
- Dynamic Goals
- Typeform Integration
-
Target Visitors
- Geolocation
- Interaction Goals
- Goal-Based Targeting
- Weather Targeting
- Cookie-Based Targeting
- Page Visits
- Audience Management
- Audience Segmentation
- Experiment Targeting
- Advanced Audience Creation
- Audience Templates
- Audience Creation
- Data Layer Integration
- Manual Activation
- JavaScript Conditions
- Device Targeting
- Language Targeting
- IP-Based Exclusion
- Visitor Management
- Page Tagging
- Cookies
-
Troubleshooting
- Google Warnings
- Visual Editor
- HTTPS Content
- Logs
- Support Options
- Bootstrap
- Cookie Blocking
- Change History
- Mobile Debugging
- AdWords
- Bot Exclusion
- Domain Issues
- Cloudflare Issues
- Monitoring
- Cloaking Penalties
- Goal Editor Issues
- Variations
- Snippet Performance
- Changes Not Saved
- Blocked Visual Editor
- Goal Testing
- Visual Editor Browsing
- Experiment Issues
- Installation Verification
- Data Leak Prevention
- Usage Limits
- Experiment Previews
- GA4 Revenue
- Chrome Debugger Logs
- SPA Errors
- Checkout JSON Error
-
Analyze Results
-
Integrations
- Google Analytics
- Cookie Consent Platforms
- Microsoft Clarity
- Plausible
- Marketo
- HubSpot
- Tealium
- Smartlook
- Klaviyo
- Salesforce CRM
- FullStory
- Snowplow Analytics
- Webflow
- GA4 Roles
- Amplitude
- Segment
- React
- BigCommerce
- WooCommerce
- Active Campaign
- Google Tag Manager
- Mixpanel
- Zapier
- Inspectlet
- Crazy Egg
- LanderApp
- Unbounce
- Instapage
- Drupal
- PrestaShop
- Magento
- Roistat
- Piano Analytics
- Heap Analytics
- Kissmetrics
- Mouseflow
- Adobe Analytics
- Clicky
-
Account Management
-
Developers
-
What's New
-
Common Questions
-
Shopify
Pushing Convert Experiences Data to Formstack Submissions
This Article Will Help You:
- Introduction
- Create your Form Fields in Formstack
- Embed the Form in your Website
- Embed the Integration Script in your Website
- Submit the Form
- View Convert data in Formstack
- Debugging
Introduction
Formstack is an advanced form builder service that enables you to create and embed custom forms on your website with little or no technical experience.
This quick guide will walk you through how to send Convert Experiences Project and Variation data along with visitor submissions using hidden fields and more.
Create your Form Fields in Formstack
Create a new form in Formstack under Build tab: Create the field(s) you want to use to send the Convert Experiences data, and set it as hidden. This could be project data, variation, goal or experiment data.
Setting these fields hidden, allows you to pass data through the form submission, without the visitor seeing or being confused by it.
Embed the Form in your Website
Then go to Publish tab in Formstack. This integration only works with the "Embed Form" option. Convert Experiences can’t be embedded into "URL Links" pages so we will avoid using that for now. For more advanced users, any embed method that parses the HTML form in the same page that has the Convert Experiences tracking code can be made to work as well.
For simplicity sake, we will stick with the embed form for this guide.
Copy and paste that code into the HTML of the page on your website where you want the form to show. It will look like this:
Embed the Integration Script in your Website
In order to populate the form fields we will need to add this integration script to the bottom of the page before </body>, after all other scripts:
<script>
// Update this to your own settings
var formstackSetFields = {"Experience ID": convert.currentData.experiments[10023753].variation_id};
// Don’t edit this code below
(function customFormstackCEVars() {
var arrFields = function settingsToArray() {
var fields = [];
for(var label in formstackSetFields) {
fields.push({
label: label.toLowerCase(),
value: formstackSetFields[label]
});
}
return fields;
}();
var labels = {};
$(".fsPage label").each(function() {
var elm = $(this);
var label = elm.text().trim().toLowerCase();
labels[label] = elm.attr("id").replace("label", "field");
});
var populateFields = function populateFields() {
arrFields.forEach(function(field) {
var label = field.label;
var loaded = labels[label] && ($("#" + labels[label]).length !== 0);
if(loaded) {
$("#" + labels[label]).val(field.value);
} else {
console.error("Custom Fieldstack CE: Field " + label + " does not exist.");
}
});
};
populateFields();
}());
</script>
Basically you need to change only the first rows to the labels you have added for your hidden fields. It should look like this:
var formstackSetFields = {
“My Label”: “Custom Value”
};
So now the form field labelled "Experience ID" will have the Convert variation ID which, when submitted, will show up in the Formstack submissions.
Submit the Form
Submit the form to test it out:
View Convert data in Formstack
After submitting your form, go to submissions in Formstack:
And make sure your hidden variable is not empty:
Debugging
Fields not being populated
To make sure the labels you specified in the formstackSetFields were typed correctly and found by the Javascript, open up your browser console. If there was an error, you will see something like this:
I added “x” as a field label but since it doesn’t exist in my form, it gave me this error.
Project settings required to make the integration work
If you get an error that JQuery is not found or you can’t get variation, goal or experiment names, it’s most likely that you need to turn off "Data Anonymization" and "Do Not Include JQuery" switches in your project configuration.