Tidio x HEXO


How to implement Tidio into HEXO

1. Get private key

Setting > Developer > Project data > Public key

2. _config.yml add this

1
2
3
tidio:
enable: true
key: #public key

3. head.ejs

File path: C:\project_name\themes\hexo-theme-matery\layout_partial\head.ejs

1
2
3
4
<head>
<!-- 最下面加上 -->
<script src="//code.tidio.co/bgznflbcfx51bvcs0hvewrwbb2lilewq.js" async></script>
</head>

Author: TAI JIN PEI
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source TAI JIN PEI !
  TOC