Member
Member
jwaltrip4   21-08-2023, 19:53
#1

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?
Administrator
Administrator
fretzl   21-08-2023, 21:39
#2

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.

Member
Member
jwaltrip4   21-08-2023, 22:15
#3

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);
})();

Administrator
Administrator
fretzl   22-08-2023, 07:12
#4

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

Administrator
Administrator
acrylian   22-08-2023, 07:36
#5

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/

Member
Member
jwaltrip4   22-08-2023, 11:38
#6

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?
Administrator
Administrator
acrylian   22-08-2023, 11:52
#7

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.

Member
Member
jwaltrip4   22-08-2023, 12:10
#8

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

thanks!!

Administrator
Administrator
acrylian   22-08-2023, 12:14
#9

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

Member
Member
jwaltrip4   22-08-2023, 14:50
#10

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

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

Administrator
Administrator
acrylian   22-08-2023, 14:59
#11

The point with GDPR is of course not about your site's content but tracking personal information of visitors.

Anyway, not our problem but yours :-)

Member
Member
jwaltrip4   01-09-2023, 22:47
#12

LOL... I don't have a login for the website. Family photos... family accesses.

I understand about GDPR... I work in IT

Now if I could just figure out how to block China......

Administrator
Administrator
acrylian   02-09-2023, 07:04
#13

:-)

Now if I could just figure out how to block China......

There is no real way to block a "country". Two ways to block visitors:

  1. Certain bots via robots.txt. But of course they have to follow that advice which only the majore search engines and such do.
  2. Block by IP via htaccess.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.