> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Source Tracking

> Track the source of your users in an easy & compliant way!

Understand the source a survey respondent comes from when responding to your survey – all while keeping data privacy standards high!

## Purpose

Source tracking for link surveys is essential when you:

* Want to analyze the origin of your survey respondents.
* Aim to ensure compliance with tracking and data collection regulations.

## Code Example

```sh Example Source as Google theme={null}
https://formbricks.com/s/clin3dxja02k8l80hpwmx4bjy?source=Google
```

## How it Works

To track the source of users in your link surveys effectively, follow these steps:

1. **Generate Survey URL**: Create a Link Survey and get the sharable link. Append `?source=YourSouce` to the link to reference it with your campaigns and sources.

```sh Example Source as Google theme={null}
https://formbricks.com/s/clin3dxja02k8l80hpwmx4bjy?source=Google
```

2. **Collect Data**: When users access the survey through these links, the URL parameters will capture the source information from which they were shared.

3. **View Responses**: The value lands in the response's metadata, alongside the URL, browser, OS, device and country Formbricks records anyway. Open the **Responses** tab and scroll the table right to reach those columns.

   ![The metadata columns of the responses table](https://mintcdn.com/formbricks/4eWn2TPuNS28u32U/images/surveys/link-surveys/source-tracking/responses-table.webp?fit=max\&auto=format\&n=4eWn2TPuNS28u32U\&q=85\&s=208f5e0321823e7d7b7db79a054b288f)

4. **Analyse Data**: Download all the responses as a CSV/Excel and get access to the source information. This can provide valuable insights into your audience.

Source tracking allows you to make informed decisions based on the origin of your survey participants, helping you tailor your surveys and marketing strategies accordingly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.