# Record Trigger Feature

## Introduction

To monitor and capture events in your triggers, you can enable the recording feature. This will ensure that every event occurring within the triggers is saved and marked as recorded for future reference.

## Procedure

You can enable the recording feature for triggers by following these steps.

**Note:** You can create Record Triggers for both **Server** and **Browser**.

**Step 1:** Click **Add Trigger**.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2Fy5zS62M46C5KHdM1B3cH%2Fimage.png?alt=media&#x26;token=820cbd41-3c4c-4351-954d-c81add89a5be" alt=""><figcaption></figcaption></figure>

**Step 2:** Click for **Browser**.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2Fs9XygFSCJQ9hMS0WH9l0%2Fimage.png?alt=media&#x26;token=d5730317-8942-4f84-9f62-2aece9aa21f5" alt=""><figcaption></figcaption></figure>

**Step 3:** Under the **Info** section, click the **Name** field and enter an appropriate name for your Record Trigger.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FPlSg25Xx6CPRxyAtX8fh%2Fimage.png?alt=media&#x26;token=ac9a13fb-a534-47aa-a173-e93c8dabbc6e" alt=""><figcaption></figcaption></figure>

**Step 4:** Under **Data Element**, click **Add Data Element**. The **Select Data Element** panel will open on the right side. You can either search for a particular data element by typing its name in the search bar or select it from the available list.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FSzajhvtLqGRL24tBBtPe%2Fimage.png?alt=media&#x26;token=645b16e4-5bf8-4440-a3fb-13a9183b7ee3" alt=""><figcaption></figcaption></figure>

**Step 5:** Under the *Include these values* section, click *Add Value* and enter the value you want to include. Then, click the plus symbol.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FeyfU6iuf1aA32WxLCtxz%2Ftriger%205.png?alt=media&#x26;token=0b3e8b14-48c3-4e68-97ed-6b38d07b2a9f" alt=""><figcaption></figcaption></figure>

**Step 6:** After clicking the **plus symbol**, two checkboxes will appear:

* **Case Sensitive** and
* **Exact Match**

Click both checkboxes to apply these settings.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FeYC145EhcR95KYhcZGr8%2Ftriger%206.png?alt=media&#x26;token=83ae177f-7a72-4645-8100-3172b5097ddd" alt=""><figcaption></figcaption></figure>

**Step 7:** Under **Exclude these values**, you can give values to exclude.

Under the **Exclude these values**, click *Add Value* and enter the value you want to exclude. Then, click the plus symbol.

**Step 8:** Under the **Record Trigger** section, you will find the **Enable** checkbox. Check the box, and then the **Namespace** section will appear. Provide the appropriate namespace value.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FcKxDvJiZVIpiK0mu6fBP%2Ftriger%207.png?alt=media&#x26;token=f5320211-6a59-4031-b2c3-c3e75873dc0d" alt=""><figcaption></figcaption></figure>

**Step 9:** Click Save.&#x20;

**Step 10:** **Red color** indicates that the trigger is actively being recorded.&#x20;

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2F3PMneNOfdhRJQNyEH4dc%2Fimage.png?alt=media&#x26;token=c544c06d-ab24-40c1-921c-0baa98247a37" alt=""><figcaption></figcaption></figure>

**Note:** The same steps apply for server-side triggers.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FipfwLBaA5QC5kZ4YYRcq%2FRecord%20Trigger%20Feature%20Trigers%20final.mp4?alt=media&token=79d85b13-8ac3-4127-ba91-84c97fe69ced>" %}
