@rudderstack/analytics-js 3.0.0-beta.21 → 3.0.0-beta.22
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -0
- package/dist/npm/legacy/cjs/index.js +81 -79
- package/dist/npm/legacy/esm/index.js +81 -79
- package/dist/npm/legacy/umd/index.js +81 -79
- package/dist/npm/modern/bundled/cjs/index.js +81 -79
- package/dist/npm/modern/bundled/esm/index.js +81 -79
- package/dist/npm/modern/bundled/umd/index.js +81 -79
- package/dist/npm/modern/cjs/index.js +2 -2
- package/dist/npm/modern/content-script/cjs/index.js +80 -78
- package/dist/npm/modern/content-script/esm/index.js +80 -78
- package/dist/npm/modern/content-script/umd/index.js +80 -78
- package/dist/npm/modern/esm/index.js +2 -2
- package/dist/npm/modern/umd/index.js +2 -2
- package/package.json +1 -1
@@ -419,7 +419,7 @@
|
|
419
419
|
|
420
420
|
const CAPABILITIES_MANAGER='CapabilitiesManager';const CONFIG_MANAGER='ConfigManager';const EVENT_MANAGER='EventManager';const PLUGINS_MANAGER='PluginsManager';const USER_SESSION_MANAGER='UserSessionManager';const ERROR_HANDLER='ErrorHandler';const PLUGIN_ENGINE='PluginEngine';const STORE_MANAGER='StoreManager';const READY_API='readyApi';const EVENT_REPOSITORY='EventRepository';const EXTERNAL_SRC_LOADER='ExternalSrcLoader';const HTTP_CLIENT='HttpClient';const RS_APP='RudderStackApplication';const ANALYTICS_CORE='AnalyticsCore';
|
421
421
|
|
422
|
-
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.
|
422
|
+
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.22';const APP_NAMESPACE='com.rudderlabs.javascript';const MODULE_TYPE='npm';const ADBLOCK_PAGE_CATEGORY='RudderJS-Initiated';const ADBLOCK_PAGE_NAME='ad-block page request';const ADBLOCK_PAGE_PATH='/ad-blocked';const GLOBAL_PRELOAD_BUFFER='preloadedEventsBuffer';const CONSENT_TRACK_EVENT_NAME='Consent Management Interaction';
|
423
423
|
|
424
424
|
const QUERY_PARAM_TRAIT_PREFIX='ajs_trait_';const QUERY_PARAM_PROPERTY_PREFIX='ajs_prop_';const QUERY_PARAM_ANONYMOUS_ID_KEY='ajs_aid';const QUERY_PARAM_USER_ID_KEY='ajs_uid';const QUERY_PARAM_TRACK_EVENT_NAME_KEY='ajs_event';
|
425
425
|
|
@@ -866,7 +866,7 @@
|
|
866
866
|
event.severity='error';};const onError=state=>{const metadataSource=state.source.value?.id;return event=>{try{// Discard the event if it's not originated at the SDK
|
867
867
|
if(!isRudderSDKError(event)){return false;}enhanceErrorEventMutator(event,metadataSource);return true;}catch{// Drop the error event if it couldn't be filtered as
|
868
868
|
// it is most likely a non-SDK error
|
869
|
-
return false;}};};const getReleaseStage=()=>{const host=globalThis.location.hostname;return host&&DEV_HOSTS.includes(host)?'development':'production';};const getGlobalBugsnagLibInstance=()=>globalThis[BUGSNAG_LIB_INSTANCE_GLOBAL_KEY_NAME];const getNewClient=(state,logger)=>{const globalBugsnagLibInstance=getGlobalBugsnagLibInstance();const clientConfig={apiKey:API_KEY,appVersion:'3.0.0-beta.
|
869
|
+
return false;}};};const getReleaseStage=()=>{const host=globalThis.location.hostname;return host&&DEV_HOSTS.includes(host)?'development':'production';};const getGlobalBugsnagLibInstance=()=>globalThis[BUGSNAG_LIB_INSTANCE_GLOBAL_KEY_NAME];const getNewClient=(state,logger)=>{const globalBugsnagLibInstance=getGlobalBugsnagLibInstance();const clientConfig={apiKey:API_KEY,appVersion:'3.0.0-beta.22',// Set SDK version as the app version from build config
|
870
870
|
metaData:{SDK:{name:'JS',installType:'npm'}},beforeSend:onError(state),autoCaptureSessions:false,// auto capture sessions is disabled
|
871
871
|
collectUserIp:false,// collecting user's IP is disabled
|
872
872
|
// enabledBreadcrumbTypes: ['error', 'log', 'user'], // for v7 and above
|
@@ -890,160 +890,162 @@
|
|
890
890
|
// the configured resolution strategy
|
891
891
|
const matchPredicate=consent=>allowedConsentIds.includes(consent);switch(resolutionStrategy){case'or':return configuredConsents.some(matchPredicate)||configuredConsents.length===0;case'and':default:return configuredConsents.every(matchPredicate);}}catch(err){errorHandler?.onError(err,CUSTOM_CONSENT_MANAGER_PLUGIN,DESTINATION_CONSENT_STATUS_ERROR$2);return true;}}}});
|
892
892
|
|
893
|
-
const DIR_NAME$
|
893
|
+
const DIR_NAME$1c='AdobeAnalytics';const DISPLAY_NAME$1c='Adobe Analytics';
|
894
894
|
|
895
|
-
const DIR_NAME$
|
895
|
+
const DIR_NAME$1b='Amplitude';const DISPLAY_NAME$1b='Amplitude';
|
896
896
|
|
897
|
-
const DIR_NAME$
|
897
|
+
const DIR_NAME$1a='Appcues';const DISPLAY_NAME$1a='Appcues';
|
898
898
|
|
899
|
-
const DIR_NAME$
|
899
|
+
const DIR_NAME$19='BingAds';const DISPLAY_NAME$19='Bing Ads';
|
900
900
|
|
901
|
-
const DIR_NAME$
|
901
|
+
const DIR_NAME$18='Braze';const DISPLAY_NAME$18='Braze';
|
902
902
|
|
903
|
-
const DIR_NAME$
|
903
|
+
const DIR_NAME$17='Bugsnag';const DISPLAY_NAME$17='Bugsnag';
|
904
904
|
|
905
|
-
const DIR_NAME$
|
905
|
+
const DIR_NAME$16='Chartbeat';const DISPLAY_NAME$16='Chartbeat';
|
906
906
|
|
907
|
-
const DIR_NAME$
|
907
|
+
const DIR_NAME$15='Clevertap';const DISPLAY_NAME$15='CleverTap';
|
908
908
|
|
909
|
-
const DIR_NAME$
|
909
|
+
const DIR_NAME$14='Comscore';const DISPLAY_NAME$14='Comscore';
|
910
910
|
|
911
|
-
const DIR_NAME$
|
911
|
+
const DIR_NAME$13='Criteo';const DISPLAY_NAME$13='Criteo';
|
912
912
|
|
913
|
-
const DIR_NAME$
|
913
|
+
const DIR_NAME$12='CustomerIO';const DISPLAY_NAME$12='Customer IO';
|
914
914
|
|
915
|
-
const DIR_NAME$
|
915
|
+
const DIR_NAME$11='Drip';const DISPLAY_NAME$11='Drip';
|
916
916
|
|
917
|
-
const DIR_NAME
|
917
|
+
const DIR_NAME$10='FacebookPixel';const DISPLAY_NAME$10='Facebook Pixel';
|
918
918
|
|
919
|
-
const DIR_NAME
|
919
|
+
const DIR_NAME$$='Fullstory';const DISPLAY_NAME$$='Fullstory';
|
920
920
|
|
921
|
-
const DIR_NAME$
|
921
|
+
const DIR_NAME$_='GA';const DISPLAY_NAME$_='Google Analytics';
|
922
922
|
|
923
|
-
const DIR_NAME$
|
923
|
+
const DIR_NAME$Z='GA4';const DISPLAY_NAME$Z='Google Analytics 4 (GA4)';
|
924
924
|
|
925
|
-
const DIR_NAME$
|
925
|
+
const DIR_NAME$Y='GoogleAds';const DISPLAY_NAME$Y='Google Ads';
|
926
926
|
|
927
|
-
const DIR_NAME$
|
927
|
+
const DIR_NAME$X='GoogleOptimize';const DISPLAY_NAME$X='Google Optimize';
|
928
928
|
|
929
|
-
const DIR_NAME$
|
929
|
+
const DIR_NAME$W='GoogleTagManager';const DISPLAY_NAME$W='Google Tag Manager';
|
930
930
|
|
931
|
-
const DIR_NAME$
|
931
|
+
const DIR_NAME$V='Heap';const DISPLAY_NAME$V='Heap.io';
|
932
932
|
|
933
|
-
const DIR_NAME$
|
933
|
+
const DIR_NAME$U='Hotjar';const DISPLAY_NAME$U='Hotjar';
|
934
934
|
|
935
|
-
const DIR_NAME$
|
935
|
+
const DIR_NAME$T='HubSpot';const DISPLAY_NAME$T='HubSpot';
|
936
936
|
|
937
|
-
const DIR_NAME$
|
937
|
+
const DIR_NAME$S='INTERCOM';const DISPLAY_NAME$S='Intercom';
|
938
938
|
|
939
|
-
const DIR_NAME$
|
939
|
+
const DIR_NAME$R='Keen';const DISPLAY_NAME$R='Keen';
|
940
940
|
|
941
|
-
const DIR_NAME$
|
941
|
+
const DIR_NAME$Q='Kissmetrics';const DISPLAY_NAME$Q='Kiss Metrics';
|
942
942
|
|
943
|
-
const DIR_NAME$
|
943
|
+
const DIR_NAME$P='Klaviyo';const DISPLAY_NAME$P='Klaviyo';
|
944
944
|
|
945
|
-
const DIR_NAME$
|
945
|
+
const DIR_NAME$O='LaunchDarkly';const DISPLAY_NAME$O='LaunchDarkly';
|
946
946
|
|
947
|
-
const DIR_NAME$
|
947
|
+
const DIR_NAME$N='LinkedInInsightTag';const DISPLAY_NAME$N='Linkedin Insight Tag';
|
948
948
|
|
949
|
-
const DIR_NAME$
|
949
|
+
const DIR_NAME$M='Lotame';const DISPLAY_NAME$M='Lotame';
|
950
950
|
|
951
|
-
const DIR_NAME$
|
951
|
+
const DIR_NAME$L='Lytics';const DISPLAY_NAME$L='Lytics';
|
952
952
|
|
953
|
-
const DIR_NAME$
|
953
|
+
const DIR_NAME$K='Mixpanel';const DISPLAY_NAME$K='Mixpanel';
|
954
954
|
|
955
|
-
const DIR_NAME$
|
955
|
+
const DIR_NAME$J='MoEngage';const DISPLAY_NAME$J='MoEngage';
|
956
956
|
|
957
|
-
const DIR_NAME$
|
957
|
+
const DIR_NAME$I='Optimizely';const DISPLAY_NAME$I='Optimizely Web';
|
958
958
|
|
959
|
-
const DIR_NAME$
|
959
|
+
const DIR_NAME$H='Pendo';const DISPLAY_NAME$H='Pendo';
|
960
960
|
|
961
|
-
const DIR_NAME$
|
961
|
+
const DIR_NAME$G='PinterestTag';const DISPLAY_NAME$G='Pinterest Tag';
|
962
962
|
|
963
|
-
const DIR_NAME$
|
963
|
+
const DIR_NAME$F='PostAffiliatePro';const DISPLAY_NAME$F='Post Affiliate Pro';
|
964
964
|
|
965
|
-
const DIR_NAME$
|
965
|
+
const DIR_NAME$E='Posthog';const DISPLAY_NAME$E='PostHog';
|
966
966
|
|
967
|
-
const DIR_NAME$
|
967
|
+
const DIR_NAME$D='ProfitWell';const DISPLAY_NAME$D='ProfitWell';
|
968
968
|
|
969
|
-
const DIR_NAME$
|
969
|
+
const DIR_NAME$C='Qualtrics';const DISPLAY_NAME$C='Qualtrics';
|
970
970
|
|
971
|
-
const DIR_NAME$
|
971
|
+
const DIR_NAME$B='QuantumMetric';const DISPLAY_NAME$B='Quantum Metric';
|
972
972
|
|
973
|
-
const DIR_NAME$
|
973
|
+
const DIR_NAME$A='RedditPixel';const DISPLAY_NAME$A='Reddit Pixel';
|
974
974
|
|
975
|
-
const DIR_NAME$
|
975
|
+
const DIR_NAME$z='Sentry';const DISPLAY_NAME$z='Sentry';
|
976
976
|
|
977
|
-
const DIR_NAME$
|
977
|
+
const DIR_NAME$y='SnapPixel';const DISPLAY_NAME$y='Snap Pixel';
|
978
978
|
|
979
|
-
const DIR_NAME$
|
979
|
+
const DIR_NAME$x='TVSquared';const DISPLAY_NAME$x='TVSquared';
|
980
980
|
|
981
|
-
const DIR_NAME$
|
981
|
+
const DIR_NAME$w='VWO';const DISPLAY_NAME$w='VWO';
|
982
982
|
|
983
|
-
const DIR_NAME$
|
983
|
+
const DIR_NAME$v='GA360';const DISPLAY_NAME$v='Google Analytics 360';
|
984
984
|
|
985
|
-
const DIR_NAME$
|
985
|
+
const DIR_NAME$u='Adroll';const DISPLAY_NAME$u='Adroll';
|
986
986
|
|
987
|
-
const DIR_NAME$
|
987
|
+
const DIR_NAME$t='DCMFloodlight';const DISPLAY_NAME$t='DCM Floodlight';
|
988
988
|
|
989
|
-
const DIR_NAME$
|
989
|
+
const DIR_NAME$s='Matomo';const DISPLAY_NAME$s='Matomo';
|
990
990
|
|
991
|
-
const DIR_NAME$
|
991
|
+
const DIR_NAME$r='Vero';const DISPLAY_NAME$r='Vero';
|
992
992
|
|
993
|
-
const DIR_NAME$
|
993
|
+
const DIR_NAME$q='Mouseflow';const DISPLAY_NAME$q='Mouseflow';
|
994
994
|
|
995
|
-
const DIR_NAME$
|
995
|
+
const DIR_NAME$p='Rockerbox';const DISPLAY_NAME$p='Rockerbox';
|
996
996
|
|
997
|
-
const DIR_NAME$
|
997
|
+
const DIR_NAME$o='ConvertFlow';const DISPLAY_NAME$o='ConvertFlow';
|
998
998
|
|
999
|
-
const DIR_NAME$
|
999
|
+
const DIR_NAME$n='SnapEngage';const DISPLAY_NAME$n='SnapEngage';
|
1000
1000
|
|
1001
|
-
const DIR_NAME$
|
1001
|
+
const DIR_NAME$m='LiveChat';const DISPLAY_NAME$m='LiveChat';
|
1002
1002
|
|
1003
|
-
const DIR_NAME$
|
1003
|
+
const DIR_NAME$l='Shynet';const DISPLAY_NAME$l='Shynet';
|
1004
1004
|
|
1005
|
-
const DIR_NAME$
|
1005
|
+
const DIR_NAME$k='Woopra';const DISPLAY_NAME$k='Woopra';
|
1006
1006
|
|
1007
|
-
const DIR_NAME$
|
1007
|
+
const DIR_NAME$j='RollBar';const DISPLAY_NAME$j='RollBar';
|
1008
1008
|
|
1009
|
-
const DIR_NAME$
|
1009
|
+
const DIR_NAME$i='QuoraPixel';const DISPLAY_NAME$i='Quora Pixel';
|
1010
1010
|
|
1011
|
-
const DIR_NAME$
|
1011
|
+
const DIR_NAME$h='June';const DISPLAY_NAME$h='June';
|
1012
1012
|
|
1013
|
-
const DIR_NAME$
|
1013
|
+
const DIR_NAME$g='Engage';const DISPLAY_NAME$g='Engage';
|
1014
1014
|
|
1015
|
-
const DIR_NAME$
|
1015
|
+
const DIR_NAME$f='Iterable';const DISPLAY_NAME$f='Iterable';
|
1016
1016
|
|
1017
|
-
const DIR_NAME$
|
1017
|
+
const DIR_NAME$e='YandexMetrica';const DISPLAY_NAME$e='Yandex.Metrica';
|
1018
1018
|
|
1019
|
-
const DIR_NAME$
|
1019
|
+
const DIR_NAME$d='Refiner';const DISPLAY_NAME$d='Refiner';
|
1020
1020
|
|
1021
|
-
const DIR_NAME$
|
1021
|
+
const DIR_NAME$c='Qualaroo';const DISPLAY_NAME$c='Qualaroo';
|
1022
1022
|
|
1023
|
-
const DIR_NAME$
|
1023
|
+
const DIR_NAME$b='Podsights';const DISPLAY_NAME$b='Podsights';
|
1024
1024
|
|
1025
|
-
const DIR_NAME$
|
1025
|
+
const DIR_NAME$a='Axeptio';const DISPLAY_NAME$a='Axeptio';
|
1026
1026
|
|
1027
|
-
const DIR_NAME$
|
1027
|
+
const DIR_NAME$9='Satismeter';const DISPLAY_NAME$9='Satismeter';
|
1028
1028
|
|
1029
|
-
const DIR_NAME$
|
1029
|
+
const DIR_NAME$8='MicrosoftClarity';const DISPLAY_NAME$8='Microsoft Clarity';
|
1030
1030
|
|
1031
|
-
const DIR_NAME$
|
1031
|
+
const DIR_NAME$7='Sendinblue';const DISPLAY_NAME$7='Sendinblue';
|
1032
1032
|
|
1033
|
-
const DIR_NAME$
|
1033
|
+
const DIR_NAME$6='Olark';const DISPLAY_NAME$6='Olark';
|
1034
1034
|
|
1035
|
-
const DIR_NAME$
|
1035
|
+
const DIR_NAME$5='Lemnisk';const DISPLAY_NAME$5='Lemnisk';
|
1036
1036
|
|
1037
|
-
const DIR_NAME$
|
1037
|
+
const DIR_NAME$4='TiktokAds';const DISPLAY_NAME$4='TikTok Ads';
|
1038
1038
|
|
1039
|
-
const DIR_NAME$
|
1039
|
+
const DIR_NAME$3='ActiveCampaign';const DISPLAY_NAME$3='Active Campaign';
|
1040
1040
|
|
1041
|
-
const DIR_NAME$
|
1041
|
+
const DIR_NAME$2='Sprig';const DISPLAY_NAME$2='Sprig';
|
1042
1042
|
|
1043
|
-
const DIR_NAME='SpotifyPixel';const DISPLAY_NAME='Spotify Pixel';
|
1043
|
+
const DIR_NAME$1='SpotifyPixel';const DISPLAY_NAME$1='Spotify Pixel';
|
1044
|
+
|
1045
|
+
const DIR_NAME='CommandBar';const DISPLAY_NAME='CommandBar';
|
1044
1046
|
|
1045
1047
|
// map of the destination display names to the destination directory names
|
1046
|
-
const destDisplayNamesToFileNamesMap={[DISPLAY_NAME$
|
1048
|
+
const destDisplayNamesToFileNamesMap={[DISPLAY_NAME$T]:DIR_NAME$T,[DISPLAY_NAME$_]:DIR_NAME$_,[DISPLAY_NAME$U]:DIR_NAME$U,[DISPLAY_NAME$Y]:DIR_NAME$Y,[DISPLAY_NAME$w]:DIR_NAME$w,[DISPLAY_NAME$W]:DIR_NAME$W,[DISPLAY_NAME$18]:DIR_NAME$18,[DISPLAY_NAME$S]:DIR_NAME$S,[DISPLAY_NAME$R]:DIR_NAME$R,[DISPLAY_NAME$Q]:DIR_NAME$Q,[DISPLAY_NAME$12]:DIR_NAME$12,[DISPLAY_NAME$16]:DIR_NAME$16,[DISPLAY_NAME$14]:DIR_NAME$14,[DISPLAY_NAME$10]:DIR_NAME$10,[DISPLAY_NAME$M]:DIR_NAME$M,[DISPLAY_NAME$I]:DIR_NAME$I,[DISPLAY_NAME$17]:DIR_NAME$17,[DISPLAY_NAME$$]:DIR_NAME$$,[DISPLAY_NAME$x]:DIR_NAME$x,[DISPLAY_NAME$Z]:DIR_NAME$Z,[DISPLAY_NAME$J]:DIR_NAME$J,[DISPLAY_NAME$1b]:DIR_NAME$1b,[DISPLAY_NAME$H]:DIR_NAME$H,[DISPLAY_NAME$L]:DIR_NAME$L,[DISPLAY_NAME$1a]:DIR_NAME$1a,[DISPLAY_NAME$E]:DIR_NAME$E,[DISPLAY_NAME$P]:DIR_NAME$P,[DISPLAY_NAME$15]:DIR_NAME$15,[DISPLAY_NAME$19]:DIR_NAME$19,[DISPLAY_NAME$G]:DIR_NAME$G,[DISPLAY_NAME$1c]:DIR_NAME$1c,[DISPLAY_NAME$N]:DIR_NAME$N,[DISPLAY_NAME$A]:DIR_NAME$A,[DISPLAY_NAME$11]:DIR_NAME$11,[DISPLAY_NAME$V]:DIR_NAME$V,[DISPLAY_NAME$13]:DIR_NAME$13,[DISPLAY_NAME$K]:DIR_NAME$K,[DISPLAY_NAME$C]:DIR_NAME$C,[DISPLAY_NAME$D]:DIR_NAME$D,[DISPLAY_NAME$z]:DIR_NAME$z,[DISPLAY_NAME$B]:DIR_NAME$B,[DISPLAY_NAME$y]:DIR_NAME$y,[DISPLAY_NAME$F]:DIR_NAME$F,[DISPLAY_NAME$X]:DIR_NAME$X,[DISPLAY_NAME$O]:DIR_NAME$O,[DISPLAY_NAME$v]:DIR_NAME$v,[DISPLAY_NAME$u]:DIR_NAME$u,[DISPLAY_NAME$t]:DIR_NAME$t,[DISPLAY_NAME$s]:DIR_NAME$s,[DISPLAY_NAME$r]:DIR_NAME$r,[DISPLAY_NAME$q]:DIR_NAME$q,[DISPLAY_NAME$p]:DIR_NAME$p,[DISPLAY_NAME$o]:DIR_NAME$o,[DISPLAY_NAME$n]:DIR_NAME$n,[DISPLAY_NAME$m]:DIR_NAME$m,[DISPLAY_NAME$l]:DIR_NAME$l,[DISPLAY_NAME$k]:DIR_NAME$k,[DISPLAY_NAME$j]:DIR_NAME$j,[DISPLAY_NAME$i]:DIR_NAME$i,[DISPLAY_NAME$h]:DIR_NAME$h,[DISPLAY_NAME$g]:DIR_NAME$g,[DISPLAY_NAME$f]:DIR_NAME$f,[DISPLAY_NAME$e]:DIR_NAME$e,[DISPLAY_NAME$d]:DIR_NAME$d,[DISPLAY_NAME$c]:DIR_NAME$c,[DISPLAY_NAME$b]:DIR_NAME$b,[DISPLAY_NAME$a]:DIR_NAME$a,[DISPLAY_NAME$9]:DIR_NAME$9,[DISPLAY_NAME$8]:DIR_NAME$8,[DISPLAY_NAME$7]:DIR_NAME$7,[DISPLAY_NAME$6]:DIR_NAME$6,[DISPLAY_NAME$5]:DIR_NAME$5,[DISPLAY_NAME$4]:DIR_NAME$4,[DISPLAY_NAME$3]:DIR_NAME$3,[DISPLAY_NAME$2]:DIR_NAME$2,[DISPLAY_NAME$1]:DIR_NAME$1,[DISPLAY_NAME]:DIR_NAME};
|
1047
1049
|
|
1048
1050
|
const DEFAULT_INTEGRATIONS_CONFIG={All:true};
|
1049
1051
|
|
@@ -408,7 +408,7 @@ if(isDefined(payload.groupId)){payload.groupId=tryStringify(payload.groupId);}el
|
|
408
408
|
|
409
409
|
const CAPABILITIES_MANAGER='CapabilitiesManager';const CONFIG_MANAGER='ConfigManager';const EVENT_MANAGER='EventManager';const PLUGINS_MANAGER='PluginsManager';const USER_SESSION_MANAGER='UserSessionManager';const ERROR_HANDLER='ErrorHandler';const PLUGIN_ENGINE='PluginEngine';const STORE_MANAGER='StoreManager';const READY_API='readyApi';const EVENT_REPOSITORY='EventRepository';const EXTERNAL_SRC_LOADER='ExternalSrcLoader';const HTTP_CLIENT='HttpClient';const RS_APP='RudderStackApplication';const ANALYTICS_CORE='AnalyticsCore';
|
410
410
|
|
411
|
-
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.
|
411
|
+
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.22';const APP_NAMESPACE='com.rudderlabs.javascript';const MODULE_TYPE='npm';const ADBLOCK_PAGE_CATEGORY='RudderJS-Initiated';const ADBLOCK_PAGE_NAME='ad-block page request';const ADBLOCK_PAGE_PATH='/ad-blocked';const GLOBAL_PRELOAD_BUFFER='preloadedEventsBuffer';const CONSENT_TRACK_EVENT_NAME='Consent Management Interaction';
|
412
412
|
|
413
413
|
const QUERY_PARAM_TRAIT_PREFIX='ajs_trait_';const QUERY_PARAM_PROPERTY_PREFIX='ajs_prop_';const QUERY_PARAM_ANONYMOUS_ID_KEY='ajs_aid';const QUERY_PARAM_USER_ID_KEY='ajs_uid';const QUERY_PARAM_TRACK_EVENT_NAME_KEY='ajs_event';
|
414
414
|
|
@@ -653,7 +653,7 @@ destination.config.useNativeSDK===true);const isHybridModeDestination=destinatio
|
|
653
653
|
*/const pluginNamesList=['BeaconQueue','Bugsnag','CustomConsentManager','DeviceModeDestinations','DeviceModeTransformation','ErrorReporting','ExternalAnonymousId','GoogleLinker','KetchConsentManager','NativeDestinationQueue','OneTrustConsentManager','StorageEncryption','StorageEncryptionLegacy','StorageMigrator','XhrQueue'];
|
654
654
|
|
655
655
|
const remotesMap = {
|
656
|
-
'rudderAnalyticsRemotePlugins':{url:()=>Promise.resolve(window.RudderStackGlobals && window.RudderStackGlobals.app && window.RudderStackGlobals.app.pluginsCDNPath ? "" + window.RudderStackGlobals.app.pluginsCDNPath + "/rsa-plugins.js" : "https://cdn.rudderlabs.com/3.0.0-beta.
|
656
|
+
'rudderAnalyticsRemotePlugins':{url:()=>Promise.resolve(window.RudderStackGlobals && window.RudderStackGlobals.app && window.RudderStackGlobals.app.pluginsCDNPath ? "" + window.RudderStackGlobals.app.pluginsCDNPath + "/rsa-plugins.js" : "https://cdn.rudderlabs.com/3.0.0-beta.22/modern/plugins/rsa-plugins.js"),format:'esm',from:'vite'}
|
657
657
|
};
|
658
658
|
const loadJS = async (url, fn) => {
|
659
659
|
const resolvedUrl = typeof url === 'function' ? await url() : url;
|
@@ -417,7 +417,7 @@ if(isDefined(payload.groupId)){payload.groupId=tryStringify(payload.groupId);}el
|
|
417
417
|
|
418
418
|
const CAPABILITIES_MANAGER='CapabilitiesManager';const CONFIG_MANAGER='ConfigManager';const EVENT_MANAGER='EventManager';const PLUGINS_MANAGER='PluginsManager';const USER_SESSION_MANAGER='UserSessionManager';const ERROR_HANDLER='ErrorHandler';const PLUGIN_ENGINE='PluginEngine';const STORE_MANAGER='StoreManager';const READY_API='readyApi';const EVENT_REPOSITORY='EventRepository';const EXTERNAL_SRC_LOADER='ExternalSrcLoader';const HTTP_CLIENT='HttpClient';const RS_APP='RudderStackApplication';const ANALYTICS_CORE='AnalyticsCore';
|
419
419
|
|
420
|
-
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.
|
420
|
+
const APP_NAME='RudderLabs JavaScript SDK';const APP_VERSION='3.0.0-beta.22';const APP_NAMESPACE='com.rudderlabs.javascript';const MODULE_TYPE='npm';const ADBLOCK_PAGE_CATEGORY='RudderJS-Initiated';const ADBLOCK_PAGE_NAME='ad-block page request';const ADBLOCK_PAGE_PATH='/ad-blocked';const GLOBAL_PRELOAD_BUFFER='preloadedEventsBuffer';const CONSENT_TRACK_EVENT_NAME='Consent Management Interaction';
|
421
421
|
|
422
422
|
const QUERY_PARAM_TRAIT_PREFIX='ajs_trait_';const QUERY_PARAM_PROPERTY_PREFIX='ajs_prop_';const QUERY_PARAM_ANONYMOUS_ID_KEY='ajs_aid';const QUERY_PARAM_USER_ID_KEY='ajs_uid';const QUERY_PARAM_TRACK_EVENT_NAME_KEY='ajs_event';
|
423
423
|
|
@@ -864,160 +864,162 @@ if(!cmpConfig?.consents){return true;}const configuredConsents=cmpConfig.consent
|
|
864
864
|
// the configured resolution strategy
|
865
865
|
const matchPredicate=consent=>allowedConsentIds.includes(consent);switch(resolutionStrategy){case'or':return configuredConsents.some(matchPredicate)||configuredConsents.length===0;case'and':default:return configuredConsents.every(matchPredicate);}}catch(err){errorHandler?.onError(err,CUSTOM_CONSENT_MANAGER_PLUGIN,DESTINATION_CONSENT_STATUS_ERROR$2);return true;}}}});
|
866
866
|
|
867
|
-
const DIR_NAME$
|
867
|
+
const DIR_NAME$1c='AdobeAnalytics';const DISPLAY_NAME$1c='Adobe Analytics';
|
868
868
|
|
869
|
-
const DIR_NAME$
|
869
|
+
const DIR_NAME$1b='Amplitude';const DISPLAY_NAME$1b='Amplitude';
|
870
870
|
|
871
|
-
const DIR_NAME$
|
871
|
+
const DIR_NAME$1a='Appcues';const DISPLAY_NAME$1a='Appcues';
|
872
872
|
|
873
|
-
const DIR_NAME$
|
873
|
+
const DIR_NAME$19='BingAds';const DISPLAY_NAME$19='Bing Ads';
|
874
874
|
|
875
|
-
const DIR_NAME$
|
875
|
+
const DIR_NAME$18='Braze';const DISPLAY_NAME$18='Braze';
|
876
876
|
|
877
|
-
const DIR_NAME$
|
877
|
+
const DIR_NAME$17='Bugsnag';const DISPLAY_NAME$17='Bugsnag';
|
878
878
|
|
879
|
-
const DIR_NAME$
|
879
|
+
const DIR_NAME$16='Chartbeat';const DISPLAY_NAME$16='Chartbeat';
|
880
880
|
|
881
|
-
const DIR_NAME$
|
881
|
+
const DIR_NAME$15='Clevertap';const DISPLAY_NAME$15='CleverTap';
|
882
882
|
|
883
|
-
const DIR_NAME$
|
883
|
+
const DIR_NAME$14='Comscore';const DISPLAY_NAME$14='Comscore';
|
884
884
|
|
885
|
-
const DIR_NAME$
|
885
|
+
const DIR_NAME$13='Criteo';const DISPLAY_NAME$13='Criteo';
|
886
886
|
|
887
|
-
const DIR_NAME$
|
887
|
+
const DIR_NAME$12='CustomerIO';const DISPLAY_NAME$12='Customer IO';
|
888
888
|
|
889
|
-
const DIR_NAME$
|
889
|
+
const DIR_NAME$11='Drip';const DISPLAY_NAME$11='Drip';
|
890
890
|
|
891
|
-
const DIR_NAME
|
891
|
+
const DIR_NAME$10='FacebookPixel';const DISPLAY_NAME$10='Facebook Pixel';
|
892
892
|
|
893
|
-
const DIR_NAME
|
893
|
+
const DIR_NAME$$='Fullstory';const DISPLAY_NAME$$='Fullstory';
|
894
894
|
|
895
|
-
const DIR_NAME$
|
895
|
+
const DIR_NAME$_='GA';const DISPLAY_NAME$_='Google Analytics';
|
896
896
|
|
897
|
-
const DIR_NAME$
|
897
|
+
const DIR_NAME$Z='GA4';const DISPLAY_NAME$Z='Google Analytics 4 (GA4)';
|
898
898
|
|
899
|
-
const DIR_NAME$
|
899
|
+
const DIR_NAME$Y='GoogleAds';const DISPLAY_NAME$Y='Google Ads';
|
900
900
|
|
901
|
-
const DIR_NAME$
|
901
|
+
const DIR_NAME$X='GoogleOptimize';const DISPLAY_NAME$X='Google Optimize';
|
902
902
|
|
903
|
-
const DIR_NAME$
|
903
|
+
const DIR_NAME$W='GoogleTagManager';const DISPLAY_NAME$W='Google Tag Manager';
|
904
904
|
|
905
|
-
const DIR_NAME$
|
905
|
+
const DIR_NAME$V='Heap';const DISPLAY_NAME$V='Heap.io';
|
906
906
|
|
907
|
-
const DIR_NAME$
|
907
|
+
const DIR_NAME$U='Hotjar';const DISPLAY_NAME$U='Hotjar';
|
908
908
|
|
909
|
-
const DIR_NAME$
|
909
|
+
const DIR_NAME$T='HubSpot';const DISPLAY_NAME$T='HubSpot';
|
910
910
|
|
911
|
-
const DIR_NAME$
|
911
|
+
const DIR_NAME$S='INTERCOM';const DISPLAY_NAME$S='Intercom';
|
912
912
|
|
913
|
-
const DIR_NAME$
|
913
|
+
const DIR_NAME$R='Keen';const DISPLAY_NAME$R='Keen';
|
914
914
|
|
915
|
-
const DIR_NAME$
|
915
|
+
const DIR_NAME$Q='Kissmetrics';const DISPLAY_NAME$Q='Kiss Metrics';
|
916
916
|
|
917
|
-
const DIR_NAME$
|
917
|
+
const DIR_NAME$P='Klaviyo';const DISPLAY_NAME$P='Klaviyo';
|
918
918
|
|
919
|
-
const DIR_NAME$
|
919
|
+
const DIR_NAME$O='LaunchDarkly';const DISPLAY_NAME$O='LaunchDarkly';
|
920
920
|
|
921
|
-
const DIR_NAME$
|
921
|
+
const DIR_NAME$N='LinkedInInsightTag';const DISPLAY_NAME$N='Linkedin Insight Tag';
|
922
922
|
|
923
|
-
const DIR_NAME$
|
923
|
+
const DIR_NAME$M='Lotame';const DISPLAY_NAME$M='Lotame';
|
924
924
|
|
925
|
-
const DIR_NAME$
|
925
|
+
const DIR_NAME$L='Lytics';const DISPLAY_NAME$L='Lytics';
|
926
926
|
|
927
|
-
const DIR_NAME$
|
927
|
+
const DIR_NAME$K='Mixpanel';const DISPLAY_NAME$K='Mixpanel';
|
928
928
|
|
929
|
-
const DIR_NAME$
|
929
|
+
const DIR_NAME$J='MoEngage';const DISPLAY_NAME$J='MoEngage';
|
930
930
|
|
931
|
-
const DIR_NAME$
|
931
|
+
const DIR_NAME$I='Optimizely';const DISPLAY_NAME$I='Optimizely Web';
|
932
932
|
|
933
|
-
const DIR_NAME$
|
933
|
+
const DIR_NAME$H='Pendo';const DISPLAY_NAME$H='Pendo';
|
934
934
|
|
935
|
-
const DIR_NAME$
|
935
|
+
const DIR_NAME$G='PinterestTag';const DISPLAY_NAME$G='Pinterest Tag';
|
936
936
|
|
937
|
-
const DIR_NAME$
|
937
|
+
const DIR_NAME$F='PostAffiliatePro';const DISPLAY_NAME$F='Post Affiliate Pro';
|
938
938
|
|
939
|
-
const DIR_NAME$
|
939
|
+
const DIR_NAME$E='Posthog';const DISPLAY_NAME$E='PostHog';
|
940
940
|
|
941
|
-
const DIR_NAME$
|
941
|
+
const DIR_NAME$D='ProfitWell';const DISPLAY_NAME$D='ProfitWell';
|
942
942
|
|
943
|
-
const DIR_NAME$
|
943
|
+
const DIR_NAME$C='Qualtrics';const DISPLAY_NAME$C='Qualtrics';
|
944
944
|
|
945
|
-
const DIR_NAME$
|
945
|
+
const DIR_NAME$B='QuantumMetric';const DISPLAY_NAME$B='Quantum Metric';
|
946
946
|
|
947
|
-
const DIR_NAME$
|
947
|
+
const DIR_NAME$A='RedditPixel';const DISPLAY_NAME$A='Reddit Pixel';
|
948
948
|
|
949
|
-
const DIR_NAME$
|
949
|
+
const DIR_NAME$z='Sentry';const DISPLAY_NAME$z='Sentry';
|
950
950
|
|
951
|
-
const DIR_NAME$
|
951
|
+
const DIR_NAME$y='SnapPixel';const DISPLAY_NAME$y='Snap Pixel';
|
952
952
|
|
953
|
-
const DIR_NAME$
|
953
|
+
const DIR_NAME$x='TVSquared';const DISPLAY_NAME$x='TVSquared';
|
954
954
|
|
955
|
-
const DIR_NAME$
|
955
|
+
const DIR_NAME$w='VWO';const DISPLAY_NAME$w='VWO';
|
956
956
|
|
957
|
-
const DIR_NAME$
|
957
|
+
const DIR_NAME$v='GA360';const DISPLAY_NAME$v='Google Analytics 360';
|
958
958
|
|
959
|
-
const DIR_NAME$
|
959
|
+
const DIR_NAME$u='Adroll';const DISPLAY_NAME$u='Adroll';
|
960
960
|
|
961
|
-
const DIR_NAME$
|
961
|
+
const DIR_NAME$t='DCMFloodlight';const DISPLAY_NAME$t='DCM Floodlight';
|
962
962
|
|
963
|
-
const DIR_NAME$
|
963
|
+
const DIR_NAME$s='Matomo';const DISPLAY_NAME$s='Matomo';
|
964
964
|
|
965
|
-
const DIR_NAME$
|
965
|
+
const DIR_NAME$r='Vero';const DISPLAY_NAME$r='Vero';
|
966
966
|
|
967
|
-
const DIR_NAME$
|
967
|
+
const DIR_NAME$q='Mouseflow';const DISPLAY_NAME$q='Mouseflow';
|
968
968
|
|
969
|
-
const DIR_NAME$
|
969
|
+
const DIR_NAME$p='Rockerbox';const DISPLAY_NAME$p='Rockerbox';
|
970
970
|
|
971
|
-
const DIR_NAME$
|
971
|
+
const DIR_NAME$o='ConvertFlow';const DISPLAY_NAME$o='ConvertFlow';
|
972
972
|
|
973
|
-
const DIR_NAME$
|
973
|
+
const DIR_NAME$n='SnapEngage';const DISPLAY_NAME$n='SnapEngage';
|
974
974
|
|
975
|
-
const DIR_NAME$
|
975
|
+
const DIR_NAME$m='LiveChat';const DISPLAY_NAME$m='LiveChat';
|
976
976
|
|
977
|
-
const DIR_NAME$
|
977
|
+
const DIR_NAME$l='Shynet';const DISPLAY_NAME$l='Shynet';
|
978
978
|
|
979
|
-
const DIR_NAME$
|
979
|
+
const DIR_NAME$k='Woopra';const DISPLAY_NAME$k='Woopra';
|
980
980
|
|
981
|
-
const DIR_NAME$
|
981
|
+
const DIR_NAME$j='RollBar';const DISPLAY_NAME$j='RollBar';
|
982
982
|
|
983
|
-
const DIR_NAME$
|
983
|
+
const DIR_NAME$i='QuoraPixel';const DISPLAY_NAME$i='Quora Pixel';
|
984
984
|
|
985
|
-
const DIR_NAME$
|
985
|
+
const DIR_NAME$h='June';const DISPLAY_NAME$h='June';
|
986
986
|
|
987
|
-
const DIR_NAME$
|
987
|
+
const DIR_NAME$g='Engage';const DISPLAY_NAME$g='Engage';
|
988
988
|
|
989
|
-
const DIR_NAME$
|
989
|
+
const DIR_NAME$f='Iterable';const DISPLAY_NAME$f='Iterable';
|
990
990
|
|
991
|
-
const DIR_NAME$
|
991
|
+
const DIR_NAME$e='YandexMetrica';const DISPLAY_NAME$e='Yandex.Metrica';
|
992
992
|
|
993
|
-
const DIR_NAME$
|
993
|
+
const DIR_NAME$d='Refiner';const DISPLAY_NAME$d='Refiner';
|
994
994
|
|
995
|
-
const DIR_NAME$
|
995
|
+
const DIR_NAME$c='Qualaroo';const DISPLAY_NAME$c='Qualaroo';
|
996
996
|
|
997
|
-
const DIR_NAME$
|
997
|
+
const DIR_NAME$b='Podsights';const DISPLAY_NAME$b='Podsights';
|
998
998
|
|
999
|
-
const DIR_NAME$
|
999
|
+
const DIR_NAME$a='Axeptio';const DISPLAY_NAME$a='Axeptio';
|
1000
1000
|
|
1001
|
-
const DIR_NAME$
|
1001
|
+
const DIR_NAME$9='Satismeter';const DISPLAY_NAME$9='Satismeter';
|
1002
1002
|
|
1003
|
-
const DIR_NAME$
|
1003
|
+
const DIR_NAME$8='MicrosoftClarity';const DISPLAY_NAME$8='Microsoft Clarity';
|
1004
1004
|
|
1005
|
-
const DIR_NAME$
|
1005
|
+
const DIR_NAME$7='Sendinblue';const DISPLAY_NAME$7='Sendinblue';
|
1006
1006
|
|
1007
|
-
const DIR_NAME$
|
1007
|
+
const DIR_NAME$6='Olark';const DISPLAY_NAME$6='Olark';
|
1008
1008
|
|
1009
|
-
const DIR_NAME$
|
1009
|
+
const DIR_NAME$5='Lemnisk';const DISPLAY_NAME$5='Lemnisk';
|
1010
1010
|
|
1011
|
-
const DIR_NAME$
|
1011
|
+
const DIR_NAME$4='TiktokAds';const DISPLAY_NAME$4='TikTok Ads';
|
1012
1012
|
|
1013
|
-
const DIR_NAME$
|
1013
|
+
const DIR_NAME$3='ActiveCampaign';const DISPLAY_NAME$3='Active Campaign';
|
1014
1014
|
|
1015
|
-
const DIR_NAME$
|
1015
|
+
const DIR_NAME$2='Sprig';const DISPLAY_NAME$2='Sprig';
|
1016
1016
|
|
1017
|
-
const DIR_NAME='SpotifyPixel';const DISPLAY_NAME='Spotify Pixel';
|
1017
|
+
const DIR_NAME$1='SpotifyPixel';const DISPLAY_NAME$1='Spotify Pixel';
|
1018
|
+
|
1019
|
+
const DIR_NAME='CommandBar';const DISPLAY_NAME='CommandBar';
|
1018
1020
|
|
1019
1021
|
// map of the destination display names to the destination directory names
|
1020
|
-
const destDisplayNamesToFileNamesMap={[DISPLAY_NAME$
|
1022
|
+
const destDisplayNamesToFileNamesMap={[DISPLAY_NAME$T]:DIR_NAME$T,[DISPLAY_NAME$_]:DIR_NAME$_,[DISPLAY_NAME$U]:DIR_NAME$U,[DISPLAY_NAME$Y]:DIR_NAME$Y,[DISPLAY_NAME$w]:DIR_NAME$w,[DISPLAY_NAME$W]:DIR_NAME$W,[DISPLAY_NAME$18]:DIR_NAME$18,[DISPLAY_NAME$S]:DIR_NAME$S,[DISPLAY_NAME$R]:DIR_NAME$R,[DISPLAY_NAME$Q]:DIR_NAME$Q,[DISPLAY_NAME$12]:DIR_NAME$12,[DISPLAY_NAME$16]:DIR_NAME$16,[DISPLAY_NAME$14]:DIR_NAME$14,[DISPLAY_NAME$10]:DIR_NAME$10,[DISPLAY_NAME$M]:DIR_NAME$M,[DISPLAY_NAME$I]:DIR_NAME$I,[DISPLAY_NAME$17]:DIR_NAME$17,[DISPLAY_NAME$$]:DIR_NAME$$,[DISPLAY_NAME$x]:DIR_NAME$x,[DISPLAY_NAME$Z]:DIR_NAME$Z,[DISPLAY_NAME$J]:DIR_NAME$J,[DISPLAY_NAME$1b]:DIR_NAME$1b,[DISPLAY_NAME$H]:DIR_NAME$H,[DISPLAY_NAME$L]:DIR_NAME$L,[DISPLAY_NAME$1a]:DIR_NAME$1a,[DISPLAY_NAME$E]:DIR_NAME$E,[DISPLAY_NAME$P]:DIR_NAME$P,[DISPLAY_NAME$15]:DIR_NAME$15,[DISPLAY_NAME$19]:DIR_NAME$19,[DISPLAY_NAME$G]:DIR_NAME$G,[DISPLAY_NAME$1c]:DIR_NAME$1c,[DISPLAY_NAME$N]:DIR_NAME$N,[DISPLAY_NAME$A]:DIR_NAME$A,[DISPLAY_NAME$11]:DIR_NAME$11,[DISPLAY_NAME$V]:DIR_NAME$V,[DISPLAY_NAME$13]:DIR_NAME$13,[DISPLAY_NAME$K]:DIR_NAME$K,[DISPLAY_NAME$C]:DIR_NAME$C,[DISPLAY_NAME$D]:DIR_NAME$D,[DISPLAY_NAME$z]:DIR_NAME$z,[DISPLAY_NAME$B]:DIR_NAME$B,[DISPLAY_NAME$y]:DIR_NAME$y,[DISPLAY_NAME$F]:DIR_NAME$F,[DISPLAY_NAME$X]:DIR_NAME$X,[DISPLAY_NAME$O]:DIR_NAME$O,[DISPLAY_NAME$v]:DIR_NAME$v,[DISPLAY_NAME$u]:DIR_NAME$u,[DISPLAY_NAME$t]:DIR_NAME$t,[DISPLAY_NAME$s]:DIR_NAME$s,[DISPLAY_NAME$r]:DIR_NAME$r,[DISPLAY_NAME$q]:DIR_NAME$q,[DISPLAY_NAME$p]:DIR_NAME$p,[DISPLAY_NAME$o]:DIR_NAME$o,[DISPLAY_NAME$n]:DIR_NAME$n,[DISPLAY_NAME$m]:DIR_NAME$m,[DISPLAY_NAME$l]:DIR_NAME$l,[DISPLAY_NAME$k]:DIR_NAME$k,[DISPLAY_NAME$j]:DIR_NAME$j,[DISPLAY_NAME$i]:DIR_NAME$i,[DISPLAY_NAME$h]:DIR_NAME$h,[DISPLAY_NAME$g]:DIR_NAME$g,[DISPLAY_NAME$f]:DIR_NAME$f,[DISPLAY_NAME$e]:DIR_NAME$e,[DISPLAY_NAME$d]:DIR_NAME$d,[DISPLAY_NAME$c]:DIR_NAME$c,[DISPLAY_NAME$b]:DIR_NAME$b,[DISPLAY_NAME$a]:DIR_NAME$a,[DISPLAY_NAME$9]:DIR_NAME$9,[DISPLAY_NAME$8]:DIR_NAME$8,[DISPLAY_NAME$7]:DIR_NAME$7,[DISPLAY_NAME$6]:DIR_NAME$6,[DISPLAY_NAME$5]:DIR_NAME$5,[DISPLAY_NAME$4]:DIR_NAME$4,[DISPLAY_NAME$3]:DIR_NAME$3,[DISPLAY_NAME$2]:DIR_NAME$2,[DISPLAY_NAME$1]:DIR_NAME$1,[DISPLAY_NAME]:DIR_NAME};
|
1021
1023
|
|
1022
1024
|
const DEFAULT_INTEGRATIONS_CONFIG={All:true};
|
1023
1025
|
|