Skip to content

Commit

Permalink
🔀 Merge master to deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 27, 2024
2 parents e8f3520 + 76e0fd7 commit b757cf1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mixins/nft.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default {
if (this.nftIsNFTBook) {
return this.iscnDescription || this.NFTClassMetadata.description || '';
}
return this.NFTClassMetadata.description;
return this.NFTClassMetadata.description || '';
},
nftDescription() {
const overrideKey = `nft_override_${this.classId}_description`;
Expand Down
8 changes: 6 additions & 2 deletions src/plugins/gtag.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ export default (ctx, inject) => {
Vue.use(
VueGtag,
{
config: { id: process.env.GA_TRACKING_ID },
bootstrap: !(window.doNotTrack || navigator.doNotTrack),
config: {
id: process.env.GA_TRACKING_ID,
allow_enhanced_conversions: !(
window.doNotTrack || navigator.doNotTrack
),
},
includes,
},
router
Expand Down
3 changes: 3 additions & 0 deletions src/util/EventLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export function updateLoggerUserInfo(
};
vue.$sentry.setUser(opt);
}
if (vue.$gtag) {
if (email) vue.$gtag.set('user_data', { email });
}
if (vue.$crisp) {
if (email) {
vue.$crisp.push(['set', 'user:email', [email, crispToken]]);
Expand Down

0 comments on commit b757cf1

Please sign in to comment.