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

Commit f661ed6

Browse files
Change to debug
1 parent a7cc8d5 commit f661ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var GTM = module.exports = integration('Google Tag Manager')
3232
GTM.prototype.initialize = function() {
3333
// If window.dataLayer already exists and isn't an array, fail gracefully.
3434
if (window.dataLayer && !Array.isArray(window.dataLater)) {
35-
console.error('window.dataLayer already exists - not running Segment<>GTM destination')
35+
this.debug('window.dataLayer already exists - not running Segment<>GTM destination');
3636
return;
3737
}
3838

0 commit comments

Comments
 (0)