waitlyst.js provides in-app widgets for collecting customer feedback & product analytics.

Overview

Logo

waitlyst.js provides in-app widgets for collecting customer feedback & product analytics.

  • Track every event on your app
  • Understand your users and how to improve your product
  • Collect in-app customer feedback with 1 line of code

Documentation

Please visit https://waitlyst.co/docs to view the complete documentation.

Getting Started

This module is distributed via npm, which is bundled with node and should be installed as one of your project's dependencies.

npm install @indextrus/waitlyst.js

or as a script tag:

<script src="https://cdn.waitlyst.co/sdk/waitlyst.js"></script>

Tracking product analytics

Logo

Using waitlyst.js as an es module:

import { Waitlyst } from 'waitlyst-js';

const waitlyst = new Waitlyst('YOUR_PUBLISHABLE_KEY');

/* Track a page view */
waitlyst.page();

/* Track a custom event */
waitlyst.track('stockPurchase', {
    price: 3000,
    id: '1234',
    quantity: 1 
});

/* Identify a visitor */
waitlyst.identify('1234', {
    firstName: 'John',
    lastName: 'Doe',
    email: '[email protected]
});

Using waitlyst.js as a script tag:

<script src="https://cdn.waitlyst.co/sdk/waitlyst.js"></script>
<script>
    var waitlyst = new Waitlyst('YOUR_PUBLISHABLE_KEY');

    /* Track a page view */
    /* If used in a browser (non-spas) analytics will be tracked automatically */
    waitlyst.page();

    /* Track a custom event */
    waitlyst.track('stockPurchase', {
        price: 3000,
        id: '1234',
        quantity: 1 
    });

    /* Identify a visitor */
    waitlyst.identify('1234', {
        firstName: 'John',
        lastName: 'Doe',
        email: '[email protected]'
    });
</script>

Collecting customer feedback

Logo

Using waitlyst.js as an es module:

  1. Attach a data-waitlyst="feedback" attribute to an element in your DOM
    <button type="button" data-waitlyst="feedback">Click me</button>
  1. Initialize waitlyst.js
import { Waitlyst } from 'waitlyst-js';

const waitlyst = new Waitlyst('YOUR_PUBLISHABLE_KEY');

// TIP: The code above must be initialized after your DOM has loaded`

// Here are some examples on where to place that code:
// Angular -> AfterViewInit
// React -> ComponentDidMount
// Jquery -> document.ready(function() { ... })
// VanillaJS -> document.addEventListener('DOMContentLoaded', callbackFunction, false);

Using waitlyst.js as an browser script tag:

  1. Attach a data-waitlyst="feedback" attribute to an element in your DOM
    <button type="button" data-waitlyst="feedback">Click me</button>
  1. Initialize waitlyst.js
<script src="https://cdn.waitlyst.co/sdk/waitlyst.js"></script>
<script>
    document.addEventListener('DOMContentLoaded', function() {
        var waitlyst = new Waitlyst('YOUR_PUBLISHABLE_KEY');
        
    });
</script>

Advanced usage

You can attach ids to an element and manually trigger them. This is especially useful for displaying widgets in context when a user take a certain action or encounters an error in your app.

<button type="button" data-waitlyst="feedback" id="feedback-button">Click me</button>

and then you can envoke it by:

const waitlyst = new Waitlyst("yourPublishableKey")
// To open
waitlyst.elements.open("feedback-button");

// To close
waitlyst.elements.close("feedback-button")
You might also like...

It’s a Ticketing software for small companies which are into customer support.

It’s a Ticketing software for small companies which are into customer support.

What is VueTicket? The VueTicket is an Ticketing Application for small companies which are into customer support. Technologies Used • ASP.NET Core 5.0

Nov 27, 2022

Omnichannel Live Chat Widget UI Components offers a re-usable component-based library to help create a custom chat widget that can be connected to the Dynamics 365 Customer Service experience.

Omnichannel Live Chat Widget UI Components @microsoft/omnichannel-chat-widget is a React-based UI component library which allows you to build your own

Dec 15, 2022

Analyzify's open-source guide & codes on Shopify Pixels & Customer Events. Follow this repo to stay up-to-date with the new pixels.

Analyzify's open-source guide & codes on Shopify Pixels & Customer Events. Follow this repo to stay up-to-date with the new pixels.

Shopify Customer Events & Shopify Pixels Shopify has announced yet another phenomenal feature: Shopify Customer Events also known as Shopify Pixels. O

Dec 8, 2022

A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.

A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.

WeUI - tailor-made for WeChat web service 中文版本 Introduction WeUI is an WeChat-like UI framework officially designed by the WeChat Design Team, tailor-

Jan 2, 2023

Backgrid.js is a set of components for building semantic and easily stylable data grid widgets

Backgrid.js is a set of components for building semantic and easily stylable data grid widgets. It offers a simple, intuitive programming interface that makes easy things easy, but hard things possible when dealing with tabular data.

Nov 21, 2022

A UI library by WeChat official design team, includes the most useful widgets/modules.

A UI library by WeChat official design team, includes the most useful widgets/modules.

WeUI for 小程序 为微信小程序量身设计 概述 WeUI 是一套同微信原生视觉体验一致的基础样式库,由微信官方设计团队为微信内网页和微信小程序量身设计,令用户的使用感知更加统一。包含button、cell、dialog、 progress、 toast、article、actionsheet、

Jan 4, 2023

💸 getting sponsored made easy with widgets !

Ponsor getting sponsored made easy through widgets Tech Stack A lot of different tech and soft wares were used to create Ponsor, here is a list of the

Jan 4, 2023

Better select widgets in vanilla javascript.

Select Better select widgets in vanilla javascript. The code is intentionally very simple and close to browser defaults. Usage link rel="stylesheet"

Jun 17, 2022
Owner
Indextrus
We build products that help companies create fiercely loyal customers, and craft high performance teams.
Indextrus
Next-gen mobile first analytics server (think Mixpanel, Google Analytics) with built-in encryption supporting HTTP2 and gRPC. Node.js, headless, API-only, horizontally scaleable.

Introduction to Awacs Next-gen behavior analysis server (think Mixpanel, Google Analytics) with built-in encryption supporting HTTP2 and gRPC. Node.js

Socketkit 52 Dec 19, 2022
Mekna'7, a subsidiary of the ONCF group, which provides bus services to cities not served by train, needs to set up a computer system by creating a database for managing customer reservations.

Online-bus-ticket-reservation Introduction Hello everyone, this is a project that I have done for assignment. This project is a simple online bus tick

Hala Ziani 5 Oct 25, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Utility for collecting resource-based policies from an AWS account

AWS resource-based policy collector This library aims to collect resource-based policies from an AWS account. NOTE: This library does not cover all AW

Will Dady 22 Dec 5, 2022
A repository for collecting SolidHack submissions.

Welcome to SolidHack! The following is a list of projects accepted into SolidHack 2022. Before submitting your project be sure to read the Rules and R

SolidJS 20 Sep 2, 2022
A tool for collecting data and access camera, microphone and location and clipboard via link.

Snow Build malicious links. A tool for collecting data and access camera, microphone and location and clipboard via link.

Msf 14 Dec 12, 2022
Application which will allow users to find hotels, hostels and restaurants and feedback about those in whole over of world.

Gatsby minimal TypeScript starter ?? Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal TypeScript star

Taron Vardanyan 2 Jul 22, 2022