Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
Add missing option trackAllPages.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed May 13, 2017
1 parent c65cea7 commit f898d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var GTM = module.exports = integration('Google Tag Manager')
.global('google_tag_manager')
.option('containerId', '')
.option('environment', '')
.option('trackAllPages', false)
.option('trackNamedPages', true)
.option('trackCategorizedPages', true)
.tag('no-env', '<script src="//www.googletagmanager.com/gtm.js?id={{ containerId }}&l=dataLayer">')
Expand Down
1 change: 1 addition & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('Google Tag Manager', function() {
.global('dataLayer')
.option('containerId', '')
.option('environment', '')
.option('trackAllPages', false)
.option('trackNamedPages', true)
.option('trackCategorizedPages', true));
});
Expand Down

0 comments on commit f898d58

Please sign in to comment.