Site Intercept - Event Tracking | Qualtrics

Event Tracking

Introduction

With event tracking, you can listen for specific events on your website beyond which pages the visitor has seen. Events might include visitor actions like downloading a monthly statement on a banking website, clicking to chat with a live agent on a commerce site, and more.

Once captured, a record of these events is saved in a cookie on the participant’s browser so that this information can be used for Intercept logic or sent to your target website as Embedded Data.

Basic Event Tracking

If the elements on your website you’d like to track have HTML IDs, and if you are tracking clicks (as opposed to other events such as hovering), you can quickly set up event tracking with no website modifications needed.

image04
On this website, we’d like to track visitors who click on the checkout button. Because the checkout button contains an HTML ID, Site Intercept can track this with no site modifications needed.

To set up basic event tracking

  1. Open the Intercepts tab and select the Intercept to which you would like to add event tracking.image02
    Qtip: If you’re running Zone Code, events tracked by one Intercept can be accessed by another and there is no need to add the same event tracking to multiple Intercepts.
  2. In the Manage Intercept menu, select Event Tracking.image01
  3. Click Add Element to add your first event.2015-11-11_16-24-30_EventT
  4. Type the name you would like to use for your event (any name will do) and enter the HTML ID of the element you would like to track.image09
  5. To include additional events, click the plus sign to the right of your event.image05

Advanced Event Tracking

If you would like to track events on your website that do not involve a visitor clicking (e.g., hovering over an item), or if you would like to track interaction with elements that don’t have an HTML ID, you can manually add the event tracking code to these elements on your website. These added codes will allow Site Intercept to know when the event has taken place.

Attention: Advanced event tracking requires a basic knowledge of HTML and JavaScript, as well as access to modify your website’s source code.

To track an event on your website

  1. Identify the HTML element on your site you would like to track (the following example does not include an ID attribute).
    <span>Chat with an agent.</span>
  2. Add a JavaScript event to this element. Common events include onclick, onmouseover, or onmouseout.
    <span onclick=”...”>Chat with an agent.</span>
  3. Set the event equal to the following code:
    window._qsie = window._qsie || [];
    window._qsie.push('eventName');
  4. The final HTML for your element may look something like this:
    <span onclick=”window._qsie = window._qsie || [];
    window._qsie.push('InitiatedChat');”>Chat with an agent.</span>
  5. You can now add Intercept Display Conditions that target this event.image00

Using Tracked Events

Once you have set up event tracking, you can use these events in your Intercept Logic. You can also send event tracking information over to your target website or survey using Embedded Data.

To add logic based off of an event

  1. Click the plus sign to add a new logic condition.
  2. Select Website and choose Event Tracking.image03
  3. Enter the name of your event, followed by an event value, which will be the number of times the event must happen for the participant to qualify.
    image06
    This PopOver will show for visitors who have completed the “checkout_event” event one or more times.

To save event information as Embedded Data

Event data can also be saved as Embedded Data, as described on the Embedded Data with SI page.

image08

On the left, you’ll enter the name of the Embedded Data field, which can be anything you like. You’ll then set the field type to Event Tracking. On the right, you’ll enter the Event Name. The final Embedded Data value sent over to your target website will be the number of times the event occurred for that particular visitor.