Integrate with Quantum Metric

Get a session replay in the powerful digital analytics platform

Why connect Usersnap and Quantum Metric

Usersnap is a powerful user feedback platform, and Quantum Metric is a powerful digital analytics platform. So, why not combine these powerful tools?

Quantum Metric (QM) tells you a lot about the behavior of your visitors and what they are doing on your website. But what if they send in an issue via a user feedback platform like Usersnap, and you want to replay the exact session of this user?

1204

Wouldn't it be convenient to have the session ID at your hand and play the exact session in QM?

<script>
var sessionID = null;

if (window.QuantumMetricAPI != null && window.QuantumMetricAPI.isOn() && window.QuantumMetricAPI.getSessionID() != null) {
    sessionID = window.QuantumMetricAPI.getSessionID();            
}

  window.onUsersnapLoad = function(api) {
    api.init({ 
      custom: {
        QuantumSessionID: sessionID
      }
    });
  }
  var script = document.createElement('script');
  script.defer = 1;
  script.src = 'https://widget.usersnap.com/global/load/[YOUR USERSNAP SNIPPET CODE]?onload=onUsersnapLoad';
  document.getElementsByTagName('head')[0].appendChild(script);
</script>

You will see the Quantum Metric sessionID in the custom data of Usersnap. Hooray.