Goal Tracking

Goal conversion tracking is one of the most efficient ways to measure and improve your business objectives. For Ecommerce shops, you can use Analytics Ecommerce reporting.

What is a Goal in Matomo?

A Goal in Matomo (Piwik) is your strategy and priority. It can entail many things: “Sold item”, “New customer”, “Downloaded brochure”, “Contacted us”, etc. What do you want your users to do on your website?

Conversion tracking is a great way to identify whether you are meeting your current business objectives, identify new objectives, view and analyse your performance, and learn how to increase your conversions, conversion rates, and revenue per visit. Goals can be triggered based on user actions (download or plays a video, for example), or when user visits a given page (e.g. checkout.html, thank-you-for-your-purchase.html), or when user do specific actions or events (such as clicking on a button).

Goal tracking is also very useful to measure performance of SEM Campaigns and their conversion rate, to the campaign and the keyword level.

Examples of Useful Goals

  • Contact us – track when users contact you for more information or help.
  • Newsletter subscriptions – keep track of how many people are signing up for your newsletter.
  • View/Request product demo – useful if your website sells a product.
  • Ecommerce tracking – to track and get useful Ecommerce Analytics reports, we recommend using the Ecommerce Analytics functionality.

Create a Goal

Login with a user with ‘Write’ or ‘Admin’ access, and click on the “Goals” menu where you can manage your goals and create a new one:

A Goal is defined by:

  • Goal Name. The Goal name describes your business objective eg. “Signup”, “View product demo”, etc.
  • Goal Type and Goal Pattern. These define how the Goal can be converted: matching a URL, downloads a specific file, clicks on an external link, sends a particular custom event (a Goal can be created based on a specific event category, or event action, or event name), or when the visitor stays for a given length of time (when visit duration is greater than a certain number of minutes). Alternatively if you need to trigger a goal conversion at a very specific time, you can also manually trigger your goal conversion by calling the trackGoal() JavaScript function.
  • Goal Revenue (optional). When you specify a Goal revenue, Matomo will report both total revenue and revenue per visit for each Goal. It is a good exercise to try and evaluate how much money each conversion is worth. For example, you could create a “contact product” Goal to see how many times people have asked for more information about your product. If you know that 10% of these contacts end up as customers, and you sell on average of $100, you know that each “Contact product” Goal conversion is worth on average $10.If you want to set a different revenue for each conversion (for example depending on which “plan” is being bought), read below.

By default, a goal can only be converted once per visit maximum, but when editing your goal you can select “Allow goal to be triggered more than once per Visit” to allow your goal to be converted more than once per visit.

A visit that converts one or more goals is reported as a “Visit with conversion”.

A same visit can convert several Goals (eg. “Buy a product” and “Contact support”).

Note that Goal tracking is not retroactive:

  • when you create a Goal, you will see the Conversion data only for future visit data (your historical analytics reports before you created the goal will not be contain the goal data).
  • when you update a Goal definition (or a funnel), the historical reports for this goal (with the old definition) and the historical reports for the Funnels will not be updated. They will still show reports for the old goal (and funnel) definition. The updated Goal (and any associated funnel) will be converted (tracked) according to the updated definition only for data going forward (after you have updated the goal or funnel definition).

Goal Overview Report

This report provides a quick glance at all goals defined for the website. You can also see reports by Country, Keyword, Websites, Campaign keyword, with all columns showing the goal metrics – conversions, conversion rate and revenue per visit – for all goals.

Goal Detailed Report

The Goal report displays detailed reports about a specific goal. The graph of the last 30 days shows the evolution over time. Matomo also displays a quick summary of the segments that converted best for this goal.

You can also access the report table, broken up into the following sections: Countries, Continents, Websites, Search Engine, Keywords, Campaigns, Time of day.

Note that for many reports (Search Engines, Keywords, Countries, etc.) you can access the Goal table by clicking on the “Change visualisation” icon at the bottom of the tables, and then selecting Display a table with Goals metrics:

Report Analysis: What are the Top Converting Segments?

Matomo Goal reports will help you answer some of these questions (and more!).

  1. You are buying advertisement on Google, Yahoo and Facebook. How can you measure the quality of the traffic sent by these ads, which campaigns and which keywords work best to convert visitors? Out of all of the websites bringing you traffic, which websites send you visitors that convert most? Can you develop stronger links with these websites, or find similar partners?
  2. If you use Matomo Campaign tracking, you can track the performance of your Newsletters, PPC Campaigns and keywords to see how each contribute to your Goal conversions and overall revenue. You can see exactly the revenue and conversion rates for each campaign and keyword. If you have affiliates linking to your pages, you can see exactly which affiliates bring you visitors with the most conversions and/or which have the highest revenue per visit.
  3. What time of day sees the lowest activity? By checking Goal conversions by hour, you can decide what time is best for migrations and system updates.

Track a Custom Revenue for each Goal Conversion

Goals can be defined with a default revenue, and each Goal conversion will use the default revenue.

It is common for “Goals” on a website can have a different revenue. For example, if you sell a service there might be “Bronze”, “Silver” and “Gold” package. You would want Matomo to report accurately your Goal conversions and revenue per visit for all visitors.

Important Note: if your website is an Ecommerce shop, or if you sell various products with different prices, we highly recommend that you use the Ecommerce Analytics functionality instead of Goal tracking. Ecommerce in Matomo is deeply integrated and produces reports tailored to Ecommerce activity.

If you are only tracking only one product (with different prices), you can use Goals as a simple yet efficient way to measure your performance and evolution over time.

An example of custom revenue tracking:

  • Create a goal “Package ordered”.
  • Set “Allow multiple conversions per Visit” to “Allow goal to be triggered more than once per Visit”. This will ensure that if a user makes several orders per visit, Matomo will track one goal conversion for each order.
  • Look at the goal id, which can be found in the first column of the “Edit goals” table.
  • Users will then purchase a package on your website. To register a Goal conversion when someone buys a package that costs $39, you can call the JS function to register a Goal in Matomo. In the footer of your checkout page, inside the Matomo JS code you already have, you would simply write:

    _paq.push([‘trackGoal’, 7, priceOfMyObject]);

The variable priceOfMyObject can be dynamically set by your website software.

For more information about manually triggering a Goal conversion via the trackGoal() function, see the Matomo JavaScript API documentation.

Goal Reporting Online Demo

Check out the live example of Goal reports in the Matomo online demo.

We hope you enjoy Matomo Goal reports, and we wish you all the best for reaching your business goals & objectives with Matomo!

Conversion Funnel Analysis

A Funnel defines a series of actions that you expect your visitors to take on their way to converting a goal. By defining a funnel, you can improve your conversion rates, sales and revenue as you can determine where you lose your visitors in converting your goal.

Learn more about all the benefits and features of Funnels.

Here is what the Funnel reports looks like, for a conversion goal “Applying for a job” (the website being measured is a Job Board).

Attribution Models

When you view a goal report, you often want to know which channels (or referrers), have contributed the most to your goal so you can adjust your marketing accordingly. By default, Matomo attributes the conversion to the last seen referrer. However, in reality, many users will visit your website several times and only looking at the first or last referrer would not actually give you the true value of the different marking channels (website referrers, search engines, campaigns, …). Using the Multi Channel Conversion Attribution premium feature, you can easily find out which channels or referrers actually contribute the most to your success and it prevents you from spending your marketing efforts and money on the wrong channels.

Learn more about all the benefits and features of Multi Channel Conversion Attribution.

Here is what a Conversion Attribution report looks like (you can choose from different models):

Matomo training videos

Want to learn how to use Matomo’s other features? Watch these free training videos below!