Merge pull request #17 from markcaudill/guages
Add guag.es integration.
This commit is contained in:
		
						commit
						b24b8be12c
					
				
					 2 changed files with 17 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -94,6 +94,9 @@
 | 
			
		|||
    </footer>
 | 
			
		||||
  </main>
 | 
			
		||||
  {% include "partial/ga.html" %}
 | 
			
		||||
  {% if GUAGES %}
 | 
			
		||||
  {% include "partial/guages.html" %}
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  {% if ADD_THIS_ID %}
 | 
			
		||||
  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADD_THIS_ID }}" async="async"></script>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										14
									
								
								templates/partial/guages.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								templates/partial/guages.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
<script type="text/javascript">
 | 
			
		||||
  var _gauges = _gauges || [];
 | 
			
		||||
  (function() {
 | 
			
		||||
    var t   = document.createElement('script');
 | 
			
		||||
    t.type  = 'text/javascript';
 | 
			
		||||
    t.async = true;
 | 
			
		||||
    t.id    = 'gauges-tracker';
 | 
			
		||||
    t.setAttribute('data-site-id', '{{ GUAGES }}');
 | 
			
		||||
    t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');
 | 
			
		||||
    t.src = 'https://track.gaug.es/track.js';
 | 
			
		||||
    var s = document.getElementsByTagName('script')[0];
 | 
			
		||||
    s.parentNode.insertBefore(t, s);
 | 
			
		||||
  })();
 | 
			
		||||
</script>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue