Personalization with Metavariables

Send information from your own database to the bot for a personalized experience.

Available on:  Core | Advanced | Pro

Overview

Create a seamless personalized experience by passing customer information you already have to the bot — reducing customer effort and making the experience better.

For example, when someone is logged in to their account and accesses Ada on your site or in your app, you can pass information such as their name, email address, phone number, or account type from your database to the bot.

This is done with the help of metavariables.

Once set, your bot can greet people with a personalized “Hello first_name” instead of “Hello”. When it comes to a handoff to customer support, your logged-in customers won’t need to type their information again because the bot already knows it via the passed metafields!

See it in action

Click on the Ada button in the bottom right corner to see the personalized experience with metavariables in Ada chat.

Instructions

Step 1

Use metaFields in the window object to specify the metaFields you want to pass into Ada from your database.

<script type="text/javascript">
  window.adaSettings = {
    metaFields: {
      phone_number: "(123) 456-7890",
      name: "Ada Lovelace"
    }
  }
</script>

Step 2

Follow Ada’s technical Embed documentation to learn how to add Ada to your website.

Attached is the code snippet you need to paste into the <head> tag.

⚠️ Be sure to replace <YOUR-BOT-HANDLE> with your own bot handle. Your bot handle is your bot’s unique domain name: https://yourbothandle.ada.support/.

📣Click here to learn how to load a bot on a non-US cluster.

<script
  id="__ada"
  data-handle="<YOUR-BOT-HANDLE>"
  src="https://static.ada.support/embed2.js"
></script>

See what Ada can do for you

Get your hands on our award winning platform and start offering VIP experiences for everyone, at scale.

Get a Demo