Update layout.html

pull/577/head
Mr Chen 12 months ago
parent e944c9fbc5
commit 5d0b8b1877
  1. 4
      route/templates/default/layout.html

@ -182,9 +182,7 @@ 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!");
@ -193,7 +191,7 @@ $(document).ready(function(){
gtag('js', new Date());
gtag('config', 'G-FC74BB2RGD');
});
},1000);
},500);
});
</script>

Loading…
Cancel
Save