@boomerang-io/webapp-spa-server 1.3.0-beta.0 → 1.3.0-beta.2
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/index.js +3 -15
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -195,22 +195,11 @@ function getBeeheardSurveyScripts() {
|
|
|
195
195
|
function getGAScripts() {
|
|
196
196
|
const ibmInstrumentationId = process.env.GA_SITE_ID;
|
|
197
197
|
return Boolean(ibmInstrumentationId)
|
|
198
|
-
? `<script
|
|
199
|
-
window.idaPageIsSPA = true;
|
|
200
|
-
window._ibmAnalytics = {
|
|
201
|
-
settings: {
|
|
202
|
-
name: "IBM_Services_Essentials",
|
|
203
|
-
isSpa: true,
|
|
204
|
-
tealiumProfileName: "ibm-web-app",
|
|
205
|
-
},
|
|
206
|
-
trustarc: {
|
|
207
|
-
isCookiePreferencesButtonAlwaysOn: false,
|
|
208
|
-
},
|
|
209
|
-
};
|
|
198
|
+
? `<script>
|
|
210
199
|
digitalData = {
|
|
211
200
|
page: {
|
|
212
201
|
pageInfo: {
|
|
213
|
-
pageID:
|
|
202
|
+
pageID: "ibm_consulting_advantage_test",
|
|
214
203
|
productTitle: "IBM Consulting Advantage",
|
|
215
204
|
analytics: {
|
|
216
205
|
category: 'Offering Interface'
|
|
@@ -220,8 +209,7 @@ function getGAScripts() {
|
|
|
220
209
|
};
|
|
221
210
|
</script>
|
|
222
211
|
<script type="text/javascript"> window._analytics = { "segment_key" : "BdBQtVrGbCxBumrCuR2MYAARD8CA3VQp", "coremetrics" : false, "optimizely" : false, "googleAddServices": false, "fullStory" : false}; </script>
|
|
223
|
-
<script src="https://console.test.cloud.ibm.com/analytics/build/bluemix-analytics.min.js"></script
|
|
224
|
-
<script async src="https://1.www.s81c.com/common/stats/ibm-common.js" type="text/javascript" crossorigin></script>`
|
|
212
|
+
<script src="https://console.test.cloud.ibm.com/analytics/build/bluemix-analytics.min.js"></script>`
|
|
225
213
|
: "";
|
|
226
214
|
}
|
|
227
215
|
|
package/package.json
CHANGED