chore: 增加统计脚本

This commit is contained in:
Argo-Unicom 2021-02-28 10:51:03 +08:00
parent 6d814a2e2d
commit 2ab14c25d1
2 changed files with 24 additions and 2 deletions

View File

@ -7,12 +7,23 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="@Url.Content(Model.WebSiteIcon)" type="image/x-icon" />
<link rel="shortcut icon" href="@Url.Content(Model.WebSiteIcon)" type="image/x-icon" />
<link rel="apple-touch-icon" href="~/favicon.png"/>
<link rel="apple-touch-icon" href="~/favicon.png" />
<title>@ViewBag.Title</title>
@RenderSection("css", false)
<!--[if lt IE 10 ]>
<link href="../css/IE8.css" rel="stylesheet" />
<![endif]-->
<environment include="Staging,Production">
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?ce3c9cfb729226f39dd330899489086d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</environment>
</head>
<body class="trans-mute">
<!--[if lt IE 10 ]>

View File

@ -6,12 +6,23 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="~/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="~/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="~/favicon.png"/>
<link rel="apple-touch-icon" href="~/favicon.png" />
<title>@ViewBag.Title</title>
@RenderSection("css", false)
<!--[if lt IE 10 ]>
<link href="../css/IE8.css" rel="stylesheet" />
<![endif]-->
<environment include="Staging,Production">
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?cbcf24ce616357304b344bdf4f4ae74f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</environment>
</head>
<body class="trans-mute">
<!--[if lt IE 10 ]>