diff --git a/website/client/src/components/header/banners/privacy.vue b/website/client/src/components/header/banners/privacy.vue index 67dd1fe57b..2e1faf0ac4 100644 --- a/website/client/src/components/header/banners/privacy.vue +++ b/website/client/src/components/header/banners/privacy.vue @@ -98,6 +98,9 @@ export default { ) { this.hidden = true; } + this.$root.$on('privacy-complete', () => { + this.close(); + }); }, methods: { close () { diff --git a/website/client/src/components/settings/privacyModal.vue b/website/client/src/components/settings/privacyModal.vue index 4909994ecc..0e8a16b917 100644 --- a/website/client/src/components/settings/privacyModal.vue +++ b/website/client/src/components/settings/privacyModal.vue @@ -21,7 +21,9 @@ {{ $t('performanceAnalytics') }} - + {{ $t('usedForSupport') }} @@ -44,13 +46,22 @@
THE SECTIONS BELOW TITLED "BINDING ARBITRATION' AND "CLASS ACTION WAIVER" CONTAIN A BINDING ARBITRATION AGREEMENT AND CLASS ACTION WAIVER. THEY AFFECT YOUR LEGAL RIGHTS. PLEASE READ THEM CAREFULLY. @@ -68,7 +68,7 @@ Outside the above explicitly allowed use cases, you may not use our trademarks, service marks, trade names, logos, domain names, taglines, or trade dress without a signed written contract with us granting you a license to do so.
HabitRPG reserves the right, in its sole discretion, to add, modify, or remove functionalities or features from the Service, and improve, change and/or update the Service. We may also suspend or terminate the Service at any time, with or without notice to you.
- If your account is terminated, you will no longer have access to it, including to any of the associated data or Content. You will not be entitled to any refunds and we will have no liability to you. We also reserve the right to terminate any other accounts you may have created, as well as access to any other HabitRPG Service (also without refunds or liability to you). + If your account is terminated, you will no longer have access to it, including to any of the associated data or Content. We also reserve the right to terminate any other accounts you may have created, as well as access to any other HabitRPG Service. +
You understand and agree that using the Service comes with the risk that your account may be terminated or suspended at our discretion and at any time. Please keep this risk in mind and comport yourself appropriately.
- WITHIN THIRTY (30) DAYS OF YOUR PREMIUM PAYMENT DATE AS SHOWN ON YOUR PAYMENT BILL, YOU CAN REQUEST A FULL REFUND BY CONTACTING US AT ADMIN@HABITICA.COM. AFTER THIRTY (30) DAYS OF YOUR PREMIUM PAYMENT DATE, ANY PAYMENT REFUND IS SOLELY SUBJECT TO OUR DISCRETION. THE REFUND SHALL BE YOUR SOLE AND EXCLUSIVE REMEDY. + YOU CAN REQUEST A REFUND OF YOUR MOST RECENT PAYMENT TO US BY CONTACTING US AT ADMIN@HABITICA.COM. THE AMOUNT OF YOUR REFUND, IF ANY, WILL BE BASED ON (1) THE AMOUNT OF YOUR PURCHASED BUT UNUSED SUBSCRIPTION BENEFITS AND (2) THE TERMS IMPOSED ON US BY OUR PAYMENT PROCESSING VENDORS (E.G., WITH RESPECT TO THE DURATION OF THE REFUND PERIOD).
FOR ANY CUSTOMER WHO PURCHASED PREMIUM IN APPLE INC.'s APP STORE ("APP STORE"), PLEASE CONTACT APPLE INC.'s SUPPORT TEAM: { _gatherUserStats(properties); - window.gtag('set', 'user_properties', properties); + if (window.gtag) { + window.gtag('set', 'user_properties', properties); + } forEach(properties, (value, key) => { const identify = new amplitude.Identify().set(key, value); amplitude.getInstance().identify(identify); @@ -106,8 +110,9 @@ export async function setup () { const user = _getConsentedUser(); if (!user) return; await Vue.loadScript(`https://www.googletagmanager.com/gtag/js?id=${GA_ID}`); - if (DEBUG_ENABLED || !IS_PRODUCTION) { - window.gtag('config', GA_ID, { debug_mode: true }); - } + window.gtag('config', GA_ID, { + debug_mode: DEBUG_ENABLED || !IS_PRODUCTION, + user_id: user._id, + }); amplitude.getInstance().init(AMPLITUDE_KEY); } diff --git a/website/client/src/pages/settings/siteDataRows/privacyPreferencesRow.vue b/website/client/src/pages/settings/siteDataRows/privacyPreferencesRow.vue index 0e23e00934..797747ea8b 100644 --- a/website/client/src/pages/settings/siteDataRows/privacyPreferencesRow.vue +++ b/website/client/src/pages/settings/siteDataRows/privacyPreferencesRow.vue @@ -29,7 +29,7 @@ @@ -37,31 +37,37 @@ class="d-flex justify-content-center" > - - - {{ $t('strictlyNecessary') }} - {{ $t('alwaysActive') }} - - - {{ $t('requiredToRun') }} - - - {{ $t('performanceAnalytics') }} + + {{ $t('performanceAnalytics') }} + - - + + {{ $t('usedForSupport') }} + + + {{ $t('strictlyNecessary') }} + + + + + {{ $t('requiredToRun') }} +