Skip to main content

Installation

To display in-app surveys on your website or platform, you'll need to install our JavaScript SDK. It's a simple code snippet that you just have to add to your website.

Requirements

Ensure you have access to your web codebase, and can deploy to a development and/or production environment

Step 1: Create a source

A source is a bit like a project. It's also where you want to display your surveys:

  • On a website / platform
  • A mobile application
  • Direct link / email

In this case choose website / saas product.


Step 2: Fill in your url

Copy paste your URL where TOLDS should be displayed.

The URL should follow these rules:

It should be the scheme + domain name, no path needed

https://mydomain.com

If you choose to test locally, you can simply add the localhost URL along with the port number.

http://localhost:3000

Choose the right label

Choose the appropriate label to specify where you want Told surveys to appear, such as Production, Local, or Staging.


Step 3: Install TOLD

To complete the creation of your source and install Told, you simply need to add a script to your website.

Follow the tutorials below.


Step 4: Verify installation

After you've deployed your web app with the JavaScript snippet, you can verify that Told has been installed. Simply click on the "Verify Installation" button.


Step 5: User Identification

Congratulations! Told has been successfully installed on your platform. 🎉

Now, proceed by adding the identify function and setting up your first audience.


Step 6: Create your first survey and have fun!

Create your first survey, set up your triggers without any coding, and publish it to appear on your web app.