Load self-hosted matomo analytics stats on mempool.space domain
This commit is contained in:
		
							parent
							
								
									a8a1f4e976
								
							
						
					
					
						commit
						c8d22dc536
					
				@ -37,5 +37,20 @@
 | 
			
		||||
    <div style="font-size: 20px">  You need to enable JS in your browser to use this website.</div>
 | 
			
		||||
  </noscript>
 | 
			
		||||
  <app-root></app-root>
 | 
			
		||||
  <script type="text/javascript">
 | 
			
		||||
    if (document.location.hostname === "mempool.space")
 | 
			
		||||
    {
 | 
			
		||||
      var _paq = window._paq = window._paq || [];
 | 
			
		||||
      _paq.push(['trackPageView']);
 | 
			
		||||
      _paq.push(['enableLinkTracking']);
 | 
			
		||||
      (function() {
 | 
			
		||||
        var u="//stats.wiz.biz/";
 | 
			
		||||
        _paq.push(['setTrackerUrl', u+'matomo.php']);
 | 
			
		||||
        _paq.push(['setSiteId', '5']);
 | 
			
		||||
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
 | 
			
		||||
        g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
 | 
			
		||||
      })();
 | 
			
		||||
    }
 | 
			
		||||
  </script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user