Browse Source

Upload files to ''

liuyuqi 5 years ago
parent
commit
0e5917efdf
1 changed files with 9 additions and 0 deletions
  1. 9 0
      footer.php

+ 9 - 0
footer.php

@@ -105,6 +105,15 @@ esc_html_e( 'Back to top', 'pen' );
 <?php
 wp_footer();
 ?>
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-141610064-1"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
+
+  gtag('config', 'UA-141610064-1');
+</script>
 	</body>
 </html>
 <?php