# Data Tracking

**Data Tracking creates goal rings on the user's app dashboard.** Track specific targets by [linking data](/pathways-docs/pathway-editor/linked-data.md) from the [Data Manager](https://everyday-digital.gitbook.io/sonar/).

## How to set up a Data Tracking Activity

1. **Select the + icon to add a new activity.**
2. **Select Data Tracking from the activity options.**
3. **Add a name and select an icon.**
4. **Set** [**Data Fulfilment Settings**](#data-checkpoint-setup-options)**.** Create and track a [data target ](broken://spaces/xejXVFfr25ZS5cie02G7/pages/WG16DBAzVkSHgYtTjB8g)/ goal using preferred settings.
5. **Add a short snippet.** Write a short description of the activity that will be visible on the Pathway for Desktop and Tablet only. (max. 90 characters).
6. **Write a description.** Write a longer description of the activity (visible visible once a user selects the Pathway tile on Mobile, Desktop and Tablet).
7. **Attach a resource.** Choose a file (PDF, Audio, Image, or Video) from [Cloudfile](https://everyday-digital.gitbook.io/template-catalog/cloudfile/platform-media-storage).
8. **Activity settings.** Data Tracking activities are always required and the user must reach the specified goal.

### Data Tracking Fulfilment Settings <a href="#data-checkpoint-setup-options" id="data-checkpoint-setup-options"></a>

**When you set up a Data Tracking, adjust the available metrics to create your targets.**

| Option            | Description                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Collection**    | Select the data [collection](https://app.gitbook.com/o/-LkZMh7HTpHtgrDm7Uox/s/-LkZMvKQ0GKsnh74M3pT/data/data-manager#data-collections) you want to use (must be available in your [Data Manager](https://app.gitbook.com/o/-LkZMh7HTpHtgrDm7Uox/s/-LkZMvKQ0GKsnh74M3pT/data/data-manager)).                                                                                                                                 |
| **Goal Title**    | Name the activity (this will be visible to the user).                                                                                                                                                                                                                                                                                                                                                                       |
| **Data Formula**  | Select the formula you would like to apply to your data:Sum Total, Latest Daily Value, Latest Monthly Value, Latest Annual Value, Latest Value, or Average.                                                                                                                                                                                                                                                                 |
| **Data Column**   | Select the column (in your collection) that you are you wanting to pull values from.                                                                                                                                                                                                                                                                                                                                        |
| **Date Column**   | Select the column that contains dates/timestamp&#x73;**.**                                                                                                                                                                                                                                                                                                                                                                  |
| **Data Range**    | Choose timeframes within which your data should be considered for this activity. The goal will be reset based on the range you choose, e.g. for "Each Day", the goal resets each day.                                                                                                                                                                                                                                       |
| **Goal Type**     | <p><em>The type will affect your Goal Settings options.</em> You can choose a Static Goal or a Dynamic Goal.<br><strong>Static:</strong> provide a static number required to meet the goal.<br><strong>Dynamic:</strong> compare one column to another column, e.g. 80/100 sales for User A and 90/150 for User B. For dynamic goals, you will need a column in your data to define the variable goals (e.g. per user).</p> |
| **Goal Settings** | <p>If the Goal Type is set to Static Value, you will be able to enter a single static value (the target fulfilment value).</p><p></p><p>​If the Goal Type is set to Dynamic Value, you can assign a Target Column (the column you will use to reference the target values) and a Target Formula (formula applied to the data column).</p>                                                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://everyday-digital.gitbook.io/pathways-docs/pathway-editor/pathway-activities/data-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
