plugin-ga icon indicating copy to clipboard operation
plugin-ga copied to clipboard

Disabling for local development

Open jamesplease opened this issue 7 years ago • 1 comments

Is there a recommended system for disabling this plugin when running Gitbook locally? I only want to track analytics on the production/hosted version of my gitbook.

Thanks for the great plugin!

jamesplease avatar Jul 03 '17 23:07 jamesplease

Eh... you may try this plugin: https://www.npmjs.com/package/gitbook-plugin-analytics#config-contexts

YounGoat avatar Sep 30 '17 07:09 YounGoat