Skip to main content

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_interaction

Key variable

survey_action_type

Qualaroo (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_typeDescription
shownSurvey displayed to visitor
minimizedUser collapses survey
closedSurvey dismissed
response_submittedUser 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

TriggerEventCondition
CE – Qualaroo Allqualaroo_interaction
CE – Qualaroo Responsequalaroo_interactionsurvey_action_type = response_submitted

Variables to Capture

Variable NameDL KeyExample
DLV – Qualaroo Actionsurvey_action_type"response_submitted"
DLV – Qualaroo Survey IDsurvey_id"survey_abc123"
DLV – Qualaroo AnswersanswersArray of answers

GA4 Mapping

GA4 EventConditionParameters
survey_completeresponse_submittedsurvey_id, nudge_id
view_promotionshownsurvey_id

Related Listeners