Skip to content
Snippets Groups Projects
Commit f4345821 authored by sandcha's avatar sandcha
Browse files

Copy standard matomo tracking code in home page

parent 1def9299
Branches
No related tags found
1 merge request!106Initialize matomo on home IR and dotations pages
......@@ -11,6 +11,22 @@ class HomePage extends PureComponent {
<Fragment>
<Head>
<title>LexImpact</title>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://leximpact.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'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='//cdn.matomo.cloud/leximpact.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</Head>
<AppHeader showHomeButton={false} showLoginButton={false} />
<HomeContent />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment