diff --git a/src/index.js b/src/index.js index 1e962cf..da3277e 100644 --- a/src/index.js +++ b/src/index.js @@ -76,6 +76,7 @@ function loadKissMetrics() { if (!key) { console.error('No key set for KISSmetrics, use setKey method to define it.'); + return; } context._kmq = context._kmq || [];