1.1.0 • Published 5 years ago

docute-google-analytics v1.1.0

Weekly downloads
40
License
MIT
Repository
-
Last release
5 years ago

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