In this article
In this article
Web analytics help identify which pages of your site are converting. You can combine Google Analytics data with GetFeedback to:
If you used the Google Analytics integration before migrating to Google Analytics 4, set up this integration for your button. You don't need to change the original integration settings.
To integrate with Google Analytics 4:
If you would like to integrate multiple buttons, repeat these steps for each button.
If you've migrated to Google Analytics 4, make sure to use the Google Analytics 4 integration instead.
If you’re using Universal Analytics Tag in Google Tag Manager, you'll need to change is the field for the "Tracker Name." Changing this setting allows GetFeedback for Web and App to set the tracker name.
Follow these steps to change the setting:
Save and submit your settings, then exit.
To use our Google Analytics integration with a gtag.js tracking code, you’ll need to add a code snippet to your webpage instead of enabling the integration in your GetFeedback account.
To push GetFeedback data using the Global analytics tag, copy and paste the following code snippet below the GetFeedback button code on your website:
If your implementation is more complex and you work with multiple tracking codes or if you implemented Google Analytics through a Tag Management System, the steps above might not work for you.
If you’re using multiple Google Analytics tracking codes or don’t know the name of your tracking code, use the snippet below. If a user provides feedback through your GetFeedback campaign, events will be pushed out to all tracking codes running on the website.
Replace trackerName with the name of your tracking code and add the snippet to your site, below your existing GetFeedback code. When a user leaves feedback through GetFeedback, event data will be sent to your tracking code.
Your tracking code’s name is set up by your dev team, usually in Google Analytics or your tag manager. Learn more about tracker names here.
There are browser extensions like Google Analytics Debugger for Chrome that can help you find the name of your tracking code.
We will now look into setting up a custom report, to display the GetFeedback for Web and App data within Google Analytics.
The following actions are available to indicate how a visitor interacted with GetFeedback for Web and App on your website.
|Feedback: Open||Fires every time someone clicks the feedback button.|
|Feedback: Success||Fhis event fires every time a visitor completes the feedback process.|
|Campaign: Open||Fires when a visitor opens a campaign.|
|Campaign: Close||Fires when a visitor clicks the close button of a campaign.|
|Campaign: Success||Fires whenever a visitor clicks the feedback button when a boost campaign is active.|
|Campaign: Feedback Clicked||Fires whenever a visitor clicks the feedback button when a boost campaign is active.|
|Campaign: Page Switch||Fires whenever the visitor clicks the next page in a campaign survey. This event also fires when a visitor clicks the submit button.|
Below you’ll find the information sent with each event and how they map to different variables.
You can also integrate GetFeedback data into Google Analytics (GA) using Google Tag Manager’s (GTM) data layer.
This integration will work with the following GetFeedback products:
The data layer gives you a single data point where you can store and access all your third-party data. It also enables you to easily integrate with other third-party technologies.
First, you’ll need to add a code snippet into a tag in Google Tag Manager. This code snippet will make sure that all feedback that's left, is getting pushed into the data layer.
Now it's time to create some variables in Google Tag Manager. These variables will connect the data in the data layer with GTM.
In your main GTM view, go to “Variables” and click on “New”. In the variable configuration window, select “Data Layer Variable” as variable type:
The variables you create in this step depend on what data you want to send to Google Analytics. Here, we'll use the standard variables "category", "action", "label" and "value" from our event callback method.
Now let’s get back to creating our variables. We will create 4 data layer variables in this example. Give each of them a descriptive name, but make sure that you give it the correct data layer variable name. Variable names should be the same in GetFeedback and Google Tag Manager.
Now, we shall have these data layer Variables created in our Google Tag Manager account:
To send the data layer variables to Google Analytics, we need to define a trigger for when a user interacts with GetFeedback.
Go to “Triggers” then select “New”.
Select the “Custom Event” trigger type. Enter Usabilla as the Event name
Next, choose “All Custom Events”
To recap what you’ve done so far:
Now you need to connect what you’ve created so far to Google Analytics.
Go to your main GTM view, click on “Tags”, then “New”.
When clicking on Tag Type add a “Google Analytics - Universal Analytics” tag. As Track Type select “Event”. Connect the data layer Variables by mapping them out, one by one, from the slide-out menu that appears. Last, but not least, add the GetFeedback trigger that we just created. Your final setup should look like this:
You’ve pulled data from the data layer and into Google Analytics. Now you can present your data in a Google Analytics report.
How you create your custom report depends on which data you've pushed into Google Analytics. In our example, we'll make use of the information that's sent along with the variables category, action, label, and value: