Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to filter matomo reports based on dynamic values for multiple custom dimensions while embedding the reports #17175

Closed
Lakkanna opened this issue Feb 1, 2021 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Lakkanna
Copy link

Lakkanna commented Feb 1, 2021

Hi, i have multiple customDimensions based on the dynamic value is it possible to show matching records only in report?
i tried to use custom report plugin but there i need to create each report for one value, which is not easy to maintain.

customDimension1='first-value'
customDimension2='second-value'

https://example.com/index.php?module=Widgetize&action=iframe&secondaryDimension=eventName&disableLink=0&widget=1&moduleToWidgetize=Events&actionToWidgetize=getAction&idSite=1&period=day&date=yesterday&disableLink=1&widget=1&customDimension1=somevalue&customDimension2=another-value

i need to filter out the data based on some dynamic value for customDimensions and need to embed, please let me know how can i achieve this one

@Lakkanna Lakkanna changed the title Is it possible to filter matomo reports based on dynamic values for multiple custom dimensions to embed the reports Is it possible to filter matomo reports based on dynamic values for multiple custom dimensions while embedding the reports Feb 1, 2021
@tsteur
Copy link
Member

tsteur commented Feb 1, 2021

@Lakkanna
Copy link
Author

Lakkanna commented Feb 2, 2021

i checked segmentation, i didn't find way to integrate with Widgetize module, filtered data can be used only through API's?

@Lakkanna
Copy link
Author

Lakkanna commented Feb 2, 2021

i got the solution, i have suffixed &segement=dimension1==value1;dimension2==value2 to the widgetize module url, it's seems working, thanks

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Feb 2, 2021
@tsteur
Copy link
Member

tsteur commented Feb 2, 2021

Great, glad this works @Lakkanna

@tsteur tsteur closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants