Troubleshooting

1. Where do I find WebEngage license code required for SDK integration?

You will find your License Code on WebEngage dashboard. Log in to your WebEngage dashboard and go to Account Setup section, as highlighted in the image below. Note that your License Code might start with tilde (~).

2. I don't want to show the feedback widget on all pages of my website. Is there a way to hide it?

You can add the following code snippet to the WebEngage Website SDK to prevent the feedback widget from displaying on select pages.

<script type="text/javascript">
  var _weq = _weq || {};
  _weq['webengage.onReady'] = function(){
    webengage.notification.render();
    webengage.survey.render();
    var pageUrl = document.location.href;
    //Hide widget on /terms page
    if(pageUrl != 'http://www.mywebsite.com/terms'){
      webengage.feedback.render();
    }
  };
</script>

In the script above, the feedback widget has been disabled for the URL http://www.mywebsite.com/terms. Simply replace this URL with links of the pages you would like to disable the feedback widget for, on your website.

Troubleshooting


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.