0

I am planning to use Matomo for my internal web project and currently setting it up.
I am tracking events using the JavaScript tracker like below:


_paq.push([‘trackEvent’, ‘Plan A’, ‘Plan A Landing Page View’]);
_paq.push([‘trackEvent’, ‘Plan A’, ‘Plan A Details Page View’]);


_paq.push([‘trackEvent’, ‘Plan B’, ‘Plan B Landing Page View’]);
_paq.push([‘trackEvent’, ‘Plan B’, ‘Plan B Landing Page View’]);

In the Matomo UI, I can see these events under Behavior → Events

However, on the Dashboard, Matomo provides only one standard widget for “Actions: Event Actions” or “Actions: Event Names”, which mixes all events together.

What I want to achieve:
I want to create multiple dashboard widgets for “Actions: Event Actions” or “Action: Event Names“ for example:

There should be 2 widget for “Actions: Event Actions”

Widget 1 – Plan A

·       Plan A Landing Page View

·       Plan A Details Page View

Widget 2 – Plan B

·       Plan B Landing Page View

·       Plan B Landing Page View

So that each widget shows only a specific set of actions, instead of all actions combined.
For example, multiple set of widgets as displayed in image below:

Matomo events

**What I have tried:

1. Custom Dimensions**
I created a Visit Custom Dimension and an Action Custom Dimension
I tried setting values using:

_paq.push(['setCustomDimension', 1, 'WavePlan']); 

But I could not clearly map this to multiple dashboard widgets filtered by actions.

2. Tag Manager
I created custom events and tags using _mtm.push({ event: '...' })
Tags and triggers fire correctly
But I still don’t see a straightforward way to create separate widgets per action group

3. Segments
I don’t see an obvious way to create reusable widgets filtered by specific Event Actions only.

My main questions

Is it possible in Matomo to create multiple dashboard widgets for:
- Multiple “Actions: Event Categories”
- Multiple “Actions: Event Actions”
- Multiple “Actions: Event Names”

If yes, What is the recommended approach?
If no, What is the best Matomo-recommended workaround to logically group actions and visualize them separately on the dashboard?

Thanks

2 Answers 2

0

After some R&D I got the solution. I can create multiple dashboard widgets for different sets of Event Actions in Matomo using "custom dimensions". Here are the step by step guide:

Step 1: Create a Custom Dimension
Go to -> Administration → Websites → Custom Dimensions
Under Action Dimensions (Not Visit Dimension):
Click “Configure a new dimension”

enter image description here

Step 2: Configure New Dimension

Click: “Configure a new dimension” AND Fill:
Name — Example: Ex. Order Status
Active — Enabled
Click Create.
This creates something like `Dimension ID = 2 (example)`

enter image description here

Step 3: Send Custom Dimension with Events

Now update your tracking code:

_paq.push(['setCustomDimension', 2, 'Draft']);
 window._paq!.push('trackPageView')

Step 4: Create Multiple Dashboard Widgets
Go to your dashboard. After data is collected, add Order Status widget to your dashboard
Dashboard → Add Widget → Behaviour → Order Status ( Click to add)
Now your dashboard shows

enter image description here

You can create multiple dimensions and add in your dashboard.

Thannks

Sign up to request clarification or add additional context in comments.

1 Comment

// Source - stackoverflow.com/a/79880996 // Posted by Shubham Verma // Retrieved 2026-02-27, License - CC BY-SA 4.0 _paq.push(['setCustomDimension', 2, 'Draft']); window._paq!.push('trackPageView')
-1

Method 1: Duplicate Widgets for Multiple Event Actions

If you want the same widget layout but different data:

  1. Add a widget once

  2. Duplicate the widget

  3. Apply a different segment to each copy

  4. Rename widgets, e.g.:

    • “Button Click – Events”

    • “Form Submit – Events”

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.