# How to Track Participant Engagement with a Specific Activity

**URL:** <https://forum.avicennaresearch.com/t/how-to-track-participant-engagement-with-a-specific-activity/1541>\
**Category:** How-To\
**Created:** [June 1, 2026, 6:08am UTC](https://forum.avicennaresearch.com/t/how-to-track-participant-engagement-with-a-specific-activity/1541 "2026-06-01T06:08:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soroosh](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@soroosh](https://forum.avicennaresearch.com/u/soroosh)\
**Post date:** [June 1, 2026, 6:08am UTC](https://forum.avicennaresearch.com/t/how-to-track-participant-engagement-with-a-specific-activity/1541/1 "2026-06-01T06:08:50Z")

</div>

Avicenna Researcher Dashboard offers different aggregate reports to help you monitor their adherence throughout the study. However, when you want to understand how often and when participants opened a particular activity, such as a report tab or a survey, the aggregate reports are not enough.

In these cases, the **[Audit Trail](https://forum.avicennaresearch.com/t/audit-trail/1269/1)** provides the granular data you need. Every time a participant opens an activity, Avicenna records the event as an [Activity Opened](https://forum.avicennaresearch.com/t/audit-trail/1269#p-2896-h-37-activity-opened) audit log. By filtering and exporting these logs, you can analyze in-app engagement with a specific activity for a single participant or across all participants of a study.

To follow this guide, you will need:

- Researcher access to the target study with permission to view the Audit Trail.
- The ID of the activity you want to track (available on the Activities page of the Researcher Dashboard).

### 1. Open the Audit Trail Page

On the Researcher Dashboard, select the target study at the top of the page and click `Audit Trail` on the left-side panel. The Audit Trail table lists all events in descending order based on the “ **Date Time** ”. Each row shows an “ **Audit Log** ”, an interaction triggered by a participant, a researcher, or the system itself.

### 2. Filter for “Activity Opened” Events

Assuming you are familiar with [creating a filter](https://forum.avicennaresearch.com/t/data-filtering/1272/1), open the `Manage Filters` dialog and add the following condition:

- **Category:** Audit Trail
- **Field:** Type
- **Operator:** is equal to
- **Value:** 37: Activity Opened

> [!note]  
> You can optionally narrow the results to a single participant by adding a second condition:  
> **Category** = Audit Trail, **Field** = User ID, and **Value** = [Participant ID].  
> If you omit the `User ID` condition, the results include the logs of all participants in the study.

### 3. Narrow to a Specific Activity

To limit the results to a single activity, add a third condition to your filter:

1. **Category:** Audit Trail
2. **Field:** Related Activity IDs
3. **Value:** [Your Target Activity ID]

The **Related Activity IDs** column specifies which activities the event relates to, narrowing your logs strictly to the opens of that specific activity.

 ![Filtering the Audit Trail for Activity Opened events for a specific participant](https://forum.avicennaresearch.com/uploads/default/original/2X/9/925eb4f5ae13f1235ae5b328749aa972e2ffe141.png)

### 4. Export the Results

Once the filter is applied, click the **Export as CSV** button located next to the **Filter** button to download the filtered audit logs. The exported file includes the same columns as the Audit Trail table, including Role, User ID, Type, Date Time, Related Participant IDs, Related Activity IDs, Message, and App Version. Each row corresponds to a single activity open event.

### 5. Workaround for the Related Activity IDs Filter

If combining the **Related Activity IDs** condition with other filters returns no results due to system limitations, you can filter the data externally:

1. Apply only the **Type = 37: Activity Opened** filter (and optionally the **User ID** filter) in Avicenna.
2. Export the results as a CSV.
3. Open the file in Excel or Google Sheets, and manually filter the **Related Activity IDs** column for your target Activity ID.

### 6. Analyze the Data

Once your data is filtered, you can begin your analysis:

- **Frequency:** Count the rows per **Related Participant IDs** to see how often each participant interacts with the activity.
- **Behavioral Patterns:** Parse the **Date Time** stamps to identify time-of-day or day-of-week engagement trends.
- **Adherence:** Compare actual open events against your study’s expected session schedule.

> [!note]  
> For more advanced or large-scale analyses, the same Audit Logs are also accessible through [Kibana](https://forum.avicennaresearch.com/t/kibana-basics/1289) via the `audit-trail` index.
