Update layout.html

pull/577/head
Mr Chen 1 year ago
parent 8cab94e26c
commit e944c9fbc5
  1. 4
      route/templates/default/layout.html

@ -182,7 +182,10 @@ if (thisPath.indexOf('?')>-1){
<!-- 统计一下用户量,让我的开发更有激情 -->
<script type="text/javascript">
// $.ajaxSetup({ async: true });
$(document).ready(function(){
setTimeout(function(){
$.getScript('https://www.googletagmanager.com/gtag/js?id=G-FC74BB2RGD', function(){
console.log("load google ad!");
window.dataLayer = window.dataLayer || [];
@ -190,6 +193,7 @@ $(document).ready(function(){
gtag('js', new Date());
gtag('config', 'G-FC74BB2RGD');
});
},1000);
});
</script>

Loading…
Cancel
Save