---
title: "listCampaignSourceTrackingCodes"
method: GET
path: "/campaigns/{campaign}/source-tracking-codes"
tags: ["Source Tracking Codes"]
---

# listCampaignSourceTrackingCodes

`GET /campaigns/{campaign}/source-tracking-codes`

Lists all Source Tracking Codes which are managed by the specified Campaign.

## Path parameters

- `campaign` integer, required

## Query parameters

- `fundraisingTeams` boolean
- `fundraisingPages` boolean
- `transactions` boolean
- `page` integer
- `per_page` integer

## Response `200`

Success

- object
  - `current_page` integer — Index of current page
  - `data` object[] — Collection of Source Tracking Codes
    - `c_src` string — Primary Source Tracking Code. At least one of c_src, c_src2, or a supported utm property is required.
    - `c_src2` string — Secondary Source Tracking Code. At least one of c_src, c_src2, or a supported utm property is required.
    - `referrer` string, nullable — Name of referrer for Source Tracking Code
    - `utm` object, nullable — UTM tracking parameters for Source Tracking Code. Supported keys are utm_source, utm_medium, utm_campaign, utm_content, and utm_term. At least one of c_src, c_src2, or a supported utm property is required.
      - `utm_source` string, nullable
      - `utm_medium` string, nullable
      - `utm_campaign` string, nullable
      - `utm_content` string, nullable
      - `utm_term` string, nullable
    - `event_type` string — Event type for Source Tracking Code
    - `id` integer — Primary identifier of Source Tracking Code
    - `trackable_id` integer, nullable — Primary identifier of associated trackable resource. This is required with trackable_type. Resource can be either Fundraising Page, Fundraising Team or Transaction.
    - `trackable_type` 'fundraising_page' | 'fundraising_team' | 'transaction', nullable — The type of Resource. This is required with trackable_id
    - `created_at` string, date-time — Date/time of initial Source Tracking Code creation
    - `updated_at` string, date-time — Date/time of Source Tracking Code last updated
  - `first_page_url` string, nullable — URL of first page of results
  - `from` integer, nullable — Index of first displayed result within total result set
  - `last_page` integer — Index of last page in result set
  - `last_page_url` string, nullable — URL of last page of results
  - `next_page_url` string, nullable — URL of next page of results
  - `path` string, nullable — URL of current page of results
  - `per_page` integer — Maximum number of records returned per page of results
  - `prev_page_url` string, nullable — URL of previous page of results
  - `links` PaginationLink[] — Collection of objects representing pages {label, URL, active} that can be used to request the associated page of records.
    - `label` string — Identifier of the page.
    - `url` string, nullable — URL that can be used to fetch associated page of records.
    - `active` boolean — Identifies whether the previously requested page matches the page this link object references.
  - `to` integer, nullable — Index of last displayed result within total result set
  - `total` integer — Total count of records in result set

## Other responses

- `403` — Requester is not authorized to perform action
- `404` — Campaign not found

---

[API](https://skmtc.net/gofundme/apis/gofundme-pro-api.md) · [All operations](https://skmtc.net/gofundme/apis/gofundme-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gofundme/gofundme-pro-api/versions/d22bb925eeed/schema)
