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

widgets should be able to be partly public #1126

Closed
anonymous-matomo-user opened this issue Jan 26, 2010 · 1 comment
Closed

widgets should be able to be partly public #1126

anonymous-matomo-user opened this issue Jan 26, 2010 · 1 comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

as of right now you can either make all stats public or not

if you include a public widget on your website, somebody with some piwik knowledge would easily be able to get all other statitics information as well

if we could say: "widget 1: pie chart of "users online"; range x-y; further options..." and "widget 2: bar chart of something else"
only those two would be publically accessable - the rest would still need proper authentication of moderators or admins

how could it work?
the problem is the auth token
in the above scenario we would have to create two special auth tokens - one for each widget. and they are only valid for this specific pattern of options

we would use a widget url like:

src="/piwik/index.php?module=Widgetize&action=iframe&columns[]=nb_visits&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=1&period=day&date=2010-01-25&disableLink=1&token_auth={specialWidgetToken}"

or even better: read all options from our setup in the piwik backend and just use the token:
src="/piwik/index.php?module=Widgetize&action=iframe&token_auth={specialWidgetToken}"

i guess in the meantime i'm not able to use piwik widgets
Keywords: accessability widgets

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants