-
Implementing GA4 Tracking for Customer Segments and Activity
So, on our website, we’ve got these customer groups that we assign each customer to. Depending on their group, they can access different stuff. Now, what we’re wondering is how we can keep track of all the activity and money coming from each group using Google Analytics 4. Any ideas on how we would do that?
Do we need to set up Content Groups or should we maybe use User-ID’s, using a data layer to hand over the userId along with the customerGroup?
window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'event' : 'login', 'userId' : '[userId]', 'customerGroup' : '[customerGroup]' })
Log in to reply.