ismailakbudak / remote_js_content_for_AB_test

Remote javascript content to use in AB testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote Javascript Content for AB Testing

In this application I tried to add some html content to another app with js to use A/B testing. I've split traffic coming to website according to options. You can look demo applications.

Here is the js sender server,

First variant

{ cats: 5, dogs: 1, mice: 1 }

Second variant

{ panda: 1, bear: 1, ola: 1 }

Here is the example client: Client

Local development

  • Run following commands on your terminal
  • ➜ ✗ bundle install
  • ➜ ✗ bundle exec rails s
  • Open in your browser localhost:3000 or lvh.me:3000

Credits

License

The MIT License (MIT) - see LICENSE for more details

About

Remote javascript content to use in AB testing

License:MIT License


Languages

Language:Ruby 77.4%Language:HTML 17.4%Language:JavaScript 3.2%Language:CSS 2.0%