Click or drag to resize

Experiment Class

Represents a split test of a page
Inheritance Hierarchy
SystemObject
  Dynamicweb.DataDbObject
    Dynamicweb.Analytics.ExperimentsExperiment

Namespace:  Dynamicweb.Analytics.Experiments
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public class Experiment : DbObject, IExperiment

The Experiment type exposes the following members.

Constructors
  NameDescription
Public methodExperiment
Initializes a new instance of the Experiment class.
Top
Properties
  NameDescription
Public propertyActive
Gets or sets a value indicating whether this Experiment is active.
Public propertyAlternatePage
Gets or sets the alternate page to show in A/B split testing.
Public propertyCombinations
Gets or sets the number of combinations.
Public propertyConnection (Inherited from DbObject.)
Public propertyConversionMetric
Gets or sets the conversion metric in seconds. 0 means register conversion in next step only.
Public propertyCreatedDate
Gets the created date of this experiment.
Public propertyEditedDate
Gets the edited date.
Public propertyEmailTemplate
Public propertyEndingAction
Public propertyEndingDate
Public propertyEndingDateTimeZoneId
Public propertyEndingType
Public propertyEndingValue
Public propertyExperimentType
Gets or sets the type of this experiment, A/B or Multi variate.
Public propertyGoalType
Gets or sets the type of the goal.
Public propertyGoalValue
Gets or sets the goal value.
Public propertyID (Inherited from DbObject.)
Public propertyIncludes
Gets or sets how many percent of visistors to include in experiment.
Public propertyIsCustomProvider
Gets or sets a value indicating whether this Experiment uses the custom goal provider.
Public propertyIsNeedToStop
Public propertyIsNew (Inherited from DbObject.)
Public propertyLastVisitedPageID
Public propertyName
Gets or sets the name.
Public propertyNotifyEmails
Public propertyPageID
Gets or sets the ID of the page that this experiment is on.
Public propertyPattern
Gets or sets the pattern.
Public propertyShowToBots
Gets or sets what to show bots. If 0, show all combinations, otherwise show the combination that belongs to the number.
Public propertyTransaction (Inherited from DbObject.)
Public propertyUserCreate
Gets the id of the user that created this experiment.
Public propertyUserEdit
Gets the id of the user that last edited this experiment.
Public propertyViewCombinationID
Public propertyViews
Gets the views made in frontend for this experiment.
Top
Methods
  NameDescription
Public methodCalculateCombinationID
Calculates the combination ID. If it is split A or B depending on the experiment settings, like include, stickyness etc.
Public methodStatic memberClearCache
Clears cache.
Public methodCreateExperimentScheduledTask
Creates the scheduled task for email sending.
Public methodDelete (Inherited from DbObject.)
Public methodDelete(Int32)
Deletes the object with specified ID.
(Overrides DbObjectDelete(Int32).)
Public methodFill
Fills this instance with data from the specified datareader.
(Overrides DbObjectFill(IDataReader).)
Protected methodFillRow
Fills this instance with data from the data row.
(Overrides DbObjectFillRow(DataRow).)
Public methodStatic memberGetActiveExperiments
Gets all active experiments.
Public methodStatic memberGetExperimentById
Gets the experiment by id.
Public methodStatic memberGetExperimentByPageID
Gets the experiment by page ID.
Public methodStatic memberGetExperiments
Gets all the experiments.
Public methodStatic memberGetExperimentsBySql
Gets the experiments by SQL.
Public methodLoad (Inherited from DbObject.)
Public methodSave
Saves current data to the database.
(Overrides DbObjectSave.)
Top
Fields
See Also