Frequently Asked Questions

Can I pass in a name, email and phone number if a user is signed in?

Yes.

If you are rendering the page server side, you can specify the website visitors name and phone number by adding a bit more code when you add the Callback Request embed code on your website. You should add the following code:

<script> 
  let CR = {
    name: "John Doe",
    email: "[email protected]",
    phoneNumber: "0400000000",
  }; 
</script> 
<script defer src="https://callbackrequests.com/embed/button.js?0.1.3"></script>

Note, the phone number will be automatically formatted based on the country of the visitor. For instance, in Australia these entries:

  • 0400000000
  • +61400000000
  • 0400-000-000

... will all be formatted to appear as 0400 000 000. Then when you get notified of the callback request, the number will be available to you in international format (+61 400 000 000) — assuming you are not in Australia.