CUSTOM SCRIPT

UserEngage plugins work by injecting a script to your website which enables communication between your site and our API. If you don’t want a plugin you can integrate UserEngage by yourself. To do so, insert the following code before the closing <body> tag of your website:

Code for users that are logged in

<script data-cfasync="false" type="text/javascript">
window.civchat = {
  apiKey: 'YOUR_API_KEY',
  name: 'John Doe',
  email: '[email protected]',
  company: {
    revenue: "$239.9 billion",
    employees: 32
  }
};
</script>
<script data-cfasync="false" type="text/javascript" src="https://widget.userengage.io/widget.js"></script>

And for users that are logged off

<script data-cfasync="false" type="text/javascript">
window.civchat = {
  apiKey: 'YOUR_API_KEY',
};
</script>
<script data-cfasync="false" type="text/javascript" src="https://widget.userengage.io/widget.js"></script>

After placing the following code in your website, replace the above information in bold with your information. You will receive the API Key once you have created an account.

Your API KEY can be found here:

Get API KEY

If you have problems with inserting the code into your website, feel free to contact us, we will be more than happy to help you.

This website uses cookies.