Use gravatar image for visitor's profile picture.
Use gravatar image for visitor's profile picture
This plugin use a SHA256 hash of the user email to retrieve the picture.
Install this plugin from the Marketplace as superuser or download the plugin and install it on your server from FTP in
the /plugins
folder.
_paq
method to your tracking codeThis line of code should be placed before _paq.push(['trackPageView']);
.
_paq.push(['ProfileGravatar.setGravatarHash', '<?php echo hash('sha256', 'user.name@mail.com'); ?>']);
(This demo use PHP to hash user email)
Don't forget to adapt user.name@mail.com
with your own data
(You can also use the request parameter &gravatar_hash=XXXXXXXXX
to send hash directly from HTTP request).
Enjoy user profile picture in the UserID report or Visit Summary
How to install this plugin
This plugin is available in the official marketplace of Matomo. You have to install the same way as other plugins
Is the plugin active for all Matomo users in my instance ?
Yes, if you choose this plugin for your Matomo instance, all users will be able to use it.
How can I contribute to this plugin ?
You can help me develop this plugin by contacting me. You can also create the project and request an integration. Any way you consider legitimate to contribute is welcome.
How long this plugin will be maintained ?
As long as possible, I have many project to maintain, I'm the first user of this plugin and I use Matomo on many project, if I see errors, I'll patch this plugin faster as possible !