您现在的位置是:crmeb增加百度统计
crmeb增加百度统计
h5/src/main.js 添加
// 百度统计 Yuli router.beforeEach((to, from, next) => { if (to.path) { if (window._hmt) { window._hmt.push(['_trackPageview', '/#' + to.fullPath]) } } next() })
h5/public/index.html添加
head部分
<script> var _hmt = _hmt || []; </script>
body部分
<script> var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?8e32da755711038c382c283d97da7d47"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
随便看看
- Linux增加新硬盘扩展VolGroup空间大小
- Linux挂载新硬盘
- Linux系统连接MSSQL(freetds)
- extman提示Connection refused
- 微信昵称Emoji表情不能存数据解决办法
- 查看Linux网卡数据包
- 鼠标移上去出现显示层
- PHP获取文件创建时间、修改时间
- 常用正则表达式
- 到ICANN投诉三五互联获取域名转移密码成功
- CentOS 网卡报错 Determining if ip address x.x.x.x is already in use for device eth0
- [emerg] (43)Identifier removed: couldn't grab the accept mutex
- Cacti修改MySQL数据库默认字符集
- 用find查找文本内容
- MySQL字符集latin1导出中文乱码
站长简介
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- 到ICANN投诉三五互联获取域名转移密码成功
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- Apache禁用TRACE Method和添加X-frame-options响应头
- PHP将B转换为KB、MB、GB
- 构建微信公众号被动回复image图片消息xml
- mysqld_safe Number of processes running now
- CentOS使用chkconfig提示systemctl enable xxxx.service