---
title: ETR Event Tag - Web
description: The ETR event tag allows to trigger ETR events to save the collected session of the visitor
lastUpdated: 12 December 2025
source_url:
  html: https://docs.contentsquare.com/en/web/etr-event-tag/
  md: https://docs.contentsquare.com/en/web/etr-event-tag/index.md
---

Note

**Event-triggered Replay (ETR)** is a paid option which requires specific implementation.

The ETR event tag allows to trigger ETR events to save the collected session of the visitor.

For more information, see [Events Handling](https://docs.contentsquare.com/en/web/events-handling/).

## Google Tag Manager (Template)

1. Open your container and go to the **templates** section. ![](https://docs.contentsquare.com/_astro/main-1.BR8xO2Cv_Z1Rabw1.webp)

2. Select **Search Gallery**. ![](https://docs.contentsquare.com/_astro/main-2.CDPvDirB_Z1usb2F.webp)

3. Type in **`contentsquare`** and select the **Contentsquare - ETR Event** option. ![](https://docs.contentsquare.com/_astro/add-etr-select.BGJUbMAf_ZaO0l8.webp)

4. Click **Add to workspace**. ![](https://docs.contentsquare.com/_astro/add-etr.S6afVJXG_2vaRk1.webp)

5. Confirm your choice by selecting **Add** ![](https://docs.contentsquare.com/_astro/add-etr-confirm.BtcNkSkW_Z1P9O2t.webp)

6. Go to the Tags section and click the **New** button to create a new tag. ![](https://docs.contentsquare.com/_astro/add-tag.DuGAskV4_1e0yKr.webp)

7. Configure it by selecting the top-right button. ![](https://docs.contentsquare.com/_astro/tag-config.krkkPQIC_19Jyy1.webp)

8. Search for **`contentsquare`** and select the **Contentsquare - ETR Event** template that you've previously added to your container. ![](https://docs.contentsquare.com/_astro/new-etr.B5Rk-NeY_1OaW70.webp)

9. Give a title to the tag and input your Tag ID in the dedicated field.

10. Enter the event name.

11. Select the event type: `Page Level` or `Session Level`.

    ![](https://docs.contentsquare.com/_astro/etr.C-a9nMYI_Ze1kL3.webp)

12. Select the appropriate trigger to fire this tag only when you wish for the collection of Session Replay to be started.

13. Save your changes and go back to your container. You should now see both the template and the newly created tag.

![](https://docs.contentsquare.com/_astro/main-7.BAnsQ6tT_1HroSA.webp)

## Adobe Launch

Prerequisite

You have installed the [Contentsquare extension](https://docs.contentsquare.com/en/web/#installing-the-contentsquare-extension).

1. Within Tag properties, select **Rules** > **Add Rule**.

2. Specify a name, events, and conditions.

3. Add an Action with the following settings:

   * Extension: `Contentsquare`,
   * Action Type: `ETR Event`,
   * Name: `Contentsquare - ETR Event`.

4. On the right-hand side, enter the event name.

5. Select the event type: `Page Level` or `Session Level`. ![](https://docs.contentsquare.com/_astro/etr-event.D5mY3oQF_Z1i6IG0.webp)

6. Select **Keep Changes** > **Save**.

## Custom HTML

To trigger an ETR event for the Event Triggered Replay feature, use the `trackEventTriggerRecording` command:

**At Session level**

```html
<script type="text/javascript">
  window._uxa.push(["trackEventTriggerRecording", "@ETS@vocSubmit"]);
</script>
```

**At Page level**

```html
<script type="text/javascript">
  window._uxa.push(["trackEventTriggerRecording", "@ETP@formError"]);
</script>
```

Note

Under the advanced recorder all legacy events are by default considered as Event Triggered Replay on Session if no prefix is specified.

```html
<script type="text/javascript">
  window._uxa.push(["trackEventTriggerRecording", "formError"]);
</script>
```
