Is it possible to use Drupals user as Piwiks user?


#1

Hi,

New guy to web development here. Or development itself.
Just wondering if it is possible to use users from Drupal to login to Piwik.
Basically what I want to do is having a single DB/Table/etc. to login to both applications.
Is that even possible? If so is there any guides or tutorials or ready made plugins for this.

Thank you in advance.

Regards,
Kumaran Shivaji Machaaaa


#2

Anyboty? Evryboty?


(Matthieu Aubry) #3

Hi there, check out: How do I automatically login my users in Piwik when they go from my CMS to Piwik? - Analytics Platform - Matomo


#4

Thanks bos!


(Tassoman) #5

Autologin will work only if you have the users already set inside piwik.

I suggest you calling APIs of UsersManager Plugin during Drupal’s user management (crud).
If any method is available by direct token authenticated http call, you should build a plugin for that from inside piwik, then calling it.