Skip to content

Commit

Permalink
updating README
Browse files Browse the repository at this point in the history
updating documentation to describe how to disable tracking
  • Loading branch information
mib200 authored May 25, 2018
1 parent 96b3d8d commit de7fd90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import VueRouter from 'vue-router'
const router = new VueRouter({routes, mode, linkActiveClass})

Vue.use(VueGtm, {
enabled: true, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie
debug: true, // Whether or not display console logs debugs (optional)
vueRouter: router, // Pass the router instance to automatically sync with router (optional)
ignoredViews: ['homepage'], // If router, you can exclude some routes name (case insensitive) (optional)
Expand Down

0 comments on commit de7fd90

Please sign in to comment.