Skip to content

Commit

Permalink
Revert "📈 Target specific audience for replay"
Browse files Browse the repository at this point in the history
This reverts commit ab7e2e2.
  • Loading branch information
williamchong committed Oct 3, 2024
1 parent a974fad commit 726de84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion src/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down
19 changes: 0 additions & 19 deletions src/pages/nft/class/_classId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 726de84

Please sign in to comment.