Set user name on login form via url


#1

Is there a way to do that?
I’d like to place a link somewhere (an administrative panel outside piwik) for easyer login, something like
my/piwik-url/login.php?user=myusername


(Matthieu Aubry) #2

Yes it’s possible! See this FAQ: How do I automatically login my users in Piwik when they go from my CMS to Piwik? - Analytics Platform - Matomo


#3

Thanks!


#4

Well, now as i try it, it seems it’s possible to log in via URL parameters, but it’s not possible to prefill the user name.
If only the username parameter is added, i end up on a kind of error-page, instead on the partly filled login form.
Am i overseeing something?


(Matthieu Aubry) #5

@sirtet I misunderstood your request. I think we could easily add this feature. would you mind creating a new issue at GitHub - matomo-org/matomo: Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests! ?


#6

opened an issue.