Does anyone uses the User-ID feature from GA4 to better track Gainsight users? Can someone guide me on how to configure it?
Morning
This is not something I personally have explored. I will ask around the CS Team if they have any customers doing the like.
That would be great
Hi
You could either:
- Use the inSidedData object to obtain the user ID of the logged in user and then this could be used as a unique ID.
- As the inSidedData object does not contain the email address (only has the user ID) then you could perhaps maybe capture the email address when the user logs in and then set it as a cookie value (so that it can be loaded on every community page afterwards).
Both would require custom JavaScript to be able to achieve this.
Number 1 would be the most logical and least error prone option but it would require more effort to set up as you’d need to map the User IDs on Gainsight CC to the user in GA4, as documented here:
Thank you for your response
Thank you
Happy this is useful
Follow up question: can GA4 be tracked using Tag Manager? Trying to find the easiest solution since creating custom Javascript is out of my skillset and available resources. Thank you.
Reply
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.