Remove old Piwik analytics header code
This commit is contained in:
		
							parent
							
								
									34a3ee8f36
								
							
						
					
					
						commit
						6a8096391f
					
				
					 1 changed files with 0 additions and 20 deletions
				
			
		|  | @ -1,26 +1,6 @@ | ||||||
| ## -*- coding: utf-8; -*- | ## -*- coding: utf-8; -*- | ||||||
| <%inherit file="tailbone:templates/base_meta.mako" /> | <%inherit file="tailbone:templates/base_meta.mako" /> | ||||||
| 
 | 
 | ||||||
| <%def name="app_title()">Rattail Demo</%def> |  | ||||||
| 
 |  | ||||||
| <%def name="head_tags()"> |  | ||||||
|   <!-- Piwik --> |  | ||||||
|   <script type="text/javascript"> |  | ||||||
|     var _paq = _paq || []; |  | ||||||
|     // tracker methods like "setCustomDimension" should be called before "trackPageView" |  | ||||||
|     _paq.push(['trackPageView']); |  | ||||||
|     _paq.push(['enableLinkTracking']); |  | ||||||
|     (function() { |  | ||||||
|     var u="//piwik.rattailproject.org/"; |  | ||||||
|     _paq.push(['setTrackerUrl', u+'piwik.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.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); |  | ||||||
|     })(); |  | ||||||
|   </script> |  | ||||||
|   <!-- End Piwik Code --> |  | ||||||
| </%def> |  | ||||||
| 
 |  | ||||||
| <%def name="header_logo()"> | <%def name="header_logo()"> | ||||||
|   ${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", style="height: 55px;")} |   ${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", style="height: 55px;")} | ||||||
| </%def> | </%def> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar