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

Commit f898d58

Browse files
committed
Add missing option trackAllPages.
1 parent c65cea7 commit f898d58

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var GTM = module.exports = integration('Google Tag Manager')
1616
.global('google_tag_manager')
1717
.option('containerId', '')
1818
.option('environment', '')
19+
.option('trackAllPages', false)
1920
.option('trackNamedPages', true)
2021
.option('trackCategorizedPages', true)
2122
.tag('no-env', '<script src="//www.googletagmanager.com/gtm.js?id={{ containerId }}&l=dataLayer">')

test/index.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('Google Tag Manager', function() {
3434
.global('dataLayer')
3535
.option('containerId', '')
3636
.option('environment', '')
37+
.option('trackAllPages', false)
3738
.option('trackNamedPages', true)
3839
.option('trackCategorizedPages', true));
3940
});

0 commit comments

Comments
 (0)