matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.64k stars 2.62k forks source link

GTM template when using Matomo On-Premise #18907

Open yassine-ah opened 2 years ago

yassine-ah commented 2 years ago

Now that many European countries start banning or investigating GA, many companies have choose Matomo as alternative to respect RGPD.

An official Matomo template will help a lot in this transaction, we wouldn't need to recreate the triggers or tags and only change GA by Matomo for example and keep all our other integrations with others analytics tools that respect RGPD.

trackify.info have already created a template for Matomo: https://tagmanager.google.com/gallery/#/owners/trackify-info/templates/GoogleTagManager-WebTemplate-Matomo

But unfortunately, we cannot trust it for an enterprise solution:

source code

Your Environment

Probably a duplication of https://github.com/matomo-org/matomo/issues/12165

tsteur commented 2 years ago

@justinvelluppillai maybe we can close this issue since we're working on this in https://github.com/matomo-org/google-tag-manager-matomo-template ?

tsteur commented 2 years ago

Actually we'll need to keep the issue open to have a template for On-Premise users. Which we did want to do, but ran into a problem with not being able to allow loading the JS from any domain.

mattab commented 1 year ago

FYI this was completed only for Cloud here: https://tagmanager.google.com/gallery/#/owners/matomo-org/templates/google-tag-manager-matomo-template

The steps on how to set it up are in the FAQ: https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-within-gtm-google-tag-manager/

unfortunately we couldn't do it in a generic way. So we keep this issue open.