@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.
Files changed (2) hide show
  1. package/index.js +3 -15
  2. 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 type="text/javascript">
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: ${ibmInstrumentationId},
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boomerang-io/webapp-spa-server",
3
3
  "description": "Webapp Server for React-based SPA w/ client-side routing",
4
- "version": "1.3.0-beta.0",
4
+ "version": "1.3.0-beta.2",
5
5
  "author": {
6
6
  "name": "Tim Bula",
7
7
  "email": "timrbula@gmail.com"