Vanity v1.6.0 Release Notes

Release Date: 2011-07-18 // over 12 years ago
  • If robots or spiders make up a significant portion of your sites traffic they can affect your conversion rate. Vanity can optionally add participants to the experiments using asynchronous JavaScript callbacks, which will keep almost all robots out. To set this up simply do the following:

    1. Vanity.playground.use_js!
    2. Set Vanity.playground.add_participant_path = '/path/to/vanity/action'
    3. Add <%= Vanity.vanity_js %> to the bottom of any view that needs to set up an ab_test

    ๐Ÿ›  Fix for metrics on rails 3 models (Esteban Pastorino).

    ๐Ÿ‘‰ Use JavaScript to report participants, useful for ignoring bots on publicly accessible pages (Doug Cole).

    โœ… AbTest#choose returns an Alternative rather than just the value (Doug Cole).

    โž• Add warnings instead of swallowing errors (Anthony Eden).

    ๐Ÿ›  Fixing broken test for mongodb adapter (Joshua Krall).

    ๐Ÿ›  Fix returning correct experiment when in test mode and manually set via

    chooses (Ryan Sonnek).

    โœ… Don't round the conversion rate before using it, it affects the test results, making them less accurate (Doug Cole).

    ๐Ÿ›  Fixed loading config from yml when using other than redis adapter (Arttu Tervo)

    0๏ธโƒฃ Default to localhost unless host in config file (Arttu Tervo)

    ๐Ÿ›  Fixed mongo connection adapter connect! when called after disconnect! (Arttu Tervo)

    ๐Ÿ‘‰ Use mongo replica set connection if multiple hosts were given in YAML ๐Ÿ”ง configuration file (Arttu Tervo)

    ๐Ÿ”ง Cookie domain from rails configuration (Arttu Tervo)

    โž• Add bson_ext to Gemfile to load C extension for mongodb ruby driver, and โœ… prevent Notice messages as the tests run (tenaciousflea)

    โšก๏ธ Update redis-namespace dependency to 1.0 (Ville Lautanala)