@phips28 opened this Issue on June 27th 2019


I am currently coding a custom report and need a little help from the community :)

As you can see in the screenshot I print a table of visits (which match some criteria)


In the row I want to add the button "Open Visit Log" to open the session with idVisit & visitorId.

from page urls page

Is that possible?
I couldn't find any docs or code example in existing reports how to add this button.

I dont have a custom render() function or something like that. It's just a DataTable with some simple arrays in it and it gets generated automatically.

And another question: how can I tell the report that VISITOR_ID is a string, not an integer. It gets auto-formatted.

Thank you!

@tsteur commented on June 28th 2019 Member

Hi @phips28 I recommend you ask this in our developer forum: https://forum.matomo.org/c/plugins-platform We don't answer any such questions here. You would basically need to add some metadata to each row called segment that contains the correct segment definition.

This Issue was closed on June 28th 2019
Powered by GitHub Issue Mirror