From 726de843bf833d1652a3e5c75dd3a9e209c84e04 Mon Sep 17 00:00:00 2001 From: William Chong <6198816+williamchong@users.noreply.github.com> Date: Thu, 3 Oct 2024 19:03:33 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=93=88=20Target=20specific=20au?= =?UTF-8?q?dience=20for=20replay"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ab7e2e25f07816f4a26d3d2eccf285e408b08bdb. --- src/nuxt.config.js | 2 +- src/pages/nft/class/_classId/index.vue | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/nuxt.config.js b/src/nuxt.config.js index 4720f49fa..e77a14ba7 100644 --- a/src/nuxt.config.js +++ b/src/nuxt.config.js @@ -477,7 +477,7 @@ const nuxtConfig = { Replay: {}, }, clientConfig: { - replaysSessionSampleRate: IS_TESTNET ? 0.5 : 0.01, + replaysSessionSampleRate: IS_TESTNET ? 1.0 : 0.05, replaysOnErrorSampleRate: IS_TESTNET ? 1.0 : 1.0, }, }, diff --git a/src/pages/nft/class/_classId/index.vue b/src/pages/nft/class/_classId/index.vue index 34aac242b..722b68f83 100644 --- a/src/pages/nft/class/_classId/index.vue +++ b/src/pages/nft/class/_classId/index.vue @@ -825,17 +825,6 @@ export default { } const blockingPromises = [this.fetchISCNMetadata()]; await Promise.all(blockingPromises); - - // Investigate google ads drop reason - if (this.$sentry) { - this.$sentry.setTag('utm_medium', this.utmMedium); - if (this.utmMedium === 'ads') { - const replay = this.$sentry.getReplay(); - if (replay) { - replay.start(); - } - } - } } catch (error) { if (!error.response?.status === 404) { // eslint-disable-next-line no-console @@ -876,14 +865,6 @@ export default { } if (this.hasCrossSell) { - // Manually start replay to investigate cross sell UX - if (this.$sentry) { - this.$sentry.setTag('cross_sell', 'enabled'); - const replay = this.$sentry.getReplay(); - if (replay) { - replay.start(); - } - } logTrackerEvent( this, 'NFT',