Skip to content

🧪 Source-controlled JS split testing framework for building and launching A/B tests.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
license.txt
Notifications You must be signed in to change notification settings

mint-metrics/mojito-js-delivery

Repository files navigation

Mojito JS Delivery

A lightweight (<5kb) JS framework for building, publishing and tracking experiments on the web.

Commonly known as A/B split testing, experimentation is a core pillar of Conversion Rate Optimisation.

Mojito delivery module

Documentation | Mojito project

Prerequisites

Getting setup

  1. Fork this repository on GitHub
  2. Clone your forked repository (not this original one) to your local environment
  3. Install the necessary NPM packages: npm install

Creating and launching experiments

Get up and running with Mojito experiments in 4 steps:

  1. Experiment setup
  2. Customisation and tracking
  3. Build container, preview and launch
  4. Hosting and publishing

Step 1. Experiment setup

Learn about different approaches to setup experiments with Mojito. Get to know and understand important experiment parameters.

Read about experiment setup.

Step 2. Customisation and tracking

Set up custom tracking, error handling & user exclusion rules for your entire container.

Read about customisation and tracking.

Step 3. Build container, preview and launch

Use Gulp to build the Mojito container and see how to preview and launch experiments.

Read about the build, preview and launch process.

Step 4. Hosting and publishing

Host your container and automate the publishing process using CI.

Read about hosting & publishing via AWS & Bitbucket

Experiment data and analysis

Data storage and analysis are contained in separate Mojito modules which can be customised and/or switched out as needed.

  1. Storage: Data collection modules and data modelling steps to power your reports. e.g. Mojito Snowplow Storage
  2. Analytics: Tools to measure & report on the effects caused by your treatments. e.g. Mojito R Analytics

Get involved

Let us know if you encounter any issues and reach out to us if you need a hand getting set up.