feat(plugins): add Google Analytics plugin (#66)
This commit is contained in:
parent
9605c18fff
commit
ac61bb0e75
7 changed files with 96 additions and 4 deletions
|
|
@ -15,7 +15,8 @@ const OPTIONS = utils.merge({
|
|||
auto2top: false,
|
||||
name: '',
|
||||
themeColor: '',
|
||||
nameLink: window.location.pathname
|
||||
nameLink: window.location.pathname,
|
||||
ga: ''
|
||||
}, window.$docsify)
|
||||
const script = document.currentScript || [].slice.call(document.getElementsByTagName('script')).pop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue