GithubHelp home page GithubHelp logo

alpha-beta-test's Introduction

Alpha Beta test

This is a small module which shows the variation of the image on the modal popup. The variation is based on A/B test requirement.

Quick Start

  1. Clone this repository

  2. Install gulp

    npm install -g gulp bower yarn
    
  3. Install Dependencies

    yarn && bower install
    
  4. Run the project

    gulp watch
    

A/B testing strategy

  • When user clicks on the "Price" button, the current UNIX timestamp is captured and stored in cookie as session_id Eg. 1476648723

  • When the modal popup opens, based on the Odd or Even number of the timestamp, the variation of the image is shown.

  • This variation is set in the form

  • During submission of the modal form, the User object will be logged in developer tool with Variation Eg.

    {
        address: "24 New York Ave",
        city:"Smith Town",
        email:"[email protected]",
        name:"John Smith",
        phone:"234-324-2345",
        state:"AZ",
        variation: false,
        zipcode:"78678"
    }
    

Technology used:

  • Preprocessor: LESS with Bootstrap 3
  • UI Framework: Angular 1.5
  • Workflow: gulp
  • Local Dev Server: browser-sync
  • Package Manager: yarn
  • Node modules: Listed in package.json file
  • Bower Components: Listed in bower.json file

alpha-beta-test's People

Contributors

chintan-patel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.