docs: add google analytics
This commit is contained in:
parent
52fe281f2f
commit
0fac56ce50
|
@ -6,6 +6,20 @@ export default defineConfig({
|
||||||
description: "小红书爬虫,抖音爬虫, 快手爬虫, B站爬虫, 微博爬虫,百度贴吧爬虫,知乎爬虫...。 ",
|
description: "小红书爬虫,抖音爬虫, 快手爬虫, B站爬虫, 微博爬虫,百度贴吧爬虫,知乎爬虫...。 ",
|
||||||
lastUpdated: true,
|
lastUpdated: true,
|
||||||
base: '/MediaCrawler/',
|
base: '/MediaCrawler/',
|
||||||
|
head: [
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-5TK7GF3KK1'}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{},
|
||||||
|
`window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-5TK7GF3KK1');`
|
||||||
|
]
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
editLink: {
|
editLink: {
|
||||||
pattern: 'https://github.com/NanmiCoder/MediaCrawler/tree/main/docs/:path'
|
pattern: 'https://github.com/NanmiCoder/MediaCrawler/tree/main/docs/:path'
|
||||||
|
|
Loading…
Reference in New Issue