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"}]

Readme

Keywords

Package Sidebar

Install

npm i angular-ab-test

Weekly Downloads

0

Version

1.0.13

License

ISC

Last publish

Collaborators

  • ericfreeman