docute-google-analytics

1.1.0 • Public • Published

docute-google-analytics

Using Google Analytics in Docute.

Usage

First load this plugin via <script> tag:

<!-- Load these after docute.js -->
<script src="https://cdn.jsdelivr.net/npm/docute-google-analytics@1/dist/index.min.js"></script>

This plugin is exposed as window.docuteGoogleAnalytics:

new Docute({
  // ...
  plugins: [
    // Your track ID
    docuteGoogleAnalytics('X-00000-000')
  ]
})

License

MIT © LEPTOSIA

Readme

Keywords

none

Package Sidebar

Install

npm i docute-google-analytics

Weekly Downloads

171

Version

1.1.0

License

MIT

Unpacked Size

5.04 kB

Total Files

6

Last publish

Collaborators

  • egoist