Klaviyo · Schema

CampaignsSMSTrackingOptions

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
add_tracking_params boolean Whether the campaign needs custom tracking parameters. If set to False, tracking params will not be used.
custom_tracking_params array A list of custom tracking parameters. If an empty list is given and add_tracking_params is True, uses company defaults.
View JSON Schema on GitHub

JSON Schema

klaviyo-campaignssmstrackingoptions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CampaignsSMSTrackingOptions",
  "title": "CampaignsSMSTrackingOptions",
  "type": "object",
  "properties": {
    "add_tracking_params": {
      "description": "Whether the campaign needs custom tracking parameters. If set to False, tracking params will not be used.",
      "type": "boolean",
      "nullable": true
    },
    "custom_tracking_params": {
      "description": "A list of custom tracking parameters. If an empty list is given and add_tracking_params is True, uses company defaults.",
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/DynamicTrackingParam"
          },
          {
            "$ref": "#/components/schemas/StaticTrackingParam"
          }
        ]
      },
      "nullable": true
    }
  }
}