You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
I wanted to document the helper that I've been using in my projects with Vanity. The intentions behind it:
Allow Vanity to be easily used outside of controllers (e.g. in jobs and scripts)
Be easier to differentiate between whether or not someone is a participant experiment, and then what treatment group they're in. This is frequently used for multipage experiments in which we don't want to add someone to an experiment if they've already passed one of the earlier pages in a flow.
It's not the best interface as-is, but the main intention was to avoid having to wrap things manually with Vanity.context as well as be able to use a vanity id directly, rather than pass an object.
The text was updated successfully, but these errors were encountered:
I wanted to document the helper that I've been using in my projects with Vanity. The intentions behind it:
This allows more simple usage, e.g.:
It's not the best interface as-is, but the main intention was to avoid having to wrap things manually with
Vanity.context
as well as be able to use a vanity id directly, rather than pass an object.The text was updated successfully, but these errors were encountered: