Jump to content

Analytics code integration


Go to solution Solved by Randy Calvert,

Recommended Posts

Posted (edited)

As Google Analytics have some RGPD issues, I would like to install an other Analytics product called Matomo
 

The Matomo code is something like that :
 

<!-- Matomo --><script type="text/javascript">
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);_paq.push(['enableLinkTracking']);_paq.push(['alwaysUseSendBeacon']);_paq.push(['setTrackerUrl', "\/\/www.flat4ever.com\/wp-content\/plugins\/matomo\/app\/matomo.php"]);_paq.push(['setSiteId', '1']);var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src="\/\/www.mywonderfulwebsite.com\/wp-content\/uploads\/matomo\/matomo.js"; s.parentNode.insertBefore(g,s);
</script>
<!-- End Matomo Code -->

Where can I install it without risk ? Note that my (wonderfulwebsite) has a WP info frontend and the invision comunity is in a subdirectory

Many thanks
Philippe

Edited by Philooo
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...