Skip to content

Commit

Permalink
update gtag user prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ballPointPenguin committed Jun 22, 2024
1 parent 44ef0f7 commit 0500fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-participation/js/routers/main-polis-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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});
}
});

Expand Down

0 comments on commit 0500fec

Please sign in to comment.