Skip to main content

Create a new custom data

Create new custom data with given parameters

Request Body required
  • advancedProposedValues string
  • customEvalCode string

    Custom code that will be executed

  • description string

    Description of the custom data

  • format string

    Possible values: [BOOLEAN, NUMBER, STRING]

    Custom data value format

  • gtmVariableName string

    Variable name of the Google Tag Manager

  • isConstant boolean

    Indicates whether the custom data is a constant

  • isFiltrableVentilable boolean

    Indicates whether custom data should be filtered and marked as available for breakdown

  • isLearnable boolean

    Indicates whether this data should be included in Kameleoon machine learning

  • isLocalOnly boolean

    Indicates whether the data is only stored on the user's device.

  • method string required

    Possible values: [CLIENT, CUSTOM_CODE, GTM, SDK, TC, TEALIUM]

    Method through which a custom data will be transmitted

  • name string required

    Name of the given custom data

  • siteId int64 required

    Unique project identifier assigned to the record

  • tags string

    Field to store tags that are associated with this record

  • tcVariableName string

    Name for the tag commander data layer, if it is selected as a transmission method

  • tealiumVariableName string

    Name for the Tealium, if it is selected as a transmission method

  • type string

    Possible values: [COUNT_LIST, LIST, UNIQUE]

    Custom data type. Custom data can be presented as a single value (UNIQUE), or a list of values (LIST), ​​or a countable list of values (COUNT_LIST)

Responses

Created


Schema
  • advancedProposedValues string
  • createdById int64

    Account id of the creator of the custom data

  • customEvalCode string

    Custom code that will be executed

  • dateCreated date-time

    Date and time a record is created

  • description string

    Description of the custom data

  • format string

    Possible values: [BOOLEAN, NUMBER, STRING]

    Custom data value format

  • gtmVariableName string

    Variable name of the Google Tag Manager

  • id int64

    Unique identifier for the specified custom data.

  • index int32
  • isConstant boolean

    Indicates whether the custom data is a constant

  • isFiltrableVentilable boolean

    Indicates whether custom data should be filtered and marked as available for breakdown

  • isLearnable boolean

    Indicates whether this data should be included in Kameleoon machine learning

  • isLocalOnly boolean

    Indicates whether the data is only stored on the user's device.

  • method string required

    Possible values: [CLIENT, CUSTOM_CODE, GTM, SDK, TC, TEALIUM]

    Method through which a custom data will be transmitted

  • modificationDate date-time

    Date and time a record is modified

  • name string required

    Name of the given custom data

  • siteCode string

    System generated code to uniquely identify a website.

  • siteId int64 required

    Unique project identifier assigned to the record

  • tags string

    Field to store tags that are associated with this record

  • tcVariableName string

    Name for the tag commander data layer, if it is selected as a transmission method

  • tealiumVariableName string

    Name for the Tealium, if it is selected as a transmission method

  • type string

    Possible values: [COUNT_LIST, LIST, UNIQUE]

    Custom data type. Custom data can be presented as a single value (UNIQUE), or a list of values (LIST), ​​or a countable list of values (COUNT_LIST)

Loading...