Qualaroo (ProProfs) GTM Event Listener
Track Qualaroo/ProProfs survey interactions in GTM. Monitor survey display, minimize, close, and response submission with survey_action_type, survey_id, and answers variables.
qualarooproprofssurveyfeedbackgtmga4voice-of-customer
Event fired
qualaroo_interactionKey variable
survey_action_typeQualaroo (ProProfs)
Overview
Qualaroo (now part of ProProfs) is a voice-of-customer survey tool that displays targeted micro-surveys on websites and apps. This listener intercepts Qualaroo's survey events and pushes them to the GTM dataLayer.
Event fired: qualaroo_interaction
Variables: survey_action_type, survey_id, answers, nudge_id, screen_id
Common Use Cases
- Track NPS survey responses as GA4 events
- Segment users by survey answer in GA4
- Measure survey completion rates by page
- Trigger follow-up workflows when users answer specific survey questions
Tracked Events
| survey_action_type | Description |
|---|---|
shown | Survey displayed to visitor |
minimized | User collapses survey |
closed | Survey dismissed |
response_submitted | User submits an answer |
Installation
html
<!-- GTM Custom HTML Tag: Qualaroo Listener -->
<script>
(function() {
var _kiq = window._kiq = window._kiq || [];
function qualarooPush(action, extra) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push(Object.assign({
'event': 'qualaroo_interaction',
'survey_action_type': action
}, extra || {}));
}
_kiq.push(['eventHandler', function(eventType, data) {
switch(eventType) {
case 'nudge-show':
qualarooPush('shown', {
survey_id: data.survey_id,
nudge_id: data.nudge_id
});
break;
case 'nudge-minimize':
qualarooPush('minimized', { nudge_id: data.nudge_id });
break;
case 'nudge-close':
qualarooPush('closed', { nudge_id: data.nudge_id });
break;
case 'answer-submit':
qualarooPush('response_submitted', {
survey_id: data.survey_id,
nudge_id: data.nudge_id,
screen_id: data.screen_id,
answers: data.answers
});
break;
}
}]);
})();
</script>Data Layer Output
Response Submitted
json
{
"event": "qualaroo_interaction",
"survey_action_type": "response_submitted",
"survey_id": "survey_abc123",
"nudge_id": "nudge_456",
"screen_id": "screen_001",
"answers": [{ "type": "nps", "value": "8" }]
}Triggers to Create
| Trigger | Event | Condition |
|---|---|---|
| CE – Qualaroo All | qualaroo_interaction | — |
| CE – Qualaroo Response | qualaroo_interaction | survey_action_type = response_submitted |
Variables to Capture
| Variable Name | DL Key | Example |
|---|---|---|
| DLV – Qualaroo Action | survey_action_type | "response_submitted" |
| DLV – Qualaroo Survey ID | survey_id | "survey_abc123" |
| DLV – Qualaroo Answers | answers | Array of answers |
GA4 Mapping
| GA4 Event | Condition | Parameters |
|---|---|---|
survey_complete | response_submitted | survey_id, nudge_id |
view_promotion | shown | survey_id |