Skip to main content

Duplicate a variation

Duplicate a variation

Path Parameters
  • variationId int64 required
Request Body
  • object
Responses

Created


Schema
  • color int32

    variation's color displayed in the editor

  • cssCode string

    New css style for variation

  • customJson string

    Custom JSON for this variation

  • experimentId int64

    Experiment id for this variation

  • expositionFrequencyDelaySecondsBetweenTwoExpositions int64

    Delay in seconds between two expositions

  • expositionFrequencySameVisit int32

    Frequency of the exposition for the same visit

  • expositionFrequencySameVisitor int32

    Frequency of the exposition for the same visitor

  • expositionFrequencySameVisitorDelaySeconds int64

    Delay in seconds between expositions for the same visitor

  • forceNoFlicker boolean
  • id int64

    The unique identifier of the given variation

  • isJsCodeAfterDomReady boolean

    Set true if code applied after DOM ready. Default value: true

  • jsCode string

    New javascript code for variation

  • name string required

    Name of given variation

  • redirection object

    Redirection parameters of a variation

  • includeQueryParameters boolean

    In case of global redirection, option to include query parameters from the original url

  • parameters string

    Parameters used for the redirection, in case of parameter redirection

  • type string

    Possible values: [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]

    Type of the redirection

  • url string

    URL used for the redirection, in case of global redirection

  • redirectionStrings string deprecated

    Redirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead

  • shadowDom boolean

    ShadowDOM option

  • siteId int64 required

    The unique identifier of the site linked to given variation

  • widgetTemplateInput string

    Widget template input data in JSON format.

Loading...