<?php 
if(GOOGLE_ANALYTICS_ENABLED)
{ 
?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo(GOOGLE_ANALYTICS_CODE); ?>"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', '<?php echo(GOOGLE_ANALYTICS_CODE); ?>');
  gtag('config', 'AW-620482710');
  gtag('config', 'UA-170177245-1');
</script>
<?php 
} 
?>