From 0500fec09e1607f731c3544511622910a35028ed Mon Sep 17 00:00:00 2001 From: Bennie Rosas Date: Sat, 22 Jun 2024 13:24:37 -0500 Subject: [PATCH] update gtag user prop --- client-participation/js/routers/main-polis-router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-participation/js/routers/main-polis-router.js b/client-participation/js/routers/main-polis-router.js index 20577c2c1..6c432f51e 100644 --- a/client-participation/js/routers/main-polis-router.js +++ b/client-participation/js/routers/main-polis-router.js @@ -27,7 +27,7 @@ authenticatedDfd.done(function() { // TODO update this whenever auth changes if (Constants.GA_TRACKING_ID) { const userId = PolisStorage.uid() || PolisStorage.uidFromCookie(); - gtag('config', Constants.GA_USER_ID, {'user_id': userId}); + gtag('set', 'user_properties', {'user_id': userId}); } });