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

Commit

Permalink
Change to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Peripheral1994 authored May 25, 2018
1 parent a7cc8d5 commit f661ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var GTM = module.exports = integration('Google Tag Manager')
GTM.prototype.initialize = function() {
// If window.dataLayer already exists and isn't an array, fail gracefully.
if (window.dataLayer && !Array.isArray(window.dataLater)) {
console.error('window.dataLayer already exists - not running Segment<>GTM destination')
this.debug('window.dataLayer already exists - not running Segment<>GTM destination');
return;
}

Expand Down

0 comments on commit f661ed6

Please sign in to comment.