Goals and events

Note: For purpose of this lesson we'll use the template from the lesson 8 (Web and behavioral analytics).

Step 1 - differences between events and goals

To measure important actions on the website we use 2 types of data - events and goals.

Despite apparent similarity, they have significant differences.


Goals measure how well your site or app fulfills your target objectives. A goal represents a completed activity, called a conversion, that contributes to the success of your business. Examples of goals include making a purchase (for an ecommerce site), completing a game level (for a mobile gaming app), or submitting a contact information form (for a marketing or lead generation site).

What's important, the goal will only record once per unique user.

Goals enable also the usage of powerful functionality called "Automated paths". We'll learn about it in the next lesson.

Goals examples:

  1. Product purchase

  2. Registration

  3. Subscription

  4. Download

  5. Specific page visit

  6. Lead generation

As you can see, goals are intended to be a measure of your online business performance.


Events are simply used to track user interactions on your site, like watching a video or clicking on Navbar links. Those interactions may not have a huge impact on your overall business success, but tracking them is vital to understanding how your visitors engage with your website.

What's important, the single event can be recorded multiple times in a single visit.

When defining the event, we use three dimensions (dimensions are attributes/descriptions of your data):

1. Event Category

A category is a name that you supply as a way to group objects that you want to track.

Example event category: HomePage Clickability

2. Event Action

Event Action is actually event itself.

Event Action example: Navbar Link 3

3. Event Label

We use labels to provide additional information about UI element associated with given event.

Event Label example: Navbar

Step 2 - concept of HomePage Clickability analysis

This is how our HomePage in Analytics template looks like.

I marked the 3 UI elements with a red frame. These elements will be corresponding to the events labels of our HomePage analysis:

Navbar, NewsFeed, Footer

We'll create the following events for the analysis:

Event Category

- HomePage Clickability

Event Labels:

- Navbar

- NewsFeed

- Footer

Event Actions:

- Navbar link 1

- Navbar link 2

- Navbar link 3

- Navbar link 4

- NewsFeed link 1

- NewsFeed link 2

- NewsFeed link 3

- NewsFeed link 4

- Footer link 1

- Footer link 2

- Footer link 3

- Footer link 4

Step 3 - creating the events

Go to the brandflow.net/app/events/list.

We've already created category HomePage Clickability in the previous lesson, so we can skip this step.

Now we have to create 14 (Navbar link 1, NewsFeed link 2, etc.) event for 3 labels (Navbar, NewsFeed, Footer) from the list above.

Assign all of them to HomePage Clickability category and set a value to 0 for each event.

Step 4 - creating conditions for the events triggers

If you look at the code in the Analytics template you will notice that each of the links contains ID.

We'll use that IDs to create conditions, which we'll later use as triggers for the events.

Go to brandflow.net/app/automation/condition and create 14 conditions according to a following pattern:

Condition name : Navbar Link 1 condition

Folder : Unfiled items

Type : Click ID

Operator : equals

Param : nav-link-1

Step 5 - setting the triggers for the events

Come back to the brandflow.net/app/events/list and add triggers to the events.

To each trigger assing a proper, coresponding condition.


Navbar link 1 -> Navbar link 1 trigger -> Navbar link 1 condition

Step 6 - test

1) Save everything and publish the changes.

2) Refresh your project and click on each link as many time as you wish

2) Wait around 5 minutes - that's the average time before BrandFlow update the data.

3) Go to brandflow.net/app/events/performance and Enjoy the results of your first analysis.

Previous post Next post

Spreed the word: Add comment
About author
Author avatar
Michal Szymanski

Co-founder of MDBootstrap and BrandFlow. Entrepreneur, web developer, UI / UX designer, marketer. Dancer and nerd at the same time.

Leave a reply

Sign up to follow your progress and get additional benefits