Click or drag to resize
IABUserStateManager Methods

The IABUserStateManager type exposes the following members.

Methods
  NameDescription
Public methodAddConversion
Adds a conversion to session and permanent conversions if possible.
Public methodAssignVariant
Assigns an A/B variant to current user so that it can be used on next visit. From now on, permanent conversions can be also saved to user's state.
Public methodExclude
Excludes visitor from A/B test.
Public methodGetPermanentConversions
Gets permanent conversions that are done by current user.
Public methodGetSessionConversions
Gets session conversions that are done by current user.
Public methodGetVariantIdentifier
Gets identifier of the A/B variant assigned to the current user. Returns null, if the user hasn't got any variant assigned yet.
Public methodIsABTestCookieDefined
Returns true when A/B test cookie is defined.
Public methodIsABVisit
Returns true if user has visited A/B test page and has visit session.
Public methodSetVisit
Sets a A/B test visit for current user so that from now on, conversions can be logged also as A/B test session conversions.
Public methodSetVisitToSession
Sets current A/B test visit to the session store.
Top
See Also