Frequently Asked Questions

How do I test Callback Requests locally?

Above the embed code, you can put some configuration variables. In here, you should specify either your domain like this:

<script>
  let CR = {
    domainName: "example.com",
  };
</script>
<script defer src="https://callbackrequests.com/embed/button.js?0.1.3"></script>

... or your website ID like this:

<script>
  let CR = {
    websiteId: "20DigitExampleString",
  };
</script>
<script defer src="https://callbackrequests.com/embed/button.js?0.1.3"></script>

To get your websiteId:

  1. Sign in to your dashboard.
  2. Tap your name in the top right.
  3. Tap on Website Settings in the dropdown.
  4. Under the Site Details you will be able to see your Website ID (at the top).

Please note, this will display the Callback Request buttons locally, but it will create real Callback Requests.