ZenphotoCMS Forum
Matomo - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Matomo (/thread-13872.html)

Pages: 1 2


Matomo - jwaltrip4 - 21-08-2023

I see there is a Matomo plug in...
URL is set
Site ID is set
Enable admin tracking checked
content tracking set to All Content

main domain set to website URL

  • Embeded Code? Do I need to past the widget infor from Matomo here?



Matomo - fretzl - 21-08-2023

In Matomo click in the top right menu on Administration ("gear" icon), then click on Platform in the left sidebar menu, then click Widgets.
Now you see a page where you can choose between two different iframe embeds.
Copy/paste one of those iframe widgets in the plugins Widgets: Embed code option.




Matomo - jwaltrip4 - 21-08-2023

there is a selection in Matomo called "Matomo Tag Manager", and it gived this code: does this look right?

var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
(function() {
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://analytics.waltrips.com/js/container_E6Nb4M2f.js'; s.parentNode.insertBefore(g,s);
})();




Matomo - fretzl - 22-08-2023

No, that's not the one.
Click on the little "wheel" next to Tag Manager and then as above.




Matomo - acrylian - 22-08-2023

Note that this statistics embed only works if you are logged in into matomo already as well. There are extra steps to make that work without apparently I never tried: https://matomo.org/faq/reports/requirements-for-embedding-matomo-reports/




Matomo - jwaltrip4 - 22-08-2023

OK... gear/platform/widgets

Looking there, I see Authentication, Widgetize Dashboards, and Widgetize reports.

I may not have asked the question very well.

  • Is there anything I need to do to get Matimo to collect data from the website? other than installing the plug in, do I need to add anything to embed code?



Matomo - acrylian - 22-08-2023

No, a running Matomo install and general configuration is enough.

But for privacy you may need to add the content macro to allow the opt out tracking or disabling cookies or the consent options.

It is up to you this all is matching your jurisdiction regarding privacy.




Matomo - jwaltrip4 - 22-08-2023

USA... so dont care about GPDRSXYZ$%@#

thanks!!




Matomo - acrylian - 22-08-2023

Btw, I believe some states like California also have specific privacy laws that are not that far from the GDPR ;-)




Matomo - jwaltrip4 - 22-08-2023

heh... in Ohio... still dont care (ha ha)

In any event I am just displaying photo albums. No secrets or compromising info or images.