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

Show button "Open Visit Log" in report #14582

Closed
phips28 opened this issue Jun 27, 2019 · 1 comment
Closed

Show button "Open Visit Log" in report #14582

phips28 opened this issue Jun 27, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@phips28
Copy link

phips28 commented Jun 27, 2019

Hello,

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)

image

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
Copy link
Member

tsteur commented Jun 28, 2019

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.

@tsteur tsteur closed this as completed Jun 28, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Jun 28, 2019
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