This addition enables users to set their Google Measurement ID into the variable GOOGLE_GLOBAL_SITE_TAG in pelicanconf so that they can track analytics using GA 4 Closes #256 (#257)
		
			
				
	
	
		
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			404 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			404 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!-- Global site tag (gtag.js) - Google Analytics -->
 | 
						|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ GOOGLE_GLOBAL_SITE_TAG }}"></script>
 | 
						|
<script>
 | 
						|
  window.dataLayer = window.dataLayer || [];
 | 
						|
  function gtag(){dataLayer.push(arguments);}
 | 
						|
  gtag('js', new Date());
 | 
						|
 | 
						|
  gtag('config', '{{ GOOGLE_GLOBAL_SITE_TAG }}');
 | 
						|
</script>
 | 
						|
<!-- End of Global site tag (gtag.js) - Google Analytics --> |