angular-ab-test

1.0.13 • Public • Published

Angular A/B Test

Simple A/B testing directive because Optimizely is pretty rough at working with AngularJS projects.


Example | Documentation


Get Started

Add an <experiment> tag like so:

<experiment name="sample-test" variant="a">
    <p>a variation</p>
</experiment>

It will show if there's a value for abtests in your localStorage that happens to look like this:

[{"name":"sample-test","value":"a"}]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.13
    1
    • latest

Version History

Package Sidebar

Install

npm i angular-ab-test

Weekly Downloads

2

Version

1.0.13

License

ISC

Last publish

Collaborators

  • ericfreeman