This commit is contained in:
edmondlang
2024-02-20 11:07:35 +08:00
parent b7bc14b98f
commit 86cc8bbf9d
+7
View File
@@ -99,6 +99,13 @@ const app = new Vue({
} else {
this.render();
}
// GA4 - push user_id
if (this.$store.getters.getUserId) {
dataLayer.push({
'user_id': this.$store.getters.getUserId,
});
}
},
render() {
this.captchaId = window.grecaptcha.render('grecaptcha_container', {