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

Add missing option trackAllPages. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -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">')
1 change: 1 addition & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@ describe('Google Tag Manager', function() {
.global('dataLayer')
.option('containerId', '')
.option('environment', '')
.option('trackAllPages', false)
.option('trackNamedPages', true)
.option('trackCategorizedPages', true));
});