Create AB tests easily with JS

Lind is an open source that allows to create any kind of AB test on your site.
EXPLORE CODEGO TO GITHUB

Explore the code

We believe that every good code must be shared.
1
2
3
4
5
6
7
8
9
10
11
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1">

      <title>Title</title>

      <!-- The first script that will be loaded on page -->
      <script scr="http://www.url.com/lindd.min.js"></script>
   </head>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tests.testExample = {
   name: "Teste Exemplo",
   audience: 50,
   exception: null,
   triggerEvent: null,
   createdAt: 20170620,
   variants: {
      variantA: {
         name: "Teste Exemplo Padrão",
         audience: 50,
         method: function() {
         // Seu código vai aqui
         }
      },
      variantB: {
         name: "Teste Exemplo Mudanças",
         audience: 50,
         method: function() {
         // Seu código vai aqui
         }
      }
   }
};

Who made Lind?

André Tagliati

Front End Developer

Guilherme Pedroso

Front End Developer

André Mafra

Full Stack Developer

Fabi Guedes

UX / UI