VWO is a solution that allows you easily change the headline, button, image, or any other element to create multiple variations of your website. VWO will equally divide your website traffic among all the variations and track which one works the best for you.
In this article, we will explain how you can integrate GetFeedback Digital with VWO. Integrating with VWO will allow you to push VWO test data to GetFeedback Digital. Which in turn will make it possible to see what VWO variation was running when your visitors gave Feedback using the Button or filled out a Campaign. You can even target Campaigns based on the VWO variation that is running. The setting up of the integration involves the adding of a VWO tracking code to the pages where you're running VWO and GetFeedback Digital. In addition, we'll show where you can find the VWO data in GetFeedback Digital.
Note: The VWO integration is not an out-of-the-box integration. For setting up the integration you need some basic understanding of JavaScript.
The Code
For setting up the integration you'll need to add some JavaScript code to your website. The JavaScript below works by gathering the test data from VWO, adding it to a JavaScript Object, and pushing that object to GetFeedback Digital as a Custom Variable object. The JavaScript has some prerequisites to work. Ensure that you add the JavaScript below only after the VWO smart code and the GetFeedback Digital Installation Snippet on the page. An easy way of achieving this is by using a tag management system with tag sequencing
Note: The JavaScript code has not been tested for Single Page Application websites. So if you intend to use the code on an SPA website make sure to test it thoroughly.
Because we're using Custom Variables for pushing the VWO test data to GetFeedback Digital we'll need to make sure that we don't overwrite the values. We recommend therefore that you use a JavaScript Object to initialize and manage the Custom Variables. This makes sure that you can simply push any updated data by reinitializing the JavaScript Object instead of redefining all values.
How to use the VWO test data
When you've set up the integration correctly you can view your integration within GetFeedback Digital. When you view a single feedback item you'll notice that some Custom Variables have been added to the feedback item. Only when a VWO test was running will you see the data show up. Keep in mind that you're free to change the integration code used in this article. So you can change the name of the custom variables if you see fit.
Through this added data, you will be able to filter and segment your feedback items or campaign results according to VWO tests. When you want to filter feedback based on the VWO tests you'll need to use the appropriate filter option. The filter option that you'll need to use to use is the Custom Variable filter.
Target Campaigns based on the VWO test data is done by targeting the Campaign based on Custom Variables. More information about targeting Campaigns using Custom Variables can be found here.