If you are performing A/B tests on your website through AB Tasty, you may be interested in knowing that user feedback can add valuable insights to these A/B tests.
Simply run a GetFeedback Digital survey or analyze your passive feedback button's results to find out which test variant is preferred by your users and why it is. You can even use GetFeedback Digital to initially determine what you are going to test next.
Follow the below steps to integrate AB Tasty and GetFeedback Digital work closely together.
1. Add AB Tasty test variants to GetFeedback Digital through Custom Variables
In order to recognize the test variant a user was in, you can push AB Tasty's test variant ID to GetFeedback Digital through custom variables. You are free to choose whether you would only like to use the test variant ID, or whether you would like to add other variables from AB Tasty to GetFeedback Digital as well.
AB Tasty stores the running tests as well as the test variants in the JavaScript object "ABTasty". Depending on which information you would like to send to GetFeedback Digital , you can for instance use the below JavaScript variables.
- ABTasty.tests – An array of all the tests running on the website.
- ABTasty.getTestsOnPage() – A function that will return all tests running on a specific webpage. You can run this function in order to find the tests and test variants running on a specific webpage.
After running ABTasty.getTestsOnPage() you will know the testID of the test running on the website. This testID can be used to find test variations and names running on the page as follows:
- ABTasty.getTestsOnPage(testID)
[testID].variationID - ABTasty.getTestsOnPage(testID)
[testID].name
These variables can be pushed to GetFeedback Digital by adding this JavaScript snippet to your existing GetFeedback Digital code on the webpage. Please see this article for more information.
When pushing variables from AB Tasty to GetFeedback Digital , please be aware that it's not possible to push nested arrays and objects deeper than two levels. This means that when pushing deeper arrays or objects to GetFeedback Digital , they will have to be flattened first.
After implementing the custom variables GetFeedback Digital feedback items and campaign results that derive from a page on which an A/B test runs, will be supplemented with the test variant ID. Also campaign results will contain a test variant ID for each user if this ID is present.
The test variant ID then allows you to filter and segment your feedback items or campaign results according to the test variant. Use the filters to compare feedback from different test variants and define which one has your users' preference.
2. Target GetFeedback Digital campaigns to a specific test variant
After pushing the Test variant ID to GetFeedback Digital you will be able to show a targeted survey to users that are in a specific test or even view a specific test variant. Please find an explanation on how to set up the campaign targeting here.
3. Push user feedback from GetFeedback Digital to AB Tasty
Whenever a user has left feedback on your website or when he has responded to a campaign, you will also be able to push those results back to AB Tasty. In AB Tasty you'll then be able to merge the qualitative feedback that derives from GetFeedback Digital with the AB Tasty reporting suite.
Also you can follow up on feedback in real time or in following sessions. If your user for instance filed a bug report through GetFeedback Digital and your developers fixed this bug, you will be able to report back to the user about the fix during their next session.
Pushing user feedback to AB Tasty works in the same way as adding GetFeedback Digital data to your data layer. Using our setEventCallbacks you can trigger a push to AB Tasty, every time a user leaves feedback while AB Tasty is active on the webpage. Please find instructions on how to use the setEventCallbacks here. The push to AB Tasty can be activated as follows:
_abtasty.push(["cv","key", "value"]);
where:
-
"cv" is the AB Tasty reserved name for its Custom Variables feature
-
"key" and "value" are used in AB Tasty to filter your dataset or as targeting criteria for campaigns
We hope this article helps you to get more out of GetFeedback Digital and AB Tasty. Any questions? Please reach out to Support@usabilla.com or use the widget below.