user_properties in gtag
See original GitHub issueThanks so much Matteo! gtag is amazing, but I’m being blocked by a big thing:
How do I set user properties for a user, like the identify call in Segment, or https://developers.google.com/analytics/devguides/collection/app-web/user-properties for gtag?
In gtag, I can dynamically set user properties as follows:
gtag('set', 'user_properties', {
favorite_composer: 'Mahler',
favorite_instrument: 'double bass',
season_ticketholder: 'true'
});
How would I do this with vue-gtag? I’ve already looked into this.$gtag.set but it doesn’t seem to apply.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
[GA4] User properties - Analytics Help - Google Support
User properties are attributes that describe groups of your user base, such as their language preferences or geographic locations.
Read more >User properties | Measurement Protocol for Google Analytics 4
User properties describe segments of your user base, such as language preference or geographic location. Analytics automatically logs some ...
Read more >GA4 User Properties (User Scoped Custom Dimensions)
User properties can be set either by calling the gtag('set') command in your website if you are using the global site tag (gtag.js)...
Read more >Understanding User Properties In Google Analytics 4
It is up to you what user properties are useful to you, but some examples would be profession, height, high-value customer, nationality, etc....
Read more >User-scoped Custom Dimensions in Google Analytics 4 (User ...
Documentation: user properties in GA4 ... Google Tag Manager vs GTAG https://www.youtube.com/watch?v=RxcfK.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I copy-pasted your call and it works for me tbh.
if did this
and the event has being captured
if you can make a small reproduction of this bug and give me the link I would have a look.
This worked for me with vue3 and vue-gtag