Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_tracking_setting.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Tracking Setting

GEThttps://a.klaviyo.com/api/tracking-settings/{id}

Get the tracking setting with the given account ID.

Revision header
revision: 2025-01-15required
Scopes
tracking-settings:read
Rate limits
Burst: 10/sSteady: 150/m

Path parameters

  • id#stringrequired

    The id of the tracking setting (account ID).

    Example: abCdEf

Query parameters

  • fields[tracking-setting]#string[]

    For more information please visit API overview

    Show 37 allowed values
    • auto_add_parameters
    • utm_source
    • utm_source.flow
    • utm_source.flow.type
    • utm_source.flow.value
    • utm_source.campaign
    • utm_source.campaign.type
    • utm_source.campaign.value
    • utm_medium
    • utm_medium.flow
    • utm_medium.flow.type
    • utm_medium.flow.value
    • utm_medium.campaign
    • utm_medium.campaign.type
    • utm_medium.campaign.value
    • utm_campaign
    • utm_campaign.flow
    • utm_campaign.flow.type
    • utm_campaign.flow.value
    • utm_campaign.campaign
    • utm_campaign.campaign.type
    • utm_campaign.campaign.value
    • utm_id
    • utm_id.flow
    • utm_id.flow.type
    • utm_id.flow.value
    • utm_id.campaign
    • utm_id.campaign.type
    • utm_id.campaign.value
    • utm_term
    • utm_term.flow
    • utm_term.flow.type
    • utm_term.flow.value
    • utm_term.campaign
    • utm_term.campaign.type
    • utm_term.campaign.value
    • custom_parameters

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • tracking-setting
    • id#stringrequired

      The id of the tracking setting (account ID).

    • attributes#objectrequired
      Show 7 fields
      • auto_add_parameters#booleanrequired

        Whether tracking parameters are automatically added to campaigns and flows.

      • utm_source#objectrequired
        Show 2 fields
        • flow#oneOfnullable

          The value of the tracking parameter when applied to a flow.

          One of:

          1. Option 1: FlowTrackingSettingDynamicParam
            • type#stringrequired
              Allowed values:
              • dynamic
            • value#stringrequired

              The value of the tracking parameter

              Show 9 allowed values
              • email_subject
              • flow_id
              • flow_name
              • link_alt_text
              • message_name
              • message_name_id
              • message_type
              • profile_external_id
              • profile_id
          2. Option 2: FlowTrackingSettingStaticParam
            • type#stringrequired
              Allowed values:
              • static
            • value#stringrequired

              The value of the tracking parameter

        • campaign#oneOfnullable

          The value of the tracking parameter when applied to a campaign.

          One of:

          1. Option 1: CampaignTrackingSettingDynamicParam
            • type#stringrequired
              Allowed values:
              • dynamic
            • value#stringrequired

              The value of the tracking parameter

              Show 12 allowed values
              • campaign_id
              • campaign_name
              • campaign_name_id
              • campaign_name_send_day
              • email_subject
              • group_id
              • group_name
              • group_name_id
              • link_alt_text
              • message_type
              • profile_external_id
              • profile_id
          2. Option 2: CampaignTrackingSettingStaticParam
            • type#stringrequired
              Allowed values:
              • static
            • value#stringrequired

              The value of the tracking parameter

      • utm_medium#TrackingParamDTOrequired

        Same fields as the first TrackingParamDTO above.

      • utm_campaign#TrackingParamDTO

        Same fields as the first TrackingParamDTO above.

      • utm_id#TrackingParamDTO

        Same fields as the first TrackingParamDTO above.

      • utm_term#TrackingParamDTO

        Same fields as the first TrackingParamDTO above.

      • custom_parameters#object[]nullable

        Additional custom tracking parameters.

        Show 3 fields
        • flow#oneOfnullable

          The value of the tracking parameter when applied to a flow.

          One of:

          1. Option 1: FlowTrackingSettingDynamicParam

          2. Option 2: FlowTrackingSettingStaticParam

        • campaign#oneOfnullable

          The value of the tracking parameter when applied to a campaign.

          One of:

          1. Option 1: CampaignTrackingSettingDynamicParam

          2. Option 2: CampaignTrackingSettingStaticParam

        • name#stringrequired

          The name of the custom tracking parameter

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string