diff --git a/lib/loadClients.js b/lib/loadClients.js index ccc373e9..067327f3 100644 --- a/lib/loadClients.js +++ b/lib/loadClients.js @@ -22,6 +22,7 @@ function applyToClient(client, method) { var TREASURE_KEYS = [ 'init', 'set', + 'collectTags', 'blockEvents', 'unblockEvents', 'setSignedMode', @@ -34,8 +35,7 @@ var TREASURE_KEYS = [ 'trackClicks', 'fetchUserSegments', 'fetchServerCookie', - 'ready', - 'collectTags' + 'ready' ] /* diff --git a/src/loader.js b/src/loader.js index ccc51a19..024b556a 100644 --- a/src/loader.js +++ b/src/loader.js @@ -15,6 +15,7 @@ } var methods = [ + 'collectTags', 'addRecord', 'blockEvents', 'fetchServerCookie', @@ -28,8 +29,7 @@ 'trackEvent', 'trackPageview', 'trackClicks', - 'unblockEvents', - 'collectTags' + 'unblockEvents' ] for (var i = 0; i < methods.length; i++) { var method = methods[i]