mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add matomo
This commit is contained in:
		
							parent
							
								
									0331827b39
								
							
						
					
					
						commit
						186f2eed11
					
				| @ -1739,6 +1739,28 @@ if (userID) { | ||||
|    </script> | ||||
|    <% } %> | ||||
| 
 | ||||
| <% if(secure) { %> | ||||
|   <!-- Matomo --> | ||||
| <script> | ||||
|   var _paq = window._paq = window._paq || []; | ||||
|   /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | ||||
|   _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); | ||||
|   _paq.push(["setDoNotTrack", true]); | ||||
|   _paq.push(["disableCookies"]); | ||||
|   _paq.push(['trackPageView']); | ||||
|   _paq.push(['enableLinkTracking']); | ||||
|   (function() { | ||||
|     var u="//data.poketube.fun/"; | ||||
|     _paq.push(['setTrackerUrl', u+'matomo.php']); | ||||
|     _paq.push(['setSiteId', '2']); | ||||
|     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||||
|     g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); | ||||
|   })(); | ||||
| </script> | ||||
| <noscript><p><img src="//data.poketube.fun/matomo.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript> | ||||
| <!-- End Matomo Code --> | ||||
| 
 | ||||
|    <% } %> | ||||
|                <% if(!IsOldWindows) { %> | ||||
| 
 | ||||
| <script> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley