Matomo Segment
You can use a Matomo segment to filter your data in Looker Studio. Here's how to do it:
Create a segment in Matomo that matches the filter you want to use in Looker Studio. Then, get the referrer in the URL:
For example, I created a "Channel Type Search" segment on my Matomo, the URL is:
https://catchr.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous7#?period=range&date=previous7&segment=referrerType%3D%3Dsearch&idSite=1&category=Goals_Goals&subcategory=2
I extract the referrerType and transform "%3D%3D" to "==" -> referrerType==search
Save this for later.
Then in your Looker Studio Matomo data source, check this option:

Then in a chart, fill the parameter with referrerType==search, it will filter the data with your segment.

The segment needs to exist in your Matomo to be used in Looker Studio.
You can set a default segment in the data source here:

Create a segment in Matomo that matches the filter you want to use in Looker Studio. Then, get the referrer in the URL:
For example, I created a "Channel Type Search" segment on my Matomo, the URL is:
https://catchr.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous7#?period=range&date=previous7&segment=referrerType%3D%3Dsearch&idSite=1&category=Goals_Goals&subcategory=2
I extract the referrerType and transform "%3D%3D" to "==" -> referrerType==search
Save this for later.
Then in your Looker Studio Matomo data source, check this option:

Then in a chart, fill the parameter with referrerType==search, it will filter the data with your segment.

The segment needs to exist in your Matomo to be used in Looker Studio.
You can set a default segment in the data source here:

Updated on: 12/09/2024
Thank you!