Monetate is a solution that allows you to quickly build & run A/B and multivariate tests using behavioral and contextual data. In this article, we will explain how you can integrate with Monetate. Integrating GetFeedback Digital with Monetate will allow you to target Monetate Campaigns based on Feedback or Campaign results you gathered and it will add Monetate Experience Data to your GetFeedback Digital Feedback and Campaign results.
Note: Did you know that you can combine GetFeedback Digital and Monetate in multiple ways by using the out-of-the-box targeting from GetFeedback Digital and the test options from Monetate?
Push GetFeedback Digital data to Monetate
In order to push GetFeedback Digital data to Monetate, we'll be using the setCustomVariables API that Monetate provides. Below you'll find the example code that you'll need to implement on your website to push the data. Keep in mind that for the pushing of the data we make use of the setEventCallback method. This means that the code that you see down below can only be initiated after the Feedback button has been loaded.
More information about the setCustomVariables API of Monetate can be found on the Monetate Support Website
Integrate Monetate Experience Data in GetFeedback Digital (POC)
Note: The integration code for integrating Monetate Experience Data in GetFeedback Digital is not fully tested and requires some knowledge of JavaScript. If you are unfamiliar with JavaScript, please check with your Development Team for support.
At the moment there is no fully-tested out of the box integration for pushing Monetate Experience Data to GetFeedback Digital available. There is, however, a piece of Proof-of-Concept(POC) code that you can try in your Monetate implementation. The POC code can be implemented in your Monetate environment in the custom reports section. Implementing the POC code will result in the push of Monetate experience data to GetFeedback Digital as Custom Variables. This means that you'll see Monetate Experience Data show up as metadata for your Feedback items and/or Campaign results.
Note: In order to integrate Monetate Experience data in GetFeedback Digital you'll first need to make sure that you add a JavaScript Object for holding your Custom Variables. To do so add the following piece of JavaScript below the GetFeedback Digital Installation Snippet.
var usblCustom = window.usblCustom || {};
window.usabilla_live("data", {
"custom": usblCustom
});
When you have a JavaScript Object defined for your Custom Variables we'll need to add the POC JavaScript code to Monetate. Following the guide from Monetate Support, you'll need to add the POC JavaScript code from below to your Monetate "Custom Report" JavaScript console. You can find more information about this here.
Depending on your website configuration you may want to add some additional JavaScript to reinitialize the "usblCustom" JavaScript Object containing the Monetate experience data using the GetFeedback Digital "data" JavaScript API command. Because you need to make sure that data is initialized after the Feedback button is loaded.
Help us improve this article
We would love to hear from you if you have feedback regarding this article. For feedback use the feedback button the right-hand side (don't forget to add your email address).