Creating events

Setting up an event in Smartlook is a simple process. The main reason for this is that all the events will be automatically tracked in the Smartlook recording sessions. Essentially, you’re just indexing the data which you already have and making it more easy to find and segment for later.

Creating events

To create an event:

  1. In the Events section, click + New event.
  2. Choose the type of event.
Choose type of event
  1. Define your new event.
  2. Click Continue.
  3. Choose a Folder and enter a name in the Event name field.
  4. (Optional) Add additional definitions to your new event.
  5. Enable Monitor anomalies to monitor anomalies in your funnel.
  6. Click Save and apply.

And that’s it! Data from your events is tracked as soon as your website receives the Smartlook code.

You can also create events using the Smartlook event picker or entering the CSS of your element.

Examples of events

Visited URL event

To track when users visit a certain URL, you can set up visited URL events. To create visited URL events:

  1. Create a Visited URL event.
  2. Define your event as:
    • Is and the URL you want to track
  3. Click Continue.
  4. Finish creating your event by setting a Folder and entering a name. Then click Save and apply.

Clicked-on text event

You can get data on user activity that does not result in a URL change. These can include clicking buttons or interacting with elements.

For our example, you decide to add a heart button that users can click to save a product to their favorites list.

Heart save button

Because clicking this button does not lead to another URL, you can't track the usage using page tracking. You can track interaction with this button with an event.

To create an event to track your button:

  1. Create a Clicked-on text event.
  2. Define your event as:
    • Is Save
  3. Click Continue.
  4. Finish creating your event by setting a Folder and entering a name. Then click Save and apply.
Heart button event example

Smartlook can now track your Clicked-on text event. You can also create your event using the element's CSS selector.

Typed text event

You can create Typed text events if your project utilizes a search bar. Your events can track how often your users search a certain term. Because of Smartlook's Privacy first approach to data, all sensitive data (passwords, credit card info, phone numbers, etc.) are automatically blocked and can't be tracked. For this example, you set up a typed text event to track users searching for the brand Adidas.

Example search bar

Tracking searches can help you gain insights into your users' interests. To create typed text events:

  1. Create a Typed text event.
  2. Define your event as:
    • Is Adidas
  3. Click Continue.
  4. Finish creating your event by setting a Folder and entering a name. Then click Save and apply.
Typed text example