How to connect Mopinion to Google Analytics
Where to find the GA4 integration
The Mopinion Google Analytics integration can be turned on per form. In the form builder, open the form for which you want the Mopinion events to be tracked in Google Analytics. Go to the INTEGRATION
step. Toggle the option (A) Google Analytics on.
The options (B) Customize Tracking ID and (C) Push posted feedback to Google Analytics will appear.
By default, the integration will detect your tracking ID on your page. If you use multiple tracking IDs you can specify the tracking ID that the integration needs to use by toggling (B) Customize Tracking ID. If you only use 1 tracking ID on your page this setting is not required.
If you want to track on our public landing page, for example when using email feedback, you have to set your GA4 tracking ID at (B) Customize Tracking ID.
When (A) Google Analytics is toggled the standard Mopinion events are tracked. If you also want to track the answers to the questions in a form you have to toggle the (C) Push posted feedback to Google Analytics.
Which events can be tracked?
The (A) Google Analytics integration tracks the following events
Event | Trigger | Prerequisite |
---|---|---|
Form loaded | From is loaded to show on your page. It is however not shown yet. |
|
Form shown | Form showing on your page. |
|
Form hidden |
|
|
Redirect | A click on a link | The form needs to contain a link element. |
Next page | A click on a next page button | The form needs to contain at least one page break element. |
Previous page | A click on a previous page button | The form needs to contain at least one page break element. |
Feedback sent | A click on the submit button |
|
Question answered | An answer to a question in a conversation form | Conversational forms only |
Feedback data |
| (C) Push posted feedback to Google Analytics needs to be turned on. After an initial post three custom dimensions need to be created based on the User Property/Parameters |
Before you can track which form fired an event you have to configure the custom dimension for the User Property/Parameter mop_form_name
.
How to configure the custom dimensions?
In Google Analytics go to ADMIN
→ Custom definitions
.
Select Create custom dimension
. (A) Select one of the three Mopinion Event parameters mop_feedback_value
, mop_form_name,
and mop_feedback_question
. Give the dimension a (B) name and (C) Description. (D) Leave the scope set at Event.
Do this for each of the three Event parameters, mop_feedback_value
, mop_form_name,
and mop_feedback_question
.
Throughout the explanation, we use the terminology below, which can differ from your naming convention.
Dimension name | Description | User Property/Parameter | Explanation |
---|---|---|---|
Mopinion Answer | Mopinion Answer |
| Will track the answer values of the questions. |
Mopinion Form name | Mopinion Form name |
| Will track the name of the forms. |
Mopinion Question | Mopinion Question |
| Will track the question titles. |
In our example, the three custom dimensions in Google Analytics 4 will be as per below.
The configuration of the custom dimensions has to be done once. For every additional feedback form with an active Google Analytics 4 integration, these custom dimensions will be applied automatically.
Visualisation and use of the Mopinion events in Google Analytics
In Reports
→ Engagement
→ Events
When the event Feedback data
is selected a categorisation on the custom dimensions Mopinion Answer
, Mopinion Question,
and Mopinion Form Name
is available.
When building a comparison the custom dimensions Mopinion Answer
, Mopinion Question,
and Mopinion Form Name
are available.
In Explore
In the explore menu the custom dimensions can be applied to see how often a certain answer to a certain question from a certain form was given.