From 1db7303839106da5bceb2a81d94a6296ca730c42 Mon Sep 17 00:00:00 2001 From: RishiRaj Date: Mon, 24 Aug 2020 12:56:45 +0530 Subject: [PATCH] updated segment's analytics.js version for Connect app --- src/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.jsx b/src/index.jsx index bff3d5c4e..724079158 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -13,8 +13,9 @@ const mountNode = document.getElementById('root') /* eslint-disable */ if (!_.isEmpty(SEGMENT_KEY)) { - !!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t