rozmova-analytics 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers.js +1 -1
- package/package.json +1 -1
package/dist/helpers.js
CHANGED
|
@@ -146,7 +146,7 @@ function getGASessionId() {
|
|
|
146
146
|
return null;
|
|
147
147
|
}
|
|
148
148
|
var _waitForGA = exports.waitForGA = function waitForGA(callback) {
|
|
149
|
-
if (getGASessionId()) callback();else setTimeout(function () {
|
|
149
|
+
if (getGASessionId() && getGAClientId()) callback();else setTimeout(function () {
|
|
150
150
|
return _waitForGA(callback);
|
|
151
151
|
}, 1000);
|
|
152
152
|
};
|