Self hosting embed.js

If your organization or project requires you to self-host embed.js, you can do so by:

  1. Downloading either embed.js or embed-no-analytics.js
  2. Uploading the script to your server
  3. Directing all traffic to your self-hosted script

Your script should look like this:

<script src="https://example.com/js/embed.js" data-user-id="abc_1234567890"></script>

Where example.com is your domain

Note about self-hosting

When self-hosting embed.js you will not get automatic script updates which may contain feature updates. We recommend using our official embed.js CDN.

License

embed.js is licensed under a custom license which can be viewed here