diff --git a/website/client/app.vue b/website/client/app.vue index c7214ad1c4..3f9031a071 100644 --- a/website/client/app.vue +++ b/website/client/app.vue @@ -373,6 +373,11 @@ export default { document.title = title; }); + this.$nextTick(() => { + // Load external scripts after the app has been rendered + Analytics.load(); + }); + if (this.isUserLoggedIn && !this.isStaticPage) { // Load the user and the user tasks Promise.all([ @@ -395,7 +400,6 @@ export default { this.$nextTick(() => { // Load external scripts after the app has been rendered setupPayments(); - Analytics.load(); }); }).catch((err) => { console.error('Impossible to fetch user. Clean up localStorage and refresh.', err); // eslint-disable-line no-console diff --git a/website/client/components/auth/authForm.vue b/website/client/components/auth/authForm.vue index b2fc6cdc01..ced6e1e44f 100644 --- a/website/client/components/auth/authForm.vue +++ b/website/client/components/auth/authForm.vue @@ -73,7 +73,6 @@