It only takes a couple of minutes to get started - install our JavaScript code on your website and you are on your way to collecting quality customer feedback.


Add the follow code before the closing </head> tag.
<script>
  window.Metriculator={_k:"__YOUR_ACCESS_TOKEN__",_a:"__YOUR_ACCOUNT_TOKEN__",_c:{},_d:null,on:function(t,i){return(this._c[t]=this._c[t]||[]).push(i),this},init:function(t){return this._d=t,this}};

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//external.metriculator.com/main.js";
    js.async = true;
    js.crossOrigin = "anonymous";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'metriculator-script'));
</script>

Add the follow code before the before the closing </body> tag on the pages where you want the survey to be shown.

NOTE: The signup_at parameter should be in UNIX timestamp. If it is not set, this parameter will be automatically set to the current date.
<script>
Metriculator.init({
  person: {
    email: "__REPLACE_WITH_CUSTOMER'S EMAIL__",
    signup_at: "__REPLACE_WITH_CUSTOMER'S SIGNUP DATE IN UNIX TIMESTAMP__"
  }
})
</script>
<script>
Metriculator.init({
  anonymous: true
})
</script>

For more information about adding customer specific data (plan, purchase date etc), customizing the survey, listening for events (survey is closed, score is added, user has typed a comment) please visit the detailed installation guide.


Need help?

If you are having trouble with installation, please contact our support team at support@metriculator.com and we will get back to you shortly.

For more information about adding customer specific data (plan, purchase date etc), customizing the survey, listening for events (survey is closed, score is added, user has typed a comment) please visit the detailed installation guide.

Gather actionable feedback from your customers today.

Use the Net Promoter System® (NPS) to gain critical insights about your customers, improve customer retention and drive business growth.

Start Free Account