From 7493376d3aec35ea1adb4468191214caa27b42b8 Mon Sep 17 00:00:00 2001 From: Ricky Hartmann Date: Wed, 27 Oct 2021 15:18:06 -0400 Subject: [PATCH] SwG Release 0.1.22.191 (#36631) --- third_party/subscriptions-project/config.js | 2 +- third_party/subscriptions-project/swg-gaa.js | 4 +++- third_party/subscriptions-project/swg.js | 10 ++++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/third_party/subscriptions-project/config.js b/third_party/subscriptions-project/config.js index 212da2b96c55..1a6d3f374f55 100644 --- a/third_party/subscriptions-project/config.js +++ b/third_party/subscriptions-project/config.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/** Version: 0.1.22.190 */ +/** Version: 0.1.22.191 */ /** * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved. * diff --git a/third_party/subscriptions-project/swg-gaa.js b/third_party/subscriptions-project/swg-gaa.js index fe55b82b874e..eba8a1d5c3c5 100644 --- a/third_party/subscriptions-project/swg-gaa.js +++ b/third_party/subscriptions-project/swg-gaa.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/** Version: 0.1.22.190 */ +/** Version: 0.1.22.191 */ /** * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved. * @@ -228,6 +228,8 @@ const AnalyticsEvent = { ACTION_CONTRIBUTION_OFFER_SELECTED: 1034, ACTION_SHOWCASE_REGWALL_GSI_CLICK: 1035, ACTION_SHOWCASE_REGWALL_EXISTING_ACCOUNT_CLICK: 1036, + ACTION_SUBSCRIPTION_OFFERS_CLOSED: 1037, + ACTION_CONTRIBUTION_OFFERS_CLOSED: 1038, EVENT_PAYMENT_FAILED: 2000, EVENT_CUSTOM: 3000, EVENT_CONFIRM_TX_ID: 3001, diff --git a/third_party/subscriptions-project/swg.js b/third_party/subscriptions-project/swg.js index d1458e77c8ef..794cadf05cb5 100644 --- a/third_party/subscriptions-project/swg.js +++ b/third_party/subscriptions-project/swg.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/** Version: 0.1.22.190 */ +/** Version: 0.1.22.191 */ /** * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved. * @@ -95,6 +95,8 @@ const AnalyticsEvent = { ACTION_CONTRIBUTION_OFFER_SELECTED: 1034, ACTION_SHOWCASE_REGWALL_GSI_CLICK: 1035, ACTION_SHOWCASE_REGWALL_EXISTING_ACCOUNT_CLICK: 1036, + ACTION_SUBSCRIPTION_OFFERS_CLOSED: 1037, + ACTION_CONTRIBUTION_OFFERS_CLOSED: 1038, EVENT_PAYMENT_FAILED: 2000, EVENT_CUSTOM: 3000, EVENT_CONFIRM_TX_ID: 3001, @@ -4755,7 +4757,7 @@ function feCached(url) { */ function feArgs(args) { return Object.assign(args, { - '_client': 'SwG 0.1.22.190', + '_client': 'SwG 0.1.22.191', }); } @@ -6059,7 +6061,7 @@ class ActivityPorts$1 { 'analyticsContext': context.toArray(), 'publicationId': pageConfig.getPublicationId(), 'productId': pageConfig.getProductId(), - '_client': 'SwG 0.1.22.190', + '_client': 'SwG 0.1.22.191', 'supportsEventManager': true, }, args || {} @@ -6938,7 +6940,7 @@ class AnalyticsService { context.setTransactionId(getUuid()); } context.setReferringOrigin(parseUrl(this.getReferrer_()).origin); - context.setClientVersion('SwG 0.1.22.190'); + context.setClientVersion('SwG 0.1.22.191'); context.setUrl(getCanonicalUrl(this.doc_)); const utmParams = parseQueryString(this.getQueryString_());