Skip to main content

Get one goal

GET 

/goals/:goalId

Get one goal with given id

Request

Path Parameters

    goalId int64required

Query Parameters

    optionalFields string[]

Responses

OK

Schema

    accessLimiters

    object[]

  • Array [

  • accessHolder string

    Possible values: [PERSONALIZATION, AB_TEST, TAG]

    accessHolderId int64
    id int64
  • ]

  • createdBy int64

    Account id to whom created this experiment

    dateCreated date-time
    dateModified date-time
    description string
    experimentAmount int64

    Number of experiments using this goal. This is an optional field needs to specify in request params.

    experiments int64[]

    List of experiment ids using this goal. This is an optional field needs to specify in request params.

    featureFlagAmount int64

    Number of feature flags using this goal. This is an optional field needs to specify in request params.

    hasMultipleConversions booleanrequired

    Does this goal have multiple conversions

    id int64

    Unique identifier of goal

    isActive booleandeprecated

    Deprecated. Use status instead. Indicates the status of the goal: active or not

    isTargetingSegmentMentalist boolean

    Indicates that the goal related to mentalist segment. This is an optional field needs to specify in request params.

    mentalistWeight double
    name stringrequired

    Name of goal

    params

    object

    oneOf

    matchString string
    matchType string

    Possible values: [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    personalizationAmount int64

    Number of personalizations using this goal. This is an optional field needs to specify in request params.

    personalizations int64[]

    List of personalization ids using this goal. This is an optional field needs to specify in request params.

    siteId int64required

    Site Id of the project that the goal belongs to

    status string

    Indicates the status of the goal: active or inactive

    Possible values: [ACTIVE, INACTIVE]

    tags string[]

    List of tags using by this goal. For get requests: this is an optional field needs to specify in request params.

    trackingTools string[]

    Possible values: [GOOGLE_ANALYTICS4, GOOGLE_ANALYTICS4_AUDIENCES, GOOGLE_UNIVERSAL_ANALYTICS, ECONDA, SMART_TAG, PIANO, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, KISSMETRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, SMARTFOCUS, EMARSYS, EXPERTSENDER, TAG_COMMANDER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATIONS, HEAP, SEGMENT, MIXPANEL, CLARITY, IABTCF, REDSHIFT, SMARTLOOK, MOUSEFLOW, KLAVIYO, FULLSTORY, AMPLITUDE, SNOWPLOW, JUNE, MPARTICLE, BIGQUERY, RUDDERSTACK, SNOWFLAKE, GLASSBOX, HUBSPOT, AIR360, DATADOG, QUANTUM_METRIC, KAMELEOON_TRACKING, CUSTOM_TRACKING, VERCEL, AKAMAI]

    type stringrequired

    Type of the goal

    Possible values: [CLICK, CUSTOM, SCROLL, PAGE_VIEWS, URL, TIME_SPENT, RETENTION_RATE, WAREHOUSE, RATIO_METRICS]

Loading...