ETR Event Tag

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

For more information, see Events Handling.

  1. Open your container and go to the templates section.

  2. Select Search Gallery.

  3. Type in contentsquare and select the Contentsquare - ETR Event option.

  4. Click Add to workspace.

  5. Confirm your choice by selecting Add

  6. Go to the Tags section and click the New button to create a new tag.

  7. Configure it by selecting the top-right button.

  8. Search for contentsquare and select the Contentsquare - ETR Event template that you’ve previously added to your container.

  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.

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

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

  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.

  6. Select Keep Changes > Save.

Defining page Event - Event Triggered Replay

Section titled Defining page Event - Event Triggered Replay

To define a page event for Event Triggered Replay feature, use the trackEventTriggerRecording command:

At Session level

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

At Page level

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