What is CustomerGauge?
CustomerGauge is a software-as-a-service platform that helps clients improve and monetize the B2B customer experience. Their Account Experience™ platform automatically measures and analyzes feedback, reduces churn through close-loop tools, and helps retain accounts.
Results are published and analyzed in real-time, using a highly customizable reporting tool, making it ideal for B2B businesses—from fast-growing SaaS companies to global enterprises.
How to embed a CustomerGauge survey in a Wisepops campaign?
You can easily embed a CustomerGauge survey into your campaigns by using an iframe block.
Use your CustomerGauge anonymous survey link as the Wisepops iframe source. It should look like this:
Your popup will then contain the CustomerGauge survey.
How to associate the responses with your user context?
On your website, you may already know some info about the user filling the CustomerGauge survey. No need to ask him to fill in this info again. It is possible to forward the context you know to CustomerGauge, through Wisepops.
Let's assume that you want to associate the response with the user ID in your database, and his/her known first name.
1. Set this info as Wisepops custom properties
Our custom properties are a convenient way to send some context to Wisepops. This lets you build targeting condition on your own data, and customize the content of the campaign with the user data.
Simply add this piece of code just after our setup code, before the closing </script>
:
wisepops('properties', {
user_id: 42,
first_name: 'Greg',
});
42 and Greg should be dynamically replaced by the data about your user.
Learn more about the custom properties on this page.
2. Complete the iframe URL with the data to send to CustomerGauge
Now that Wisepops has the info about your user, we must forward it to CustomerGauge. We can use Data-Link surveys for this. The idea is simple: add the data to send to CustomerGauge as GET parameters.
Our iframe URL would look like this:
https://surveys.customergauge.com/start.php?company=BEMB&form_id=8&user_id={{user_id | url_encode}}&first_name={{first_name | url_encode}}
For clarity purposes, let's deconstruct this URL:
https://surveys.customergauge.com/start.php?
company=BEMB&
form_id=8&
user_id={{user_id | url_encode}}&
first_name={{first_name | url_encode}}
The first two GET parameters (company
and form_id
) are the ones provided by CustomerGauge in the initial link. We added two extra parameters user_id
and first_name
. The part at the left of the =
sign is the name of the parameter CustomerGauge will receive. The part at the right is the custom property injection that Wisepops will handle. The double {{ ... }}
let Wisepops know that this is a dynamic part in the URL that must be replaced by a custom property. And the url_encode
filter let us ensure that the custom property format is adjusted for usage in a URL.
3. Create a URL Post block in your CustomerGauge survey
Now that the user data is made available to CustomerGauge, we only need to configure your survey to set some CustomerGauge fields to the values found in the URL.
To do so, create a URL Post block, and map your fields accordingly:
The column "Post Data" at the left contains the names of the parameters in the URL. And the column "CustomerGauge Field" at the right lets you map each line to a CustomerGauge field.
With this configuration in place, your survey response will automatically contain the info you define as Wisepops custom properties.
Please let us know if you have any questions about this integration!