Sign in

Sign up

Events and goals

by Michal Szymanski,

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

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 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 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 and Enjoy the results of your first analysis.

Next tutorial

Do you want to share?

Facebook Twitter Google +

About author

User avatar

Michal Szymanski

Co-Founder at MDBootstrap & BrandFlow. Entrepreneur, UI/UX designer, marketing analyst. Dancer & nerd.

Comments 7

  • peteritv

    Hi guys, Just like before, after deleting everything from previous tutorials, I ran out of triggers... (have only 11 in use). Can someone reset something? Greetz, Peter

  • Adel Lionel Cote

    Hi, Michal Very great job ! The videos and tutorials about these uncredible BrandFlow are very well (y) ! And what a mervellous capabilities with BrandFlow !!! The power of I.A. for every body, event without knowledge of programmation !!! Then, I follow this serie with a greal interest (Even if I love PHP a lot, just for hobby for the moment...) All work absoltly well, but I've meet an only trouble with events (The previous lesson (8) end this: Nothing apparear in 'Performance' (The line is still at 0... :-() Perhaps have you an idea of that ? Sorry for my bad english, and hoppening you 'll understand my trouble.... Again all congrats and go On ! It 's a big tool you're actually putting in palce :-) ! To soon...

Leave a reply

Join MDB Affiliate Program

Get 30% profit from each sale

You earn 30% commission on affiliate sales, when a product is bought by a customer you referred, you will receive a 30% share.

Join us